lib/hqmf-generator/document.xml.erb in health-data-standards-3.6.1 vs lib/hqmf-generator/document.xml.erb in health-data-standards-3.7.0
- old
+ new
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
-<QualityMeasureDocument xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<QualityMeasureDocument xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:qdm="urn:hhs-qdm:hqmf-r2-extensions:v1">
<typeId root="2.16.840.1.113883.1.3" extension="POQM_MT000001UV03" />
<templateId>
<item root="2.16.840.1.113883.10.20.28.1.1" />
</templateId>
<id root="2.16.840.1.113883.3.100.1" extension="<%= doc.hqmf_id %>" />
@@ -75,24 +75,25 @@
<%- population.keys.each do |criteria_id| -%>
<%= xml_for_population_criteria(population, criteria_id) %>
<%- end -%>
</populationCriteriaSection>
</component>
- <%- if doc.is_cv? -%>
+
+ <%- end -%>
+ <%- if doc.is_cv? -%>
<component>
- <measureObservationsSection>
+ <measureObservationSection>
<templateId>
<item root="2.16.840.1.113883.10.20.28.2.4" />
</templateId>
<code code="57027-5" codeSystem="2.16.840.1.113883.6.1">
<displayName value="Measure Observation" />
</code>
<title value="Measure Observation Section" />
<text></text>
<%= xml_for_measure_observation_definition(doc) %>
- </measureObservationsSection>
+ </measureObservationSection>
</component>
- <%- end -%>
<%- end -%>
</QualityMeasureDocument>