Sha256: 08f12380097ba986ebeba93303ec80cf46272bd6b96cdfc46d7bea7e28c9752d

Contents?: true

Size: 394 Bytes

Versions: 35

Compression:

Stored size: 394 Bytes

Contents

# frozen_string_literal: true

module Renalware
  module Transplants
    WAITLIST_FILTERS = %w(
      all
      active
      suspended
      active_and_suspended
      working_up
      status_mismatch
    ).freeze

    def self.table_name_prefix
      "transplant_"
    end

    def self.cast_patient(patient)
      ActiveType.cast(patient, ::Renalware::Transplants::Patient)
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/models/renalware/transplants.rb
renalware-core-2.1.0 app/models/renalware/transplants.rb
renalware-core-2.0.167 app/models/renalware/transplants.rb
renalware-core-2.0.166 app/models/renalware/transplants.rb
renalware-core-2.0.165 app/models/renalware/transplants.rb
renalware-core-2.0.164 app/models/renalware/transplants.rb
renalware-core-2.0.163 app/models/renalware/transplants.rb
renalware-core-2.0.162 app/models/renalware/transplants.rb
renalware-core-2.0.161 app/models/renalware/transplants.rb
renalware-core-2.0.160 app/models/renalware/transplants.rb
renalware-core-2.0.159 app/models/renalware/transplants.rb
renalware-core-2.0.158 app/models/renalware/transplants.rb
renalware-core-2.0.157 app/models/renalware/transplants.rb
renalware-core-2.0.156 app/models/renalware/transplants.rb
renalware-core-2.0.155 app/models/renalware/transplants.rb
renalware-core-2.0.153 app/models/renalware/transplants.rb
renalware-core-2.0.152 app/models/renalware/transplants.rb
renalware-core-2.0.151 app/models/renalware/transplants.rb
renalware-core-2.0.149 app/models/renalware/transplants.rb
renalware-core-2.0.148 app/models/renalware/transplants.rb