Table of Contents |
---|
...
This WS is designed to recall previously created Service request.
Specification
Authorization
Verify the validity of access token
in case of error - return 401 (“Invalid access token”) in case of validation fails
Verify that token is not expired
in case of error - return 401 (“Invalid access token”)
Check user scopes in order to perform this action (scope = 'service_request:recall')
return 403 (“Your scope does not allow to access this resource. Missing allowances: service_request:recall”) in case of invalid scope(s)
...
Save signed content to media storage
Update service request status to recalled (update also updated_at, updated_by)
Write record to status history
Send SMS to patient (if authentication_method_current == SMS, do NOT send sms in case performer is present in SR)
Async! Revoke all approvals made by this service request
If the service request is based on activity with quantity:
Recalculate and set remaining_quantity for the activity as described at https://e-health-ua.atlassian.net/wiki/spaces/EH/pages/17629119560/RC.+PreQualify+Service+Request+EN