Purpose
This WS is designed to return Medical Program list filtered by search parameters
Specification
Logic
Get all medical programs from prm.medical_programs table filtered by search params.
Render a response according to specification.
Filters
See on Apiary
Authorize
Verify the validity of access token
in case of error - return 401 “Invalid access token” in case of validation fails.
Verify that token is not expired
in case of error - return 401 “Invalid access token”.
Check user scopes in order to perform this action (scope = 'medical_program:read')
return 403 “Your scope does not allow to access this resource. Missing allowances: medical_program:read” in case of invalid scope(s).
Headers
Content-Type:application/json
Authorization:Bearer c2778f3064753ea70de870a53795f5c9
Dictionaries
LICENSE_TYPE
clinical_impression_patient_categories
MEDICAL_PROGRAM_TYPE
FUNDING_SOURCE
MR_BLANK_TYPES
Response structure
See on Apiary
Example: