Back To Index  <<  Back To Templates

active Template  External document

Id 2.16.756.5.30.1.1.10.4.29
ref
hl7chcda-
Effective Date 2018‑04‑18
Status active Active Version Label 2017
Name cdach_entry_ExternalDocument Display Name External document
Description
External documents can be included in a CDA document, either by means of references or by means of XML embedding.
This template defines a reference to an external document, only.
Embedded documents can be created with the template Observation Media (or derived templates).
Context Parent nodes of template element with id 2.16.756.5.30.1.1.10.4.29
Label CDA‑CH V2
Classification CDA Entry Level Template
Open/Closed Open (other than defined elements are allowed)
Used by / Uses
Used by 1 transaction and 19 templates, Uses 0 templates
Used by as Name Version
cdachlrep-transaction-2 Transaction pending CDA-CH-LREP - General Laboratory Report (2018) 2018‑03‑06 18:38:46
2.16.756.5.30.1.1.10.4.118 Containment active Laboratory Report Data Processing Entry (2020) 2020‑06‑26
2.16.756.5.30.1.1.10.3.76 link active Laboratory Report Item Section - coded (2020) 2020‑06‑26
2.16.756.5.30.1.1.10.3.77 link active Laboratory Speciality Section - coded (2020) 2020‑06‑26
2.16.756.5.30.1.1.10.1.10 link active General Laboratory Report (2020) 2020‑06‑26
2.16.756.5.30.1.1.10.4.17 Containment active Laboratory Isolate Organizer (2019) 2019‑08‑20
2.16.756.5.30.1.1.10.4.4 link active Laboratory Report Data Processing Entry (2019) 2019‑08‑20
2.16.756.5.30.1.1.10.3.3 link active Laboratory Speciality Section - coded (2019) 2019‑08‑20
2.16.756.5.30.1.1.10.1.10 link rejected General Laboratory Report (2018) 2018‑04‑19
2.16.756.5.30.1.1.10.3.5 link active Laboratory Report Item Section - coded (2019) 2019‑08‑20
2.16.756.5.30.1.1.10.4.17 Containment rejected Laboratory Isolate Organizer (2017) 2017‑06‑21
2.16.756.5.30.1.1.10.4.19 Containment active Laboratory Battery Organizer (2019) 2019‑08‑20
2.16.756.5.30.1.1.10.4.19 Containment rejected Laboratory Battery Organizer (2017) 2017‑06‑21
2.16.756.5.30.1.1.10.4.3 Containment active Laboratory Observation (2020) 2019‑08‑20
notice Circular reference found with 2.16.756.5.30.1.1.10.4.3, please check
2.16.756.5.30.1.1.10.4.11 link active Specimen Collection (2019) 2019‑08‑20
2.16.756.5.30.1.1.10.4.3 link rejected Laboratory Observation (2017) 2017‑06‑21
notice Circular reference found with 2.16.756.5.30.1.1.10.4.3, please check
2.16.756.5.30.1.1.10.4.85 link active Laboratory Isolate Organizer - Pathogen Detection (2020) 2020‑06‑26
2.16.756.5.30.1.1.10.4.87 link active Laboratory Battery Organizer - Antibiogram (2020) 2020‑06‑26
2.16.756.5.30.1.1.10.4.87 link rejected Laboratory Battery Organizer - Antibiogram (2018) 2018‑04‑19
2.16.756.5.30.1.1.10.4.11 link rejected Specimen Collection (2017) 2017‑06‑21
Relationship Specialization: template 2.16.840.1.113883.10.12.328 CDA ExternalDocument (2005‑09‑07)
ref
ad1bbr-

Adaptation: template 2.16.840.1.113883.10.20.1.36 Advance directive reference (DYNAMIC)
ref
ccd1-
Example
Example
<externalDocument classCode="DOC" moodCode="EVN">
  <templateId root="2.16.756.5.30.1.1.10.4.29"/>  <id root="2.999" extension="your id"/>  <text>
    <reference value="http://foo.bar"/>  </text>
</externalDocument>
Item DT Card Conf Description Label
hl7:externalDocument
Reference to an external document. CDA‑CH V2
@classCode
cs 1 … 1 F DOC
@moodCode
cs 1 … 1 F EVN
hl7:templateId
II 1 … 1 CDA‑CH V2
@root
uid 1 … 1 F 2.16.756.5.30.1.1.10.4.29
hl7:id
II 1 … * M MUST contain the id of the external document. CDA‑CH V2
@root
uid 1 … 1 R MUST contain the OID of the system that issued the ID. OIDs of code systems, which are published in the public OID registry for the Swiss health care system (oid.refdata.ch) are REQUIRED. Others are NOT ALLOWED.
@extension
st 0 … 1   Contains the ID itself. The ID MUST be unique within the system that issued the ID.
hl7:code
NP CDA‑CH V2
hl7:text
ED 0 … 1 The external document MUST be declared as a link.
The link MUST be declared as an URL, which points to the referenced document.
The same link MUST be used in the human readable part (narrative text) using the <linkHTML> element.
CDA‑CH V2
hl7:reference
CDA‑CH V2
  Schematron assert role red error  
  test not(@value) or @value=ancestor::hl7:section/hl7:text//hl7:linkHtml/@href  
  Message The URL of a referenced document MAY be present, and SHALL be represented in Observation / reference / ExternalDocument / text / reference. A <linkHTML> element containing the same URL SHOULD be present in the associated CDA Narrative Block.