Sha256: ce227e363e7594496820c424f449d2681fc093cb1def51f1387324d33e5d4edf
Contents?: true
Size: 759 Bytes
Versions: 2
Compression:
Stored size: 759 Bytes
Contents
module QRDA module Cat1 class DiagnosticStudyOrderImporter < SectionImporter def initialize(entry_finder = QRDA::Cat1::EntryFinder.new("./cda:entry/cda:observation[cda:templateId/@root = '2.16.840.1.113883.10.20.24.3.17']")) super(entry_finder) @id_xpath = './cda:id' @code_xpath = './cda:code' @author_datetime_xpath = "./cda:author/cda:time" @method_xpath = './cda:methodCode' @entry_class = QDM::DiagnosticStudyOrder end def create_entry(entry_element, nrh = NarrativeReferenceHandler.new) diagnostic_study_order = super diagnostic_study_order.method = code_if_present(entry_element.at_xpath(@method_xpath)) diagnostic_study_order end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cqm-parsers-0.2.3 | lib/qrda-import/data-element-importers/diagnostic_study_order_importer.rb |
cqm-parsers-0.2.2 | lib/qrda-import/data-element-importers/diagnostic_study_order_importer.rb |