Template

Show index

Template DK Medcom Name 2021‑09‑15 14:56:48

Id1.2.208.184.10.1.32Effective Date2021‑09‑15 14:56:48
Statusdraft DraftVersion Label1.5
NameDKMedcomNameDisplay NameDK Medcom Name
Description To support communication between the receiver of the document and the patient or any other person or organization mentioned within it, the elements representing them will be named.
ClassificationHL7 V2/V3 Datatype Level Template
Open/ClosedOpen (other than defined elements are allowed)
Used by / Uses
Used by 0 transactions and 3 templates, Uses 0 templates
Used by as NameVersion
1.2.208.184.10.1.22Includedraft DK Medcom Patient (1.5)2021‑09‑15 14:10:03
1.2.208.184.10.1.38Includedraft DK Medcom Organization (1.5)2021‑09‑15 15:01:34
1.2.208.184.10.1.42Includedraft DK Medcom Assigned (body) (1.5)2021‑09‑15 15:34:52
Example
Name example
<name>
  <given>Nancy</given>  <given>Ann</given>  <given>Test</given>  <family>Berggren</family></name>
Example
Prefix example
<name>
  <prefix>Læge</prefix>  <given>Anders</given>  <family>Andersen</family></name>
Example
Navnebeskyttelse
<name>
  <given>Navnebeskyttelse</given>  <family>Navnebeskyttelse</family></name>
Example (invalid)
Invalid Navnebeskyttelse
<name>
  <family>Navnebeskyttelse</family></name>
Example (invalid)
Invalid navnebeskyttelse
<name>
  <prefix>Navnebeskyttelse</prefix>  <given>Navnebeskyttelse</given>  <family>Navnebeskyttelse</family></name>
Example (invalid)
Invalid navnebeskyttelse
<name>
  <given>Navnebeskyttelse</given>  <given>Navnebeskyttelse</given>  <family>Navnebeskyttelse</family></name>
Example (invalid)
Invalid navnebeskyttelse
<name>
  <given nullFlavor="NA">Navnebeskyttelse</given>  <family nullFlavor="NA">Navnebeskyttelse</family></name>
ItemDTCardConfDescriptionLabel
hl7:name
PN1 … *R 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 … *RDKMedotsName
@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 … 1RDKMedotsName
@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.