Sha256: aa86488fb8540d87e508573c0f768781864407e124415ddd49d293d054062b68
Contents?: true
Size: 449 Bytes
Versions: 28
Compression:
Stored size: 449 Bytes
Contents
require_dependency "renalware/pd" module Renalware module PD class Patient < ActiveType::Record[Renalware::Patient] has_many :pet_adequacy_results def treated? modality_descriptions.exists?(type: "Renalware::PD::ModalityDescription") end def has_ever_been_on_pd? @has_ever_been_on_pd ||= modality_descriptions.exists?(type: "Renalware::PD::ModalityDescription") end end end end
Version data entries
28 entries across 28 versions & 1 rubygems