Back To Index  <<  Back To Templates

draft Template  epSOS CDA recordTarget

Template (internal) 2.16.840.1.113883.3.1937.777.10.10.100 - epSOSCDArecordTarget
Id 2.16.840.1.113883.3.1937.777.10.10.100
Version valid from 2013‑12‑20 status draft Under develeopment
Classification CDA Header Level Template
Open/Closed Open (other than defined elements are allowed)
Used by / Uses
Used by / Uses 5 templates
Used by Template id as Name Version
1.3.6.1.4.1.12559.11.10.1.3.1.1.1 epSOS-eP epSOS-ePrescription 2013‑12‑20
1.3.6.1.4.1.12559.11.10.1.3.1.1.2 epSOS-eD epSOS-eDispensation 2013‑12‑20
1.3.6.1.4.1.12559.11.10.1.3.1.1.3 epSOS-PS epSOS-Patient Summary 2013‑12‑20
1.3.6.1.4.1.12559.11.10.1.3.1.1.4 epSOS-HCER epSOS-Health Care Encounter Report 2013‑12‑20
1.3.6.1.4.1.12559.11.10.1.3.1.1.5 epSOS-MRO epSOS-Medication Related Overview 2013‑12‑20
Relationship Specialization: template 2.16.840.1.113883.10.12.101 (2005‑09‑07)
Item DT Card Conf Description Label
hl7:recordTarget
1 .. * R (epSOSCDArecordTarget)
treetree @typeCode
0 .. 1 F RCT
treetree @contextControlCode
0 .. 1 F OP
treetree hl7:patientRole
1 .. 1 M (epSOSCDArecordTarget)
treeblank treetree @classCode
0 .. 1 F PAT
treeblank treetree hl7:id
II.EPSOS 1 .. * R Patient Identifiers: Primary Patient Identifier (Regional/National Health Id), Secondary Patient Identifier (Social/Insurance Number) R1.4 / R1.4.1 / R1.4.2
treeblank treetree hl7:addr
AD.EPSOS 1 .. 1 R The patient address <addr> element is required. If there is no information, the nullFlavor attribute shall have a value of 'NI' and no address parts shall be present, otherwise there shall be no nullFlavor attribute, and at least one of the address parts listed below shall be present. R1.5
treeblank treeblank treetree @nullFlavor
0 .. 1 F NI
treeblank treeblank treetree hl7:streetAddressLine
0 .. * R Patient's Number of Street/Patient's Number of Street R1.5.1 / R1.5.2
treeblank treeblank treetree hl7:city
0 .. 1 R Patient's City R1.5.3
treeblank treeblank treetree hl7:postalCode
0 .. 1 R Patient's Postal Code R1.5.4
treeblank treeblank treetree hl7:state
0 .. 1 R Patient's State or Province R1.5.5
treeblank treeblank treetree hl7:country
0 .. 1 R Patient's Country. When used addr.country it is always bound to the epSOSCountry value set R1.5.6
treeblank treetree hl7:telecom
TEL 1 .. * R Patient’s telephone number / Patient e-mail address. The patient telephone or e-mail <telecom> element is required. If there is no information, the nullFlavor attribute shall have a value of 'NI' and the "value" and "use" attributes shall be omitted, otherwise the nullFlavor attribute shall not be present, and the "value" and "use" attributes shall be present Optionalities and Cardinalities of the following two items shall be interpreted according to this rule: e.g. is not expected to have two nullFlavored telecom elements. R1.6.1 / R1.6.2
treeblank treeblank treetree @use
0 .. 1  
  CONF
The value of @use shall be drawn from value set 1.3.6.1.4.1.12559.11.10.1.3.1.42.40 epSOSTelecomAddress (DYNAMIC)
treeblank treeblank treetree @nullFlavor
0 .. 1 F NI
treeblank treetree hl7:patient
1 .. 1 M (epSOSCDArecordTarget)
treeblank treeblank treetree @classCode
0 .. 1 F PSN
treeblank treeblank treetree @determinerCode
0 .. 1 F INSTANCE
treeblank treeblank treetree hl7:name
PN 1 .. * R Patient Name R1.1
treeblank treeblank treeblank treetree hl7:family
1 .. * M Patient's Family Name/Surname R1.1.1
treeblank treeblank treeblank treetree hl7:prefix
0 .. * R Patient's Prefix R1.1.2
  Constraint If the attribute qualifier is used for this element it should be derived from epSOSEntityNamePartQualifier 2.16.840.1.113883.5.43
treeblank treeblank treeblank treetree hl7:given
1 .. * M Patient's Given Name R1.1.3
treeblank treeblank treetree hl7:administrativeGenderCode
CE.EPSOS 1 .. 1 R Patient's Gender R1.2
treeblank treeblank treeblank treetree @nullFlavor
0 .. 1 F UNK
  CONF
The value of @code shall be drawn from value set 1.3.6.1.4.1.12559.11.10.1.3.1.42.34 epSOSAdministrativeGender (DYNAMIC)
treeblank treeblank treetree hl7:birthTime
TS 1 .. 1 M Patient's Date of Birth. The patient date of birth may be a partial date such as only the year. R1.3
treeblank treeblank treetree hl7:guardian
0 .. * R

The guardians of a patient shall be recorded in the <guardian> element beneath the /ClinicalDocument/recordTarget/patientRole/patient XML - <patient> element. Other patient contacts are described using the /ClinicalDocument/participant structure. The <associatedEntity> element defines the type of contact.

