Sha256: 17e23d067e07a61f9ee68f6c6b389a8a18ffc8f4a8aae68d1eec89b94b2e535a

Contents?: true

Size: 1011 Bytes

Versions: 24

Compression:

Stored size: 1011 Bytes

Contents

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

24 entries across 24 versions & 1 rubygems

Version Path
renalware-core-2.0.16 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.15 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.14 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.13 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.12 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.11 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.9 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.8 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.7 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.5 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.4 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.3 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.2 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.1 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.0 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.0.pre.rc13 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.0.pre.rc11 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.0.pre.rc10 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.0.pre.rc9 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.0.pre.rc8 app/documents/renalware/low_clearance/profile_document.rb