Sha256: f91ed0d2932271fb4fd6c0b93728745bbbca388c287b0bcf2ffb017ed36c6066

Contents?: true

Size: 752 Bytes

Versions: 47

Compression:

Stored size: 752 Bytes

Contents

module HealthDataStandards
  module Import
    module CCDA
      
      class MedicationImporter < CDA::MedicationImporter

        def initialize
          super(CDA::EntryFinder.new("//cda:section[cda:templateId/@root='2.16.840.1.113883.10.20.22.2.1' or cda:templateId/@root='2.16.840.1.113883.10.20.22.2.1.1']/cda:entry/cda:substanceAdministration"))
          @indication_xpath = "./cda:entryRelationship[@typeCode='RSON']/cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.22.4.19']/cda:code"
          @vehicle_xpath = "./cda:participant/cda:participantRole[cda:templateId/@root='2.16.840.1.113883.10.20.22.4.24']/cda:playingEntity/cda:code"
          @fill_number_xpath = './cda:repeatNumber'
        end

      end
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
health-data-standards-3.5.0 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.4.6 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.4.5 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.4.4 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.4.3 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.4.2 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.4.1 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.4.0 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.2.12 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.3.0 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.2.11 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.2.10 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.2.8 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.2.7 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.2.6 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.2.5 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.2.4 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.2.3 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.2.2 lib/health-data-standards/import/ccda/medication_importer.rb
health-data-standards-3.2.1 lib/health-data-standards/import/ccda/medication_importer.rb