Back To Index  <<  Back To Templates

draft Template  External Reference

Template (internal) 1.3.6.1.4.1.19376.1.5.3.1.4.4 - EntryExternalReference
Id 1.3.6.1.4.1.19376.1.5.3.1.4.4
Version valid from 2013‑12‑20 status draft Under develeopment
Classification CDA Entry Level Template
Open/Closed Open (other than defined elements are allowed)
Description

CDA Documents may reference information contained in other documents. While CDA Release 2.0 supports references in content via the <linkHtml> element, this is insufficient for many EMR systems as the link is assumed to be accessible via a URL, which is often not the case. In order to link an external reference, one needs the document identifier, and access to the clinical system wherein the document resides. For a variety of reasons, it is desirable to refer to the document by its identity, rather than by linking through a URL.

  1. The identity of a document does not change, but the URLs used to access it may vary depending upon location, implementation, or other factors.
  2. Referencing clinical documents by identity does not impose any implementation specific constraints on the mechanism used to resolve these references, allowing the content to be implementation neutral. For example, in the context of an XDS Affinity domain the clinical system used to access documents would be an XDS Registry and one or more XDS Repositories where documents are stored. In other contexts, access might be through a Clinical Data Repository (CDR), or Document Content Management System (DCMS). Each of these may have different mechanisms to resolve a document identifier to the document resource.
  3. The identity of a document is known before the document is published (e.g., in an XDS Repository, Clinical Data Repository, or Document Content Management System), but its URL is often not known. Using the document identity allows references to existing documents to be created before those documents have been published to a URL. This is important to document creators, as it does not impose workflow restrictions on how links are created during the authoring process.

Fortunately, CDA Release 2.0 also provides a mechanism to refer to external documents in an entry, as shown below.

Used by / Uses
Used by / Uses 3 templates
Used by Template id as Name Version
1.3.6.1.4.1.19376.1.5.3.1.3.28 Containment SectionCodedResults Section Coded Results 2013‑12‑20
1.3.6.1.4.1.12559.11.10.1.3.1.1.3 link epSOS-PS epSOS-Patient Summary 2013‑12‑20
1.3.6.1.4.1.12559.11.10.1.3.1.1.4 link epSOS-HCER epSOS-Health Care Encounter Report 2013‑12‑20
Example <act classCode="ACT" moodCode="EVN">
  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.4"/>
  <id root="" extension=""/>
  <code nullFlavor="NA"/>
  <text>
    <reference value="#study-1"/>
  </text>
  <!-- For CDA -->
  <reference typeCode="REFR|SPRT">
    <externalDocument classCode="DOC" moodCode="EVN">
      <id extension="" root=""/>
      <text>
        <reference value="http://foo.."/>
      </text>
    </externalDocument>
  </reference>
  <!-- For HL7 Version 3 Messages <sourceOf typeCode='REFR|SPRT'>
<act classCode='DOC' moodCode='EVN'>
<id extension='' root=''/>
<text><reference value='http://foo...'</text>
</act>
</sourceOf>-->
</act>
Item DT Card Conf Description Label
hl7:act
R (EntryExternalReference)
treetree @classCode
1 .. 1 F ACT
treetree @moodCode
1 .. 1 F EVN
treetree hl7:templateId
II 1 .. 1 R The <templateId> element identifies this <act> as a reference act, allowing for validation of the content. As a side effect, readers of the CDA can quickly locate and identify reference acts. (EntryExternalReference)
treeblank treetree @root
1 .. 1 F 1.3.6.1.4.1.19376.1.5.3.1.4.4
treetree hl7:id
II.EPSOS 1 .. 1 R The reference is an act of itself, and must be uniquely identified. If there is no explicit identifier for this act in the source EMR system, a GUID may be used for the root attribute, and the extension may be omitted. (EntryExternalReference)
treetree hl7:code
CD 1 .. 1 R The reference act has no code associated with it. (EntryExternalReference)
treeblank treetree @nullFlavor
1 .. 1 F NA
treetree hl7:text
ED 0 .. 1 R In order to connect this external reference to the narrative text which it refers, the value of the <reference> element in the <text> element is a URI to an element in the CDA narrative of this document. (EntryExternalReference)
treetree hl7:reference
R External references are listed as either supporting documentation (typeCode='SPRT') or simply reference material (typeCode='REFR') for the reader. If this distinction is not supported by the source EMR system, the value of typeCode should be REFR. For CDA, the reference is indicated by a <reference> element containing an <externalDocument> element which documents (classCode='DOC') the event (moodCode='EVN'). For HL7 Version 3 Messages, the reference is represented with the element <sourceOf> and the external document is represented with a <act> element, however semantics, and attributes remain otherwise without change. (EntryExternalReference)
treeblank treetree @typeCode
cs 1 .. 1 R
  CONF
@typeCode shall be "SPRT"
or
@typeCode shall be "REFR"
treeblank treetree hl7:externalDocument
R (EntryExternalReference)
treeblank treeblank treetree @classCode
0 .. 1 F DOC
treeblank treeblank treetree @moodCode
0 .. 1 F EVN
treeblank treeblank treetree hl7:id
II.EPSOS 1 .. 1 R The identifier of the document is supplied in the <id> element. (EntryExternalReference)
treeblank treeblank treetree hl7:text
ED 0 .. 1 R A link to the original document may be provided here. This shall be a URL where the referenced document can be located. For CDA, the link should also be present in the narrative inside the CDA Narrative in a <linkHTML> element. (EntryExternalReference)