templates/_encounters.c32.erb in health-data-standards-0.7.1 vs templates/_encounters.c32.erb in health-data-standards-0.8.0
- old
+ new
@@ -19,10 +19,10 @@
<%== render :partial => 'code_with_reference', :locals => {:entry => entry, :i => i, :section => 'encounters',
:preferred_code_sets => ['CPT']} %>
<text>
<reference value="#encounters-desc-<%= i %>"/>
</text>
- <effectiveTime value="<%= Time.at(entry.time).utc.to_formatted_s(:number) %>"/>
+ <effectiveTime <%= value_or_null_flavor(entry.as_point_in_time) %>/>
</encounter>
</entry>
<% end -%>
</section>
</component>
\ No newline at end of file