This PR makes it so that lib/app/utils/startup_tasks.rb will upload resources from included IGs that match any of the Conformance resource types from https://www.hl7.org/fhir/conformance-module.html
Previously, it would only load StructureDefinition resources, which left out a number of the desired artifacts
New behavior
Added a CONFORMANCE_RESOURCE_TYPES array constant to Inferno::StartupTasks
Load a resource if its type matches any in the above constant
Testing guidance
Run Inferno with a local validator wrapper, and check that the number of POST /profile calls in the logs matches the number of resources for each IG that should be uploaded.
Summary
This PR makes it so that
lib/app/utils/startup_tasks.rb
will upload resources from included IGs that match any of the Conformance resource types from https://www.hl7.org/fhir/conformance-module.htmlPreviously, it would only load
StructureDefinition
resources, which left out a number of the desired artifactsNew behavior
CONFORMANCE_RESOURCE_TYPES
array constant toInferno::StartupTasks
Testing guidance
Run Inferno with a local validator wrapper, and check that the number of
POST /profile
calls in the logs matches the number of resources for each IG that should be uploaded.