Consolidated CDA Release 2.1 StructureDefinition Publication, published by Health Level Seven. This is not an authorized publication; it is the continuous build for version 2.1). This version is based on the current content of https://github.com/HL7/CDA-ccda-2.1-sd/ and changes regularly. See the Directory of published versions
This content is an example of the Entry Reference Logical Model and is not a FHIR Resource
<!-- Show how an encounter can include a discharge diagnosis which references an
item on the problem list using the Entry Reference template -->
<!-- Problem Section -->
<observation xmlns="urn:hl7-org:v3">
<id root="1234567" />
<code code="123" codeSystem="1.2.3" displayName="asthma" />
</observation>
<!-- Encounter Section -->
<encounter xmlns="urn:hl7-org:v3">
<entryRelationship typeCode="COMP">
<act>
<code code="145" codeSystem="4.5.6" displayName="discharge diagnosis" />
<templateId root="2.16.840.1.113883.10.20.22.4.33" extension="2014-06-09" />
<!-- this is for illustrative purposes only. In this particular
case, the template requires a nested Problem
Observation. In the Health Concern template,
we'd need a constraint that says it's allowable to
include the Entry Reference template. -->
<entryRelationship typeCode="SUBJ">
<act classCode="ACT" moodCode="XXX">
<templateId root="2.16.840.1.113883.10.20.22.4.122" />
<id root="1234567" />
<code nullFlavor="NP" />
</act>
</entryRelationship>
</act>
</entryRelationship>
</encounter>