Sha256: 2e0a0a0ab2fde667c88db082903803a6651b2f0253ac0aaca1ab17252006aacd

Contents?: true

Size: 657 Bytes

Versions: 47

Compression:

Stored size: 657 Bytes

Contents

module HealthDataStandards
  module Import
    module CCDA
      class ConditionImporter < C32::ConditionImporter
        
        def initialize
          super
          @entry_finder = CDA::EntryFinder.new("//cda:section[cda:templateId/@root='2.16.840.1.113883.10.20.22.2.5' or cda:templateId/@root='2.16.840.1.113883.10.20.22.2.5.1']/cda:entry/cda:act/cda:entryRelationship/cda:observation")
          @status_xpath = "./cda:entryRelationship/cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.22.4.6']/cda:value"
          
          #optional
          #health status
          #age at onset
        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/condition_importer.rb
health-data-standards-3.4.6 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.4.5 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.4.4 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.4.3 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.4.2 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.4.1 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.4.0 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.2.12 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.3.0 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.2.11 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.2.10 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.2.8 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.2.7 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.2.6 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.2.5 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.2.4 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.2.3 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.2.2 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.2.1 lib/health-data-standards/import/ccda/condition_importer.rb