Item | DT | Card | Conf | Description | Label |
---|
hl7:patientRole
| | 1 … * | R | | DKMeRole |
Included | 1 … 1 | M | from 1.2.208.184.10.1.34 DK Medcom CPR Id (DYNAMIC) |
hl7:id
| II | 1 … 1 | M | The id element SHALL be present
| DKMePRId |
@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.10.1.29 DK Medcom Confidential Address (DYNAMIC) |
hl7:addr
| AD | 1 … 1 | M | | DKMeress |
@use
| set_cs | 1 … 1 | R | |
| CONF | |
hl7:careOf
| ADXP | | NP | | DKMeress |
hl7:streetAddressLine
| ADXP | 1 … 1 | M | | DKMeress |
| Schematron assert | role | error | |
| test | text() = 'Adressebeskyttelse' | |
| Message | The text SHALL be 'Adressebeskyttelse'. | |
hl7:postalCode
| ADXP | 1 … 1 | R | | DKMeress |
@nullFlavor
| cs | 1 … 1 | F | NI |
hl7:city
| ADXP | 1 … 1 | R | | DKMeress |
@nullFlavor
| cs | 1 … 1 | F | NI |
hl7:country
| ADXP | 0 … 1 | R | | DKMeress |
@nullFlavor
| cs | 1 … 1 | F | NI |
Included | | | from 1.2.208.184.10.1.37 DK Medcom Telecom (DYNAMIC) |
hl7:telecom
| TEL | 1 … * | R | | DKMeecom |
@use
| set_cs | 0 … 1 | | |
| CONF | |
@value
| st | 0 … 1 | | |
@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().]+ | |
| Schematron assert | role | error | |
| test | (@nullFlavor or @use and @value) | |
| Message | Either there must be a @use and @value or @nullFlavor | |
Included | 1 … 1 | M | from 1.2.208.184.10.1.22 DK Medcom Patient (DYNAMIC) |
hl7:patient
| | 1 … 1 | M | | DKMeient |
@classCode
| cs | 0 … 1 | F | PSN |
@determinerCode
| cs | 0 … 1 | F | INSTANCE |
Included | 1 … 1 | M | from 1.2.208.184.10.1.32 DK Medcom 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. | DKMeName |
hl7:prefix
| ENXP | 0 … 1 | | | DKMeName |
@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 | | DKMeName |
@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 | | DKMeName |
@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 | | DKMeient |
@codeSystem
| oid | 1 … 1 | F | 2.16.840.1.113883.5.1 |
| CONF | |
hl7:birthTime
| TS | 1 … 1 | M | | DKMeient |
Included | | | from 1.2.208.184.10.1.25 DK Medcom Date or Timestamp (body) (DYNAMIC) |
@value
| ts | 1 … 1 | R | SHALL contain exactly one [1..1] @value and SHALL use the format YYYYMMDDhhmmss±ZZzz or YYYYMMDD (CONF-DK:10.1.25.1) 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 |
| CONF25.1 |
| 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 | | | DKMeRole |
Choice | 1 … * | | Elements to choose from: |
Included | | | from 1.2.208.184.10.1.35 DK Medcom SOR Id (DYNAMIC) |
hl7:id
| II | 1 … * | R | | DKMeORId |
@root
| oid | 1 … 1 | F | 1.2.208.176.1.1 | CONF35.1 |
| SHALL contain exactly one [1..1] @root="1.2.208.176.1.1" (CONF-DK:10.1.35.1) |
@extension
| st | 1 … 1 | R | SHALL contain exactly one [1..1] @extension that is a valid SOR Identifier (CONF-DK:10.1.35.2) | CONF35.2 |
@assigningAuthorityName
| st | 1 … 1 | F | SOR | CONF35.3 |
| SHALL contain exactly one [1..1] @assigningAuthorityName="SOR" (CONF-DK:10.1.35.3) |
Included | | | from 1.2.208.184.10.1.36 DK Medcom Yderregister Id (DYNAMIC) |
hl7:id
| II | 1 … * | R | | DKMeerId |
@root
| oid | 1 … 1 | F | 1.2.208.176.1.4 | CONF36.1 |
| SHALL contain exactly one [1..1] @root="1.2.208.176.1.4" (CONF-DK:10.1.36.1) |
@extension
| st | 1 … 1 | R | SHALL contain exactly one [1..1] @extension that is a valid Yderregister identifier (CONF-DK:10.1.36.2) | CONF36.2 |
@assigningAuthorityName
| st | 1 … 1 | F | Yderregisteret | CONF36.3 |
| SHALL contain exactly one [1..1] @assigningAuthorityName="Yderregisteret" (CONF-DK:10.1.36.3) |