Sha256: f35396623ba0880a697af886c8ce3e987be76355c229fc8e8447837afcb7c447

Contents?: true

Size: 754 Bytes

Versions: 47

Compression:

Stored size: 754 Bytes

Contents

module HealthDataStandards
  module Import
    module CCDA
      class AllergyImporter < CDA::AllergyImporter        
        def initialize
          super(CDA::EntryFinder.new("//cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.22.4.7']"))
          @reaction_xpath = "./cda:entryRelationship[@typeCode='MFST']/cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.22.4.9']/cda:value"
          @severity_xpath = "./cda:entryRelationship[@typeCode='SUBJ']/cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.22.4.8']/cda:value"
          @status_xpath   = "./cda:entryRelationship[@typeCode='SUBJ']/cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.22.4.28']/cda:value"
        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/allergy_importer.rb
health-data-standards-3.4.6 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.4.5 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.4.4 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.4.3 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.4.2 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.4.1 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.4.0 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.2.12 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.3.0 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.2.11 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.2.10 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.2.8 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.2.7 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.2.6 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.2.5 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.2.4 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.2.3 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.2.2 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.2.1 lib/health-data-standards/import/ccda/allergy_importer.rb