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.0.pre.rc7 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.0.pre.rc6 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.0.pre.rc5 app/documents/renalware/low_clearance/profile_document.rb
renalware-core-2.0.0.pre.rc4 app/documents/renalware/low_clearance/profile_document.rb