Class: Renalware::Pathology::NearestObservationResultsController

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

Instance Method Summary collapse

Methods inherited from BaseController

#patient

Instance Method Details

#indexObject



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

def index
  near_date
  authorize Patient, :index?
  render json: nearest_results
end