Table of Contents |
---|
Purpose
This WS intended to cancel of the patient approval.
...
Get approval by patient_id and approval id from approvals collection (MongoDB)
Update approvals status (update also updated_at, updated_by)
If patient's authentication method is OTP or third_person.OTP, send SMS to that patient with info about cancelling.
Render a response according to specification.
Add status to event manager
After status was changed (status = CANCELLED) - add new status to event_manager
field | value |
---|---|
| $.status |
|
|
| $.update_at |
| Approval |
| $.id |
| $. |