Sha256: 10b32919ed46106cd72ac9a38a6889d97031db6916d78deef1dd18216520bb4e

Contents?: true

Size: 641 Bytes

Versions: 17

Compression:

Stored size: 641 Bytes

Contents

require_dependency "renalware/pathology"

module Renalware
  module Pathology
    class HistoricalObservationResultsController < Pathology::BaseController
      before_action :load_patient

      def index
        table_view = HistoricalObservationResults::HTMLTableView.new(view_context)
        presenter = HistoricalObservationResults::Presenter.new
        service = ViewObservationResults.new(@patient.observations, presenter)
        service.call(params)

        render :index, locals: {
          rows: presenter.view_model,
          paginator: presenter.paginator,
          table: table_view
        }
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc10 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.rc9 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.rc8 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.rc7 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.rc6 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.rc5 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.rc4 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.rc3 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.rc1 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.beta12 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.beta11 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.beta10 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.beta9 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.beta8 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.beta7 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.beta6 app/controllers/renalware/pathology/historical_observation_results_controller.rb
renalware-core-2.0.0.pre.beta5 app/controllers/renalware/pathology/historical_observation_results_controller.rb