templates/cat1/_medication_details.cat1.erb in health-data-standards-3.2.3 vs templates/cat1/_medication_details.cat1.erb in health-data-standards-3.2.4
- old
+ new
@@ -1,8 +1,8 @@
<% if entry.respond_to?(:route) && entry.route.present?
# hard coded to NCI Thesaurus for the code system since Cat I mandates that
-%>
-<routeCode code="<%= entry.route['code'] %>" codeSystem="<%= entry.route['codeSystem'] %>"/>
+<routeCode code="<%= entry.route['code'] %>" codeSystem="<%= HealthDataStandards::Util::CodeSystemHelper.oid_for_code_system(entry.route['code_system']) %>"/>
<% end -%>
<% if entry.respond_to?(:dose) && entry.dose.present? -%>
<doseQuantity value="<%= entry.dose['value']%>"/>
<% end -%>
\ No newline at end of file