lib/hqmf-generator/precondition.xml.erb in health-data-standards-3.4.6 vs lib/hqmf-generator/precondition.xml.erb in health-data-standards-3.5.0

- old
+ new

@@ -5,10 +5,10 @@ <%- precondition.preconditions.each do |child| -%> <%= xml_for_precondition(child) %> <%- end -%> </<%= precondition.conjunction_code_with_negation %>> <%- else -%> - <<%= reference_element_name(precondition.reference.id) %>Reference moodCode="EVN" classCode="<%= reference_type_name(precondition.reference.id) %>"> + <criteriaReference moodCode="EVN" classCode="<%= reference_type_name(precondition.reference.id) %>"> <id root="2.16.840.1.113883.3.100.1" extension="<%= precondition.reference.id %>"/> - </<%= reference_element_name(precondition.reference.id) %>Reference> + </criteriaReference> <%- end -%> </precondition> \ No newline at end of file