class HealthDataStandards::Import::Cat1::AllergyIntoleranceImporter

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/health-data-standards/import/cat1/allergy_intolerance_importer.rb, line 5
def initialize
  super(CDA::EntryFinder.new("./cda:entry/cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.24.3.147']"))
  @code_xpath = "./cda:participant/cda:participantRole/cda:playingEntity/cda:code"
  @entry_class = Allergy
end