Open alexzautke opened 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.
Ok, so the relevant bits for us to look at are:
maximum
- comparable to http://build.fhir.org/extension-elementdefinition-maxvalueset.html, basically this additional binding extension is replacing the use of the maxvalueset extension, since it is a superset.conformance
- switch to another binding given a validation context.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).
Note that in R5 the extension has been moved to native elements of ElementDefinition: https://build.fhir.org/elementdefinition.html
These have been renamed: maximum, required, extensible (conformance got split in these two). The others are still documentation.
See https://build.fhir.org/ig/FHIR/fhir-tools-ig/ValueSet-additional-binding-purpose.html It should be investigated how it impacts our validation.