Status
Page Properties |
---|
Specification | Status |
---|
| |
---|
colour | RedGreen |
---|
title | specsdone |
---|
|
| Apiary | | JSON Schema request | | JSON Schema response | |
|
...
This WS is designed to recall (cancel) previously created and signed Medication request (patch).
APIary
recall-medication-request
Input parameters (filters)
Authorize
- Verify the validity of access token
- Check user scope (scope = 'medication_request:reject') in order to perform this action
- In case error - generate 401 response
...
- For info - status charts: Medication_request
- Get Medication request status by $.id
- Check status == ACTIVE
- if invalid - return 403 error (message: "Invalid status Medication request for reject transition!")'
Update status
- Update (Set values) Medication request
- status = REJECTED
- updated_by = user_id
- updated_at = timestamp
...