Sha256: d22a9774b413c4d5c60f6cc80d2c3e6b51d97bdc0f125d26fd8cdf6bd5219125

Contents?: true

Size: 474 Bytes

Versions: 35

Compression:

Stored size: 474 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/low_clearance"
require "document/base"

module Renalware
  module LowClearance
    class Profile < ApplicationRecord
      include Accountable
      include Document::Base
      validates :patient, presence: true
      belongs_to :patient, touch: true
      has_document class_name: "Renalware::LowClearance::ProfileDocument"
      has_paper_trail class_name: "Renalware::LowClearance::Version"
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
renalware-core-2.0.25 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.24 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.23 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.22 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.21 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.20 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.18 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.17 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.16 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.15 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.14 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.13 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.12 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.11 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.9 app/models/renalware/low_clearance/profile.rb