Sha256: 71a529679fe9270a30f7d4b9b4c4885913487bc0cf9a4f50020d10207805176a

Contents?: true

Size: 570 Bytes

Versions: 1

Compression:

Stored size: 570 Bytes

Contents

module QRDA
  module Cat1
    class SubstanceAdministeredImporter < MedicationAdministeredImporter
      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)
        @entry_does_not_have_reason = true
        @entry_class = QDM::SubstanceAdministered
      end

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

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cqm-parsers-0.2.3 lib/qrda-import/data-element-importers/substance_administered_importer.rb