Template

Show index

Template DK Patient 2021‑08‑18 12:57:00

Id1.2.208.184.11.1.10Effective Date2021‑08‑18 12:57:00
Statuscancelled CancelledVersion Label1.5
NameDKPatientDisplay NameDK Patient
ClassificationCDA Header Level Template
Open/ClosedOpen (other than defined elements are allowed)
Used by / Uses
Used by 0 transactions and 2 templates, Uses 2 templates
Used by as NameVersion
1.2.208.184.10.1.6Includecancelled DK Disclosed PatientRole (1.5)2021‑08‑27 13:37:02
1.2.208.184.11.1.17Includecancelled DK PatientRole (1.5)2021‑08‑26 14:40:43
Uses as NameVersion
1.2.208.184.11.1.2Includecancelled DK Name (1.5)DYNAMIC
1.2.208.184.11.1.9Includecancelled DK Date or Timestamp (body) (1.5)DYNAMIC
ItemDTCardConfDescriptionLabel
hl7:patient
1 … *RDKPatient
@classCode
cs0 … 1FPSN
@determinerCode
cs0 … 1FINSTANCE
Included1 … 1M from 1.2.208.184.11.1.2 DK Name (DYNAMIC)
hl7:name
PN1 … 1M 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
ENXP0 … 1DKName
@qualifier
set_cs0NPNP/not present
 ConstraintMAY 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
ENXP1 … *RDKName
@nullFlavor
cs0 … 1FNA
@qualifier
set_cs0NPNP/not present
 ConstraintSHALL 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
ENXP1 … 1RDKName
@nullFlavor
cs0 … 1FNA
@qualifier
set_cs0NPNP/not present
 ConstraintSHALL contain exactly one [1..1]family element. In this profile the @qualifier is not used.
 Schematron assertrolered error 
 testif (*:given[text()='Navnebeskyttelse']) then not(*:prefix) else true() 
 MessageIf there is a given element with the text 'Navnebeskyttelse', then there SHALL be no [0] prefix element. 
 Schematron assertrolered error 
 testif (*:given[text()='Navnebeskyttelse']) then count(*:given)=1 else true() 
 MessageIf there is a given element with the text 'Navnebeskyttelse', then there SHALL be exactly one [1..1] given element. 
 Schematron assertrolered error 
 testif (*:given[text()='Navnebeskyttelse']) then (*:family[text()='Navnebeskyttelse']) else true() 
 MessageIf there is a given element with the text 'Navnebeskyttelse', then there SHALL be a family element with the text 'Navnebeskyttelse'. 
 Schematron assertrolered error 
 testif (*:family[text()='Navnebeskyttelse']) then (*:given[text()='Navnebeskyttelse']) else true() 
 MessageIf there is a family element with the text 'Navnebeskyttelse', then there SHALL be a given element with the text 'Navnebeskyttelse'. 
 Schematron assertrolered error 
 testif (*:given[text()='Navnebeskyttelse']) then empty(*[@nullFlavor]) else true() 
 MessageIf 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 … 1MDKPatient
@codeSystem
oid1 … 1F2.16.840.1.113883.5.1
 CONF
The value of @code shall be drawn from value set 2.16.840.1.113883.1.11.1 AdministrativeGender (DYNAMIC)
hl7:birthTime
TS1 … 1MDKPatient
Included from 1.2.208.184.11.1.9 DK Date or Timestamp (body) (DYNAMIC)
@value
ts1 … 1R
The representation of time SHALL use the format YYYYMMDDhhmmss±ZZzz or YYYYMMDD

TokenDescription
YYYYThe year of the event
MMThe month in the year
DDThe day in the month
hhThe hour in the day
mmThe minute of in the hour
ssThe second in the minute
±Direction of the offset from UTC
ZZHours offset from UTC
zzMinutes offset in the hours offset from UTC
 Schematron assertrolered error 
 testmatches(@value,'^[0-9]{14}[\+|\-][0-9]{4}$') or matches(@value,'^[0-9]{8}$') 
 MessageThe representation of time SHALL use the format YYYYMMDDhhmmss±ZZzz or YYYYMMDD