templates/cat1/_2.16.840.1.113883.10.20.24.3.64.cat1.erb in health-data-standards-3.1.1 vs templates/cat1/_2.16.840.1.113883.10.20.24.3.64.cat1.erb in health-data-standards-3.2.0
- old
+ new
@@ -3,11 +3,11 @@
<!-- Procedure performed template -->
<templateId root="2.16.840.1.113883.10.20.24.3.64"/>
<!-- Procedure Activity Procedure-->
<templateId root="2.16.840.1.113883.10.20.22.4.14"/>
<id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
- <%== code_display(entry, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT', 'CPT', 'ICD-9-PCS', 'ICD-10-PCS'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %>
+ <%== code_display(entry, 'value_set_map' => value_set_map, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT', 'CPT', 'ICD-9-PCS', 'ICD-10-PCS'], '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) %>/>
@@ -25,6 +25,10 @@
<effectiveTime <%= value_or_null_flavor(entry.incision_time) %>/>
</procedure>
</entryRelationship>
<% end -%>
</procedure>
-</entry>
+</entry>
+
+<% unless entry.values.compact.empty? %>
+ <%== render(:partial => '2.16.840.1.113883.10.20.24.3.66', :locals => {:entry => entry,:value_set_oid=>value_set_oid,:value_set_map=>value_set_map }) %>
+<% end -%>
\ No newline at end of file