Item | DT | Card | Conf | Description | Label |
---|
hl7:ClinicalDocument
| | 1 … 1 | M | | CDALy_LU |
@classCode
| cs | 0 … 1 | F | DOCCLIN |
@moodCode
| cs | 0 … 1 | F | EVN |
hl7:realmCode
| CS | 1 … 1 | M | | CDALy_LU |
@code
| cs | 1 … 1 | F | LU |
hl7:typeId
| II | 1 … 1 | M | | CDALy_LU |
@root
| oid | 1 … 1 | F | 2.16.840.1.113883.1.3 |
@extension
| st | 1 … 1 | F | POCD_HD000040 |
hl7:templateId
| II | 1 … 1 | M | | CDALy_LU |
@root
| oid | 1 … 1 | F | 1.3.182.11.9 |
| General CDA Document Header Specification for Luxembourg
|
hl7:templateId
| II | 0 … 1 | | | CDALy_LU |
@root
| oid | 1 … 1 | F | 2.16.840.1.113883.10.20.30 |
| CDA Level 1 conformance templateId
|
hl7:templateId
| II | 0 … 1 | | | CDALy_LU |
@root
| oid | 1 … 1 | F | 1.3.182.11.10 |
| Patient Summary |
hl7:id
| II | 1 … 1 | M | | CDALy_LU |
| Example | <id root="1.3.182.3.1.1.1231231.34.1" extension="A7102400008_1"/> |
| Example | <id root="1.3.182.3.1.1.1231231.34.1.12345678"/> |
hl7:code
| CE | 1 … 1 | M | | CDALy_LU |
@code
| cs | 1 … 1 | F | 60591-5 |
@codeSystem
| oid | 1 … 1 | F | 2.16.840.1.113883.6.1 |
hl7:title
| ST | 1 … 1 | M | Title of the document. Must be related to the type of the document and should not contain patient identifying data.
| CDALy_LU |
hl7:effectiveTime
| TS.DATETIMETZ.MIN | 1 … 1 | M | EffectiveTime represents the creation time of the document.If the CDA document is a transformation from an original document in some other format, the ClinicalDocument.effectiveTime is the time the original document has been created. The time when the transformation occurred is not currently represented in CDA. It shall have the format yyyyMMddHHmmss[+/-]HHmm | CDALy_LU |
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:
| CDALy_LU |
| 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 | | CDALy_LU |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.15.1 eSante_LanguageCode (DYNAMIC) |
|
hl7:setId
| II | 0 … 1 | R | | CDALy_LU |
hl7:versionNumber
| INT | 0 … 1 | R | | CDALy_LU |
Included | 1 … 1 | M | from 1.3.182.11.1.16 CDA recordTarget (DYNAMIC) |
hl7:recordTarget
| | 1 … 1 | M | | CDArrget |
hl7:patientRole
| | 1 … 1 | M | | CDArrget |
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
| CDArrget |
@extension
| st | 1 … 1 | R | |
@root
| oid | 1 … 1 | R | |
hl7:id
| II | 1 … * | R | | CDArrget |
@extension
| st | 0 … 1 | | |
@root
| oid | 0 … 1 | F | 1.3.182.4.4 |
hl7:id
| II | 1 … * | R | | CDArrget |
@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 | 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 | |
hl7:patient
| | 1 … 1 | M | | CDArrget |
hl7:id
| II | 0 … 1 | | | CDArrget |
hl7:name
| PN | 1 … * | M | | CDArrget |
@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 … * | | | CDArrget |
@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 | | CDArrget |
@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 | | CDArrget |
@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 … * | | | CDArrget |
@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 | | CDArrget |
| 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 | | CDArrget |
@nullFlavor
| cs | 0 … 1 | F | UNK |
@value
| ts | 0 … 1 | | |
hl7:maritalStatusCode
| CE | 0 … 1 | | | CDArrget |
| 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 | | | CDArrget |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.24.1 eSante_ReligiousAffiliation (DYNAMIC) |
|
hl7:guardian
| | 0 … * | | | CDArrget |
hl7:id
| II | 0 … * | | | CDArrget |
hl7:code
| CE | 0 … 1 | | | CDArrget |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.13.1 eSante_GuardianRole (DYNAMIC) |
|
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 | 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.1.13 CDA Organization (DYNAMIC)
|
hl7:guardianPerson
| | 0 … 1 | | Contains 1.3.182.11.1.15 CDA Person (DYNAMIC) | CDArrget |
hl7:guardianOrganization
| | 0 … 1 | | Contains 1.3.182.11.1.13 CDA Organization (DYNAMIC) | CDArrget |
hl7:birthplace
| | 0 … 1 | | | CDArrget |
hl7:place
| | 0 … 1 | | | CDArrget |
hl7:name
| EN | 0 … 1 | | | CDArrget |
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.1.13 CDA Organization (DYNAMIC) | CDArrget |
| 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 (/hl7:ClinicalDocument/hl7:templateId/@root="1.3.182.11.1" or /hl7:ClinicalDocument/hl7:templateId/@root="1.3.182.11.10")) or (hl7:id[3]/@root='1.3.182.2.11.2' and /hl7:ClinicalDocument/hl7:templateId/@root="1.3.182.11.5") | |
| Message | The third id of recordTarget/patientRole if not nullFlavored, shall have either @root=1.3.182.2.4.2 (when representing the DSP dossier id) or @root=1.3.182.2.11.2 (when representing the eServices 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.1.4 CDA author (DYNAMIC) |
hl7:author
| | 1 … * | M | | CDAauthor |
@typeCode
| cs | 0 … 1 | F | AUT |
@contextControlCode
| cs | 0 … 1 | F | OP |
hl7:functionCode
| CE | 0 … 1 | | | CDAauthor |
| 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 | | CDAauthor |
hl7:assignedAuthor
| | 1 … 1 | M | | CDAauthor |
@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. | CDAauthor |
hl7:code
| CE | 0 … 1 | | | CDAauthor |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.6.1 eSante_AuthorSpecialty (DYNAMIC) |
|
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: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) | CDAauthor |
hl7:assignedAuthoringDevice
| | 0 … 1 | | Contains 1.3.182.11.1.19 CDA Device (DYNAMIC) | CDAauthor |
hl7:representedOrganization
| | 0 … 1 | | Contains 1.3.182.11.1.13 CDA Organization (DYNAMIC) | CDAauthor |
Included | 0 … 1 | | from 1.3.182.11.1.8 CDA dataEnterer (DYNAMIC) |
hl7:dataEnterer
| | 0 … 1 | M | | Warning: If isMandatory=true, minimumMultiplicity shall be greater than 0. |
| CDAderer |
@typeCode
| cs | 0 … 1 | F | ENT |
@contextControlCode
| cs | 0 … 1 | F | OP |
hl7:time
| TS.DATETIMETZ.MIN | 0 … 1 | | | CDAderer |
hl7:assignedEntity
| | 1 … 1 | M | Contains 1.3.182.11.1.2 CDA AssignedEntity (DYNAMIC) | CDAderer |
Included | 0 … * | | from 1.3.182.11.1.18 CDA Informant (DYNAMIC) |
hl7:informant
| | 0 … * | | | CDAimant |
@typeCode
| cs | 0 … 1 | F | INF |
@contextControlCode
| cs | 0 … 1 | F | OP |
Choice | 1 … 1 | | Elements to choose from:- hl7:assignedEntity containing template 1.3.182.11.1.2 CDA AssignedEntity (DYNAMIC)
- hl7:relatedEntity containing template 1.3.182.11.1.21 CDA RelatedEntity (DYNAMIC)
|
hl7:assignedEntity
| | 0 … 1 | | Contains 1.3.182.11.1.2 CDA AssignedEntity (DYNAMIC) | CDAimant |
hl7:relatedEntity
| | 0 … 1 | | Contains 1.3.182.11.1.21 CDA RelatedEntity (DYNAMIC) | CDAimant |
Included | 1 … 1 | M | from 1.3.182.11.1.7 CDA custodian (DYNAMIC) |
hl7:custodian
| | 1 … 1 | M | | CDAcdian |
@typeCode
| cs | 0 … 1 | F | CST |
hl7:assignedCustodian
| | 1 … 1 | M | | CDAcdian |
@classCode
| cs | 0 … 1 | F | ASSIGNED |
hl7:representedCustodianOrganization
| | 1 … 1 | M | | CDAcdian |
@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).
| CDAcdian |
hl7:name
| ON | 1 … 1 | M | Name of the organization | CDAcdian |
@use
| cs | 0 … 1 | | |
hl7:prefix
| ENXP | 0 … * | | | CDAcdian |
@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 … * | | | CDAcdian |
@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 | 0 … 1 | | from 1.3.182.11.22 CDA telecom (DYNAMIC) |
hl7:telecom
| | 0 … 1 | | | 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 | 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. | |
Included | 0 … * | | from 1.3.182.11.1.10 CDA informationRecipient (DYNAMIC) |
hl7:informationRecipient
| | 0 … * | | | CDAiient |
hl7:intendedRecipient
| | 1 … 1 | M | | CDAiient |
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. | CDAiient |
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 | |
hl7:informationRecipient
| | 1 … 1 | M | Contains 1.3.182.11.1.15 CDA Person (DYNAMIC) | CDAiient |
hl7:receivedOrganization
| | 0 … 1 | | Contains 1.3.182.11.1.13 CDA Organization (DYNAMIC) | CDAiient |
Included | 1 … 1 | M | from 1.3.182.11.1.12 CDA legalAuthenticator (DYNAMIC) |
hl7:legalAuthenticator
| | 1 … 1 | M | | CDAlator |
@typeCode
| cs | 0 … 1 | F | LA |
@contextControlCode
| cs | 0 … 1 | F | OP |
hl7:time
| TS.DATETIMETZ.MIN | 1 … 1 | M | Time of the creation of the signature.
| CDAlator |
hl7:signatureCode
| CS (required) | 1 … 1 | M | | CDAlator |
@code
| cs | 1 … 1 | F | S |
hl7:assignedEntity
| | 1 … 1 | M | Contains 1.3.182.11.1.2 CDA AssignedEntity (DYNAMIC) | CDAlator |
Included | 0 … * | | from 1.3.182.11.1.3 CDA authenticator (DYNAMIC) |
hl7:authenticator
| | 0 … * | | | CDAaator |
@typeCode
| cs | 0 … 1 | F | AUTHEN |
hl7:time
| TS.DATETIMETZ.MIN | 1 … 1 | M | Time of the creation of the signature.
| CDAaator |
hl7:signatureCode
| CS | 1 … 1 | M | | CDAaator |
@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.1.2 CDA AssignedEntity (DYNAMIC) | CONFTH‑2 |
Included | 0 … * | | from 1.3.182.11.1.14 CDA participant (DYNAMIC) |
hl7:participant
| | 0 … * | | | CDAppant |
@typeCode
| cs | 1 … 1 | R | Code to classify the type of participant e.g. “REF” for referrer. Possible values shall be from value set: |
| CONF | The value of @typeCode shall be drawn from value set 1.3.182.10.20.1 eSante_ParticipantTypeCode (DYNAMIC) |
|
@contextControlCode
| cs | 0 … 1 | F | OP |
hl7:functionCode
| CE | 0 … 1 | | Functional role of the participant e.g. “ADMPHYS” for the admitting physician, related to the patient´s treatment documented in this document instance | CDAppant |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.21.1 eSante_ParticipationFunction (DYNAMIC) |
|
hl7:time
| | 0 … 1 | | | CDAppant |
hl7:low
| IVXB_TS | 1 … 1 | R | | CDAppant |
@nullFlavor
| cs | 0 … 1 | F | UNK |
@value
| ts | 0 … 1 | | |
hl7:high
| IVXB_TS | 1 … 1 | R | | CDAppant |
@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.
| CDAppant |
@classCode
| cs | 1 … 1 | R | Specifies the type of the associated person e.g. “PROV” for healthcare provider. |
| CONF | The value of @classCode shall be drawn from value set 1.3.182.10.4.1 eSante_AssociatedEntityClassCode (DYNAMIC) |
|
hl7:id
| II | 0 … * | | | CDAppant |
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. | CDAppant |
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. | |
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 | |
hl7:associatedPerson
| | 0 … 1 | | Contains 1.3.182.11.1.15 CDA Person (DYNAMIC) | CDAppant |
hl7:scopingOrganization
| | 0 … 1 | | Contains 1.3.182.11.1.13 CDA Organization (DYNAMIC) | CDAppant |
| Variable let | Name | aEclassCode | |
| Value | hl7:associatedEntity/@classCode | |
| Variable let | Name | aEcode | |
| Value | hl7:associatedEntity/hl7:code | |
| Variable let | Name | codeSystemFromFile | |
| Value | $aEcode/@codeSystem | |
| Variable let | Name | codeFromFile | |
| Value | $aEcode/@code | |
| Variable let | Name | funcCode | |
| Value | hl7:functionCode | |
| Schematron assert | role | error | |
| test | if (@typeCode='CALLBCK') then (not($funcCode) and $aEclassCode='PROV' and ($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)) else if (@typeCode='REF') then ($aEclassCode='PROV' and not($funcCode) and ($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)) else if (@typeCode='IND' and $aEclassCode='PROV') then ($funcCode/@code='PCP' and $funcCode/@codeSystem='2.16.840.1.113883.5.88' and not($aEcode)) else if (@typeCode='IND' and $aEclassCode='ECON') then (not($funcCode) and not($aEcode)) else if (@typeCode='IND' and $aEclassCode='PRS') then (not($funcCode) and ($aEcode/@nullFlavor or count(distinct-values(doc('include/voc-1.3.182.10.22.1-DYNAMIC.xml')/*/valueSet/conceptList/concept[@code=$codeFromFile and @codeSystem=$codeSystemFromFile]))=1)) else if (@typeCode='HLD' and $aEclassCode='POLHLD') then (not($funcCode) and not($aEcode)) else if (@typeCode='IND' and $aEclassCode='CAREGIVER')then (not($funcCode) and ($aEcode/@nullFlavor or count(distinct-values(doc('include/voc-1.3.182.10.14.1-DYNAMIC.xml')/*/valueSet/conceptList/concept[@code=$codeFromFile and @codeSystem=$codeSystemFromFile]))=1)) else false() | |
| Message | Only the combinations described Table 72 are allowed, with the correct valuesets | |
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.9 CDA documentationOf (DYNAMIC) |
hl7:documentationOf
| | 0 … * | | | CDAdonOf |
@typeCode
| cs | 0 … 1 | F | DOC |
hl7:serviceEvent
| | 1 … 1 | M | | CDAdonOf |
@classCode
| cs | 0 … 1 | F | ACT |
@moodCode
| cs | 0 … 1 | F | EVN |
hl7:id
| II | 0 … 1 | | Optional unique identifier for the service event can be provided, if given by the institution which performs the medical act.
| CDAdonOf |
hl7:code
| CE | 1 … 1 | R | Code of the service event. The codes which can be used here are related to the specific CDA specification for the document type or medical domain e.g. laboratory and radiology domain. If the code is not known the nullFlavor: UNK is allowed.
| CDAdonOf |
@nullFlavor
| cs | 0 … 1 | F | UNK |
hl7:effectiveTime
| | 0 … 1 | | Value of the time (interval) when the act (service event) was executed. If the effectiveTime should be used to describe a point in time, the low and high attribute should have the same value. | CDAdonOf |
hl7:low
| IVXB_TS | 1 … 1 | R | | CDAdonOf |
@value
| ts | 0 … 1 | | |
@nullFlavor
| cs | 0 … 1 | F | UNK |
hl7:high
| IVXB_TS | 1 … 1 | R | | CDAdonOf |
@value
| ts | 0 … 1 | | |
@nullFlavor
| cs | 0 … 1 | F | UNK |
hl7:performer
| | 0 … * | | | CDAdonOf |
@typeCode
| cs | 1 … 1 | R | |
| CONF | The value of @typeCode shall be drawn from value set 1.3.182.10.27.1 eSante_ServiceEventPerformerType (DYNAMIC) |
|
hl7:functionCode
| CE | 0 … 1 | | | CDAdonOf |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.21.1 eSante_ParticipationFunction (DYNAMIC) |
|
hl7:time
| | 0 … 1 | | | CDAdonOf |
hl7:low
| IVXB_TS | 1 … 1 | R | | CDAdonOf |
@value
| ts | 0 … 1 | | |
@nullFlavor
| cs | 0 … 1 | F | UNK |
hl7:high
| IVXB_TS | 1 … 1 | R | | CDAdonOf |
@value
| ts | 0 … 1 | | |
@nullFlavor
| cs | 0 … 1 | F | UNK |
hl7:assignedEntity
| | 1 … 1 | M | Contains 1.3.182.11.1.2 CDA AssignedEntity (DYNAMIC) | CDAdonOf |
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 |
Included | 0 … 1 | | from 1.3.182.11.1.6 CDA componentOf (DYNAMIC) |
hl7:componentOf
| | 0 … 1 | | | CDAcntOf |
@typeCode
| cs | 0 … 1 | F | COMP |
hl7:encompassingEncounter
| | 1 … 1 | M | | CDAcntOf |
@classCode
| cs | 0 … 1 | F | ENC |
@moodCode
| cs | 0 … 1 | F | EVN |
hl7:id
| II | 1 … 1 | R | Identifier of this patient encounter
| CDAcntOf |
hl7:code
| CE | 1 … 1 | M | | CDAcntOf |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.1.1 eSante_ActEncounterCode (DYNAMIC) |
|
hl7:effectiveTime
| | 1 … 1 | M | The duration of the encounter.
| CDAcntOf |
hl7:low
| IVXB_TS | 1 … 1 | R | | CDAcntOf |
@value
| ts | 0 … 1 | | |
@nullFlavor
| cs | 0 … 1 | F | UNK |
hl7:high
| IVXB_TS | 1 … 1 | R | | CDAcntOf |
@value
| ts | 0 … 1 | | |
@nullFlavor
| cs | 0 … 1 | F | UNK |
hl7:dischargeDispositionCode
| CE | 0 … 1 | | Code describing what happens to the patient after the encounter was completed.
| CDAcntOf |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.9.1 eSante_DischargeDispositionCode (DYNAMIC) |
|
hl7:responsibleParty
| | 0 … 1 | | | CDAcntOf |
@typeCode
| cs | 0 … 1 | F | RESP |
hl7:assignedEntity
| | | | Contains 1.3.182.11.1.2 CDA AssignedEntity (DYNAMIC) | CDAcntOf |
hl7:encounterParticipant
| | 0 … 1 | | | CDAcntOf |
@typeCode
| cs | 1 … 1 | R | |
| CONF | The value of @typeCode shall be drawn from value set 1.3.182.10.11.1 eSante_EncounterParticipantType (DYNAMIC) |
|
hl7:time
| IVL_TS | 0 … 1 | | | CDAcntOf |
hl7:assignedEntity
| | 1 … 1 | M | Contains 1.3.182.11.1.2 CDA AssignedEntity (DYNAMIC) | CDAcntOf |
hl7:location
| | 1 … 1 | M | | CDAcntOf |
@typeCode
| cs | 0 … 1 | F | LOC |
hl7:healthCareFacility
| | 1 … 1 | M | | CDAcntOf |
@classCode
| cs | 0 … 1 | F | SDLOC |
hl7:id
| II | 0 … * | | | CDAcntOf |
hl7:code
| CE | 0 … 1 | | | CDAcntOf |
hl7:location
| | 0 … 1 | | Contains 1.3.182.11.1.20 CDA Place (DYNAMIC) | CDAcntOf |
hl7:serviceProviderOrganization
| | 1 … 1 | M | Contains 1.3.182.11.1.13 CDA Organization (DYNAMIC) | CDAcntOf |
hl7:component
| | 1 … 1 | M | | CDALy_LU |
hl7:structuredBody
| | 1 … 1 | M | | CDALy_LU |
@classCode
| cs | 0 … 1 | F | DOCBODY |
@moodCode
| cs | 0 … 1 | F | EVN |
hl7:component
| | 0 … 1 | | Contains 1.3.182.11.10.2.7 eHDSI Medication Summary Section (DYNAMIC) | CDALy_LU |
hl7:component
| | 0 … 1 | | Contains 1.3.182.11.10.2.2 eHDSI Allergies and Other Adverse Reactions (DYNAMIC) | CDALy_LU |
hl7:component
| | 0 … 1 | | Contains 1.3.182.11.10.2.1 eHDSI Immunizations Section (DYNAMIC) | CDALy_LU |
hl7:component
| | 0 … 1 | | Contains 1.3.182.11.10.2.10 eHDSI Problems Section (DYNAMIC) | CDALy_LU |
hl7:component
| | 0 … 1 | | Contains 1.3.182.11.10.2.8 eHDSI Coded List of Surgeries Section (DYNAMIC) | CDALy_LU |
hl7:component
| | 0 … 1 | | Contains 1.3.182.11.10.2.4 eHDSI Medical Devices Coded Section (DYNAMIC) | CDALy_LU |
hl7:component
| | 0 … 1 | | Contains 1.3.182.11.10.2.3 eHDSI Pregnancy History Section (DYNAMIC) | CDALy_LU |
| Schematron assert | role | error | |
| test | (not(hl7:setId) and not(hl7:versionNumber)) or (hl7:setId and not(hl7:setId/@nullFlavor) and hl7:versionNumber and not(hl7:versionNumber/@nullFlavor)) | |
| Message | ClinicalDocument/setId and ClinicalDocument/versionNumber shall either be given both (and then none shall have @nullFlavor) ,or both shall be omitted | |