templates/_results.c32.erb in health-data-standards-0.7.1 vs templates/_results.c32.erb in health-data-standards-0.8.0

- old
+ new

@@ -42,10 +42,10 @@ <%== code_display(entry, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT']) %> <text> <reference value="#results-desc-<%= i %>"/> </text> <statusCode code="completed"/> - <effectiveTime value="<%= Time.at(entry.time).utc.to_formatted_s(:number) %>"/> + <effectiveTime <%= value_or_null_flavor(entry.as_point_in_time) %>/> <% if entry.value -%> <value xsi:type="PQ" value="<%= entry.value["scalar"] %>" <% if entry.value["units"]-%>unit="<%= entry.value["units"] %>"<% end -%>/> <% else -%> <value xsi:type="PQ" nullFlavor="UNK"/> <% end -%> \ No newline at end of file