class HealthDataStandards::Import::Cat1::MedicationDispensedImporter
Public Class Methods
new(entry_finder=CDA::EntryFinder.new("./cda:entry/cda:supply[cda:templateId/@root='2.16.840.1.113883.10.20.24.3.45']"))
click to toggle source
Calls superclass method
# File lib/health-data-standards/import/cat1/medication_dispensed_importer.rb, line 5 def initialize(entry_finder=CDA::EntryFinder.new("./cda:entry/cda:supply[cda:templateId/@root='2.16.840.1.113883.10.20.24.3.45']")) super(entry_finder) @code_xpath = "./cda:product/cda:manufacturedProduct/cda:manufacturedMaterial/cda:code" @entry_class = Medication end