templates/cat3/_supplemental_data.cat3.erb in health-data-standards-3.5.2 vs templates/cat3/_supplemental_data.cat3.erb in health-data-standards-3.5.3
- old
+ new
@@ -1,14 +1,20 @@
<!-- Supplemental Date Template -->
<entryRelationship typeCode="COMP">
<observation classCode="OBS" moodCode="EVN">
<!-- <%= template_name %> -->
- <templateId root="<%= template_id %>"/>
+ <% template_ids.each do |tid| %>
+ <templateId root="<%= tid %>"/>
+ <% end %>
<id nullFlavor="NA" />
<code code="<%= supplemental_data_code %>"
codeSystem="<%= supplemental_data_code_system %>"/>
<statusCode code="completed"/>
+ <effectiveTime>
+ <low nullFlavor="NA"/>
+ <high nullFlavor="NA"/>
+ </effectiveTime>
<% if supplemental_data_value_code == "" || supplemental_data_value_code == "UNK" -%>
<value xsi:type="CD"
nullFlavor="UNK" />
<% else -%>
\ No newline at end of file