Id1.3.182.11.6.1Effective Date2018‑06‑18 14:22:39
Statusdraft DraftVersion Label
NameeDispensationCDAL3Display NameeDispensation CDA L3
ContextPathname /
ClassificationCDA Document Level Template
Open/ClosedClosed (only defined elements are allowed)
Used by / Uses
Used by 1 transaction and 0 templates, Uses 5 templates
Used by as NameVersion
1.3.182.7.6.1.4.4Transactiondraft Send eDispensation2020‑02‑25 09:27:19
Uses as NameVersion
1.3.182.7.6.1.10.1Includedraft CDA author A2DYNAMIC
1.3.182.11.1.7Includedraft CDA custodian (1.0)DYNAMIC
1.3.182.11.1.16.1Includedraft CDA recordTarget A1 (1.0)DYNAMIC
1.3.182.11.6.2.2.1Containmentdraft Dispensation Meds SectionDYNAMIC
1.3.182.11.6.3.2.1Containmentdraft Dispensation Bio SectionDYNAMIC
Example
For Biology
<hl7:ClinicalDocument>
  <hl7:realmCode code="LU"/>  <hl7:typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>  <hl7:templateId root="1.3.182.11.6.1"/>  <hl7:templateId root="2.16.840.1.113883.10.20.30"/>  <hl7:id root="aee5106f-e185-4532-ac21-95137d56faba"/>  <hl7:code code="DT-25001" codeSystem="1.3.182.5.9"/>  <hl7:effectiveTime value="20171230110651+0100"/>  <hl7:confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>  <hl7:recordTarget>
    <hl7:patientRole>
      <hl7:id extension="001872" root="1.3.182.3.1.1.10000508.29999920.6.21269170.1.2"/>      <hl7:id extension="1907070700247" root="1.3.182.4.4"/>      <hl7:id extension="2884858489" root="1.3.182.2.11.2"/>      <hl7:addr use="H">
        <hl7:streetAddressLine>rue rue</hl7:streetAddressLine>        <hl7:city>ESCH SUR ALZETTE</hl7:city>        <hl7:postalCode>4253</hl7:postalCode>        <hl7:country>LUX</hl7:country>      </hl7:addr>
      <hl7:patient>
        <hl7:name>
          <hl7:family qualifier="BR">ESANTEPAT</hl7:family>          <hl7:given>TEST</hl7:given>        </hl7:name>
        <hl7:administrativeGenderCode code="F" codeSystem="2.16.840.1.113883.5.1" displayName="Féminin" codeSystemName="HL7:AdministrativeGender"/>        <hl7:birthTime value="19070707"/>      </hl7:patient>
    </hl7:patientRole>
  </hl7:recordTarget>
  <hl7:author>
    <hl7:time value="20171230110651+0100"/>    <hl7:assignedAuthor>
      <hl7:id extension="2999992019" root="1.3.182.4.1"/>      <hl7:id root="1.3.182.4.6" extension="123456-90"/>      <hl7:addr use="WP">
        <hl7:streetAddressLine>Rue des dispenses</hl7:streetAddressLine>        <hl7:postalCode>1234</hl7:postalCode>        <hl7:city>Luxembourg</hl7:city>        <hl7:country>LUX</hl7:country>      </hl7:addr>
      <hl7:telecom value="tel:123456"/>      <hl7:assignedPerson>
        <hl7:name>
          <hl7:family>Bob</hl7:family>          <hl7:given>Dispens</hl7:given>        </hl7:name>
      </hl7:assignedPerson>
      <hl7:representedOrganization>
        <hl7:name>Cabinet Dr. Bob</hl7:name>      </hl7:representedOrganization>
    </hl7:assignedAuthor>
  </hl7:author>
  <hl7:custodian>
    <hl7:assignedCustodian>
      <hl7:representedCustodianOrganization>
        <hl7:id root="1.3.182.4.1" extension="1000012345"/>        <hl7:name>Cabinet des autruches</hl7:name>        <hl7:telecom value="tel:123456"/>        <hl7:addr use="WP">
          <hl7:streetAddressLine>Rue des autruches</hl7:streetAddressLine>          <hl7:postalCode>1234</hl7:postalCode>          <hl7:city>Luxembourg</hl7:city>          <hl7:country>LUX</hl7:country>        </hl7:addr>
      </hl7:representedCustodianOrganization>
    </hl7:assignedCustodian>
  </hl7:custodian>
  <hl7:component>
    <hl7:structuredBody>
      <hl7:component>
        <hl7:section>
          <hl7:templateId root="1.3.182.11.6.3.2.1"/>          <hl7:id root="aee5106f-e185-4532-ac21-95137d56faba"/>          <hl7:author>
            <hl7:time value="20171230110651+0100"/>            <hl7:assignedAuthor>
              <hl7:id extension="2999992019" root="1.3.182.4.1"/>              <hl7:id root="1.3.182.4.6" extension="123456-90"/>              <hl7:addr use="WP">
                <hl7:streetAddressLine>Rue des dispenses</hl7:streetAddressLine>                <hl7:postalCode>1234</hl7:postalCode>                <hl7:city>Luxembourg</hl7:city>                <hl7:country>LUX</hl7:country>              </hl7:addr>
              <hl7:telecom value="tel:123456"/>              <hl7:assignedPerson>
                <hl7:name>
                  <hl7:family>Bob</hl7:family>                  <hl7:given>Dispens</hl7:given>                </hl7:name>
              </hl7:assignedPerson>
              <hl7:representedOrganization>
                <hl7:name>Cabinet Dr. Bob</hl7:name>              </hl7:representedOrganization>
            </hl7:assignedAuthor>
          </hl7:author>
          <hl7:entry>
            <hl7:observation moodCode="EVN" classCode="OBS">
              <hl7:templateId root="1.3.182.11.6.3.3.2"/>              <hl7:id root="079b519f-5f9f-43bc-b195-f5150362c2d6"/>              <!-- Na -->
              <hl7:code code="2951-2" codeSystem="2.16.840.1.113883.6.1"/>              <hl7:repeatNumber value="1"/>              <!-- related prescription line -->
              <hl7:entryRelationship typeCode="REFR">
                <hl7:templateId root="1.3.182.11.6.3.3.2"/>                <hl7:observation classCode="OBS" moodCode="INT">
                  <!-- Link to the prescription line -->
                  <hl7:id root="422cce9d-259c-4b54-b216-38136d6d225f"/>                  <hl7:code nullFlavor="NA"/>                </hl7:observation>
              </hl7:entryRelationship>
              <!-- Left to dispense, Luxembourg specific -->
              <hl7:entryRelationship typeCode="COMP">
                <hl7:templateId root="1.3.182.11.6.1.3.1"/>                <hl7:supply classCode="SPLY" moodCode="RQO">
                  <hl7:quantity value="0"/>                </hl7:supply>
              </hl7:entryRelationship>
            </hl7:observation>
          </hl7:entry>
          <hl7:entry>
            <hl7:observation moodCode="EVN" classCode="OBS">
              <hl7:templateId root="1.3.182.11.6.3.3.2"/>              <hl7:id root="ac8760cb-fce4-43cb-99a4-89792e537656"/>              <!-- K -->
              <hl7:code code="2823-3" codeSystem="2.16.840.1.113883.6.1"/>              <!-- Number of repetition in the serie. Here it means it's the first analysis -->
              <hl7:repeatNumber value="1"/>              <!-- related prescription line -->
              <hl7:entryRelationship typeCode="REFR">
                <hl7:templateId root="1.3.182.11.6.3.3.2"/>                <hl7:observation classCode="OBS" moodCode="INT">
                  <!-- Link to the prescription line -->
                  <hl7:id root="422cce9d-259c-4b54-b216-38136d6d225f"/>                  <hl7:code nullFlavor="NA"/>                </hl7:observation>
              </hl7:entryRelationship>
              <!-- Left to dispense, Luxembourg specific -->
              <hl7:entryRelationship typeCode="COMP">
                <hl7:templateId root="1.3.182.11.6.1.3.1"/>                <hl7:supply classCode="SPLY" moodCode="RQO">
                  <hl7:quantity value="0"/>                </hl7:supply>
              </hl7:entryRelationship>
            </hl7:observation>
          </hl7:entry>
          <hl7:entry>
            <hl7:observation moodCode="EVN" classCode="OBS">
              <hl7:templateId root="1.3.182.11.6.3.3.2"/>              <hl7:id root="7aaa57bb-ffb4-483a-995b-de1cfc9a5184"/>              <!-- Cl -->
              <hl7:code code="2075-0" codeSystem="2.16.840.1.113883.6.1"/>              <!-- Number of repetition in the serie. Here it means it's the first analysis -->
              <hl7:repeatNumber value="1"/>              <!-- related prescription line -->
              <hl7:entryRelationship typeCode="REFR">
                <hl7:templateId root="1.3.182.11.6.3.3.2"/>                <hl7:observation classCode="OBS" moodCode="INT">
                  <!-- Link to the prescription line -->
                  <hl7:id root="422cce9d-259c-4b54-b216-38136d6d225f"/>                  <hl7:code nullFlavor="NA"/>                </hl7:observation>
              </hl7:entryRelationship>
              <!-- Left to dispense, Luxembourg specific -->
              <hl7:entryRelationship typeCode="COMP">
                <hl7:templateId root="1.3.182.11.6.1.3.1"/>                <hl7:supply classCode="SPLY" moodCode="RQO">
                  <hl7:quantity value="0"/>                </hl7:supply>
              </hl7:entryRelationship>
            </hl7:observation>
          </hl7:entry>
          <hl7:entry>
            <hl7:observation moodCode="EVN" classCode="OBS">
              <hl7:templateId root="1.3.182.11.6.3.3.2"/>              <hl7:id root="f2058b8c-97ee-40a0-a614-462b1982fc97"/>              <!-- Bicarbonates -->
              <hl7:code nullFlavor="NA">
                <hl7:originalText>Bicarbonates</hl7:originalText>              </hl7:code>
              <!-- Number of repetition in the serie. Here it means it's the first analysis -->
              <hl7:repeatNumber value="1"/>              <!-- related prescription line -->
              <hl7:entryRelationship typeCode="REFR">
                <hl7:templateId root="1.3.182.11.6.3.3.2"/>                <hl7:observation classCode="OBS" moodCode="INT">
                  <!-- Link to the prescription line -->
                  <hl7:id root="422cce9d-259c-4b54-b216-38136d6d225f"/>                  <hl7:code nullFlavor="NA"/>                </hl7:observation>
              </hl7:entryRelationship>
              <!-- Left to dispense, Luxembourg specific -->
              <hl7:entryRelationship typeCode="COMP">
                <hl7:templateId root="1.3.182.11.6.1.3.1"/>                <hl7:supply classCode="SPLY" moodCode="RQO">
                  <hl7:quantity value="0"/>                </hl7:supply>
              </hl7:entryRelationship>
            </hl7:observation>
          </hl7:entry>
          <hl7:entry>
            <hl7:observation moodCode="EVN" classCode="OBS">
              <hl7:templateId root="1.3.182.11.6.3.3.2"/>              <hl7:id root="8575d06a-8316-4cc5-8a9e-bb18b7cb26c7"/>              <!-- Toxoplasma-->
              <hl7:code code="11598-0" codeSystem="2.16.840.1.113883.6.1"/>              <!-- Number of repetition in the serie. Here it means it's the second analysis -->
              <hl7:repeatNumber value="2"/>              <!-- related prescription line -->
              <hl7:entryRelationship typeCode="REFR">
                <hl7:templateId root="1.3.182.11.6.3.3.2"/>                <hl7:observation classCode="OBS" moodCode="INT">
                  <!-- Link to the prescription line -->
                  <hl7:id root="3bdbe603-3c73-493e-a998-f78a9fefad81"/>                  <hl7:code nullFlavor="NA"/>                </hl7:observation>
              </hl7:entryRelationship>
              <!-- Left to dispense, Luxembourg specific -->
              <hl7:entryRelationship typeCode="COMP">
                <hl7:templateId root="1.3.182.11.6.1.3.1"/>                <hl7:supply classCode="SPLY" moodCode="RQO">
                  <hl7:quantity value="3"/>                </hl7:supply>
              </hl7:entryRelationship>
            </hl7:observation>
          </hl7:entry>
        </hl7:section>
      </hl7:component>
    </hl7:structuredBody>
  </hl7:component>
