templates/cat1/_2.16.840.1.113883.10.20.24.3.47.cat1.erb in health-data-standards-3.2.7 vs templates/cat1/_2.16.840.1.113883.10.20.24.3.47.cat1.erb in health-data-standards-3.2.8

- old
+ new

@@ -9,19 +9,19 @@ <statusCode code="new"/> <effectiveTime xsi:type="IVL_TS"> <low <%= value_or_null_flavor(entry.start_time) %>/> <high <%= value_or_null_flavor(entry.end_time) %>/> </effectiveTime> - <%== render(:partial => 'medication_details', :locals => {:entry => entry}) %> + <%== render(:partial => 'medication_details', :locals => {:entry => entry, :route_oids=>field_oids["ROUTE"]}) %> <consumable> <manufacturedProduct classCode="MANU"> <!-- Medication Information (consolidation) template --> <templateId root="2.16.840.1.113883.10.20.22.4.23"/> <id root="<%= UUID.generate %>"/> <manufacturedMaterial> <%== code_display(entry, 'value_set_map' => value_set_map, 'preferred_code_sets' => ['RxNorm', 'SNOMED-CT'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %> </manufacturedMaterial> </manufacturedProduct> </consumable> - <%== render(:partial => 'reason', :locals => {:entry => entry}) %> + <%== render(:partial => 'reason', :locals => {:entry => entry, :reason_oids=>field_oids["REASON"]}) %> </substanceAdministration> </entry> \ No newline at end of file