templates/cat1/_2.16.840.1.113883.10.20.24.3.2.cat1.erb in health-data-standards-3.5.2 vs templates/cat1/_2.16.840.1.113883.10.20.24.3.2.cat1.erb in health-data-standards-3.5.3
- old
+ new
@@ -1,18 +1,18 @@
<entry>
- <act classCode="ACT" moodCode="EVN">
+ <act classCode="ACT" moodCode="EVN" <%== negation_indicator(entry) %>>
<!-- Communication from patient to provider -->
<templateId root="2.16.840.1.113883.10.20.24.3.2"/>
<id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
- <%== code_display(entry, 'value_set_map' => value_set_map, 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %>
+ <%== code_display(entry, 'value_set_map' => value_set_map, 'preferred_code_sets' => ['SNOMED-CT'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %>
<text><%= entry.description %></text>
<statusCode code="completed"/>
<effectiveTime>
<low <%= value_or_null_flavor(entry.start_time) %>/>
<high <%= value_or_null_flavor(entry.end_time) %>/>
</effectiveTime>
-
+
<participant typeCode="AUT">
<participantRole classCode="PAT">
<code code="116154003" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Patient"/>
</participantRole>
</participant>
@@ -20,8 +20,10 @@
<participant typeCode="IRCP">
<participantRole classCode="ASSIGNED">
<code code="158965000" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Medical Practitioner"/>
</participantRole>
</participant>
+
+ <%== render(:partial => 'reason', :locals => {:entry => entry, :reason_oids=>field_oids["REASON"]}) %>
</act>
</entry>
\ No newline at end of file