Template

Show index

Template DK Medcom RecordTarget 2021‑08‑30 15:45:41

Id1.2.208.184.10.1.16Effective Date2021‑08‑30 15:45:41
Statusdraft DraftVersion Label1.5
NameDKMedComrecordTargetDisplay NameDK Medcom RecordTarget
DescriptionTemplate CDA recordTarget (prototype, directly derived from POCD_RM000040 MIF)
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.13Includedraft DK Medcom ClinicalDocument (with StructuredBody) (1.5)2021‑08‑30 14:26:22
1.2.208.184.10.1.44Includedraft DK Medcom ClinicalDocument (with StructuredBody) (1.5)2023‑07‑04 13:52:36
Uses as NameVersion
1.2.208.184.10.1.14Includedraft DK Medcom Disclosed PatientRole (1.5)DYNAMIC
1.2.208.184.10.1.15Includedraft DK Medcom Confidential PatientRole (1.5)DYNAMIC
RelationshipSpecialization: template 2.16.840.1.113883.10.12.101 CDA recordTarget (2005‑09‑07)
ref
ad1bbr-
ItemDTCardConfDescriptionLabel
hl7:recordTarget
1 … *RDKMedotsrget
Choice1 … 1
SHALL contain exactly one [1..1] from the following (CONF-DK:10.1.16.1)
Elements to choose from:
  • hl7:patientRole included from template 1.2.208.184.10.1.14 DK Medcom Disclosed PatientRole (DYNAMIC)
  • hl7:patientRole included from template 1.2.208.184.10.1.15 DK Medcom Confidential PatientRole (DYNAMIC)
Included0 … 1 from 1.2.208.184.10.1.14 DK Medcom Disclosed PatientRole (DYNAMIC)
hl7:patientRole
0 … 1RSHALL contain at least one [1..*] patientRole (CONF-DK:10.1.14.1) such that itDKMedotsRole
hl7:templateId
II1 … 1MSHALL contain exactly one [1..1] templateId (CONF-DK:10.1.14.2) such that itDKMedotsRole
@root
oid1 … 1F1.2.208.184.10.1.14
 SHALL contain exactly one [1..1] @root="1.2.208.184.10.1.14" (CONF-DK:10.1.14.3)
@extension
st1 … 1F1.5
 SHALL contain exactly one [1..1] @extension="1.5" (CONF-DK:10.1.14.4)
hl7:id
IINPSHALL contain none [0..0] id (CONF-DK:10.1.14.5) such that itDKMedotsRole
@root
oid1 … 1F1.2.208.184.100.1
 SHALL contain exactly one [1..1] @oid="1.2.208.184.100.1" (CONF-DK:10.1.14.6)
Included1 … 1M from 1.2.208.184.10.1.34 DK Medcom CPR Id (DYNAMIC)
SHALL contain exactly one [1..1] id (CONF-DK:10.1.14.7) such that it
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)  
Included1 … 1M from 1.2.208.184.10.1.39 DK Medcom Disclosed Address (DYNAMIC)
SHALL contain exactly one [1..1] addr (CONF-DK:10.1.14.8) such that it
hl7:addr
AD1 … 1MDKMedotsress
@use
set_cs1 … 1R
 CONF
The value of @use shall be drawn from value set 2.16.840.1.113883.3.1937.777.60.11.1 DK AddressUse (DYNAMIC)
hl7:careOf
ADXP0 … 1RDKMedotsress
hl7:streetAddressLine
ADXP1 … 4MDKMedotsress
hl7:postalCode
ADXP1 … 1MDKMedotsress
hl7:city
ADXP1 … 1MDKMedotsress
hl7:country
ADXP0 … 1RDKMedotsress
@nullFlavor
cs0NPNP/not present
Included1 … *M from 1.2.208.184.10.1.37 DK Medcom Telecom (DYNAMIC)
SHALL contain at least one [1..*] telecom (CONF-DK:10.1.14.9) such that it
hl7:telecom
TEL1 … *MDKMedotsecom
@use
set_cs0 … 1 
 CONF
The value of @use shall be drawn from value set 2.16.840.1.113883.3.1937.777.60.11.1 DK AddressUse (DYNAMIC)
@value
st0 … 1 
@nullFlavor
cs0 … 1 
 CONF
