Table of Contents | ||||
---|---|---|---|---|
|
Required parameters are marked with "*"
Якщо інформації по відповідному параметру немає, потрібно зазначити: “APIparagraph not found”.
Purpose*
Method returns list of participants (medications) of medical programs filtering by parameters.
Specification*
Page Properties |
---|
...
Apiary
...
JSON Schema response
...
SPECS
Purpose
This WS is designed to return Program_medications list by filters.
WS Logic
...
|
Logic*
APIparagraph not found
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*
APIparagraph not found
Authorize*
Verify the validity of access token
In case error - generate 401 response
Check user scope (scope = 'program_medication:write') in order to perform this action
In case error - generate 403 response
Parameters available to filter
id (optional)
medical_program_id (optional)
medical_program_name (optional, as `LIKE *`)
innm_dosage_id (optional)
innm_dosage_name (optional, as `LIKE *`)
medication_id (optional)
medication_name (optional, as `LIKE *`)
is_active
When filter by innm_dosage (name or id) we show only medication brands where this innm_dosage in medication{type=brand}.dosage has is_primary=true.
Fields to show
id (program_medication_id)
medical_program_name
medication_name
form
manufacturer
reimbursement_amount
innm_dosage_name
...
Request to process the request using a token in the headers
Headers*
Наприклад:
Content-Type:application/json
Request data validation*
APIparagraph not found
Processing*
APIparagraph not found
Response structure*
See on Apiary
Example:
Expand | ||
---|---|---|
| ||
|
Post-processing processes*
APIparagraph not found
HTTP status codes*
Page Properties | ||||||
---|---|---|---|---|---|---|
|