Sha256: 554df88e00e0ffa30bf9f4e48438d9ee6780106b8b3649a1512268379fbe29a4

Contents?: true

Size: 589 Bytes

Versions: 16

Compression:

Stored size: 589 Bytes

Contents

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

16 entries across 16 versions & 1 rubygems

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