Item | DT | Card | Conf | Description | Label |
---|
hl7:participant
| | 0 … * | | participant(s) MAY be present. When present, this element SHALL be in accordance with the HL7 CDA R2 standard with a time element and further constrained by this specification to require the presence of name, addr and telecom. In particular, when the ordering provider of the order (or group of orders) fulfilled by this laboratory report is present in the CDA, it SHALL be documented as a participant with the attribute typeCode valued “REF” (referrer)
| CDApDLAB |
@typeCode
| cs | 1 … 1 | F | REF |
hl7:templateId
| II | 1 … 1 | M | | CDApDLAB |
@root
| uid | 1 … 1 | F | 1.3.182.11.3.1.9 |
@extension
| st | 0 | NP | NP/not present |
hl7:templateId
| II | 1 … 1 | M | | CDApDLAB |
@root
| uid | 1 … 1 | F | 1.3.6.1.4.1.19376.1.3.3.1.6 |
@extension
| st | 0 | NP | NP/not present |
hl7:time
| | 0 … 1 | | | CDApDLAB |
hl7:low
| IVXB_TS | 1 … 1 | R | | CDApDLAB |
@nullFlavor
| cs | 0 … 1 | F | UNK |
@value
| ts | 0 … 1 | | |
hl7:high
| IVXB_TS | 1 … 1 | R | | CDApDLAB |
@nullFlavor
| cs | 0 … 1 | F | UNK |
@value
| ts | 0 … 1 | | |
hl7:associatedEntity
| | 1 … 1 | M | Assigned person and/or the organization which is represented by this person.
| CDApDLAB |
@classCode
| cs | 1 … 1 | F | PROV |
hl7:id
| II | 0 … * | | | CDApDLAB |
hl7:code
| CE | 0 … 1 | | Code for defining the role or the associatedEntity finer grained. Element is optional, if given the values shall be taken from the value sets as described in the table above, see Table 72 : Different participants as AssociatedEntity. | CDApDLAB |
Included | 1 … 1 | R | from 1.3.182.11.1.1 ADDR (DYNAMIC) |
hl7:addr
| AD | 1 … 1 | R | | 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 | 1 … * | R | from 1.3.182.11.22 CDA telecom (DYNAMIC) |
hl7:telecom
| | 1 … * | R | | 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 | |
hl7:associatedPerson
| | 0 … 1 | | Contains 1.3.182.11.1.15 CDA Person (DYNAMIC) | CDApDLAB |
hl7:scopingOrganization
| | 0 … 1 | | Contains 1.3.182.11.3.1.5 CDA Organization LAB (DYNAMIC) | CDApDLAB |
| Variable let | Name | aEcode | |
| Value | hl7:associatedEntity/hl7:code | |
| Variable let | Name | codeSystemFromFile | |
| Value | $aEcode/@codeSystem | |
| Variable let | Name | codeFromFile | |
| Value | $aEcode/@code | |
| Schematron assert | role | error | |
| test | $aEcode/@nullFlavor or count(distinct-values(doc('include/voc-1.3.182.10.30.1-DYNAMIC.xml')/*/valueSet/conceptList/concept[@code=$codeFromFile and @codeSystem=$codeSystemFromFile]))=1 | |
| Message | nullFlavor or correct valueset | |