templates/cat1/_result_value.cat1.erb in health-data-standards-3.2.11 vs templates/cat1/_result_value.cat1.erb in health-data-standards-3.2.12

- old
+ new

@@ -12,10 +12,10 @@ end -%> <%== code_display(ev, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT', 'ICD-9-CM', 'ICD-10-CM'], 'tag_name' => 'value', 'extra_content' => extra_content) %> <% elsif ev.respond_to?(:scalar) -%> <% if is_num?(ev.scalar) -%> - <value xsi:type="PQ" value="<%= ev.scalar %>" <% if ev.units && (ev.units != "") -%>unit="<%= ev.units %>"<% end -%>/> + <value xsi:type="PQ" value="<%= ev.scalar.to_s.strip %>" <% if ev.units && (ev.units != "") -%>unit="<%= ev.units %>"<% end -%>/> <% elsif is_bool?(ev.scalar)%> <value xsi:type="BL" value="<%= ev.scalar %>" /> <% else -%> <value xsi:type="ST" ><%= ev.scalar %></value> <% end \ No newline at end of file