templates/cat1/_2.16.840.1.113883.10.20.24.3.40.cat1.erb in health-data-standards-3.0.6 vs templates/cat1/_2.16.840.1.113883.10.20.24.3.40.cat1.erb in health-data-standards-3.1.0
- old
+ new
@@ -8,10 +8,11 @@
<id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
<%== code_display(entry, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT', 'ICD-9-CM', 'ICD-10-CM'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %>
<text><%= entry.description %></text>
<statusCode code="completed"/>
<effectiveTime>
- <low value="<%= entry.start_time %>"/>
+ <low <%= value_or_null_flavor(entry.start_time) %>/>
+ <high <%= value_or_null_flavor(entry.end_time) %>/>
</effectiveTime>
<%== render(:partial => 'result_value', :locals => {:entry => entry}) %>
</observation>
</entry>
\ No newline at end of file