Template

Show index

Template DK Medcom Assigned (body) 2021‑08‑30 11:04:15

Id1.2.208.184.10.1.8Effective Date2021‑08‑30 11:04:15
Statuscancelled CancelledVersion Label1.5
NameDKassignedBodyDisplay NameDK Medcom Assigned (body)
DescriptionTemplate CDA author (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 3 templates, Uses 7 templates
Used by as NameVersion
1.2.208.184.10.1.1Includecancelled DK author2021‑08‑26 15:10:25
1.2.208.184.10.1.7Includecancelled DK dataEnterer2021‑08‑30 11:01:38
1.2.208.184.10.1.18Containmentcancelled DK Medcom AssignedEntity2021‑08‑31 13:27:36
Uses as NameVersion
1.2.208.184.10.1.2Includecancelled DK Telecom (1.5)DYNAMIC
1.2.208.184.10.1.4Containmentcancelled DK OrganizationDYNAMIC
1.2.208.184.11.1.2Includecancelled DK Name (1.5)DYNAMIC
1.2.208.184.11.1.3Includecancelled DK Address (1.5)DYNAMIC
1.2.208.184.11.1.14Includecancelled DK CPR Id (1.5)DYNAMIC
1.2.208.184.11.1.15Includecancelled DK SOR Id (1.5)DYNAMIC
1.2.208.184.11.1.16Includecancelled DK Yderregister Id (1.5)DYNAMIC
ItemDTCardConfDescriptionLabel
Choice1 … 1Elements to choose from:
Included from 1.2.208.184.11.1.15 DK SOR Id (DYNAMIC)
hl7:id
II1 … *RDKSORId
@root
oid1 … 1F1.2.208.176.1.1
@extension
st1 … 1RThe value of extension SHALL be a valid SOR Identifier
@assigningAuthorityName
st1 … 1FSOR
Included from 1.2.208.184.11.1.16 DK Yderregister Id (DYNAMIC)
hl7:id
II1 … *RDKYddotserId
@root
oid1 … 1F1.2.208.176.1.4
@extension
st1 … 1RThe value of extension SHALL be a valid Yderregister Identifier
@assigningAuthorityName
st1 … 1FYderregisteret
Included from 1.2.208.184.11.1.14 DK CPR Id (DYNAMIC)
hl7:id
II1 … 1MThe id element SHALL be present
DKCPRId
@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:code
CE0 … 1DKasdotsBody
 CONF
shall be drawn from concept domain "RoleCode"
Included1 … 1M from 1.2.208.184.11.1.3 DK Address (DYNAMIC)
hl7:addr
AD1 … 1MDKAddress
@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 … 1RDKAddress
hl7:streetAddressLine
ADXP1 … 4MDKAddress
hl7:postalCode
ADXP1 … 1RDKAddress
@nullFlavor
cs0 … 1FNI
 
Only valid use of nullFlavor is when an address is confidential.
hl7:city
ADXP1 … 1RDKAddress
@nullFlavor
cs0 … 1FNI
 
Only valid use of nullFlavor is when an address is confidential.
hl7:country
ADXP0 … 1RDKAddress
@nullFlavor
cs0 … 1FNI
 
Only valid use of nullFlavor is when an address is confidential.
 Schematron assertrolered error 
 testif (*[@nullFlavor]) then *:streetAddressLine = 'Adressebeskyttelse' else true() 
 MessageIf any element has a nullFlavor attribute, then the streetAddressLine must have the value 'Adressebeskyttelse' 
 Schematron assertrolered error 
 testif (*[@nullFlavor]) then count(*:streetAddressLine) = 1 else true() 
 MessageIf any element has a nullFlavor attribute, then there must be exactly one [1..1] streetAddressLine element 
 Schematron assertrolered error 
 testif (*[@nullFlavor] and *:postalCode) then *:postalCode[@nullFlavor] else true() 
 MessageIf any element has a nullFlavor attribute, then the postalCode element must have a nullFlavor attribute 
 Schematron assertrolered error 
 testif (*[@nullFlavor] and *:city) then *:city[@nullFlavor] else true() 
 MessageIf any element has a nullFlavor attribute, then the city element must have a nullFlavor attribute 
 Schematron assertrolered error 
 testif (*[@nullFlavor] and *:country) then *:country[@nullFlavor] else true() 
 MessageIf any element has a nullFlavor attribute, then the country element must have a nullFlavor attribute 
 Schematron assertrolered error 
 testempty(*[@nullFlavor]/text()) 
 MessageElements that have a nullFlavor attribute shall not have a value 
Included1 … *M from 1.2.208.184.10.1.2 DK Telecom (DYNAMIC)
hl7:telecom
TEL1 … *MDKTelecom
@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)
@value
st1 … 1R
@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().]+ 
hl7:assignedPerson
1 … 1MDKasdotsBody
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:representedOrganization
0 … 1Contains 1.2.208.184.10.1.4 DK Organization (DYNAMIC)DKasdotsBody