Class: Renalware::Renal::RegistryPreflightChecksController
- Inherits:
-
BaseController
show all
- Includes:
- Concerns::Pageable
- Defined in:
- app/controllers/renalware/renal/registry_preflight_checks_controller.rb
Defined Under Namespace
Modules: WithHDUnit
Classes: BasePresenter, DeathsPresenter, MissingESRFPresenter, PatientsPresenter
Instance Method Summary
collapse
#patient
Instance Method Details
#deaths ⇒ Object
58
59
60
61
62
63
64
65
|
# File 'app/controllers/renalware/renal/registry_preflight_checks_controller.rb', line 58
def deaths
authorize_action
query = build_query(query_params)
render locals: {
patients: patients_for(query),
query: query.search
}
end
|
#missing_esrf ⇒ Object
67
68
69
70
71
72
73
74
|
# File 'app/controllers/renalware/renal/registry_preflight_checks_controller.rb', line 67
def missing_esrf
authorize_action
query = build_query(params.fetch(:q, {}))
render locals: {
patients: patients_for(query),
query: query.search
}
end
|
#patients ⇒ Object
49
50
51
52
53
54
55
56
|
# File 'app/controllers/renalware/renal/registry_preflight_checks_controller.rb', line 49
def patients
authorize_action
query = build_query(query_params)
render locals: {
patients: patients_for(query),
query: query.search
}
end
|