Table of Contents |
---|
Purpose
Use this method to obtain the list of Medication request Requests for an employee_id
.
Specification
...
Project Name
...
Електронний рецепт
...
COVID-certificate
...
Project abreviation
...
ePrescription
...
SVC
...
Developer
...
API paragraph not found
...
Розробник методу API. Наприклад, Edenlab
...
Project Manager
...
API paragraph not found
...
Tech Lead
...
API paragraph not found
...
Product Owner
...
API paragraph not found
...
Вusiness analyst
...
API paragraph not found
...
Status
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
...
Version
...
API paragraph not found
...
1.0
...
Date of release
...
API paragraph not found
...
...
Link
...
Table of Contents |
---|
Purpose
Use this method to obtain the list of Medication request Requests for an employee_id
.
Specification
Page Properties | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Logic
Verify the validity of access token:
return 401 in case validation fails.
Check user scopes in order to perform this action (scope = 'medication_request_request:read'):
return 403 in case invalid scope(s).
Get `my_party_id` from `$.context.user_id`
return 500 in case ("Not found party for this user!") .
Get list of employees for this `party_id` & `$.context.legal_entity_id` (if not NULL).
Search Requests for Medication request by filters in WS url:
SELECT * FROM requests_for_medication_request WHERE <filters>
optional filters:
list employee_id (uuid). By default returned all data.
person_id (uuid). By default returned all data.
status (Dictionary: REQUEST_FOR_MEDICATION_REQUEST_STATUS). By default returned all rows with status=NEW.
limit (limit response size - quantity of innm objects). By default returned 50 objects.
starting_after (cursor to fetch next page)
ending_before (cursor to fetch previous page)
...