Status
...
...
...
...
...
...
Purpose
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:recall') 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 recall transition!")'
Update status
- Update (Set values) Medication request
- status = ENTERED-IN-ERROR
- updated_by = user_id
- updated_at = timestamp
...