The value of @nullFlavor shall be drawn from value set 1.2.208.184.200.3 DK NullFlavor (DYNAMIC)
 Schematron assertrolered error 
 testif (@value and matches(@value,'^tel:')) then matches(@value,'^tel:\+?[-0-9().]+$') else true() 
 MessageTelephone numbers SHALL match the regular expression pattern: tel:\+?[-0-9().]+ 
 Schematron assertrolered error 
 test(@nullFlavor or @use and @value) 
 MessageEither there must be a @use and @value or @nullFlavor 
Included1 … 1M from 1.2.208.184.10.1.41 DK Medcom Disclosed Patient (DYNAMIC)
SHALL contain exactly one [1..1] patient (CONF-DK:10.1.14.10) such that it
hl7:patient
1 … 1MDKMedotsient
@classCode
cs0 … 1FPSN
@determinerCode
cs0 … 1FINSTANCE
Included1 … 1M from 1.2.208.184.10.1.40 DK Medcom Disclosed 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. DKMedotsName
hl7:prefix
ENXP0 … 1DKMedotsName
@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 … *MDKMedotsName
@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 … 1MDKMedotsName
@qualifier
set_cs0NPNP/not present
 ConstraintSHALL contain exactly one [1..1]family element. In this profile the @qualifier is not used.
hl7:administrativeGenderCode
CE (required)1 … 1MDKMedotsient
@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 … 1MDKMedotsient
Included from 1.2.208.184.10.1.25 DK Medcom Date or Timestamp (body) (DYNAMIC)
@value
ts1 … 1R
SHALL contain exactly one [1..1] @value and
SHALL use the format YYYYMMDDhhmmss±ZZzz or YYYYMMDD (CONF-DK:10.1.25.1)

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
CONFdots25.1
 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 
hl7:providerOrganization
0 … 1MAY contain one [0..1] providerOrganization (CONF-DK:10.1.14.11) such that itDKMedotsRole
Choice1 … *
SHALL contain at least one [1..*] from the following (CONF-DK:10.1.14.12)
Elements to choose from:
Included0 … 1 from 1.2.208.184.10.1.35 DK Medcom SOR Id (DYNAMIC)
MAY contain one [0..1] id (CONF-DK:10.1.14.13) such that it
hl7:id
II0 … 1RDKMedotsORId
@root
oid1 … 1F1.2.208.176.1.1CONFdots35.1
 SHALL contain exactly one [1..1] @root="1.2.208.176.1.1" (CONF-DK:10.1.35.1)
@extension
st1 … 1RSHALL contain exactly one [1..1] @extension that is a valid SOR Identifier (CONF-DK:10.1.35.2)CONFdots35.2
@assigningAuthorityName
st1 … 1FSORCONFdots35.3
 SHALL contain exactly one [1..1] @assigningAuthorityName="SOR" (CONF-DK:10.1.35.3)
Included0 … 1 from 1.2.208.184.10.1.36 DK Medcom Yderregister Id (DYNAMIC)
MAY contain one [0..1] id (CONF-DK:10.1.14.14) such that it
hl7:id
II0 … 1RDKMedotserId
@root
oid1 … 1F1.2.208.176.1.4CONFdots36.1
 SHALL contain exactly one [1..1] @root="1.2.208.176.1.4" (CONF-DK:10.1.36.1)
@extension
st1 … 1RSHALL contain exactly one [1..1] @extension that is a valid Yderregister identifier (CONF-DK:10.1.36.2)CONFdots36.2
@assigningAuthorityName
st1 … 1FYderregisteretCONFdots36.3
 SHALL contain exactly one [1..1] @assigningAuthorityName="Yderregisteret" (CONF-DK:10.1.36.3)
