onc-healthit / inferno-community

Archived source code for the Inferno Testing Tool and the Community Edition set of tests. No longer maintained.
https://inferno.healthit.gov/
Apache License 2.0
92 stars 35 forks source link

Switch from only POSTing StructureDefinitions to the validator service, to POSTing all conformance-related resource types #573

Closed okeefm closed 3 years ago

okeefm commented 3 years ago

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.html

Previously, it would only load StructureDefinition resources, which left out a number of the desired artifacts

New behavior

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.