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

- old
+ new

@@ -16,10 +16,10 @@ <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.4" assigningAuthorityName="IHE PCC"/> <!-- Social history observation template --> <id root="<%= UUID.generate %>"/> <%== code_display(entry, {:preferred_code_sets => ['SNOMED-CT']}) %> <statusCode code="completed"/> - <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