FirelyTeam / firely-validator-api

Firely's official FHIR validator API for validating HL7 FHIR resources against profiles.
Other
8 stars 2 forks source link

Check impact of additionalBinding-Extension in R5+ #149

Open alexzautke opened 2 years ago

alexzautke commented 2 years ago

See https://build.fhir.org/ig/FHIR/fhir-tools-ig/ValueSet-additional-binding-purpose.html It should be investigated how it impacts our validation.

ewoutkramer commented 2 years ago

Yes, I made a mental note of asking Grahame. I cannot really understand what the extension is doing, so I'll just ask him how it influences validation.

ewoutkramer commented 2 years ago

Ok, so the relevant bits for us to look at are:

Most interestingly, this introduces the concept of a "validation context" in terms of a UsageContext (http://hl7.org/fhir/R4/metadatatypes.html#UsageContext). Which means the validator needs this context as an input parameter (and an extra argument to the $validate operation).

alexzautke commented 1 year ago

Note that in R5 the extension has been moved to native elements of ElementDefinition: https://build.fhir.org/elementdefinition.html

ewoutkramer commented 1 year ago

These have been renamed: maximum, required, extensible (conformance got split in these two). The others are still documentation.