My question is if the entry/clinical statement in CDA document is identifiable by the parent section. I have come across a situation where I need to identify which entry belongs to the section. For example the section below
<section>
<!-- conforms to Vital Signs section with entries optional -->
<templateId root="2.16.840.1.113883.10.20.22.2.4"/>
<!-- Vital Signs section with entries required -->
<templateId root="2.16.840.1.113883.10.20.22.2.4.1"/>
<code code="8716-3" codeSystem="2.16.840.1.113883.6.1"
codeSystemName="LOINC" displayName="Vital Signs"/>
Is this section related to which of the first entry or the second entry below?
First entry
<entry typeCode="DRIV">
<organizer classCode="CLUSTER" moodCode="EVN">
<!-- ** Vital signs organizer ** -->
<templateId root="2.16.840.1.113883.10.20.22.4.26"/>
<id root="c6f88320-67ad-11db-bd13-0800200c9a66"/>
<code xsi:type="CD" code="46680005" codeSystem="2.16.840.1.113883.6.96"
codeSystemName="SNOMED-CT" displayName="Vital signs"/>
Second entry
<entry typeCode="DRIV">
<procedure classCode="ACT" moodCode="EVN">
<!-- Procedure Activity Act Template -->
<templateId root="2.16.840.1.113883.10.20.22.4.12"/>
<id root="e401f340-7be2-11db-9fe1-0800200c9a66"/>
<code xsi:type="CE" code="97802" codeSystem="2.16.840.1.113883.6.12"
displayName="Medical nutrition, indiv, in"
codeSystemName="CPT">
Clearly the first entry is related to the section if you go through the contents as both are related to vital signs. This is a manual process. Is there any rule in the CDA schema that makes it crystal clear so that it can be implemented/identified in an automated way generally as a program?
The entries that belong to the section should be enclosed in between the two section tags. So for the Vital Signs Section you show, it will have additional fields below the portion you provide and then the entries and the section ends with a closing section tag.