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.63 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.62 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.61 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.60 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.58 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.57 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.56 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.55 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.54 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.53 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.52 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.51 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.50 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.48 app/models/renalware/low_clearance/profile.rb
renalware-core-2.0.47 app/models/renalware/low_clearance/profile.rb