Sha256: bef189ed8522c287908d48a9db6c192b85f1dd27967b437950f59b1aa784c6c3

Contents?: true

Size: 400 Bytes

Versions: 14

Compression:

Stored size: 400 Bytes

Contents

require_dependency "renalware/patients"
require_dependency "renalware/api"

module Renalware
  module API
    module V1
      module Patients
        class PatientsController < TokenAuthenticatedApiController
          def show
            patient = Patient.find_by!(local_patient_id: params[:id])
            render locals: { patient: patient }
          end
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
renalware-core-2.0.13 app/controllers/renalware/api/v1/patients/patients_controller.rb
renalware-core-2.0.12 app/controllers/renalware/api/v1/patients/patients_controller.rb
renalware-core-2.0.11 app/controllers/renalware/api/v1/patients/patients_controller.rb
renalware-core-2.0.9 app/controllers/renalware/api/v1/patients/patients_controller.rb
renalware-core-2.0.8 app/controllers/renalware/api/v1/patients/patients_controller.rb
renalware-core-2.0.7 app/controllers/renalware/api/v1/patients/patients_controller.rb
renalware-core-2.0.5 app/controllers/renalware/api/v1/patients/patients_controller.rb
renalware-core-2.0.4 app/controllers/renalware/api/v1/patients/patients_controller.rb
renalware-core-2.0.3 app/controllers/renalware/api/v1/patients/patients_controller.rb
renalware-core-2.0.2 app/controllers/renalware/api/v1/patients/patients_controller.rb
renalware-core-2.0.1 app/controllers/renalware/api/v1/patients/patients_controller.rb
renalware-core-2.0.0 app/controllers/renalware/api/v1/patients/patients_controller.rb
renalware-core-2.0.0.pre.rc13 app/controllers/renalware/api/v1/patients/patients_controller.rb
renalware-core-2.0.0.pre.rc11 app/controllers/renalware/api/v1/patients/patients_controller.rb