templates/_medications.c32.erb in health-data-standards-0.7.1 vs templates/_medications.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.7"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1"/>
<id root="<%= UUID.generate %>"/>
<statusCode code="completed"/>
<effectiveTime xsi:type="IVL_TS">
- <low value="<%= Time.at(entry.time).utc.to_formatted_s(:number) %>"/>
+ <low <%= value_or_null_flavor(entry.as_point_in_time) %>/>
<high nullFlavor="UNK"/>
</effectiveTime>
<consumable>
<!--CCD Product - Required-->
<manufacturedProduct classCode="MANU">
\ No newline at end of file