Sha256: 525e9b256fccc9b96f1d35018eaeedba2e6a278bd462fc120856b92ecfe9ea39

Contents?: true

Size: 620 Bytes

Versions: 142

Compression:

Stored size: 620 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/pathology"

module Renalware
  module Pathology
    class RecentObservationResultsController < Pathology::BaseController
      include Renalware::Concerns::Pageable
      before_action :load_patient

      def index
        observations_table = CreateObservationsGroupedByDateTable.new(
          patient: patient,
          observation_descriptions: ObservationDescription.in_display_order,
          page: page || 1,
          per_page: per_page || 100
        ).call
        render :index, locals: { table: observations_table }
      end
    end
  end
end

Version data entries

142 entries across 142 versions & 1 rubygems

Version Path
renalware-core-2.0.127 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.126 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.125 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.124 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.123 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.121 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.120 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.119 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.118 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.117 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.116 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.115 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.113 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.112 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.111 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.110 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.109 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.108 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.106 app/controllers/renalware/pathology/recent_observation_results_controller.rb
renalware-core-2.0.105 app/controllers/renalware/pathology/recent_observation_results_controller.rb