Sha256: 5d26b836bd1bf0186cbaaa703eb6134e98d526b14a2f5153c7a985ad26a0c1e2

Contents?: true

Size: 1.02 KB

Versions: 103

Compression:

Stored size: 1.02 KB

Contents

# frozen_string_literal: true

require "document/embedded"
require "document/enum"

module Renalware
  module LowClearance
    class ProfileDocument < Document::Embedded
      attribute :first_seen_on, Date
      attribute :dialysis_plan, Document::Enum
      attribute :dialysis_planned_on, Date
      attribute :predicted_esrf_date, Date
      attribute :referral_creatinine, Integer
      attribute :referred_by, String
      attribute :education_status, Document::Enum
      attribute :referral_egfr, Decimal
      attribute :education_type, Document::Enum
      attribute :attended_on, Date
      attribute :dvd1_provided, Document::Enum, enums: %i(yes no)
      attribute :dvd2_provided, Document::Enum, enums: %i(yes no)
      attribute :transplant_referral, Document::Enum, enums: %i(yes no)
      attribute :transplant_referred_on, Date
      attribute :home_hd_possible, Document::Enum, enums: %i(yes no)
      attribute :self_care_possible, Document::Enum, enums: %i(yes no)
      attribute :access_notes, String
    end
  end
end

Version data entries

103 entries across 103 versions & 1 rubygems

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