Class: Medication
- Defined in:
- lib/health-data-standards/models/medication.rb
Overview
Medication is used for Medication, Immunization and Substance QDM types.
Instance Method Summary collapse
Methods inherited from Entry
#==, #add_reference, #as_point_in_time, #calculate_hash!, from_event_hash, #hash, #identifier, #is_date_range?, #is_in_code_set?, #set_value, #status, #status=, time_to_s, #times_to_s, #to_hash, #usable?
Methods included from ThingWithCodes
#add_code, #codes_in_code_set, #codes_to_s, convert_codes_to_s, included, #preferred_code, #single_code_value?, #translation_codes
Instance Method Details
#shift_dates(date_diff) ⇒ Object
61 62 63 64 65 66 67 68 69 |
# 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 |