Table of Contents | ||||
---|---|---|---|---|
|
...
...
Purpose
...
Method returns list of participants (medications) of medical programs filtering by parameters.
Specification
...
Page Properties | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Logic
...
Get all medical programs from prm.program_medications table filtered by search params.
Render a response according to specification.
Filters
Filter | Values | Type | Description | Example |
---|---|---|---|---|
id | String | Program_medications Identifier (medication within the program) |
| |
medical_program_id | String | medical program identifier |
| |
medical_program_name | String | medical program name |
| |
innm_dosage_id | String | INNM dosage Identifier |
| |
innm_dosage_name | String | INNM dosage name |
| |
medication_id | String | Medication Identifier |
| |
medication_name | String | Medication name |
| |
page | Number | Page number |
| |
page_size | Number | A limit on the number of objects to be returned, between 1 and 100. Default: 50 |
|
Request structure*
...
Authorize
...
Verify the validity of access token
In case error - generate 401 response
Check user scope (scope = 'program_medication:
...
read') in order to perform this action
In case error - generate 403 response
Request to process the request using a token in the headers
Headers
...
Наприклад:
Content-Type:application/json
...
...
Processing*
...
Response structure
...
See on Apiary
Example:
Expand | ||
---|---|---|
| ||
|
Post-processing processes*
...
HTTP status codes
...
Page Properties | ||||||
---|---|---|---|---|---|---|
|
...