Add and update components that limits the new "Testing" navigation tab and linked pages to only FHIR Canonical resource type pages.
Why?
The FHIR community has been increasingly interested in provided better support for testing artifacts within IGs. These additional modified components are a subsequent update that allows IGs generated from the HL7 IG template to incorporate and list Testing resources as first class artifacts and with their associated/scoped FHIR Canonical resource types.
"defaults" list - update all canonical FHIR resource types attribute "template-format" value to the new "template/layouts/layout-canonical-format.html" layout page
./includes/fragment-base-navtabs.html - Updated
Remove the Testing navigation tab logic - this fragment is used for non-canonical resource types
./includes/fragment-canonical-navtabs.html - New
New navigation tab fragment for all "canonical" resource types - displays the new "Testing" nav tab only if linked testscript list size > 0
./layouts/layout-canonical-format.html - New
New layout for all "canonical" resource types - copied from ./layouts/layout-instance-format.html; see ./config.json above
./layouts/layout-canonical-testing.html - Updated
Replaced ./includes/fragment-base-navtabs.html with ./includes/fragment-canonical-navtabs.html
./layouts/layout-canonical.html - Updated
Replaced ./includes/fragment-base-navtabs.html with ./includes/fragment-canonical-navtabs.html
./layouts/layout-codesystem.html - Updated
Replaced ./includes/fragment-base-navtabs.html with ./includes/fragment-canonical-navtabs.html
./layouts/layout-valueset.html - Updated
Replaced ./includes/fragment-base-navtabs.html with ./includes/fragment-canonical-navtabs.html
Dependencies
These modifications are dependent on the IG Publisher tool modifications in the Pull Request https://github.com/HL7/fhir-ig-publisher/pull/518 now incorporated into the current (version 1.2.9+) IG Publisher tool.
What does this Pull Request do?
Add and update components that limits the new "Testing" navigation tab and linked pages to only FHIR Canonical resource type pages.
Why?
The FHIR community has been increasingly interested in provided better support for testing artifacts within IGs. These additional modified components are a subsequent update that allows IGs generated from the HL7 IG template to incorporate and list Testing resources as first class artifacts and with their associated/scoped FHIR Canonical resource types.
Additional Information These updates are the results of the FHIR Zulip Chat reported issue with the THO UTG IG. See https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/THO.20.22testing.22.20tab.20in.20history.20bundles
How?
New and updated components:
Dependencies
These modifications are dependent on the IG Publisher tool modifications in the Pull Request https://github.com/HL7/fhir-ig-publisher/pull/518 now incorporated into the current (version 1.2.9+) IG Publisher tool.