Included0 … 1 from 1.2.208.184.10.1.15 DK Medcom Confidential PatientRole (DYNAMIC)
hl7:patientRole
0 … 1RDKMedotsRole
Included1 … 1M from 1.2.208.184.10.1.34 DK Medcom CPR Id (DYNAMIC)
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)  
hl7:templateId
II1 … 1MDKMedotsRole
@root
oid1 … 1F1.2.208.184.10.1.15
@extension
st1 … 1F1.5
hl7:id
II1 … 1MDKMedotsRole
@root
oid1 … 1F1.2.208.184.100.1
@extension
st1 … 1FConfAddr
@assigningAuthorityName
st1 … 1FMedCom
Included1 … 1M from 1.2.208.184.10.1.29 DK Medcom Confidential Address (DYNAMIC)
hl7:addr
AD1 … 1MDKMedotsress
@use
set_cs1 … 1R
 CONF
The value of @use shall be drawn from value set 2.16.840.1.113883.3.1937.777.60.11.1 DK AddressUse (DYNAMIC)
hl7:careOf
ADXPNPDKMedotsress
hl7:streetAddressLine
ADXP1 … 1MDKMedotsress
 Schematron assertrolered error 
 testtext() = 'Adressebeskyttelse' 
 MessageThe text SHALL be 'Adressebeskyttelse'. 
hl7:postalCode
ADXP1 … 1RDKMedotsress
@nullFlavor
cs1 … 1FNI
hl7:city
ADXP1 … 1RDKMedotsress
@nullFlavor
cs1 … 1FNI
hl7:country
ADXP0 … 1RDKMedotsress
@nullFlavor
cs1 … 1FNI
hl7:telecom
TEL1 … 1RDKMedotsRole
@nullFlavor
cs1 … 1FNI
Included1 … 1M from 1.2.208.184.10.1.21 DK Medcom Confidential Patient (DYNAMIC)
hl7:patient
1 … 1MDKMedotsient
@classCode
cs0 … 1FPSN
@determinerCode
cs0 … 1FINSTANCE
Included1 … 1M from 1.2.208.184.10.1.33 DK Medcom Confidential 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. DKMedotsName
hl7:prefix
ENXPNPDKMedotsName
hl7:given
ENXP1 … 1MDKMedotsName
@qualifier
set_cs0NPNP/not present
 ConstraintSHALL 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 assertrolered error 
 testtext() = 'Navnebeskyttelse' 
 MessageThe text of the given element SHALL be 'Navnebeskyttelse'. 
hl7:family
ENXP1 … 1MDKMedotsName
@qualifier
set_cs0NPNP/not present
 ConstraintSHALL 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 assertrolered error 
 testtext() = 'Navnebeskyttelse' 
 MessageThe text of the family element SHALL be 'Navnebeskyttelse'. 
hl7:administrativeGenderCode
CE (required)1 … 1MDKMedotsient
@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 … 1MDKMedotsient
Included from 1.2.208.184.10.1.25 DK Medcom Date or Timestamp (body) (DYNAMIC)
@value
ts1 … 1R
SHALL contain exactly one [1..1] @value and
SHALL use the format YYYYMMDDhhmmss±ZZzz or YYYYMMDD (CONF-DK:10.1.25.1)

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
CONFdots25.1
 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 
hl7:providerOrganization
0 … 1DKMedotsRole
Choice1 … *Elements to choose from:
Included from 1.2.208.184.10.1.35 DK Medcom SOR Id (DYNAMIC)
hl7:id
II1 … *RDKMedotsORId
@root
oid1 … 1F1.2.208.176.1.1CONFdots35.1
 SHALL contain exactly one [1..1] @root="1.2.208.176.1.1" (CONF-DK:10.1.35.1)
@extension
st1 … 1RSHALL contain exactly one [1..1] @extension that is a valid SOR Identifier (CONF-DK:10.1.35.2)CONFdots35.2
@assigningAuthorityName
st1 … 1FSORCONFdots35.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
II1 … *RDKMedotserId
@root
oid1 … 1F1.2.208.176.1.4CONFdots36.1
 SHALL contain exactly one [1..1] @root="1.2.208.176.1.4" (CONF-DK:10.1.36.1)
@extension
st1 … 1RSHALL contain exactly one [1..1] @extension that is a valid Yderregister identifier (CONF-DK:10.1.36.2)CONFdots36.2
@assigningAuthorityName
st1 … 1FYderregisteretCONFdots36.3
 SHALL contain exactly one [1..1] @assigningAuthorityName="Yderregisteret" (CONF-DK:10.1.36.3)