Item | DT | Card | Conf | Description | Label |
---|
hl7:ClinicalDocument
| | | | | DKCDBody |
hl7:realmCode
| CS | 1 … 1 | M | | DKCDBody |
@code
| CONF | 1 … 1 | F | DK |
hl7:typeId
| II | 1 … 1 | M | | DKCDBody |
@root
| oid | 1 … 1 | F | 2.16.840.1.113883.1.3 |
@extension
| st | 1 … 1 | F | POCD_HD000040 |
hl7:templateId
| II | 0 … 1 | R | | DKCDBody |
@root
| oid | 1 … 1 | F | 1.2.208.184.11.1.1 |
@extension
| st | 1 … 1 | F | 1.5 |
| The version of this template. SHALL be 1.5 |
hl7:templateId
| II | 1 … 1 | R | | DKCDBody |
hl7:id
| II | 1 … 1 | R | | DKCDBody |
hl7:code
| CE (extensible) | 1 … 1 | M | | DKCDBody |
| CONF | @codeSystem shall be "2.16.840.1.113883.6.1" | or | @codeSystem shall be "1.2.208.184.100" | @codeSystemName shall be "MedCom Message Codes" |
|
hl7:title
| ST | 1 … 1 | M | | DKCDBody |
hl7:effectiveTime
| TS | 1 … 1 | R | | DKCDBody |
hl7:confidentialityCode
| CE | 1 … 1 | R | | DKCDBody |
| CONF | |
Included | 1 … * | R | from 1.2.208.184.10.1.5 DK recordTarget (DYNAMIC) |
hl7:recordTarget
| | 1 … * | R | | DKrerget |
Choice | 1 … * | | Elements to choose from:- hl7:patientRole included from template 1.2.208.184.10.1.6 DK Disclosed PatientRole (DYNAMIC)
- hl7:patientRole included from template 1.2.208.184.11.1.6 DK Confidential PatientRole (DYNAMIC)
|
Included | 0 … 1 | | from 1.2.208.184.10.1.6 DK Disclosed PatientRole (DYNAMIC) |
hl7:patientRole
| | 0 … 1 | R | | DKDiRole |
hl7:id
| II | | NP | | DKDiRole |
@root
| oid | 1 … 1 | F | 1.2.208.184.100.1 |
Included | 1 … 1 | M | from 1.2.208.184.11.1.14 DK CPR Id (DYNAMIC) |
hl7:id
| II | 1 … 1 | M | The id element SHALL be present
| DKCPRId |
@root
| oid | 1 … 1 | F | 1.2.208.176.1.2 |
| The value of the @rootSHALL be set to the associated OID for “Det Centrale Personregister”
|
@extension
| st | 1 … 1 | R | The value of the @extensionSHALL be a valid Danish person identification number (CPR-nummer) |
@assigningAuthorityName
| st | 1 … 1 | F | CPR |
| The value of the @assignedAuthorityNameSHALL be set to “CPR”. |
| Schematron assert | role | error | |
| test | matches(@extension, '^((((0[1-9]|[12][0-9]|3[0-1])(01|03|05|07|08|10|12))|((0[1-9]|[12][0-9]|30)(04|06|09|11))|((0[1-9]|[12][0-9])(02)))[0-9]{6})$') | |
| Message | The value of the @extension SHALL be a valid Danish person identification number (CPR-nummer) | |
Included | 1 … 1 | M | from 1.2.208.184.11.1.11 DK Confidential Address (DYNAMIC) |
hl7:addr
| AD | 1 … 1 | M | | DKCoress |
@use
| set_cs | 1 … 1 | R | |
| CONF | |
hl7:careOf
| ADXP | | NP | | DKCoress |
hl7:streetAddressLine
| ADXP | 1 … 1 | M | | DKCoress |
| Schematron assert | role | error | |
| test | text() = 'Adressebeskyttelse' | |
| Message | The text SHALL be 'Adressebeskyttelse'. | |
hl7:postalCode
| ADXP | 1 … 1 | R | | DKCoress |
@nullFlavor
| cs | 1 … 1 | F | NI |
hl7:city
| ADXP | 1 … 1 | R | | DKCoress |
@nullFlavor
| cs | 1 … 1 | F | NI |
hl7:country
| ADXP | 0 … 1 | R | | DKCoress |
@nullFlavor
| cs | 1 … 1 | F | NI |
Included | | | from 1.2.208.184.10.1.2 DK Telecom (DYNAMIC) |
hl7:telecom
| TEL | 1 … * | R | | DKTelecom |
@use
| set_cs | 1 … 1 | R | |
| CONF | |
@value
| st | 1 … 1 | R | |
@nullFlavor
| cs | 0 … 1 | | |
| CONF | The value of @nullFlavor shall be drawn from value set 1.2.208.184.200.3 DK NullFlavor (DYNAMIC) |
|
| Schematron assert | role | error | |
| test | if (@value and matches(@value,'^tel:')) then matches(@value,'^tel:\+?[-0-9().]+$') else true() | |
| Message | Telephone numbers SHALL match the regular expression pattern: tel:\+?[-0-9().]+ | |
Included | 1 … 1 | M | from 1.2.208.184.11.1.10 DK Patient (DYNAMIC) |
hl7:patient
| | 1 … 1 | M | | DKPatient |
@classCode
| cs | 0 … 1 | F | PSN |
@determinerCode
| cs | 0 … 1 | F | INSTANCE |
Included | 1 … 1 | M | from 1.2.208.184.11.1.2 DK Name (DYNAMIC) |
hl7:name
| PN | 1 … 1 | M | The name element is a set of reusable constraints that can be used for the patient or any other person. It requires a first given and last family name. One or more middle names can be inserted between the first and last name. If a patient or person has only one name part (e.g., patient with first name only) then place the name part in the best matching field. Use the appropriate nullFlavor “Not Applicable” (NA), in the other field. | DKName |
hl7:prefix
| ENXP | 0 … 1 | | | DKName |
@qualifier
| set_cs | 0 | NP | NP/not present |
| Constraint | MAY contain one [0..1] prefix element, e.g. to include the tittle for a health professional. In this profile the @qualifier is not used. |
hl7:given
| ENXP | 1 … * | R | | DKName |
@nullFlavor
| cs | 0 … 1 | F | NA |
@qualifier
| set_cs | 0 | NP | NP/not present |
| Constraint | SHALL contain at least one [1..*] given element. In this profile the @qualifier is not used. The second occurrence of given (given[2]) if provided, SHALL include middle name or middle initial. |
hl7:family
| ENXP | 1 … 1 | R | | DKName |
@nullFlavor
| cs | 0 … 1 | F | NA |
@qualifier
| set_cs | 0 | NP | NP/not present |
| Constraint | SHALL contain exactly one [1..1] family element. In this profile the @qualifier is not used. |
| Schematron assert | role | error | |
| test | if (*:given[text()='Navnebeskyttelse']) then not(*:prefix) else true() | |
| Message | If there is a given element with the text 'Navnebeskyttelse', then there SHALL be no [0] prefix element. | |
| Schematron assert | role | error | |
| test | if (*:given[text()='Navnebeskyttelse']) then count(*:given)=1 else true() | |
| Message | If there is a given element with the text 'Navnebeskyttelse', then there SHALL be exactly one [1..1] given element. | |
| Schematron assert | role | error | |
| test | if (*:given[text()='Navnebeskyttelse']) then (*:family[text()='Navnebeskyttelse']) else true() | |
| Message | If there is a given element with the text 'Navnebeskyttelse', then there SHALL be a family element with the text 'Navnebeskyttelse'. | |
| Schematron assert | role | error | |
| test | if (*:family[text()='Navnebeskyttelse']) then (*:given[text()='Navnebeskyttelse']) else true() | |
| Message | If there is a family element with the text 'Navnebeskyttelse', then there SHALL be a given element with the text 'Navnebeskyttelse'. | |
| Schematron assert | role | error | |
| test | if (*:given[text()='Navnebeskyttelse']) then empty(*[@nullFlavor]) else true() | |
| Message | If there is a given element with the text 'Navnebeskyttelse', then there SHALL be no [0] elements with the attribute nullFlavor. | |
hl7:administrativeGenderCode
| CE (required) | 1 … 1 | M | | DKPatient |
@codeSystem
| oid | 1 … 1 | F | 2.16.840.1.113883.5.1 |
| CONF | |
hl7:birthTime
| TS | 1 … 1 | M | | DKPatient |
Included | | | from 1.2.208.184.11.1.9 DK Date or Timestamp (body) (DYNAMIC) |
@value
| ts | 1 … 1 | R | The representation of time SHALL use the format YYYYMMDDhhmmss±ZZzz or YYYYMMDD Token | Description |
---|
YYYY | The year of the event | MM | The month in the year | DD | The day in the month | hh | The hour in the day | mm | The minute of in the hour | ss | The second in the minute | ± | Direction of the offset from UTC | ZZ | Hours offset from UTC | zz | Minutes offset in the hours offset from UTC |
|
| Schematron assert | role | error | |
| test | matches(@value,'^[0-9]{14}[\+|\-][0-9]{4}$') or matches(@value,'^[0-9]{8}$') | |
| Message | The representation of time SHALL use the format YYYYMMDDhhmmss±ZZzz or YYYYMMDD | |
hl7:providerOrganization
| | 0 … 1 | | | DKDiRole |
Choice | 1 … * | | Elements to choose from: |
Included | | | from 1.2.208.184.11.1.15 DK SOR Id (DYNAMIC) |
hl7:id
| II | 1 … * | R | | DKSORId |
@root
| oid | 1 … 1 | F | 1.2.208.176.1.1 |
@extension
| st | 1 … 1 | R | The value of extension SHALL be a valid SOR Identifier |
@assigningAuthorityName
| st | 1 … 1 | F | SOR |
Included | | | from 1.2.208.184.11.1.16 DK Yderregister Id (DYNAMIC) |
hl7:id
| II | 1 … * | R | | DKYderId |
@root
| oid | 1 … 1 | F | 1.2.208.176.1.4 |
@extension
| st | 1 … 1 | R | The value of extension SHALL be a valid Yderregister Identifier |
@assigningAuthorityName
| st | 1 … 1 | F | Yderregisteret |
Included | 0 … 1 | | from 1.2.208.184.11.1.6 DK Confidential PatientRole (DYNAMIC) |
hl7:patientRole
| | 0 … 1 | R | | DKCoRole |
Included | 1 … 1 | M | from 1.2.208.184.11.1.14 DK CPR Id (DYNAMIC) |
hl7:id
| II | 1 … 1 | M | The id element SHALL be present
| DKCPRId |
@root
| oid | 1 … 1 | F | 1.2.208.176.1.2 |
| The value of the @rootSHALL be set to the associated OID for “Det Centrale Personregister”
|
@extension
| st | 1 … 1 | R | The value of the @extensionSHALL be a valid Danish person identification number (CPR-nummer) |
@assigningAuthorityName
| st | 1 … 1 | F | CPR |
| The value of the @assignedAuthorityNameSHALL be set to “CPR”. |
| Schematron assert | role | error | |
| test | matches(@extension, '^((((0[1-9]|[12][0-9]|3[0-1])(01|03|05|07|08|10|12))|((0[1-9]|[12][0-9]|30)(04|06|09|11))|((0[1-9]|[12][0-9])(02)))[0-9]{6})$') | |
| Message | The value of the @extension SHALL be a valid Danish person identification number (CPR-nummer) | |
hl7:templateId
| II | 1 … 1 | M | | DKCoRole |
@root
| oid | 1 … 1 | F | 1.2.208.184.11.1.6 |
@extension
| st | 1 … 1 | F | 1.5 |
hl7:id
| II | 1 … 1 | M | | DKCoRole |
@root
| oid | 1 … 1 | F | 1.2.208.184.100.1 |
@extension
| st | 1 … 1 | F | ConfAddr |
@assigningAuthorityName
| st | 1 … 1 | F | MedCom |
Included | 1 … 1 | M | from 1.2.208.184.11.1.11 DK Confidential Address (DYNAMIC) |
hl7:addr
| AD | 1 … 1 | M | | DKCoress |
@use
| set_cs | 1 … 1 | R | |
| CONF | |
hl7:careOf
| ADXP | | NP | | DKCoress |
hl7:streetAddressLine
| ADXP | 1 … 1 | M | | DKCoress |
| Schematron assert | role | error | |
| test | text() = 'Adressebeskyttelse' | |
| Message | The text SHALL be 'Adressebeskyttelse'. | |
hl7:postalCode
| ADXP | 1 … 1 | R | | DKCoress |
@nullFlavor
| cs | 1 … 1 | F | NI |
hl7:city
| ADXP | 1 … 1 | R | | DKCoress |
@nullFlavor
| cs | 1 … 1 | F | NI |
hl7:country
| ADXP | 0 … 1 | R | | DKCoress |
@nullFlavor
| cs | 1 … 1 | F | NI |
hl7:telecom
| TEL | 1 … 1 | R | | DKCoRole |
@nullFlavor
| cs | 1 … 1 | F | NI |
Included | 1 … 1 | M | from 1.2.208.184.11.1.13 DK Confidential Patient (DYNAMIC) |
hl7:patient
| | 1 … 1 | M | | DKCoient |
@classCode
| cs | 0 … 1 | F | PSN |
@determinerCode
| cs | 0 … 1 | F | INSTANCE |
Included | 1 … 1 | M | from 1.2.208.184.11.1.12 DK Confidential Name (DYNAMIC) |
hl7:name
| PN | 1 … 1 | M | The name element is a set of reusable constraints that can be used for the patient or any other person. It requires a first given and last family name. One or more middle names can be inserted between the first and last name. If a patient or person has only one name part (e.g., patient with first name only) then place the name part in the best matching field. Use the appropriate nullFlavor “Not Applicable” (NA), in the other field. | DKCoName |
hl7:prefix
| ENXP | | NP | | DKCoName |
hl7:given
| ENXP | 1 … 1 | M | | DKCoName |
@qualifier
| set_cs | 0 | NP | NP/not present |
| Constraint | SHALL contain at exactly one [1..1] given element. The text of the given element SHALL be 'Navnebeskyttelse'. In this profile the @qualifier is not used. |
| Schematron assert | role | error | |
| test | text() = 'Navnebeskyttelse' | |
| Message | The text of the given element SHALL be 'Navnebeskyttelse'. | |
hl7:family
| ENXP | 1 … 1 | M | | DKCoName |
@qualifier
| set_cs | 0 | NP | NP/not present |
| Constraint | SHALL contain at exactly one [1..1] family element. The text of the family element SHALL be 'Navnebeskyttelse'. In this profile the @qualifier is not used. |
| Schematron assert | role | error | |
| test | text() = 'Navnebeskyttelse' | |
| Message | The text of the family element SHALL be 'Navnebeskyttelse'. | |
hl7:administrativeGenderCode
| CE (required) | 1 … 1 | M | | DKCoient |
@codeSystem
| oid | 1 … 1 | F | 2.16.840.1.113883.5.1 |
| CONF | |
hl7:birthTime
| TS | 1 … 1 | M | | DKCoient |
Included | | | from 1.2.208.184.11.1.9 DK Date or Timestamp (body) (DYNAMIC) |
@value
| ts | 1 … 1 | R | The representation of time SHALL use the format YYYYMMDDhhmmss±ZZzz or YYYYMMDD Token | Description |
---|
YYYY | The year of the event | MM | The month in the year | DD | The day in the month | hh | The hour in the day | mm | The minute of in the hour | ss | The second in the minute | ± | Direction of the offset from UTC | ZZ | Hours offset from UTC | zz | Minutes offset in the hours offset from UTC |
|
| Schematron assert | role | error | |
| test | matches(@value,'^[0-9]{14}[\+|\-][0-9]{4}$') or matches(@value,'^[0-9]{8}$') | |
| Message | The representation of time SHALL use the format YYYYMMDDhhmmss±ZZzz or YYYYMMDD | |
hl7:providerOrganization
| | 0 … 1 | | | DKCoRole |
Choice | 1 … * | | Elements to choose from: |
Included | | | from 1.2.208.184.11.1.15 DK SOR Id (DYNAMIC) |
hl7:id
| II | 1 … * | R | | DKSORId |
@root
| oid | 1 … 1 | F | 1.2.208.176.1.1 |
@extension
| st | 1 … 1 | R | The value of extension SHALL be a valid SOR Identifier |
@assigningAuthorityName
| st | 1 … 1 | F | SOR |
Included | | | from 1.2.208.184.11.1.16 DK Yderregister Id (DYNAMIC) |
hl7:id
| II | 1 … * | R | | DKYderId |
@root
| oid | 1 … 1 | F | 1.2.208.176.1.4 |
@extension
| st | 1 … 1 | R | The value of extension SHALL be a valid Yderregister Identifier |
@assigningAuthorityName
| st | 1 … 1 | F | Yderregisteret |
Included | 1 … * | R | from 1.2.208.184.10.1.1 DK author (DYNAMIC) |
hl7:author
| | 1 … * | R | | DKauthor |
@typeCode
| cs | 0 … 1 | F | AUT |
@contextControlCode
| cs | 0 … 1 | F | OP |
hl7:time
| TS | 1 … 1 | M | | DKauthor |
Included | | | from 1.2.208.184.11.1.7 DK Timestamp (body) (DYNAMIC) |
@value
| ts | 1 … 1 | R | The representation of time SHALL use the format YYYYMMDDhhmmss±ZZzz Token | Description |
---|
YYYY | The year of the event | MM | The month in the year | DD | The day in the month | hh | The hour in the day | mm | The minute of in the hour | ss | The second in the minute | ± | Direction of the offset from UTC | ZZ | Hours offset from UTC | zz | Minutes offset in the hours offset from UTC |
|
| Schematron assert | role | error | |
| test | matches(@value,'^([0-9]{14})[\+|\-][0-9]{4}$') | |
| Message | The representation of time SHALL use the format YYYYMMDDhhmmss±ZZzz | |
hl7:assignedAuthor
| | 1 … 1 | M | | DKauthor |
@classCode
| cs | 1 … 1 | F | ASSIGNED |
Included | | | from 1.2.208.184.10.1.8 DK Medcom Assigned (body) (DYNAMIC) |
Choice | 1 … 1 | | Elements to choose from: |
Included | | | from 1.2.208.184.11.1.15 DK SOR Id (DYNAMIC) |
hl7:id
| II | 1 … * | R | | DKSORId |
@root
| oid | 1 … 1 | F | 1.2.208.176.1.1 |
@extension
| st | 1 … 1 | R | The value of extension SHALL be a valid SOR Identifier |
@assigningAuthorityName
| st | 1 … 1 | F | SOR |
Included | | | from 1.2.208.184.11.1.16 DK Yderregister Id (DYNAMIC) |
hl7:id
| II | 1 … * | R | | DKYderId |
@root
| oid | 1 … 1 | F | 1.2.208.176.1.4 |
@extension
| st | 1 … 1 | R | The value of extension SHALL be a valid Yderregister Identifier |
@assigningAuthorityName
| st | 1 … 1 | F | Yderregisteret |
Included | | | from 1.2.208.184.11.1.14 DK CPR Id (DYNAMIC) |
hl7:id
| II | 1 … 1 | M | The id element SHALL be present
| DKCPRId |
@root
| oid | 1 … 1 | F | 1.2.208.176.1.2 |
| The value of the @rootSHALL be set to the associated OID for “Det Centrale Personregister”
|
@extension
| st | 1 … 1 | R | The value of the @extensionSHALL be a valid Danish person identification number (CPR-nummer) |
@assigningAuthorityName
| st | 1 … 1 | F | CPR |
| The value of the @assignedAuthorityNameSHALL be set to “CPR”. |
| Schematron assert | role | error | |
| test | matches(@extension, '^((((0[1-9]|[12][0-9]|3[0-1])(01|03|05|07|08|10|12))|((0[1-9]|[12][0-9]|30)(04|06|09|11))|((0[1-9]|[12][0-9])(02)))[0-9]{6})$') | |
| Message | The value of the @extension SHALL be a valid Danish person identification number (CPR-nummer) | |
hl7:code
| CE | 0 … 1 | | | DKasBody |
| CONF | shall be drawn from concept domain "RoleCode" |
|
Included | 1 … 1 | M | from 1.2.208.184.11.1.3 DK Address (DYNAMIC) |
hl7:addr
| AD | 1 … 1 | M | | DKAddress |
@use
| set_cs | 1 … 1 | R | |
| CONF | |
hl7:careOf
| ADXP | 0 … 1 | R | | DKAddress |
hl7:streetAddressLine
| ADXP | 1 … 4 | M | | DKAddress |
hl7:postalCode
| ADXP | 1 … 1 | R | | DKAddress |
@nullFlavor
| cs | 0 … 1 | F | NI |
| Only valid use of nullFlavor is when an address is confidential. |
hl7:city
| ADXP | 1 … 1 | R | | DKAddress |
@nullFlavor
| cs | 0 … 1 | F | NI |
| Only valid use of nullFlavor is when an address is confidential. |
hl7:country
| ADXP | 0 … 1 | R | | DKAddress |
@nullFlavor
| cs | 0 … 1 | F | NI |
| Only valid use of nullFlavor is when an address is confidential. |
| Schematron assert | role | error | |
| test | if (*[@nullFlavor]) then *:streetAddressLine = 'Adressebeskyttelse' else true() | |
| Message | If any element has a nullFlavor attribute, then the streetAddressLine must have the value 'Adressebeskyttelse' | |
| Schematron assert | role | error | |
| test | if (*[@nullFlavor]) then count(*:streetAddressLine) = 1 else true() | |
| Message | If any element has a nullFlavor attribute, then there must be exactly one [1..1] streetAddressLine element | |
| Schematron assert | role | error | |
| test | if (*[@nullFlavor] and *:postalCode) then *:postalCode[@nullFlavor] else true() | |
| Message | If any element has a nullFlavor attribute, then the postalCode element must have a nullFlavor attribute | |
| Schematron assert | role | error | |
| test | if (*[@nullFlavor] and *:city) then *:city[@nullFlavor] else true() | |
| Message | If any element has a nullFlavor attribute, then the city element must have a nullFlavor attribute | |
| Schematron assert | role | error | |
| test | if (*[@nullFlavor] and *:country) then *:country[@nullFlavor] else true() | |
| Message | If any element has a nullFlavor attribute, then the country element must have a nullFlavor attribute | |
| Schematron assert | role | error | |
| test | empty(*[@nullFlavor]/text()) | |
| Message | Elements that have a nullFlavor attribute shall not have a value | |
Included | 1 … * | M | from 1.2.208.184.10.1.2 DK Telecom (DYNAMIC) |
hl7:telecom
| TEL | 1 … * | M | | DKTelecom |
@use
| set_cs | 1 … 1 | R | |
| CONF | |
@value
| st | 1 … 1 | R | |
@nullFlavor
| cs | 0 … 1 | | |
| CONF | The value of @nullFlavor shall be drawn from value set 1.2.208.184.200.3 DK NullFlavor (DYNAMIC) |
|
| Schematron assert | role | error | |
| test | if (@value and matches(@value,'^tel:')) then matches(@value,'^tel:\+?[-0-9().]+$') else true() | |
| Message | Telephone numbers SHALL match the regular expression pattern: tel:\+?[-0-9().]+ | |
hl7:assignedPerson
| | 1 … 1 | M | | DKasBody |
Included | 1 … 1 | M | from 1.2.208.184.11.1.2 DK Name (DYNAMIC) |
hl7:name
| PN | 1 … 1 | M | The name element is a set of reusable constraints that can be used for the patient or any other person. It requires a first given and last family name. One or more middle names can be inserted between the first and last name. If a patient or person has only one name part (e.g., patient with first name only) then place the name part in the best matching field. Use the appropriate nullFlavor “Not Applicable” (NA), in the other field. | DKName |
hl7:prefix
| ENXP | 0 … 1 | | | DKName |
@qualifier
| set_cs | 0 | NP | NP/not present |
| Constraint | MAY contain one [0..1] prefix element, e.g. to include the tittle for a health professional. In this profile the @qualifier is not used. |
hl7:given
| ENXP | 1 … * | R | | DKName |
@nullFlavor
| cs | 0 … 1 | F | NA |
@qualifier
| set_cs | 0 | NP | NP/not present |
| Constraint | SHALL contain at least one [1..*] given element. In this profile the @qualifier is not used. The second occurrence of given (given[2]) if provided, SHALL include middle name or middle initial. |
hl7:family
| ENXP | 1 … 1 | R | | DKName |
@nullFlavor
| cs | 0 … 1 | F | NA |
@qualifier
| set_cs | 0 | NP | NP/not present |
| Constraint | SHALL contain exactly one [1..1] family element. In this profile the @qualifier is not used. |
| Schematron assert | role | error | |
| test | if (*:given[text()='Navnebeskyttelse']) then not(*:prefix) else true() | |
| Message | If there is a given element with the text 'Navnebeskyttelse', then there SHALL be no [0] prefix element. | |
| Schematron assert | role | error | |
| test | if (*:given[text()='Navnebeskyttelse']) then count(*:given)=1 else true() | |
| Message | If there is a given element with the text 'Navnebeskyttelse', then there SHALL be exactly one [1..1] given element. | |
| Schematron assert | role | error | |
| test | if (*:given[text()='Navnebeskyttelse']) then (*:family[text()='Navnebeskyttelse']) else true() | |
| Message | If there is a given element with the text 'Navnebeskyttelse', then there SHALL be a family element with the text 'Navnebeskyttelse'. | |
| Schematron assert | role | error | |
| test | if (*:family[text()='Navnebeskyttelse']) then (*:given[text()='Navnebeskyttelse']) else true() | |
| Message | If there is a family element with the text 'Navnebeskyttelse', then there SHALL be a given element with the text 'Navnebeskyttelse'. | |
| Schematron assert | role | error | |
| test | if (*:given[text()='Navnebeskyttelse']) then empty(*[@nullFlavor]) else true() | |
| Message | If there is a given element with the text 'Navnebeskyttelse', then there SHALL be no [0] elements with the attribute nullFlavor. | |
hl7:representedOrganization
| | 0 … 1 | | Contains 1.2.208.184.10.1.4 DK Organization (DYNAMIC) | DKasBody |
Included | 0 … 1 | | from 2.16.840.1.113883.10.12.103 CDA dataEnterer (DYNAMIC) |
hl7:dataEnterer
| | 0 … 1 | | | CDAderer |
@typeCode
| cs | 0 … 1 | F | ENT |
@contextControlCode
| cs | 0 … 1 | F | OP |
hl7:time
| TS | 0 … 1 | | | CDAderer |
hl7:assignedEntity
| | 1 … 1 | | Contains 2.16.840.1.113883.10.12.153 CDA AssignedEntity (DYNAMIC) | CDAderer |
Included | 0 … * | | from 2.16.840.1.113883.10.12.154 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
| | | | Contains 2.16.840.1.113883.10.12.153 CDA AssignedEntity (DYNAMIC) | CDAimant |
hl7:relatedEntity
| | | | Contains 2.16.840.1.113883.10.12.316 CDA RelatedEntity (DYNAMIC) | CDAimant |
Included | 1 … 1 | R | from 2.16.840.1.113883.10.12.104 CDA custodian (DYNAMIC) |
hl7:custodian
| | 1 … 1 | R | | CDAcdian |
@typeCode
| cs | 0 … 1 | F | CST |
hl7:assignedCustodian
| | 1 … 1 | | | CDAcdian |
@classCode
| cs | 0 … 1 | F | ASSIGNED |
hl7:representedCustodianOrganization
| | 1 … 1 | | | CDAcdian |
@classCode
| cs | 0 … 1 | F | ORG |
@determinerCode
| cs | 0 … 1 | F | INSTANCE |
hl7:id
| II | 1 … * | M | | CDAcdian |
hl7:name
| ON | 0 … 1 | | | CDAcdian |
hl7:telecom
| TEL | 0 … 1 | | | CDAcdian |
hl7:addr
| AD | 0 … 1 | | | CDAcdian |
Included | 0 … * | | from 2.16.840.1.113883.10.12.105 CDA informationRecipient (DYNAMIC) |
hl7:informationRecipient
| | 0 … * | | | CDAiient |
@typeCode
| cs | 1 … 1 | R | |
| CONF | |
hl7:intendedRecipient
| | 1 … 1 | | | CDAiient |
@classCode
| cs | 1 … 1 | R | |
| CONF | |
hl7:id
| II | 0 … * | R | | CDAiient |
hl7:addr
| AD | 0 … * | | | CDAiient |
hl7:telecom
| TEL | 0 … * | | | CDAiient |
hl7:informationRecipient
| | 0 … 1 | | Contains 2.16.840.1.113883.10.12.152 CDA Person (DYNAMIC) | CDAiient |
hl7:receivedOrganization
| | 0 … 1 | | Contains 2.16.840.1.113883.10.12.151 CDA Organization (DYNAMIC) | CDAiient |
Included | 0 … 1 | | from 2.16.840.1.113883.10.12.106 CDA legalAuthenticator (DYNAMIC) |
hl7:legalAuthenticator
| | 0 … 1 | | | CDAlator |
@typeCode
| cs | 0 … 1 | F | LA |
@contextControlCode
| cs | 0 … 1 | F | OP |
hl7:time
| TS | 1 … 1 | R | | CDAlator |
hl7:signatureCode
| CS | 1 … 1 | R | | CDAlator |
| CONF | |
hl7:assignedEntity
| | 1 … 1 | | Contains 2.16.840.1.113883.10.12.153 CDA AssignedEntity (DYNAMIC) | CDAlator |
Included | 0 … * | | from 2.16.840.1.113883.10.12.107 CDA authenticator (DYNAMIC) |
hl7:authenticator
| | 0 … * | | | CDAaator |
@typeCode
| cs | 0 … 1 | F | AUTHEN |
hl7:time
| TS | 1 … 1 | R | | CDAaator |
hl7:signatureCode
| CS | 1 … 1 | R | | CDAaator |
| CONF | |
hl7:assignedEntity
| | 1 … 1 | | Contains 2.16.840.1.113883.10.12.153 CDA AssignedEntity (DYNAMIC) | CDAaator |
Included | 0 … * | | from 2.16.840.1.113883.10.12.108 CDA participant (DYNAMIC) |
hl7:participant
| | 0 … * | | | CDAppant |
@typeCode
| cs | 1 … 1 | R | |
| CONF | |
@contextControlCode
| cs | 0 … 1 | F | OP |
hl7:functionCode
| CE | 0 … 1 | | | CDAppant |
| CONF | |
hl7:time
| IVL_TS | 0 … 1 | | | CDAppant |
hl7:associatedEntity
| | 1 … 1 | | | CDAppant |
@classCode
| cs | 1 … 1 | R | |
| CONF | |
hl7:id
| II | 0 … * | | | CDAppant |
hl7:code
| CE | 0 … 1 | | | CDAppant |
| CONF | shall be drawn from concept domain "RoleCode" |
|
hl7:addr
| AD | 0 … * | | | CDAppant |
hl7:telecom
| TEL | 0 … * | | | CDAppant |
hl7:associatedPerson
| | 0 … 1 | | Contains 2.16.840.1.113883.10.12.152 CDA Person (DYNAMIC) | CDAppant |
hl7:scopingOrganization
| | 0 … 1 | | Contains 2.16.840.1.113883.10.12.151 CDA Organization (DYNAMIC) | CDAppant |
Included | 0 … * | | from 2.16.840.1.113883.10.12.109 CDA inFulfillmentOf (DYNAMIC) |
hl7:inFulfillmentOf
| | 0 … * | | | CDAintOf |
@typeCode
| cs | 0 … 1 | F | FLFS |
hl7:order
| | 1 … 1 | | | CDAintOf |
@classCode
| cs | 0 … 1 | F | ACT |
@moodCode
| cs | 1 … 1 | F | RQO |
hl7:id
| II | 1 … * | R | | CDAintOf |
hl7:code
| CE | 0 … 1 | | | CDAintOf |
| CONF | shall be drawn from concept domain "ActCode" |
|
hl7:priorityCode
| CE | 0 … 1 | | | CDAintOf |
| CONF | |
Included | 0 … * | | from 2.16.840.1.113883.10.12.110 CDA documentationOf (DYNAMIC) |
hl7:documentationOf
| | 0 … * | | | CDAdonOf |
@typeCode
| cs | 1 … 1 | F | DOC |
hl7:serviceEvent
| | 1 … 1 | | | CDAdonOf |
@classCode
| cs | 1 … 1 | F | ACT |
@moodCode
| cs | 1 … 1 | F | EVN |
hl7:id
| II | 0 … * | | | CDAdonOf |
hl7:code
| CE | 0 … 1 | | | CDAdonOf |
| CONF | shall be drawn from concept domain "ActCode" |
|
hl7:effectiveTime
| IVL_TS | 0 … 1 | | | CDAdonOf |
hl7:performer
| | 0 … * | | | CDAdonOf |
@typeCode
| cs | 1 … 1 | R | |
| CONF | |
hl7:functionCode
| CE | 0 … 1 | | | CDAdonOf |
| CONF | |
hl7:time
| IVL_TS | 0 … 1 | | | CDAdonOf |
hl7:assignedEntity
| | 1 … 1 | | Contains 2.16.840.1.113883.10.12.153 CDA AssignedEntity (DYNAMIC) | CDAdonOf |
Included | 0 … * | | from 2.16.840.1.113883.10.12.111 CDA relatedDocument (DYNAMIC) |
hl7:relatedDocument
| | 0 … * | | | CDArment |
@typeCode
| cs | 1 … 1 | R | |
| CONF | |
hl7:parentDocument
| | 1 … 1 | | | CDArment |
@classCode
| cs | 0 … 1 | F | DOCCLIN |
@moodCode
| cs | 0 … 1 | F | EVN |
hl7:id
| II | 1 … * | R | | CDArment |
hl7:code
| CD | 0 … 1 | | | CDArment |
@codeSystem
| CONF | 0 … 1 | F | 2.16.840.1.113883.6.1 |
hl7:text
| ED | 0 … 1 | | | CDArment |
hl7:setId
| II | 0 … 1 | | | CDArment |
hl7:versionNumber
| INT | 0 … 1 | | | CDArment |
Included | 0 … * | | from 2.16.840.1.113883.10.12.114 CDA Authorization (DYNAMIC) |
hl7:authorization
| | 0 … * | | | CDAation |
@typeCode
| cs | 0 … 1 | F | AUTH |
hl7:consent
| | 1 … 1 | | | CDAation |
@classCode
| cs | 0 … 1 | F | CONS |
@moodCode
| cs | 0 … 1 | F | EVN |
hl7:id
| II | 0 … * | | | CDAation |
hl7:code
| CE | 0 … 1 | | | CDAation |
| CONF | shall be drawn from concept domain "ActCode" |
|
hl7:statusCode
| CS | 1 … 1 | R | | CDAation |
@code
| CONF | 0 … 1 | F | completed |
Included | 0 … 1 | | from 2.16.840.1.113883.10.12.113 CDA componentOf (DYNAMIC) |
hl7:componentOf
| | 0 … 1 | | | CDAcntOf |
@typeCode
| cs | 0 … 1 | F | COMP |
hl7:encompassingEncounter
| | 1 … 1 | | | CDAcntOf |
@classCode
| cs | 0 … 1 | F | ENC |
@moodCode
| cs | 0 … 1 | F | EVN |
hl7:id
| II | 0 … * | | | CDAcntOf |
hl7:code
| CE | 0 … 1 | | | CDAcntOf |
| CONF | |
hl7:effectiveTime
| IVL_TS | 1 … 1 | R | | CDAcntOf |
hl7:dischargeDispositionCode
| CE | 0 … 1 | | | CDAcntOf |
| CONF | shall be drawn from concept domain "EncounterDischargeDisposition" |
|
hl7:responsibleParty
| | 0 … 1 | | Contains 2.16.840.1.113883.10.12.153 CDA AssignedEntity (DYNAMIC) | CDAcntOf |
@typeCode
| cs | 0 … 1 | F | RESP |
hl7:encounterParticipant
| | 0 … * | | | CDAcntOf |
@typeCode
| cs | 1 … 1 | R | |
| CONF | |
hl7:time
| IVL_TS | 0 … 1 | | | CDAcntOf |
hl7:assignedEntity
| | 1 … 1 | | Contains 2.16.840.1.113883.10.12.153 CDA AssignedEntity (DYNAMIC) | CDAcntOf |
hl7:location
| | 0 … 1 | | | CDAcntOf |
@typeCode
| cs | 0 … 1 | F | LOC |
hl7:healthCareFacility
| | 1 … 1 | | | CDAcntOf |
@classCode
| cs | 0 … 1 | F | SDLOC |
hl7:id
| II | 0 … * | | | CDAcntOf |
hl7:code
| CE | 0 … 1 | | | CDAcntOf |
| CONF | |
hl7:location
| | 0 … 1 | | Contains 2.16.840.1.113883.10.12.317 CDA Place (DYNAMIC) | CDAcntOf |
hl7:serviceProviderOrganization
| | 0 … 1 | | Contains 2.16.840.1.113883.10.12.151 CDA Organization (DYNAMIC) | CDAcntOf |
hl7:component
| | 1 … 1 | R | | DKCDBody |
hl7:structuredBody
| | 1 … 1 | R | | DKCDBody |
hl7:component
| | 1 … * | R | Contains 2.16.840.1.113883.10.12.201 CDA Section (DYNAMIC) | DKCDBody |