templates/_care_goals.c32.erb in health-data-standards-0.7.1 vs templates/_care_goals.c32.erb in health-data-standards-0.8.0
- old
+ new
@@ -15,10 +15,10 @@
<templateId root="2.16.840.1.113883.10.20.1.25"/>
<!-- Plan of Activity activity template -->
<id root="<%= UUID.generate %>"/>
<%== code_display(entry, :preferred_code_sets => ['SNOMED-CT']) %>
<statusCode code="new"/>
- <effectiveTime value="<%= Time.at(entry.time).utc.to_formatted_s(:number) %>"/>
+ <effectiveTime <%= value_or_null_flavor(entry.as_point_in_time) %>/>
</observation>
</entry>
<% end -%>
</section>
</component>
\ No newline at end of file