Sha256: dbc94ff718f32f99447f3f93604ac97f3a24b481292ad183b057eaefc4899089

Contents?: true

Size: 701 Bytes

Versions: 10

Compression:

Stored size: 701 Bytes

Contents

module HealthDataStandards
  module Import
    module CCDA
      # TODO Extract Discharge Disposition
      class EncounterImporter < C32::EncounterImporter
    
        def initialize
          @entry_xpath = "//cda:section[cda:templateId/@root='2.16.840.1.113883.10.20.22.2.22' or cda:templateId/@root='2.16.840.1.113883.10.20.22.2.22.1']/cda:entry/cda:encounter"
          @code_xpath = "./cda:code"
          @status_xpath = "./cda:statusCode"
          @description_xpath = "./cda:code/cda:originalText/cda:reference[@value] | ./cda:text/cda:reference[@value] "
          @reason_xpath = "./cda:entryRelationship[@typeCode='RSON']/cda:observation"
        end
        
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
health-data-standards-2.2.1 lib/health-data-standards/import/ccda/encounter_importer.rb
health-data-standards-2.2.0 lib/health-data-standards/import/ccda/encounter_importer.rb
health-data-standards-2.1.4 lib/health-data-standards/import/ccda/encounter_importer.rb
health-data-standards-2.1.3 lib/health-data-standards/import/ccda/encounter_importer.rb
health-data-standards-2.1.2 lib/health-data-standards/import/ccda/encounter_importer.rb
health-data-standards-2.1.1 lib/health-data-standards/import/ccda/encounter_importer.rb
health-data-standards-2.1.0 lib/health-data-standards/import/ccda/encounter_importer.rb
health-data-standards-2.0.0 lib/health-data-standards/import/ccda/encounter_importer.rb
health-data-standards-1.0.1 lib/health-data-standards/import/ccda/encounter_importer.rb
health-data-standards-1.0.0 lib/health-data-standards/import/ccda/encounter_importer.rb