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
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.
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
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.