templates/_medical_equipment.c32.erb in health-data-standards-0.7.1 vs templates/_medical_equipment.c32.erb in health-data-standards-0.8.0
- old
+ new
@@ -13,10 +13,10 @@
<supply classCode="SPLY" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.1.34"/>
<!-- Supply activity template -->
<id root="<%= UUID.generate %>"/>
<statusCode code="completed"/>
- <effectiveTime value="<%= Time.at(entry.time).utc.to_formatted_s(:number) %>"/>
+ <effectiveTime <%= value_or_null_flavor(entry.as_point_in_time) %>/>
<participant typeCode="DEV">
<participantRole classCode="MANU">
<templateId root="2.16.840.1.113883.10.20.1.52"/>
<!-- Product instance template -->
<addr/>
\ No newline at end of file