Class: HealthDataStandards::Import::Cat1::ProcedureIntoleranceImporter

Inherits:
HealthDataStandards::Import::CDA::SectionImporter show all
Defined in:
lib/health-data-standards/import/cat1/procedure_intolerance_importer.rb

Instance Attribute Summary

Attributes inherited from HealthDataStandards::Import::CDA::SectionImporter

#check_for_usable, #code_xpath, #status_xpath

Instance Method Summary collapse

Methods inherited from HealthDataStandards::Import::CDA::SectionImporter

#create_entries, #create_entry

Methods included from HealthDataStandards::Import::CDA::LocatableImportUtils

#import_address, #import_telecom

Constructor Details

#initializeProcedureIntoleranceImporter

Returns a new instance of ProcedureIntoleranceImporter.



6
7
8
9
# File 'lib/health-data-standards/import/cat1/procedure_intolerance_importer.rb', line 6

def initialize
  super(CDA::EntryFinder.new("./cda:entry/cda:observation[cda:templateId/@root = '2.16.840.1.113883.10.20.24.3.62']/cda:entryRelationship/cda:procedure[cda:templateId/@root='2.16.840.1.113883.10.20.24.3.64']"))
  @entry_class = Allergy
end