Skip to content
Sean McIlvenna edited this page Jul 22, 2020 · 4 revisions

Welcome to the cda-ccda-2.2 wiki!

CDA Profiling Patterns

Section.entry slices on observation, organizer, etc.

The important part about this pattern is the discriminator on Section.entry. The discriminator is based on the existence (exists) of any (*) child element (ex: observation, organizer, medicationStatement, etc.)

<element id="Section.entry">
    <path value="Section.entry"/>
    <slicing>
        <discriminator>
            <type value="exists" />
            <path value="*" />
        </discriminator>
        <rules value="open" />
    </slicing>
    <short value="entry"/>
    <definition value="MAY contain zero or more [0..*] entry (CONF:1198-7957)."/>
    <min value="0"/>
    <max value="*"/>
</element>
<element id="Section.entry:observation">
    <path value="Section.entry" />
    <sliceName value="observation" />
</element>
<element id="Section.entry:observation.observation">
    <path value="Section.entry.observation"/>
    <short value="observation"/>
    <definition value="The entry, if present, SHALL contain exactly one [1..1] Advance Directive Observation (V3) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.48:2015-08-01) (CONF:1198-15443)."/>
    <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
        <profile value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.48"/>
    </type>
</element>
<element id="Section.entry:organizer">
    <path value="Section.entry" />
    <sliceName value="organizer" />
</element>
<element id="Section.entry:organizer.organizer">
    <path value="Section.entry.organizer"/>
    <short value="organizer"/>
    <definition value="The entry, if present, SHALL contain exactly one [1..1] Advance Directive Observation (V3) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.48:2015-08-01) (CONF:1198-15443)."/>
    <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Organizer"/>
        <profile value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.108"/>
    </type>
</element>
Clone this wiki locally