Class: HealthDataStandards::Import::Cat1::DiagnosisInactiveImporter

Inherits:
HealthDataStandards::Import::CDA::ConditionImporter show all
Defined in:
lib/health-data-standards/import/cat1/diagnosis_inactive_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::ConditionImporter

#create_entry

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

#create_entries, #create_entry

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

#import_address, #import_telecom

Constructor Details

#initializeDiagnosisInactiveImporter

Returns a new instance of DiagnosisInactiveImporter.



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

def initialize
  super(CDA::EntryFinder.new("//cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.24.3.13']"))
  @status_xpath = nil # We'll hardcode this to inactive in create entry because this is from the 
                      # diagnosis active template
end