</hl7:ClinicalDocument>
ItemDTCardConfDescriptionLabel
hl7:ClinicalDocument
1 … 1MeDisdotsDAL3
hl7:realmCode
1 … 1MeDisdotsDAL3
@code
cs1 … 1FLU
hl7:typeId
1 … 1MeDisdotsDAL3
@root
oid1 … 1F2.16.840.1.113883.1.3
@extension
st1 … 1FPOCD_HD000040
hl7:templateId
1 … 1MeDisdotsDAL3
@root
oid1 … 1F1.3.182.11.6.1
 eDispensation CDA Level 3
hl7:templateId
1 … 1MeDisdotsDAL3
@root
oid1 … 1F2.16.840.1.113883.10.20.30
 CDA Level 3 conformance templateId
hl7:id
1 … 1MThe unique identifier of the document.
@root shall be a valid UUID
@extension shall not be present
eDisdotsDAL3
@root
uuid1 … 1R
@extension
st0NPNP/not present
 Example<id root="fa625fd5-2ea9-433c-af17-71f0a1484443"/>
hl7:code
CE1 … 1MeDisdotsDAL3
 ConstraintOnly 2 possibilities here: 60590-7 for medications dispensation or DT-25001 for laboratory dispensation. Be sure to use the appropriate section
 Example<code code="60590-7" codeSystem="2.16.840.1.113883.6.1"/>
 Schematron assertrolered error 
 test(@code="60590-7" and @codeSystem="2.16.840.1.113883.6.1" and ../hl7:component/hl7:structuredBody/hl7:component/hl7:section/hl7:templateId/@root="1.3.182.11.6.2.2.1") or (@code="DT-25001" and @codeSystem="1.3.182.5.9" and ../hl7:component/hl7:structuredBody/hl7:component/hl7:section/hl7:templateId/@root="1.3.182.11.6.3.2.1") 
 MessageThe codes shall match the type of dispensation 
