Stream: IG creation
Topic: Binding rendering with iso21090-SC-coding extension
Giorgio Cangioli (Mar 06 2020 at 16:52):
I'd like to constrain the iso21090-SC-coding without defining a new specialized extension.
I supposed to do that adding a binding constraint.
<element id="Patient.extension:luogoNascita.valueAddress.city.extension:codiceComune"> <path value="Patient.extension.valueAddress.city.extension"/> <sliceName value="codiceComune"/> <short value="Codice Comune"/> <type> <code value="Extension"/> <profile value="http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding"/> </type> <binding> <strength value="preferred"/> <valueSet value="http://hl7.it/fhir/ValueSet/istat-comuni"/> </binding> </element>
Giorgio Cangioli (Mar 06 2020 at 16:52):
The rendering is not what I expected... (no binding shown)
Giorgio Cangioli (Mar 06 2020 at 16:55):
that is : Binding (unbound) (example)
Is it a rendering problem or should i change approach ?
Grahame Grieve (Mar 06 2020 at 20:59):
hmm. the binding belongs on the Extension value not the extension itself?
Giorgio Cangioli (Mar 09 2020 at 08:55):
..not sure I captured your question... :-)
http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding has no binding defined (and this is reasonable being generic)
I tried to define a binding in the profile where this extension is used. (see the XML fragment above)
Last updated: Apr 12 2022 at 19:14 UTC