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.85 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.84 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.83 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.82 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.81 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.80 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.79 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.78 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.77 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.76 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.75 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.74 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.73 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.72 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.71 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.70 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.69 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.68 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.67 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.64 app/models/renalware/low_clearance/profile.rb