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

- old
+ new

@@ -1,8 +1,14 @@ <% if entry.respond_to?(:route) && entry.route.present? # hard coded to NCI Thesaurus for the code system since Cat I mandates that + vset = oid_for_code(entry.route,route_oids, entry.record["bundle_id"]) -%> -<routeCode code="<%= entry.route['code'] %>" codeSystem="<%= HealthDataStandards::Util::CodeSystemHelper.oid_for_code_system(entry.route['code_system']) %>"/> +<routeCode code="<%= entry.route['code'] %>" + codeSystem="<%= HealthDataStandards::Util::CodeSystemHelper.oid_for_code_system(entry.route['code_system']) %>" + <% if vset -%> + sdtc:valueSet="<%= vset %>" + <% end -%> + /> <% end -%> <% if entry.respond_to?(:dose) && entry.dose.present? -%> <doseQuantity value="<%= entry.dose['value']%>"/> <% end -%> \ No newline at end of file