lib/hqmf-generator/variable_criteria.xml.erb in health-data-standards-3.4.6 vs lib/hqmf-generator/variable_criteria.xml.erb in health-data-standards-3.5.0
- old
+ new
@@ -1,10 +1,9 @@
<entry typeCode="DRIV">
+ <%= xml_for_local_variable(criteria) %>
<observationCriteria moodCode="EVN" classCode="OBS">
<%= xml_for_template(criteria, is_source_data_criteria) %>
- <id>
- <item root="2.16.840.1.113883.3.100.1" extension="<%= criteria.id %>"/>
- </id>
+ <id root="2.16.840.1.113883.3.100.1" extension="<%= criteria.id %>"/>
<%= xml_for_description(criteria) %>
<%= xml_for_code(criteria) %>
<%= xml_for_effective_time(criteria) %>
<%= xml_for_value(criteria.value) %>
</observationCriteria>