Class: Renalware::Pathology::CurrentObservationResultsController

Inherits:
BaseController show all
Defined in:
app/controllers/renalware/pathology/current_observation_results_controller.rb

Instance Method Summary collapse

Methods inherited from BaseController

#patient

Instance Method Details

#indexObject



8
9
10
11
12
13
14
# File 'app/controllers/renalware/pathology/current_observation_results_controller.rb', line 8

def index
  patient = load_patient
  observation_set = ObservationSetPresenter.new(
    patient.fetch_current_observation_set
  )
  render :index, locals: { observation_set: observation_set }
end