Sha256: d5e9678386563f7f3e6ab6652d4591845b9c4ec780cef9b2efbbe645171ed07c

Contents?: true

Size: 530 Bytes

Versions: 75

Compression:

Stored size: 530 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",
                      on: [:create, :update, :destroy]
    end
  end
end

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
renalware-core-2.0.128 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.127 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.126 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.125 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.124 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.123 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.121 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.120 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.119 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.118 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.117 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.116 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.115 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.113 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.112 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.111 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.110 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.109 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.108 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.106 app/models/renalware/low_clearance/profile.rb