lib/hqmf-generator/population_criteria.xml.erb in health-data-standards-3.4.6 vs lib/hqmf-generator/population_criteria.xml.erb in health-data-standards-3.5.0
- old
+ new
@@ -1,14 +1,13 @@
<component typeCode="COMP">
- <<%= population_element_prefix(criteria_id) %>Criteria classCode="OBS" moodCode="EVN">
+ <<%= population_element_prefix(criteria_id) %>Criteria classCode="OBS" moodCode="EVN" isCriterionInd="true">
<id root="c75181d0-73eb-11de-8a39-0800200c9a66"
extension="<%= population_criteria.hqmf_id %>"/>
<code codeSystem="2.16.840.1.113883.5.1063"
codeSystemName="HL7 Observation Value"
code="<%= population_criteria.type %>">
- <displayName value="<%= population_criteria.title %>"/>
+ <displayName value="<%=ERB::Util::h population_criteria.title %>"/>
</code>
- <isCriterionInd value="true"/>
<%- if population_criteria.preconditions.present? && population_criteria.preconditions.length > 0 -%>
<%- population_criteria.preconditions.each do |precondition| -%>
<%= xml_for_precondition(precondition) %>
<%- end -%>
<%- else -%>