templates/_procedures.c32.erb in health-data-standards-0.7.1 vs templates/_procedures.c32.erb in health-data-standards-0.8.0
- old
+ new
@@ -21,10 +21,10 @@
:preferred_code_sets => ['CPT', 'ICD-9-CM', 'ICD-10-CM', 'HCPCS', 'SNOMED-CT']} %>
<text>
<reference value="#procedures-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) %>/>
</procedure>
</entry>
<% end -%>
</section>
</component>
\ No newline at end of file