Sha256: ed55faef7bea416b9f5c871d01d683d1d408dca97d73fe2432d064093e853025

Contents?: true

Size: 623 Bytes

Versions: 142

Compression:

Stored size: 623 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/renal"

module Renalware
  module LowClearance
    class MDMPatientsController < Renalware::MDMPatientsController
      def index
        render_index(query: query,
                     page_title: t(".page_title"),
                     view_proc: ->(patient) { patient_low_clearance_mdm_path(patient) })
      end

      private

      def query
        LowClearance::MDMPatientsQuery.new(query: q, named_filter: named_filter)
      end

      def named_filter
        params[:named_filter]
      end

      def q
        params[:q]
      end
    end
  end
end

Version data entries

142 entries across 142 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.1.0 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.167 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.166 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.165 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.164 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.163 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.162 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.161 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.160 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.159 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.158 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.157 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.156 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.155 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.153 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.152 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.151 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.149 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.148 app/controllers/renalware/low_clearance/mdm_patients_controller.rb