lib/hqmf-parser/1.0/document.rb in health-data-standards-3.1.1 vs lib/hqmf-parser/1.0/document.rb in health-data-standards-3.2.0

- old
+ new

@@ -13,10 +13,15 @@ @doc = Document.parse(hqmf_contents) occurrence_counters = {} @data_criteria = @doc.xpath('//cda:section[cda:code/@code="57025-9"]/cda:entry').collect do |entry| DataCriteria.new(entry, occurrence_counters) end - + + @supplemental= @doc.xpath('//cda:section[cda:code/@code="69670-8"]/cda:entry').collect do |entry| + DataCriteria.new(entry, occurrence_counters) + end + + @data_criteria.concat @supplemental backfill_derived_code_lists @attributes = @doc.xpath('//cda:subjectOf/cda:measureAttribute').collect do |attr| Attribute.new(attr) end \ No newline at end of file