The relationship between the patient and the guardian or other contact should be recorded in the <code> element. The code attribute is required and comes from the HL7 PersonalRelationshipRoleType vocabulary (epSOSPersonalRelationship value set).

The address of the guardian or other contact should be present, and shall be represented, as any other address would be in CDA.

The phone number of the guardian or other contact should be present, and shall be represented, as any other phone number would be in CDA.

The name of the guardian or other contact shall be present, and shall be represented, as any other name would be in CDA.

R1.7.A
treeblank treeblank treeblank treetree @classCode
1 .. 1 F GUARD
treeblank treeblank treeblank treetree @nullFlavor
0 .. 1  
  Use nullFlavor if unknown or if no information is applicable
  Example <guardian classCode="GUARD">
  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.2.4"/>
  <addr>
    <streetAddressLine>2222 Home Street</streetAddressLine>    <city>London</city>    <state>London</state>    <postalCode>A1B 2C3</postalCode>    <country>UK</country>  </addr>
  <telecom value="tel:+452070256161"/>
  <telecom value="mailto:jsmith@myprovider.co.uk"/>
  <guardianPerson>
    <name>
      <given>John</given>      <family>Español Smith</family>    </name>
  </guardianPerson>
</guardian>
treeblank treeblank treeblank treetree hl7:templateId
II.EPSOS 1 .. 1 M Template id for IHE PCC Patient Contacts R1.7.A
treeblank treeblank treeblank treeblank treetree @root
1 .. 1 F 1.3.6.1.4.1.19376.1.5.3.1.2.4
treeblank treeblank treeblank treetree hl7:addr
AD.EPSOS 1 .. 1 R The guardian’s address <addr> element is required. If there is no information, the nullFlavor attribute shall have a value of 'NI' and no address parts shall be present, otherwise there shall be no nullFlavor attribute, and at least one of the address parts listed below shall be present R1.7.A
treeblank treeblank treeblank treeblank treetree @nullFlavor
0 .. 1 F NI
treeblank treeblank treeblank treeblank treetree hl7:streetAddressLine
0 .. * R Guardian's Number of Street/Guardian's Number of Street R1.7.A.3.1/R1.7.A.3.2
treeblank treeblank treeblank treeblank treetree hl7:city
0 .. 1 R Guardian's City R1.7.A.3.3
treeblank treeblank treeblank treeblank treetree hl7:postalCode
0 .. 1 R Guardian's Postal Code R1.7.A.3.4
treeblank treeblank treeblank treeblank treetree hl7:state
0 .. 1 R Guardian's State or Province R1.7.A.3.5
treeblank treeblank treeblank treeblank treetree hl7:country
0 .. 1 R Guardian's Country. When used addr.country it is always bound to the epSOSCountry value set R1.7.A.3.6
treeblank treeblank treeblank treetree hl7:telecom
TEL 1 .. * R Guardian’s telephone number / Patient e-mail address. The guardian telephone or e-mail <telecom> element is required. If there is no information, the nullFlavor attribute shall have a value of 'NI' and the "value" and "use" attributes shall be omitted, otherwise the nullFlavor attribute shall not be present, and the "value" and "use" attributes shall be present Optionalities and Cardinalities of the following two items shall be interpreted according to this rule: e.g. is not expected to have two nullFlavored telecom elements. R1.7.A.4.1/R1.7.A.4.2
treeblank treeblank treeblank treeblank treetree @use
0 .. 1  
  CONF
The value of @use shall be drawn from value set 1.3.6.1.4.1.12559.11.10.1.3.1.42.40 epSOSTelecomAddress (DYNAMIC)
treeblank treeblank treeblank treeblank treetree @nullFlavor
0 .. 1 F NI
treeblank treeblank treeblank treetree hl7:guardianPerson
1 .. 1 R R1.7.A
treeblank treeblank treeblank treeblank treetree hl7:name
PN 1 .. * R Patient Guardian's Name IHE PCC
Choice min 1 element(s) and max * element(s). Elements to choose from:
  • hl7:family
  • hl7:given
treeblank treeblank treeblank treeblank treeblank treeblank treetree hl7:family
1 .. * R Patient Guardian's Family Name/Surname R1.7.A.1
treeblank treeblank treeblank treeblank treeblank treeblank treetree hl7:given
1 .. * R Patient Guardian's Given Name R1.7.A.2
treeblank treeblank treetree hl7:languageCommunication
1 .. * R This element is derived from the IHE template LanguageCommunication (1.3.6.1.4.1.19376.1.5.3.1.2.1), however this template does not need the element preferenceInd because the language is already said to be the "preferred language". (epSOSCDArecordTarget)
treeblank treeblank treeblank treetree hl7:languageCode
CS 1 .. 1 R Patient’s preferred language
  • The language code SHALL be in the form nn-CC.
  • The nn portion SHALL be an ISO-639-1 language code in lower case derived by the Value Set epSOSLanguage.
  • The CC portion SHALL be an ISO-3166 country code in upper case derived by the value Set epSOSCountry
R1.7
  Example <languageCode code="en-GB"/>
  Schematron assert role red error
  test matches(@code,'[a-z]{2}-[A-Z]{2}')
  Message The language code SHALL be in the form nn-CC where nn is ISO-639-1 epSOSLanguage and CC is ISO-3166 epSOSCountry