If true, marks that this element is a choice group that doesn’t literally appear in the XML
However, when generating a CDA instance via either the FHIR validator (using -transform of a FHIR Bundle against a StructureMap, with a target of the above CDA logical model) or being processed by the FHIR IG Publisher, in an IG derived from the CDA logical model, the item element appears in the generated CDA instance. This results in the instance failing schema validation. For example, an address appears as such:
The CDA Logical Model IG, v2.0.0-sd-snapshot1 introduced a choice group to a number of CDA datatypes, like AD and PN. See commit here.
This
item
element has an extension http://hl7.org/fhir/tools/StructureDefinition/xml-choice-group with its value set to true (see this for AD). And the definition of the extension states thatHowever, when generating a CDA instance via either the FHIR validator (using
-transform
of a FHIR Bundle against a StructureMap, with a target of the above CDA logical model) or being processed by the FHIR IG Publisher, in an IG derived from the CDA logical model, theitem
element appears in the generated CDA instance. This results in the instance failing schema validation. For example, an address appears as such:This was raised in zulip https://chat.fhir.org/#narrow/stream/246127-CDA-IG-Publisher/topic/CDA.20Logical.20Model.20-.20Choice.20Group.20.60item.60.20is.20not.20suppressed
With @grahamegrieve responding
Thank you