Template

Show index

Template DK Medcom CPR Id 2021‑09‑15 14:58:15

Id1.2.208.184.10.1.34Effective Date2021‑09‑15 14:58:15
Statusdraft DraftVersion Label1.5
NameDKMedcomCPRIdDisplay NameDK Medcom CPR Id
ClassificationHL7 V2/V3 Datatype Level Template
Open/ClosedOpen (other than defined elements are allowed)
Used by / Uses
Used by 0 transactions and 4 templates, Uses 0 templates
Used by as NameVersion
1.2.208.184.10.1.14Includedraft DK Medcom Disclosed PatientRole (1.5)2021‑08‑30 15:40:28
1.2.208.184.10.1.15Includedraft DK Medcom Confidential PatientRole (1.5)2021‑08‑30 15:43:35
1.2.208.184.10.1.20Includedraft DK Medcom PatientRole (1.5)2021‑09‑15 13:48:07
1.2.208.184.10.1.42Includedraft DK Medcom Assigned (body) (1.5)2021‑09‑15 15:34:52
Example
Example
<id root="1.2.208.176.1.2" extension="2512489996" assigningAuthorityName="CPR"/>
ItemDTCardConfDescriptionLabel
hl7:id
II1 … 1MThe id element SHALL be present
DKMedotsPRId
@root
oid1 … 1F1.2.208.176.1.2
 The value of the @rootSHALL be set to the associated OID for “Det Centrale Personregister”
@extension
st1 … 1RThe value of the @extensionSHALL be a valid Danish person identification number (CPR-nummer)
@assigningAuthorityName
st1 … 1FCPR
 
The value of the @assignedAuthorityNameSHALL be set to “CPR”.
 Schematron assertrolered error 
 testmatches(@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})$') 
 MessageThe value of the @extension SHALL be a valid Danish person identification number (CPR-nummer)