Sha256: 77b6f4d67e3b8937109f52979f90b8be32ae91b703a1805819bf795690d6d47e

Contents?: true

Size: 560 Bytes

Versions: 5

Compression:

Stored size: 560 Bytes

Contents

module QRDA
  module Cat1
    class MedicationAdministeredImporter < MedicationImporter
      def initialize(entry_finder = QRDA::Cat1::EntryFinder.new("./cda:entry/cda:substanceAdministration[cda:templateId/@root = '2.16.840.1.113883.10.20.24.3.42']"))
        super(entry_finder)
        @route_xpath = "./cda:routeCode"
        @entry_class = QDM::MedicationAdministered
      end

      def create_entry(entry_element, nrh = NarrativeReferenceHandler.new)
        medication_administered = super
        medication_administered
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cqm-parsers-0.2.3 lib/qrda-import/data-element-importers/medication_administered_importer.rb
cqm-parsers-0.2.2 lib/qrda-import/data-element-importers/medication_administered_importer.rb
cqm-parsers-0.2.1 lib/qrda-import/data-element-importers/medication_administered_importer.rb
cqm-parsers-0.1.1 lib/qrda-import/data-element-importers/medication_administered_importer.rb
cqm-parsers-0.1.0 lib/qrda-import/data-element-importers/medication_administered_importer.rb