Id2.16.840.1.113883.2.51.10.18Effective Date2021‑09‑21 17:43:00
Statusactive ActiveVersion Label1.0
NameXeHEntryInternalReferenceDisplay NameXeH Internal Reference
DescriptionThis template is used to reference (point to) information contained in other entries within the same document.
ClassificationCDA Entry Level Template
Open/ClosedOpen (other than defined elements are allowed)
Used by / Uses
Used by 0 transactions and 4 templates, Uses 0 templates
Used by as NameVersion
2.16.840.1.113883.2.51.10.17Containmentactive XeH Alerts Section (1.0)2021‑09‑10 15:24:33
2.16.840.1.113883.2.51.10.37Containmentactive XeH Care Team Act (1.0)2021‑10‑18 16:15:10
2.16.840.1.113883.2.51.10.56Containmentactive XeH Laboratory Observation (1.0)2022‑02‑16 15:03:27
2.16.840.1.113883.2.51.10.70Containmentactive XeH Laboratory Battery Organizer (2017)2022‑05‑09 22:33:51
RelationshipAdaptation: template 2.16.840.1.113883.10.22.4.31 IPS Internal Reference (2017‑05‑02)
ref
hl7ips-

Adaptation: template 1.3.6.1.4.1.19376.1.5.3.1.4.4.1 IHE Internal Reference Entry (2013‑12‑20)
ref
IHE-PCC-
Example
Reference to an uncoded element
<act classCode="ACT" moodCode="cs">
  <templateId root="2.16.840.1.113883.10.22.4.31"/>  <id root="1.2.3.999" extension="__example only__"/>  <code nullFlavor="NA"/></act>
ItemDTCardConfDescriptionLabel
hl7:act
RXeHEdotsence
@classCode
cs1 … 1FACT
@moodCode
cs1 … 1RThe @moodCode of the reference SHALL match the @moodCode of the referenced element
 Variable letNamerefMoodCode 
 Value@moodCode 
 Variable letNamerefID 
 Valueconcat(hl7:id[1]/@root,'#',hl7:id[1]/@extension) 
 Variable letNamerefCode 
 Valueconcat(hl7:code[1]/@code,'#',hl7:code[1]/@codeSystem) 
 Variable letNamereffedObject 
 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 assertrolered error 
 testnot(exists($reffedObject)) or $reffedObject[@moodCode=$refMoodCode] 
 MessageThe @moodCode of the reference SHALL match the @moodCode of the referenced element 
 Schematron assertrolered error 
 testexists($reffedObject) 
 MessageThe root and extension attributes SHALL identify an element defined elsewhere in the same document. 
 Schematron assertrolered error 
 testnot(exists($reffedObject)) or ($reffedObject[not(*:code/@code)] and hl7:code[@nullFlavor='NA']) or $reffedObject/*:code[concat(@code,'#',@codeSystem)=$refCode] 
 MessageThe code of the reference SHALL match the code of the referenced element 
Choice1 … 1
At least one template id indicating that this instance is compliant with template is included. 
Elements to choose from:
  • hl7:templateId
  • hl7:templateId
hl7:templateId
II0 … 1RThis template id
XeHEdotsence
@root
uid1 … 1F2.16.840.1.113883.2.51.10.18
hl7:templateId
II0 … 1RTemplate id of IHE Internal Reference
XeHEdotsence
@root
uid1 … 1F1.3.6.1.4.1.19376.1.5.3.1.4.4.1
hl7:templateId
II0 … *Other template ids, if applicableXeHEdotsence
hl7:id
II1 … 1RThis element shall be present. The root and extension attributes shall identify an element defined elsewhere in the same document.XeHEdotsence
hl7:code
CD0 … 1RThis element shall be present. It shall be valued when the internal reference is to element that has a element, and shall have the same attributes as the element in the act it references. If the element it references does not have a element, then the nullFlavor attribute should be set to "NA".XeHEdotsence
@nullFlavor
cs0 … 1FNA