templates/_immunizations.c32.erb in health-data-standards-0.7.1 vs templates/_immunizations.c32.erb in health-data-standards-0.8.0
- old
+ new
@@ -19,10 +19,10 @@
<code code='IMMUNIZ' codeSystem='2.16.840.1.113883.5.4' codeSystemName='ActCode'/>
<text>
<reference value="#immunizations-desc-<%= i %>"/>
</text>
<statusCode code="completed"/>
- <effectiveTime value="<%= Time.at(entry.time).utc.to_formatted_s(:number) %>"/>
+ <effectiveTime <%= value_or_null_flavor(entry.as_point_in_time) %>/>
<doseQuantity nullFlavor="UNK"/>
<consumable>
<manufacturedProduct>
<templateId root="2.16.840.1.113883.10.20.1.53"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2"/>
\ No newline at end of file