Class: Renalware::PD::MDMPresenter
- Inherits:
-
MDMPresenter
- Object
- MDMPresenter
- Renalware::PD::MDMPresenter
- Defined in:
- app/presenters/renalware/pd/mdm_presenter.rb
Constant Summary
Constants inherited from MDMPresenter
Instance Attribute Summary
Attributes inherited from MDMPresenter
Instance Method Summary collapse
Methods inherited from MDMPresenter
#access, #clinic_visits, #clinic_visits_having_measurements, #current_immunosuppressant_prescriptions, #current_pathology_for_code, #current_prescriptions, #current_problems, #current_transplant_status, #esa_prescriptions, #events_of_type, #historical_immunosuppressant_prescriptions, #historical_prescriptions, #initialize, #letters, #pathology, #pathology_for_codes
Constructor Details
This class inherits a constructor from Renalware::MDMPresenter
Instance Method Details
#current_regime ⇒ Object
6 7 8 |
# File 'app/presenters/renalware/pd/mdm_presenter.rb', line 6 def current_regime @current_regime ||= patient.pd_regimes&.current end |
#latest_pd_line_change_events ⇒ Object
10 11 12 |
# File 'app/presenters/renalware/pd/mdm_presenter.rb', line 10 def latest_pd_line_change_events @latest_pd_line_change_events ||= Events::LineChangeEventQuery.new(patient).call(limit: 1) end |