HL7 / ig-template-base

Base IG template managed by HL7 but usable by anyone (no logos). The foundation for most HL7-published IGs
14 stars 27 forks source link

Add R5 TestPlan to Testing Artifacts #222

Closed rettema closed 1 year ago

rettema commented 1 year ago

What does this Pull Request do?

Add components that incorporates TestPlan resources to the FHIR Artifacts page, adds a new listing of TestPlan resources to the FHIR Profile page navigation tab "Testing" if TestPlan resources are found linked to the FHIR Profile, and add a new TestPlan layout page.

Why?

The FHIR community has been increasingly interested in provided better support for testing artifacts within IGs. These additional components are an additional enhancement that allows IGs generated from the HL7 IG template to incorporate and list TestPlan resources as first class artifacts and with their associated FHIR Profiles (StructureDefinitions).

How?

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/676

costateixeira commented 1 year ago

Can we expose more about the testplan / testscript ? I am specifically looking at category, which we can use in the testing tab to drive some liquid to e.g. group the test plans in the testing tab. We don't need to figure out all the rendering options, just expose some data from the Java publisher that allows the template to then do the rest.

rettema commented 1 year ago

Per ig tooling call on 5/16, will create additional profiles in the example IG showing the combinations where a profile has:

rettema commented 1 year ago

Per ig tooling call on 5/16, the combinations of conformance resources to TestPlan and TestScript have been added to the DevDays 2023 "Developer Satisfaction ... version 0.3.0" example IG. This version 0.3.0 of the IG has been deployed to the public WildFHIR v4 FHIR Server where the given links are live.

rettema commented 1 year ago

Per IG tooling call on 2023-06-13, will update the "Testing" tab headers to simply be "Test Plans" and "Test Scripts" and display as true headers. Will also update the lists of TestPlan and TestScript resource links to display the corresponding title element value.

rettema commented 1 year ago

Per IG tooling call on 2023-06-20:

rettema commented 1 year ago
rettema commented 1 year ago

See updated page for intro example - http://wildfhir4.aegis.net/ig/dev-satisfaction-r4/0.3.0/StructureDefinition-dev-satisfaction-observation.html