Class: HealthDataStandards::Import::CCDA::EncounterImporter
- Inherits:
-
HealthDataStandards::Import::CDA::EncounterImporter
- Object
- HealthDataStandards::Import::CDA::SectionImporter
- HealthDataStandards::Import::CDA::EncounterImporter
- HealthDataStandards::Import::CCDA::EncounterImporter
- Defined in:
- lib/health-data-standards/import/ccda/encounter_importer.rb
Overview
TODO Extract Discharge Disposition
Instance Attribute Summary
Attributes inherited from HealthDataStandards::Import::CDA::SectionImporter
#check_for_usable, #code_xpath, #status_xpath
Instance Method Summary collapse
-
#initialize ⇒ EncounterImporter
constructor
A new instance of EncounterImporter.
Methods inherited from HealthDataStandards::Import::CDA::EncounterImporter
Methods inherited from HealthDataStandards::Import::CDA::SectionImporter
#create_entries, #create_entry
Methods included from HealthDataStandards::Import::CDA::LocatableImportUtils
#import_address, #import_telecom
Constructor Details
#initialize ⇒ EncounterImporter
Returns a new instance of EncounterImporter.
7 8 9 10 |
# File 'lib/health-data-standards/import/ccda/encounter_importer.rb', line 7 def initialize super(CDA::EntryFinder.new("//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")) @reason_xpath = "./cda:entryRelationship[@typeCode='RSON']/cda:observation" end |