hapifhir / hapi-fhir

🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
http://hapifhir.io
Apache License 2.0
1.99k stars 1.31k forks source link

Parameters schematron missing #1291

Open MFAshby opened 5 years ago

MFAshby commented 5 years ago

Describe the bug Trying to validate a Parameters resource using the schematron validator fails due to missing schematron file.

To Reproduce See minimal reproduction project: https://github.com/MFAshby/parametersbug The validation fails with an error Failed to load schematron for resource 'Parameters' Note that validation of a different resource (e.g. Observation) works as expected, this bug appears to be restricted to Parameters resources only.

Expected behavior The Parameters resource should be validated according to the schematron (available here http://hl7.org/fhir/parameters.sch)

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

MFAshby commented 5 years ago

On further investigation, the file parameters.sch appears to be missing from the STU3 release of FHIR: http://hl7.org/fhir/STU3/parameters.sch returns 404, wheras other resource schematrons are present in STU3 http://hl7.org/fhir/STU3/observation.sch.

The Parameters schematron is present in version 4 http://hl7.org/fhir/parameters.sch, might it be worth backporting this to 3?