Table of Contents | ||||
---|---|---|---|---|
|
...
Validate that DS belongs to the requester of encounter
Check if service request based on Care plan if not match:Determine at least one of the user employees has an active approval on write this Care planin case of error - return 409 ('Employees related to this party_id not in current MSP')
3.1. Determine the party_id associated with requester ($.requester.identifier.value)
...
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)
Send SMS to patient (if authentication_method_current == SMS)
Template - TBD
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 PreQualify Service Request | Validate service request
...