Class: Renalware::Transplants::MDMPresenter

Inherits:
MDMPresenter show all
Defined in:
app/presenters/renalware/transplants/mdm_presenter.rb

Constant Summary

Constants inherited from MDMPresenter

MDMPresenter::NullAccess

Instance Attribute Summary

Attributes inherited from MDMPresenter

#patient, #view_context

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

#cmvdna_pathologyObject



12
13
14
# File 'app/presenters/renalware/transplants/mdm_presenter.rb', line 12

def cmvdna_pathology
  @cmvdna_pathology ||= pathology_for_codes("CMVD", per_page: 6)
end

#recipient_operationsObject



8
9
10
# File 'app/presenters/renalware/transplants/mdm_presenter.rb', line 8

def recipient_operations
  RecipientOperation.for_patient(patient).reversed
end