Sha256: fc8581e0e85bbb4c26ab655713ac57384f7ee2110e3a993bca943dedaa5474cb

Contents?: true

Size: 580 Bytes

Versions: 16

Compression:

Stored size: 580 Bytes

Contents

require_dependency "renalware/pathology"

module Renalware
  module Pathology
    class HistoricalObservationResultsController < 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: 25
        ).call
        render :index, locals: { table: observations_table }
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
renalware-core-2.0.16 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.15 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.14 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.13 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.12 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.11 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.9 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.8 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.7 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.5 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.4 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.3 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.2 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.1 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.rc13 app/controllers/renalware/pathology/historical_observation_results_controller.rb