Class: HealthDataStandards::Import::CCDA::ResultImporter

Inherits:
HealthDataStandards::Import::C32::ResultImporter show all
Defined in:
lib/health-data-standards/import/ccda/result_importer.rb

Instance Attribute Summary

Attributes inherited from HealthDataStandards::Import::C32::SectionImporter

#check_for_usable

Instance Method Summary collapse

Methods inherited from HealthDataStandards::Import::C32::ResultImporter

#create_entries, #create_entry

Methods inherited from HealthDataStandards::Import::C32::SectionImporter

#create_entries, #create_entry, #lookup_tag

Constructor Details

#initializeResultImporter

Returns a new instance of ResultImporter.



5
6
7
8
9
10
# File 'lib/health-data-standards/import/ccda/result_importer.rb', line 5

def initialize
  @entry_xpath = "//cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.22.4.2']"
  @code_xpath = "./cda:code"
  @description_xpath = "./cda:code/cda:originalText/cda:reference[@value] | ./cda:text/cda:reference[@value] "
  @check_for_usable = true  
end