Item | DT | Card | Conf | Description | Label |
---|
hl7:section
| | 1 … 1 | M | | Disption |
hl7:templateId
| | 1 … 1 | M | | Disption |
@root
| oid | 1 … 1 | F | 1.3.182.11.6.2.2.1 |
hl7:id
| | 1 … 1 | M | | Disption |
@root
| uuid | 1 … 1 | R | |
@extension
| st | 0 | NP | NP/not present |
| Constraint | This ID shall be present and be the same as the CDA id from the original dispensation document |
Included | 1 … 1 | M | from 1.3.182.7.6.1.10.1 CDA author A2 (DYNAMIC) Excepted for the on-demand document, the author here shall be exactly the same as the author in the CDA header. |
hl7:author
| | 1 … 1 | M | | CDAaorA2 |
hl7:time
| TS.DATETIMETZ.MIN | 1 … 1 | M | | CDAaorA2 |
hl7:assignedAuthor
| | 1 … 1 | M | | CDAaorA2 |
hl7:id
| II | 1 … * | 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. | CDAaorA2 |
Included | 0 … * | | from 1.3.182.11.1.1 ADDR (DYNAMIC) |
hl7:addr
| AD | 0 … * | | | ADDR |
@use
| cs | 0 … 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
| ADXP | 0 … 1 | | | ADDR |
hl7:streetName
| ADXP | 0 … 1 | | | ADDR |
hl7:houseNumber
| ADXP | 0 … 1 | | | ADDR |
hl7:postalCode
| ADXP | 0 … 1 | R | | ADDR |
hl7:city
| ADXP | 0 … 1 | R | | ADDR |
hl7:state
| ADXP | 0 … 1 | | | ADDR |
hl7:country
| ADXP | 0 … 1 | R | | ADDR |
| Constraint | The country code shall come from the value set eSanté_CountryCodes
|
| Variable let | Name | country | |
| Value | text() | |
| Schematron assert | role | error | |
| test | count(distinct-values(doc('include/voc-1.3.182.10.33.1-DYNAMIC.xml')/*/valueSet/conceptList/concept[@code = $country]))=1 | |
| Message | The country code shall come from the value set eSanté_CountryCodes | |
hl7:additionalLocator
| ADXP | 0 … 1 | | | ADDR |
| Schematron assert | role | 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) | |
| Message | Address can either have @nullFlavor or need to have @use attribute and streetAddressLine or houseNumber and streetName. | |
| Schematron assert | role | error | |
| test | @nullFlavor or (hl7:postalCode and hl7:city and hl7:country) | |
| Message | If addr is not nullFlavored, PostalCode, City and Country shall be provided. | |
Included | 0 … * | | from 1.3.182.11.22 CDA telecom (DYNAMIC) |
hl7:telecom
| | 0 … * | | | CDAtecom |
@use
| set_cs | 0 … 1 | | |
| CONF | The value of @use shall be drawn from value set 1.3.182.10.28.1 eSante_TelecomAddressUse (DYNAMIC) |
|
@value
| st | 1 … 1 | R | |
| Variable let | Name | myAttValue | |
| Value | substring-before(@value,':') | |
| Variable let | Name | myAttCheck | |
| Value | distinct-values(doc('include/voc-1.3.182.10.29.1-DYNAMIC.xml')/*/valueSet/conceptList/concept[@code = $myAttValue]) | |
| Schematron assert | role | error | |
| test | count($myAttValue)=count($myAttCheck) | |
| Message | Value must start with communication - scheme from value set eSanté_URLScheme | |
Choice | 0 … 1 | | Elements to choose from:- hl7:assignedPerson containing template 1.3.182.11.1.15 CDA Person (DYNAMIC)
|
hl7:assignedPerson
| | 0 … 1 | | Contains 1.3.182.11.1.15 CDA Person (DYNAMIC) | CDAaorA2 |
hl7:representedOrganization
| | 0 … 1 | | Contains 1.3.182.11.1.13 CDA Organization (DYNAMIC) | CDAaorA2 |
hl7:entry
| | 1 … * | M | Contains 1.3.182.11.6.2.3.1 Dispensed Supply Entry (DYNAMIC) | Disption |