class Medication

Medication is used for Medication, Immunization and Substance QDM types.

Public Instance Methods

shift_dates(date_diff) click to toggle source
Calls superclass method Entry#shift_dates
# File lib/health-data-standards/models/medication.rb, line 61
def shift_dates(date_diff)
  super
  self.fulfillmentHistory.each do |fh|
    fh.shift_dates(date_diff)
  end
  self.orderInformation.each do |oi|
    oi.shift_dates(date_diff)
  end
end