class Nursing::StudentMedication < ApplicationRecord
  include Base::Nursing::StudentMedication

  audited

  belongs_to :medication, foreign_key: :MEDID, inverse_of: :student_medications
  belongs_to :student, foreign_key: :StudentID, inverse_of: :nursing_medications

  delegate :school, to: :student
end
