class HealthDataStandards::Import::CCDA::EncounterImporter
TODO Extract Discharge Disposition
Public Class Methods
new()
click to toggle source
Calls superclass method
# 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