hl7:effectiveTime
TS.DATETIMETZ.MIN1 … 1MThe date of creation of the document, shall have the format yyyyMMddHHmmss[+/-]HHmmeDisdotsDAL3
hl7:confidentialityCode
CE (required)1 … 1M

The confidentiality code as set at the time of creation of the document. It shall always be "Normal".

eDisdotsDAL3
@code
cs1 … 1FN
@codeSystem
oid1 … 1F2.16.840.1.113883.5.25
@codeSystemName
st0 … 1FHL7:Confidentiality
@displayName
st0 … 1FNormal
 Example<confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25" displayName="Normal" codeSystemName="HL7:Confidentiality"/>
Included1 … 1M from 1.3.182.11.1.16.1 CDA recordTarget A1 (DYNAMIC)
hl7:recordTarget
1 … 1MCDArdotsetA1
hl7:patientRole
1 … 1MCDArdotsetA1
hl7:id
II1 … *MThe first id of recordTarget/patientRole represents the local patient ID. It shall not be nullFlavored and shall have root and extension attribute, root being a valid OID string
CDArdotsetA1
@extension
st1 … 1R
@root
oid1 … 1R
hl7:id
II1 … *MCDArdotsetA1
@extension
st1 … 1R
@root
oid1 … 1F1.3.182.4.4
hl7:id
II1 … *RCDArdotsetA1
@root
uid0 … 1F1.3.182.2.11.2
@extension
st0 … 1 
Included1 … *M from 1.3.182.11.1.1 ADDR (DYNAMIC)
hl7:addr
AD1 … *MADDR
@use
cs0 … 1 Information about the usage or context of the address information. E.g. home, work, …
Not mandatory if addr is nullFlavored.

 CONF
