Item | DT | Card | Conf | Description | Label |
---|
hl7:ClinicalDocument
| | 1 … 1 | M | | Labosult |
@classCode
| cs | 0 … 1 | F | DOCCLIN |
@moodCode
| cs | 0 … 1 | F | EVN |
hl7:realmCode
| CS | 1 … 1 | M | | Labosult |
@code
| cs | 1 … 1 | F | LU |
hl7:typeId
| | 1 … 1 | M | | Labosult |
@root
| oid | 1 … 1 | F | 2.16.840.1.113883.1.3 |
@extension
| st | 1 … 1 | F | POCD_HD000040 |
hl7:templateId
| | 1 … 1 | M | | Labosult |
@root
| oid | 1 … 1 | F | 1.3.182.11.3 |
| Template Id for labo results |
hl7:templateId
| | 1 … 1 | M | | Labosult |
@root
| oid | 1 … 1 | F | 2.16.840.1.113883.10.20.30 |
| Template Id for CDA L3
|
hl7:id
| | 1 … 1 | M | Id of the document. Please use a UUID in @root without @extension | Labosult |
@root
| uuid | 0 … 1 | | |
| Example | <id root="02eedf81-fd2b-42ff-a4e8-171bc8331c75"/> |
hl7:code
| CE | 1 … 1 | M | | Labosult |
@code
| cs | 1 … 1 | F | 11502-2 |
@codeSystem
| oid | 1 … 1 | F | 2.16.840.1.113883.6.1 |
@codeSystemName
| st | 0 … 1 | | |
@displayName
| st | 0 … 1 | | |
hl7:title
| ST | 1 … 1 | M | Title of the document | Labosult |
hl7:effectiveTime
| TS.DATETIMETZ.MIN | 1 … 1 | M | Contains the creation date & time of the laboratory report as an electronic document. In case this is a new revision replacing a previous version (identified in parentDocument), this is the date & time of the new revision It shall have the format yyyyMMddHHmmss[+/-]HHmm | Labosult |
hl7:confidentialityCode
| CE (required) | 1 … 1 | M | The confidentiality code is a required contextual component of CDA and expresses the level of confidentiality assigned to the entire document. Unless any use case contradicts the following option, the ClinicalDocument/confidentialityCode will be given the constant value “Normal”. Note: | Labosult |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.8.1 eSante_Confidentiality (DYNAMIC) |
|
| Example | <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25" displayName="Normal" codeSystemName="HL7:Confidentiality"/> |
hl7:languageCode
| CS | 1 … 1 | M | | Labosult |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.15.1 eSante_LanguageCode (DYNAMIC) |
|
hl7:setId
| II | 1 … 1 | M | setId SHALL be present to enable further updates of the clinical document. It is an identifier that is common across all revisions of the document.
| Labosult |
@extension
| st | 0 | NP | NP/not present |
@root
| uuid | 1 … 1 | R | |
hl7:versionNumber
| INT | 0 … 1 | R | versionNumber MAY be present. As requested by the CDA standard, it is an integer value used as versioning for the document.
| Labosult |
Included | 1 … 1 | M | from 1.3.182.11.3.1.1 CDA recordTarget LAB (DYNAMIC) |
hl7:recordTarget
| | 1 … 1 | M | | CDArDLAB |
hl7:templateId
| II | 1 … 1 | M | | CDArDLAB |
@root
| uid | 1 … 1 | F | 1.3.182.11.3.1.1 |
@extension
| st | 0 | NP | NP/not present |
hl7:patientRole
| | 1 … 1 | M | | CDArDLAB |
hl7:id
| II | 1 … * | M | The 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
| CDArDLAB |
@extension
| st | 1 … 1 | R | |
@root
| oid | 1 … 1 | R | |
hl7:id
| II | 1 … * | R | | CDArDLAB |
@extension
| st | 0 … 1 | | |
@root
| oid | 0 … 1 | F | 1.3.182.4.4 |
hl7:id
| II | 1 … * | R | | CDArDLAB |
@extension
| st | 1 … 1 | R | |
Included | 1 … * | R | from 1.3.182.11.1.1 ADDR (DYNAMIC) |
hl7:addr
| AD | 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:patient
| | 1 … 1 | M | | CDArDLAB |
hl7:id
| II | 0 … 1 | | | CDArDLAB |
hl7:name
| PN | 1 … * | M | | CDArDLAB |
@use
| set_cs | 0 … 1 | | |
| CONF | The value of @use shall be drawn from value set 1.3.182.10.19.1 eSante_NameUse (DYNAMIC) |
|
hl7:prefix
| ST | 0 … * | | | CDArDLAB |
@qualifier
| cs | 0 … 1 | | |
| CONF | The value of @qualifier shall be drawn from value set 1.3.182.10.18.1 eSante_NamePartQualifier (DYNAMIC) |
|
hl7:family
| ST | 1 … * | M | | CDArDLAB |
@qualifier
| cs | 0 … 1 | | |
| CONF | The value of @qualifier shall be drawn from value set 1.3.182.10.18.1 eSante_NamePartQualifier (DYNAMIC) |
|
hl7:given
| ST | 1 … * | M | | CDArDLAB |
@qualifier
| cs | 0 … 1 | | |
| CONF | The value of @qualifier shall be drawn from value set 1.3.182.10.18.1 eSante_NamePartQualifier (DYNAMIC) |
|
hl7:suffix
| ST | 0 … * | | | CDArDLAB |
@qualifier
| cs | 0 … 1 | | |
| CONF | The value of @qualifier shall be drawn from value set 1.3.182.10.18.1 eSante_NamePartQualifier (DYNAMIC) |
|
hl7:administrativeGenderCode
| CE | 1 … 1 | M | | CDArDLAB |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.3.1 eSante_AdministrativeGender (DYNAMIC) |
|
hl7:birthTime
| TS | 1 … 1 | R | | CDArDLAB |
hl7:maritalStatusCode
| CE | 0 … 1 | | | CDArDLAB |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.16.1 eSante_MaritalStatus (DYNAMIC) |
|
hl7:religiousAffiliationCode
| CE | 0 … 1 | | | CDArDLAB |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.24.1 eSante_ReligiousAffiliation (DYNAMIC) |
|
hl7:guardian
| | 0 … * | | | CDArDLAB |
hl7:id
| II | 1 … * | R | | CDArDLAB |
hl7:code
| CE | 0 … 1 | | | CDArDLAB |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.13.1 eSante_GuardianRole (DYNAMIC) |
|
Included | 1 … * | R | from 1.3.182.11.1.1 ADDR (DYNAMIC) |
hl7:addr
| AD | 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 | |
Choice | 1 … 1 | | Elements to choose from:- hl7:guardianPerson containing template 1.3.182.11.1.15 CDA Person (DYNAMIC)
- hl7:guardianOrganization containing template 1.3.182.11.3.1.5 CDA Organization LAB (DYNAMIC)
|
hl7:guardianPerson
| | 0 … 1 | | Contains 1.3.182.11.1.15 CDA Person (DYNAMIC) | CDArDLAB |
hl7:guardianOrganization
| | 0 … 1 | | Contains 1.3.182.11.3.1.5 CDA Organization LAB (DYNAMIC) | CDArDLAB |
hl7:birthplace
| | 0 … 1 | | | CDArDLAB |
hl7:place
| | 0 … 1 | | | CDArDLAB |
hl7:name
| EN | 0 … 1 | | | CDArDLAB |
Included | 0 … 1 | | from 1.3.182.11.1.1 ADDR (DYNAMIC) |
hl7:addr
| AD | 0 … 1 | | | 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. | |
| Schematron assert | role | error | |
| test | (hl7:name and not(hl7:name/@nullFlavor)) or (hl7:addr and not(hl7:addr/@nullFlavor)) | |
| Message | Conditional conformance related to name and addr element: Either both or at least one of the elements SHALL be provided | |
hl7:providerOrganization
| | 0 … 1 | | Contains 1.3.182.11.3.1.5 CDA Organization LAB (DYNAMIC) | CDArDLAB |
| Schematron assert | role | error | |
| test | hl7:id[2]/@nullFlavor or (hl7:id[2]/@root='1.3.182.4.4' and matches(hl7:id[2]/@extension,'^(\d{11}|\d{13})$')) | |
| Message | The second id of recordTarget/patientRole if not nullFlavored, shall have @root=1.3.182.4.4 and @extension representing the SSN (11-digits or 13-digits) | |
| Schematron assert | role | error | |
| test | hl7:id[3]/@nullFlavor or (hl7:id[3]/@root='1.3.182.2.4.2' and matches(hl7:id[3]/@extension,'^(\d{10})$')) | |
| Message | The third id of recordTarget/patientRole if not nullFlavored, shall have @root=1.3.182.2.4.2 (when representing the DSP dossier id) and @extension | |
| Schematron assert | role | error | |
| test | count(hl7:id)=3 | |
| Message | 3 id shall be present | |
Included | 1 … * | M | from 1.3.182.11.3.1.2 CDA author LAB (DYNAMIC) |
hl7:author
| | 1 … * | M | | CDAaDLAB |
@typeCode
| cs | 0 … 1 | F | AUT |
@contextControlCode
| cs | 0 … 1 | F | OP |
hl7:templateId
| II | 1 … 1 | M | | CDAaDLAB |
@root
| uid | 1 … 1 | F | 1.3.182.11.3.1.2 |
@extension
| st | 0 | NP | NP/not present |
hl7:functionCode
| CE | 0 … 1 | | | CDAaDLAB |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.5.1 eSante_AuthorRole (DYNAMIC) |
|
hl7:time
| TS.DATETIMETZ.MIN | 1 … 1 | M | The author/time element carries the date&time the laboratory report was produced
| CDAaDLAB |
hl7:assignedAuthor
| | 1 … 1 | M | | CDAaDLAB |
@classCode
| cs | 0 … 1 | F | ASSIGNED |
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. | CDAaDLAB |
hl7:code
| CE | 0 … 1 | | | CDAaDLAB |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.6.1 eSante_AuthorSpecialty (DYNAMIC) |
|
Included | 1 … * | R | from 1.3.182.11.1.1 ADDR (DYNAMIC) |
hl7:addr
| AD | 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 | |
Choice | 0 … 1 | | Elements to choose from:- hl7:assignedPerson containing template 1.3.182.11.1.15 CDA Person (DYNAMIC)
- hl7:assignedAuthoringDevice containing template 1.3.182.11.1.19 CDA Device (DYNAMIC)
|
hl7:assignedPerson
| | 0 … 1 | | Contains 1.3.182.11.1.15 CDA Person (DYNAMIC) | CDAaDLAB |
hl7:assignedAuthoringDevice
| | 0 … 1 | | Contains 1.3.182.11.1.19 CDA Device (DYNAMIC) | CDAaDLAB |
hl7:representedOrganization
| | 0 … 1 | | Contains 1.3.182.11.3.1.5 CDA Organization LAB (DYNAMIC) | CDAaDLAB |
Included | 1 … 1 | M | from 1.3.182.11.3.1.3 CDA custodian LAB (DYNAMIC) |
hl7:custodian
| | 1 … 1 | M | | CDAcDLAB |
@typeCode
| cs | 0 … 1 | F | CST |
hl7:templateId
| II | 1 … 1 | M | | CDAcDLAB |
@root
| uid | 0 … 1 | F | 1.3.182.11.3.1.3 |
@extension
| st | 0 | NP | NP/not present |
hl7:assignedCustodian
| | 1 … 1 | M | | CDAcDLAB |
@classCode
| cs | 0 … 1 | F | ASSIGNED |
hl7:representedCustodianOrganization
| | 1 … 1 | M | | CDAcDLAB |
@classCode
| cs | 0 … 1 | F | ORG |
@determinerCode
| cs | 0 … 1 | F | INSTANCE |
hl7:id
| II | 1 … * | R | Identifiers of the organization. This should be the identifier given from the healthcare provider directory (HPD).
| CDAcDLAB |
@root
| uid | 1 … 1 | F | 1.3.182.4.1 |
@extension
| st | 1 … 1 | R | |
hl7:name
| ON | 1 … 1 | M | Name of the organization | CDAcDLAB |
@use
| cs | 0 … 1 | | |
hl7:prefix
| ENXP | 0 … * | | | CDAcDLAB |
@qualifier
| set_cs | 0 … 1 | | |
| CONF | The value of @qualifier shall be drawn from value set 1.3.182.10.18.1 eSante_NamePartQualifier (DYNAMIC) |
|
hl7:suffix
| ADXP | 0 … * | | | CDAcDLAB |
@qualifier
| cs | 0 … 1 | | |
| CONF | The value of @qualifier shall be drawn from value set 1.3.182.10.18.1 eSante_NamePartQualifier (DYNAMIC) |
|
Included | 1 … 1 | R | from 1.3.182.11.22 CDA telecom (DYNAMIC) |
hl7:telecom
| | 1 … 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 | |
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 | 0 … * | | from 1.3.182.11.3.1.4 CDA informationRecipient LAB (DYNAMIC) |
hl7:informationRecipient
| | 0 … * | | informationRecipient MAY be present. It introduces an intended recipient of the laboratory report, other than the Ordering Provider (described as a referrer participant). These elements carry the list of the originally intended recipients of the laboratory report, i.e., those who were known at the time the report was created and published for sharing.
| CDAiDLAB |
hl7:templateId
| II | 1 … 1 | M | | CDAiDLAB |
@root
| uid | 1 … 1 | F | 1.3.182.11.3.1.4 |
@extension
| st | 0 | NP | NP/not present |
hl7:templateId
| II | 1 … 1 | M | | CDAiDLAB |
@root
| uid | 1 … 1 | F | 1.3.6.1.4.1.19376.1.3.3.1.4 |
@extension
| st | 0 | NP | NP/not present |
hl7:intendedRecipient
| | 1 … 1 | M | | CDAiDLAB |
hl7:id
| II | 1 … * | R | Set of identifiers to identify the informationRecipient uniquely (Person as health professional). The use of the eHealthID as identification scheme is preferred. | CDAiDLAB |
Included | 1 … * | R | from 1.3.182.11.1.1 ADDR (DYNAMIC) |
hl7:addr
| AD | 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:informationRecipient
| | 1 … 1 | M | Contains 1.3.182.11.1.15 CDA Person (DYNAMIC) | CDAiDLAB |
hl7:receivedOrganization
| | 0 … 1 | | Contains 1.3.182.11.3.1.5 CDA Organization LAB (DYNAMIC) | CDAiDLAB |
Included | 1 … 1 | M | from 1.3.182.11.3.1.7 CDA legalAuthenticator LAB (DYNAMIC) |
hl7:legalAuthenticator
| | 1 … 1 | M | | CDAlDLAB |
@typeCode
| cs | 0 … 1 | F | LA |
@contextControlCode
| cs | 0 … 1 | F | OP |
hl7:templateId
| II | 1 … 1 | M | | CDAlDLAB |
@root
| uid | 1 … 1 | F | 1.3.182.11.3.1.7 |
@extension
| st | 0 | NP | NP/not present |
hl7:time
| TS.DATETIMETZ.MIN | 1 … 1 | M | Time of the creation of the signature.
| CDAlDLAB |
hl7:signatureCode
| CS (required) | 1 … 1 | M | | CDAlDLAB |
@code
| cs | 1 … 1 | F | S |
hl7:assignedEntity
| | 1 … 1 | M | Contains 1.3.182.11.3.1.6 CDA AssignedEntity LAB (DYNAMIC) | CDAlDLAB |
Included | 0 … 1 | | from 1.3.182.11.3.1.8 CDA authenticator LAB (DYNAMIC) |
hl7:authenticator
| | 0 … 1 | | authenticator element MAY be present. When present it represents the clinical expert who performed the clinical validation of the report or of a subset of its results, also called the validator. We take here the hypothesis that there is always only one validator for the whole document. If there are more than 1 validator on your result form, please contact agence eSanté | CDAaDLAB |
@typeCode
| cs | 0 … 1 | F | AUTHEN |
hl7:templateId
| II | 1 … 1 | M | | CDAaDLAB |
@root
| uid | 1 … 1 | F | 1.3.6.1.4.1.19376.1.3.3.1.5 |
@extension
| st | 0 | NP | NP/not present |
hl7:templateId
| II | 1 … 1 | M | | CDAaDLAB |
@root
| uid | 1 … 1 | F | 1.3.182.11.3.1.8 |
@extension
| st | 0 | NP | NP/not present |
hl7:time
| TS.DATETIMETZ.MIN | 1 … 1 | M | Time of the creation of the signature.
| CDAaDLAB |
hl7:signatureCode
| CS | 1 … 1 | M | | CDAaDLAB |
@code
| cs | 1 … 1 | F | S |
hl7:assignedEntity
| | 1 … 1 | M | Assigned person and the organization which is represented by this person.
Contains 1.3.182.11.3.1.6 CDA AssignedEntity LAB (DYNAMIC) | CDAaDLAB |
Included | 0 … * | | from 1.3.182.11.3.1.9 CDA participant LAB (DYNAMIC) |
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 | |
Included | 0 … * | | from 1.3.182.11.1.11 CDA inFulfillmentOf (DYNAMIC) |
hl7:inFulfillmentOf
| | 0 … * | | | CDAintOf |
@typeCode
| cs | 1 … 1 | F | FLFS |
hl7:order
| | 1 … 1 | M | | CDAintOf |
@classCode
| cs | 0 … 1 | F | ACT |
@moodCode
| cs | 1 … 1 | F | RQO |
hl7:id
| II | 1 … 3 | R | 1 to 3 ids may be present: 1st: Unique order id from the order-filler system. Can't be nullFlavor 2nd: If provided, the order id from the prescriber. 3rd: If order is based on subcontracting, this field could be used to store the order id of the primary institution | CDAintOf |
| Schematron assert | role | error | |
| test | not(hl7:id[1]/@nullFlavor) | |
| Message | The first id can't be nullFlavor | |
Included | 0 … * | | from 1.3.182.11.1.17 CDA relatedDocument (DYNAMIC) |
hl7:relatedDocument
| | 0 … * | | | CDArment |
@typeCode
| cs | 1 … 1 | F | RPLC |
hl7:parentDocument
| | 1 … 1 | M | | CDArment |
@classCode
| cs | 0 … 1 | F | DOCCLIN |
@moodCode
| cs | 0 … 1 | F | EVN |
hl7:id
| II | 1 … 1 | M | The id must be the identifier of the parentDocument. The other parameters of the parentDocument like e.g. setId and versionNumber can be gained when retrieving this parent document. Putting values for attributes of this document creates redundancy, therefore they are omitted. | CDArment |
Included | 0 … * | | from 1.3.182.11.1.5 CDA Authorization (DYNAMIC) |
hl7:authorization
| | 0 … * | | | CDAation |
@typeCode
| cs | 0 … 1 | F | AUTH |
hl7:consent
| | 1 … 1 | R | | CDAation |
@classCode
| cs | 0 … 1 | F | CONS |
@moodCode
| cs | 0 … 1 | F | EVN |
hl7:id
| II | 0 … * | | Could be used e.g. to identify the document containing the signed consent of the patient. | CDAation |
hl7:code
| CE (required) | 0 … 1 | | This is the code specifying the type of consent precisely
| CDAation |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.31.1 eSante_ConsentCode (DYNAMIC) |
|
hl7:statusCode
| CS | 1 … 1 | M | | CDAation |
@code
| CONF | 1 … 1 | F | completed |
hl7:component
| | 1 … 1 | M | | Labosult |
hl7:structuredBody
| | 1 … 1 | M | | Labosult |
@classCode
| cs | 0 … 1 | F | DOCBODY |
@moodCode
| cs | 0 … 1 | F | EVN |
hl7:component
| | 1 … * | M | Contains 1.3.182.11.3.2.2 Laboratory Specialty Section (DYNAMIC) | Labosult |
hl7:component
| | 0 … 1 | R | Contains 1.3.182.11.3.2.3 Laboratory PDF Section (DYNAMIC) | Labosult |
| Schematron assert | role | error | |
| test | //hl7:templateId[@root='1.3.182.11.3.3.4'] | |
| Message | Lab report SHALL contain Laboratory Observation | |