Class: Renalware::Pathology::ObservationsController

Inherits:
BaseController show all
Includes:
Concerns::Pageable
Defined in:
app/controllers/renalware/pathology/observations_controller.rb

Instance Method Summary collapse

Methods inherited from BaseController

#patient

Instance Method Details

#indexObject



11
12
13
14
15
16
# File 'app/controllers/renalware/pathology/observations_controller.rb', line 11

def index
  description = find_description
  observations = find_observations_for_description(description)

  render locals: { patient: @patient, observations: observations, description: description }
end