Sha256: a513708e04ce61fa39eb499b42267dc9e62f39156e6090dbfa43b134f3cfcddb

Contents?: true

Size: 300 Bytes

Versions: 9

Compression:

Stored size: 300 Bytes

Contents

require_dependency "renalware/patients"

module Renalware
  module Patients
    class Alert < ApplicationRecord
      include Accountable
      acts_as_paranoid

      validates :patient, presence: true
      validates :notes, presence: true

      belongs_to :patient, touch: true
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
renalware-core-2.0.8 app/models/renalware/patients/alert.rb
renalware-core-2.0.7 app/models/renalware/patients/alert.rb
renalware-core-2.0.5 app/models/renalware/patients/alert.rb
renalware-core-2.0.4 app/models/renalware/patients/alert.rb
renalware-core-2.0.3 app/models/renalware/patients/alert.rb
renalware-core-2.0.2 app/models/renalware/patients/alert.rb
renalware-core-2.0.1 app/models/renalware/patients/alert.rb
renalware-core-2.0.0 app/models/renalware/patients/alert.rb
renalware-core-2.0.0.pre.rc13 app/models/renalware/patients/alert.rb