lib/hqmf-parser/parser.rb in health-data-standards-3.6.1 vs lib/hqmf-parser/parser.rb in health-data-standards-3.7.0

- old
+ new

@@ -1,11 +1,11 @@ module HQMF class Parser - + HQMF_VERSION_1 = "1.0" HQMF_VERSION_2 = "2.0" - + class V2Parser def initialize end def parse(xml_contents, codes=nil) @@ -32,11 +32,11 @@ HQMF_VERSION_2 end def self.valid?(xml_contents) doc = HQMF2::Document.parse(xml_contents) - !doc.at_xpath("/cda:QualityMeasureDocument/cda:typeId[@root='2.16.840.1.113883.1.3' and @extension='POQM_MT000001UV03']").nil? + !doc.at_xpath("/cda:QualityMeasureDocument/cda:typeId[@root='2.16.840.1.113883.1.3' and @extension='POQM_HD000001UV02']").nil? end end class V1Parser @@ -71,7 +71,7 @@ end end end - -end \ No newline at end of file + +end