firely-net-sdk icon indicating copy to clipboard operation
firely-net-sdk copied to clipboard

Check impact of additionalBinding-Extension in R5+

Open alexzautke opened this issue 2 years ago • 2 comments

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

alexzautke avatar Sep 21 '22 15:09 alexzautke

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 avatar Sep 21 '22 15:09 ewoutkramer

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

  • Purpose 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.
  • Purpose 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).

ewoutkramer avatar Oct 03 '22 13:10 ewoutkramer