Back To Index << Back To Templates

# Template eHDSI Internal Reference

Id | 1.3.6.1.4.1.19376.1.5.3.1.4.4.1 | Effective Date | 2020‑04‑16 13:07:00 Other versions this id: eHDSIInternalReference as of 2020‑09‑03 12:51:24 EntryInternalReference as of 2013‑12‑20
Status | Retired | Version Label |
Name | eHDSIInternalReference | Display Name | eHDSI Internal Reference
Description | CDA and HL7 Version 3 Entries may reference (point to) information contained in other entries within the same document or message as shown below.
Classification | CDA Entry Level Template
Open/Closed | Open (other than defined elements are allowed)
Used by / Uses |
Used by 2 transactions and 12 templates, Uses 0 templates
Used by | as | Name | Version
--- | --- | --- | ---
epsos-transactions-23 | Transaction | Return MRO | 2013‑11‑02
epsos-transactions-12 | Transaction | Return PS of country A | 2012‑05‑02
1.3.6.1.4.1.19376.1.5.3.1.4.19 | Containment | eHDSI Procedure | 2020‑04‑16 13:27:07
1.3.6.1.4.1.12559.11.10.1.3.1.2.5 |  | eHDSI Coded Results | 2020‑04‑16 12:13:16
1.3.6.1.4.1.12559.11.10.1.3.1.2.5 |  | Section Coded Results | 2013‑12‑20
1.3.6.1.4.1.19376.1.5.3.1.3.12 |  | eHDSI List of Surgeries | 2020‑04‑16 12:10:44
1.3.6.1.4.1.12559.11.10.1.3.1.1.3 |  | eHDSI Patient Summary | 2020‑04‑14 13:03:47
1.3.6.1.4.1.12559.11.10.1.3.1.1.3 |  | epSOS-Patient Summary | 2018‑11‑14 10:53:50
1.3.6.1.4.1.12559.11.10.1.3.1.1.3 |  | epSOS-Patient Summary | 2013‑12‑20
1.3.6.1.4.1.12559.11.10.1.3.1.1.4 |  | epSOS-Health Care Encounter Report | 2018‑11‑14 09:02:41
1.3.6.1.4.1.12559.11.10.1.3.1.1.4 |  | epSOS-Health Care Encounter Report | 2013‑12‑20
1.3.6.1.4.1.19376.1.5.3.1.3.12 |  | Section Coded List of Surgeries | 2013‑12‑20
1.3.6.1.4.1.19376.1.5.3.1.4.19 | Containment | Procedure | 2019‑04‑09 08:30:24
1.3.6.1.4.1.19376.1.5.3.1.4.19 | Containment | Procedure | 2013‑12‑20
Example |
Example
<act classCode="ACT" moodCode=""> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.4.1"/> <id root="" extension=""/> <code code="" displayName="" codeSystem="" codeSystemName=""/></act>
Item | DT | Card | Conf | Description | Label
--- | --- | --- | --- | --- | ---
hl7:act |  |  | R |  |
@classCode |  | 1 … 1 | F | ACT
@moodCode |  | 1 … 1 | R | The @moodCode of the reference SHALL match the @moodCode of the referenced element
| Variable let | Name | refMoodCode |
| Value | @moodCode |
| Variable let | Name | refID |
| Value | concat(hl7:id[1]/@root,'#',hl7:id[1]/@extension) |
| Variable let | Name | refCode |
| Value | concat(hl7:code[1]/@code,'#',hl7:code[1]/@codeSystem) |
| Variable let | Name | reffedObject |
| Value | (ancestor::hl7:ClinicalDocument//*:id[concat(@root,'#',@extension)=$refID][not(preceding-sibling::hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1')]/parent::*)[1] |
| Schematron assert | role | error |
| test | not(exists($reffedObject)) or $reffedObject[@moodCode=$refMoodCode] |
| Message | The @moodCode of the reference SHALL match the @moodCode of the referenced element |
| Schematron assert | role | error |
| test | exists($reffedObject) |
| Message | The root and extension attributes SHALL identify an element defined elsewhere in the same document. |
| Schematron assert | role | error |
| test | not(exists($reffedObject)) or ($reffedObject[not(*:code/@code)] and hl7:code[@nullFlavor='NA']) or $reffedObject/*:code[concat(@code,'#',@codeSystem)=$refCode] |
| Message | The code of the reference SHALL match the code of the referenced element |
hl7:templateId | II | 1 … 1 | R | The <templateId> element identifies this as an internal reference that conforms to all rules specified in this section. |
@root |  | 1 … 1 | F | 1.3.6.1.4.1.19376.1.5.3.1.4.4.1
hl7:id | II.EPSOS | 1 … 1 | R | This element shall be present. The root and extension attributes shall identify an element defined elsewhere in the same document. |
hl7:code | CD | 1 … 1 | R | This element shall be present. It shall be valued when the internal reference is to element that has a <code> element, and shall have the same attributes as the <code> element in the act it references. If the element it references does not have a <code> element, then the nullFlavor attribute should be set to "NA". |
@nullFlavor |  | 0 … 1 | F | NA