Class: Renalware::PD::Patient
- Inherits:
-
Object
- Object
- Renalware::PD::Patient
- Defined in:
- app/models/renalware/pd/patient.rb
Instance Method Summary collapse
Instance Method Details
#has_ever_been_on_pd? ⇒ Boolean
14 15 16 17 |
# File 'app/models/renalware/pd/patient.rb', line 14 def has_ever_been_on_pd? @has_ever_been_on_pd ||= modality_descriptions.exists?(type: "Renalware::PD::ModalityDescription") end |
#treated? ⇒ Boolean
10 11 12 |
# File 'app/models/renalware/pd/patient.rb', line 10 def treated? modality_descriptions.exists?(type: "Renalware::PD::ModalityDescription") end |