Sha256: 0774722b9690231617e56f77c6e7931a7c114b3b5d5225816bbe45788bafe8f5

Contents?: true

Size: 1.01 KB

Versions: 17

Compression:

Stored size: 1.01 KB

Contents

# frozen_string_literal: true

resources :patients, only: [] do
  namespace :pathology do
    get "observations/current",
        to: "current_observation_results#index",
        as: "current_observations"
    get "observations/recent",
        to: "recent_observation_results#index",
        as: "recent_observations"
    get "observations/historical",
        to: "historical_observation_results#index",
        as: "historical_observations"
    resources :observation_requests, only: [:index, :show]
    resources :patient_rules
    get "descriptions/:description_id/observations",
        to: "observations#index",
        as: "observations"
    resources :required_observations, only: :index
  end
end

namespace :pathology do
  resources :code_groups
  namespace :requests do
    # NOTE: This needs to be POST since the params may exceed url char limit in GET
    post "requests/new", to: "requests#new", as: "new_request"
    resources :requests, only: [:create, :index, :show]
    resources :rules, only: :index
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
renalware-core-2.0.149 config/routes/pathology.rb
renalware-core-2.0.148 config/routes/pathology.rb
renalware-core-2.0.147 config/routes/pathology.rb
renalware-core-2.0.146 config/routes/pathology.rb
renalware-core-2.0.145 config/routes/pathology.rb
renalware-core-2.0.144 config/routes/pathology.rb
renalware-core-2.0.143 config/routes/pathology.rb
renalware-core-2.0.142 config/routes/pathology.rb
renalware-core-2.0.141 config/routes/pathology.rb
renalware-core-2.0.140 config/routes/pathology.rb
renalware-core-2.0.139 config/routes/pathology.rb
renalware-core-2.0.138 config/routes/pathology.rb
renalware-core-2.0.137 config/routes/pathology.rb
renalware-core-2.0.136 config/routes/pathology.rb
renalware-core-2.0.135 config/routes/pathology.rb
renalware-core-2.0.134 config/routes/pathology.rb
renalware-core-2.0.133 config/routes/pathology.rb