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.2.0 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.1.1 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.1.0 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.0.6 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.0.5 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.0.4 lib/health-data-standards/import/ccda/condition_importer.rb
health-data-standards-3.0.3 lib/health-data-standards/import/ccda/condition_importer.rb