Item | DT | Card | Conf | Description | Label |
---|
hl7:patient
| | 1 … * | R | | 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 | |