Sha256: 5dbba07cb8328fe4f3bd5cc4b54fcff1fbbfb0bb692d02cff973c42f507e6e26

Contents?: true

Size: 592 Bytes

Versions: 24

Compression:

Stored size: 592 Bytes

Contents

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

24 entries across 24 versions & 1 rubygems

Version Path
renalware-core-2.0.16 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.15 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.14 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.13 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.12 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.11 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.9 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.8 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.7 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.5 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.4 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.3 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.2 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.1 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.0 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.0.pre.rc13 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.0.pre.rc11 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.0.pre.rc10 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.0.pre.rc9 app/controllers/renalware/low_clearance/mdm_patients_controller.rb
renalware-core-2.0.0.pre.rc8 app/controllers/renalware/low_clearance/mdm_patients_controller.rb