Closed dehall closed 2 months ago
How will the "two suites" approach look from a user perspective? Will we show the two suites on the start page and the user has to pick one? In the meantime I'll press forward with cleanup here and then adding hl7 validator support to the other two test kits.
How will the "two suites" approach look from a user perspective? Will we show the two suites on the start page and the user has to pick one?
We'll want to discuss that with @arscan
This PR enables support for the the g10-test-kit to use the original Inferno validator wrapper or the HL7 validator wrapper, toggled by the env var
USE_HL7_RESOURCE_VALIDATOR
. From the user perspective, there should be no visible change. If I've done this right then it should be plug & play.Summary of changes:
validator
block in test suite to a conditional that selectsvalidator
orfhir_resource_validator
based on a new env varUSE_HL7_RESOURCE_VALIDATOR
. Addigs
setting to this block if using the HL7 validator.cli_context
block to specify validator settings:txServer nil
disables use of a TX server. Aligns withDISABLE_TX
env var in the inferno validatordisplayWarnings true
sets any "display issue" messages to be warnings instead of errors. Aligns withDISPLAY_ISSUES_ARE_WARNINGS
env var in the inferno validatordisableDefaultResourceFetcher true
disables fetching and validating against any unknown profiles found in a resource. (This is now a default in inferno-core, not yet released though. No harm in keeping this setting here temporarily or forever)New error messages that need to be ignored -- there are two messages that occur per usage of a mime type (CapabilityStatement, DocumentReference, some uses of DiagnosticReport)![image (12)](https://github.com/onc-healthit/onc-certification-g10-test-kit/assets/13512036/9875510d-08c1-45b9-a814-eb26f2069956)