class HealthDataStandards::Import::Cat1::EntryPackage
Attributes
hqmf_oid[RW]
importer_type[RW]
status[RW]
Public Class Methods
new(type, oid, stat = nil)
click to toggle source
# File lib/health-data-standards/import/cat1/entry_package.rb, line 8 def initialize (type, oid, stat = nil) self.importer_type = type self.hqmf_oid = oid self.status = stat end
Public Instance Methods
package_entries(doc, nrh)
click to toggle source
# File lib/health-data-standards/import/cat1/entry_package.rb, line 14 def package_entries (doc, nrh) entries = self.importer_type.create_entries(doc, nrh) entries.each do |entry| entry.oid = self.hqmf_oid entry.status = self.status end entries end