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-4.3.5 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-4.3.4 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-4.3.3 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-4.3.2 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-4.3.1 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-4.3.0 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-4.2.0 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-4.1.0 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-4.0.6 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-4.0.5 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-4.0.4 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-4.0.3 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-4.0.2 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-4.0.1 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-4.0.0 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.7.0 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.6.1 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.5.3 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.5.2 lib/health-data-standards/import/ccda/allergy_importer.rb
health-data-standards-3.5.1 lib/health-data-standards/import/ccda/allergy_importer.rb