The value of @use shall be drawn from value set 1.3.182.10.2.1 eSante_AddressUse (DYNAMIC)
hl7:streetAddressLine
ADXP0 … 1ADDR
hl7:streetName
ADXP0 … 1ADDR
hl7:houseNumber
ADXP0 … 1ADDR
hl7:postalCode
ADXP0 … 1RADDR
hl7:city
ADXP0 … 1RADDR
hl7:state
ADXP0 … 1ADDR
hl7:country
ADXP0 … 1RADDR
 ConstraintThe country code shall come from the value set eSanté_CountryCodes
 Variable letNamecountry 
 Valuetext() 
 Schematron assertrolered error 
 testcount(distinct-values(doc('include/voc-1.3.182.10.33.1-DYNAMIC.xml')/*/valueSet/conceptList/concept[@code = $country]))=1 
 MessageThe country code shall come from the value set eSanté_CountryCodes 
hl7:additionalLocator
ADXP0 … 1ADDR
 Schematron assertrolered error 
 test@nullFlavor or (((hl7:streetAddressLine and not(hl7:streetName) and not(hl7:houseNumber)) or (hl7:streetName and hl7:houseNumber and not(hl7:streetAddressLine))) and @use) 
 MessageAddress can either have @nullFlavor or need to have @use attribute and streetAddressLine or houseNumber and streetName.  
 Schematron assertrolered error 
 test@nullFlavor or (hl7:postalCode and hl7:city and hl7:country) 
 MessageIf addr is not nullFlavored, PostalCode, City and Country shall be provided. 
Included0 … * from 1.3.182.11.22 CDA telecom (DYNAMIC)
hl7:telecom
0 … *CDAtdotsecom
@use
set_cs0 … 1 
 CONF
The value of @use shall be drawn from value set 1.3.182.10.28.1 eSante_TelecomAddressUse (DYNAMIC)
@value
st1 … 1R
 Variable letNamemyAttValue 
 Valuesubstring-before(@value,':') 
 Variable letNamemyAttCheck 
 Valuedistinct-values(doc('include/voc-1.3.182.10.29.1-DYNAMIC.xml')/*/valueSet/conceptList/concept[@code = $myAttValue]) 
 Schematron assertrolered error 
 testcount($myAttValue)=count($myAttCheck) 
 MessageValue must start with communication - scheme from value set eSanté_URLScheme 
hl7:patient
1 … 1MCDArdotsetA1
hl7:id
II0 … 1CDArdotsetA1
hl7:name
PN1 … *MCDArdotsetA1
@use
set_cs0 … 1 
 CONF
The value of @use shall be drawn from value set 1.3.182.10.19.1 eSante_NameUse (DYNAMIC)
hl7:prefix
ST0 … *CDArdotsetA1
@qualifier
cs0 … 1 
 CONF
The value of @qualifier shall be drawn from value set 1.3.182.10.18.1 eSante_NamePartQualifier (DYNAMIC)
hl7:family
ST1 … *MCDArdotsetA1
@qualifier
cs0 … 1 
 CONF
The value of @qualifier shall be drawn from value set 1.3.182.10.18.1 eSante_NamePartQualifier (DYNAMIC)
hl7:given
ST1 … *MCDArdotsetA1
@qualifier
cs0 … 1 
 CONF
The value of @qualifier shall be drawn from value set 1.3.182.10.18.1 eSante_NamePartQualifier (DYNAMIC)
hl7:suffix
ST0 … *CDArdotsetA1
@qualifier
cs0 … 1 
 CONF
The value of @qualifier shall be drawn from value set 1.3.182.10.18.1 eSante_NamePartQualifier (DYNAMIC)
hl7:administrativeGenderCode
CE1 … 1MCDArdotsetA1
 CONF
The value of @code shall be drawn from value set 1.3.182.10.3.1 eSante_AdministrativeGender (DYNAMIC)
hl7:birthTime
TS1 … 1RCDArdotsetA1
@nullFlavor
cs0 … 1FUNK
@value
ts0 … 1 
 Schematron assertrolered error 
 testhl7:id[2]/@root='1.3.182.4.4' and matches(hl7:id[2]/@extension,'^(\d{11}|\d{13})$') 
 MessageThe second id of recordTarget/patientRole shall have @root=1.3.182.4.4 and @extension representing the SSN (11-digits or 13-digits) 
 Schematron assertrolered error 
 test(hl7:id[3]/@nullFlavor) or (hl7:id[3]/@root='1.3.182.2.11.2') 
 MessageThe third id of recordTarget/patientRole if not nullFlavored, shall have @root=1.3.182.2.11.2 and @extension 
 Schematron assertrolered error 
 testcount(hl7:id)=3 
 Message3 id shall be present 
Included1 … 1M from 1.3.182.7.6.1.10.1 CDA author A2 (DYNAMIC)
More information on the meaning of some elements:
Dispenser Profession => author/functionCode
Timestamp of dispensation => author/time
Dispenser ID => author/assignedAuthor/id
Dispenser Specialty => author/assignedAuthor/code
Dispenser Name => author/assignedAuthor/assignedPerson/name
Dispenser Organization Identifier => author/assignedAuthor/representedOrganization/id
Dispenser Organization Name => author/assignedAuthor/representedOrganization/name
Dispenser Organization Address => author/assignedAuthor/representedOrganization/addr


All the author information shall be copied in the section exactly as it is here.
hl7:author
1 … 1MCDAadotsorA2
hl7:time
TS.DATETIMETZ.MIN1 … 1MCDAadotsorA2
hl7:assignedAuthor
1 … 1MCDAadotsorA2
hl7:id
II1 … *R

Identifier of the author of this document, more than one identifier can be provided. For health professionals the hpdID (root OID = 1.3.182.4.1) from the HPD shall be provided. Additionally, if known, the code prestataire from CNS (UCM) with OID 1.3.182.4.6 may be provided.  Identifiers shall be provided as specified in chapter:   2.2.2 and following the specification of the II data type in chapter: 2.2

When a patient authors a document e.g. his national identifier (root  OID = 1.3.182.4.4) or the DSPPID (root OID = 1.3.182.2.4.2) can be used. 

If the author is a device, then the id of the device inside the institution shall be given.

CDAadotsorA2
Included0 … * from 1.3.182.11.1.1 ADDR (DYNAMIC)
hl7:addr
AD0 … *ADDR
@use
cs0 … 1 Information about the usage or context of the address information. E.g. home, work, …
Not mandatory if addr is nullFlavored.

 CONF
The value of @use shall be drawn from value set 1.3.182.10.2.1 eSante_AddressUse (DYNAMIC)
hl7:streetAddressLine
ADXP0 … 1ADDR
hl7:streetName
ADXP0 … 1ADDR
hl7:houseNumber
ADXP0 … 1ADDR
hl7:postalCode
ADXP0 … 1RADDR
hl7:city
ADXP0 … 1RADDR
hl7:state
ADXP0 … 1ADDR
hl7:country
ADXP0 … 1RADDR
 ConstraintThe country code shall come from the value set eSanté_CountryCodes
 Variable letNamecountry 
 Valuetext() 
 Schematron assertrolered error 
 testcount(distinct-values(doc('include/voc-1.3.182.10.33.1-DYNAMIC.xml')/*/valueSet/conceptList/concept[@code = $country]))=1 
 MessageThe country code shall come from the value set eSanté_CountryCodes 
hl7:additionalLocator
ADXP0 … 1ADDR
 Schematron assertrolered error 
 test@nullFlavor or (((hl7:streetAddressLine and not(hl7:streetName) and not(hl7:houseNumber)) or (hl7:streetName and hl7:houseNumber and not(hl7:streetAddressLine))) and @use) 
 MessageAddress can either have @nullFlavor or need to have @use attribute and streetAddressLine or houseNumber and streetName.  
 Schematron assertrolered error 
 test@nullFlavor or (hl7:postalCode and hl7:city and hl7:country) 
 MessageIf addr is not nullFlavored, PostalCode, City and Country shall be provided. 
Included0 … * from 1.3.182.11.22 CDA telecom (DYNAMIC)
hl7:telecom
0 … *CDAtdotsecom
@use
set_cs0 … 1 
 CONF
The value of @use shall be drawn from value set 1.3.182.10.28.1 eSante_TelecomAddressUse (DYNAMIC)
@value
st1 … 1R
 Variable letNamemyAttValue 
 Valuesubstring-before(@value,':') 
 Variable letNamemyAttCheck 
 Valuedistinct-values(doc('include/voc-1.3.182.10.29.1-DYNAMIC.xml')/*/valueSet/conceptList/concept[@code = $myAttValue]) 
 Schematron assertrolered error 
 testcount($myAttValue)=count($myAttCheck) 
 MessageValue must start with communication - scheme from value set eSanté_URLScheme 
Choice0 … 1Elements to choose from:
  • hl7:assignedPerson containing template 1.3.182.11.1.15 CDA Person (DYNAMIC)
hl7:assignedPerson
0 … 1Contains 1.3.182.11.1.15 CDA Person (DYNAMIC)CDAadotsorA2
hl7:representedOrganization
0 … 1Contains 1.3.182.11.1.13 CDA Organization (DYNAMIC)CDAadotsorA2
Included1 … 1R from 1.3.182.11.1.7 CDA custodian (DYNAMIC)
hl7:custodian
1 … 1MCDAcdotsdian
@typeCode
cs0 … 1FCST
hl7:assignedCustodian
1 … 1MCDAcdotsdian
@classCode
cs0 … 1FASSIGNED
hl7:representedCustodianOrganization
1 … 1MCDAcdotsdian
@classCode
cs0 … 1FORG
@determinerCode
cs0 … 1FINSTANCE
hl7:id
II1 … *RIdentifiers of the organization. This should be the identifier given from the healthcare provider directory (HPD). 
CDAcdotsdian
hl7:name
ON1 … 1MName of the organizationCDAcdotsdian
@use
cs0 … 1 
hl7:prefix
ENXP0 … *CDAcdotsdian
@qualifier
set_cs0 … 1 
 CONF
The value of @qualifier shall be drawn from value set 1.3.182.10.18.1 eSante_NamePartQualifier (DYNAMIC)
hl7:suffix
ADXP0 … *CDAcdotsdian
@qualifier
cs0 … 1 
 CONF
The value of @qualifier shall be drawn from value set 1.3.182.10.18.1 eSante_NamePartQualifier (DYNAMIC)
Included0 … 1 from 1.3.182.11.22 CDA telecom (DYNAMIC)
hl7:telecom
0 … 1CDAtdotsecom
@use
set_cs0 … 1 
 CONF
The value of @use shall be drawn from value set 1.3.182.10.28.1 eSante_TelecomAddressUse (DYNAMIC)
@value
st1 … 1R
 Variable letNamemyAttValue 
 Valuesubstring-before(@value,':') 
 Variable letNamemyAttCheck 
 Valuedistinct-values(doc('include/voc-1.3.182.10.29.1-DYNAMIC.xml')/*/valueSet/conceptList/concept[@code = $myAttValue]) 
 Schematron assertrolered error 
 testcount($myAttValue)=count($myAttCheck) 
 MessageValue must start with communication - scheme from value set eSanté_URLScheme 
Included0 … 1 from 1.3.182.11.1.1 ADDR (DYNAMIC)
hl7:addr
AD0 … 1ADDR
@use
cs0 … 1 Information about the usage or context of the address information. E.g. home, work, …
Not mandatory if addr is nullFlavored.

 CONF
The value of @use shall be drawn from value set 1.3.182.10.2.1 eSante_AddressUse (DYNAMIC)
hl7:streetAddressLine
ADXP0 … 1ADDR
hl7:streetName
ADXP0 … 1ADDR
hl7:houseNumber
ADXP0 … 1ADDR
hl7:postalCode
ADXP0 … 1RADDR
hl7:city
ADXP0 … 1RADDR
hl7:state
ADXP0 … 1ADDR
hl7:country
ADXP0 … 1RADDR
 ConstraintThe country code shall come from the value set eSanté_CountryCodes
 Variable letNamecountry 
 Valuetext() 
 Schematron assertrolered error 
 testcount(distinct-values(doc('include/voc-1.3.182.10.33.1-DYNAMIC.xml')/*/valueSet/conceptList/concept[@code = $country]))=1 
 MessageThe country code shall come from the value set eSanté_CountryCodes 
hl7:additionalLocator
ADXP0 … 1ADDR
 Schematron assertrolered error 
 test@nullFlavor or (((hl7:streetAddressLine and not(hl7:streetName) and not(hl7:houseNumber)) or (hl7:streetName and hl7:houseNumber and not(hl7:streetAddressLine))) and @use) 
 MessageAddress can either have @nullFlavor or need to have @use attribute and streetAddressLine or houseNumber and streetName.  
 Schematron assertrolered error 
 test@nullFlavor or (hl7:postalCode and hl7:city and hl7:country) 
 MessageIf addr is not nullFlavored, PostalCode, City and Country shall be provided. 
hl7:component
1 … 1MeDisdotsDAL3
hl7:structuredBody
1 … 1MeDisdotsDAL3
Choice1 … 1Elements to choose from:
hl7:component
0 … 1Contains 1.3.182.11.6.2.2.1 Dispensation Meds Section (DYNAMIC)eDisdotsDAL3
hl7:component
0 … 1Contains 1.3.182.11.6.3.2.1 Dispensation Bio Section (DYNAMIC)eDisdotsDAL3
 Schematron assertrolered error 
 testhl7:id/@root=hl7:component/hl7:structuredBody/hl7:component/hl7:section/hl7:id/@root 
 MessageThe id of the document shall be the same as the section id