...
The medication request can be blocked or unlocked by the NHS employee at any time also with having the appropriate scope: medication_request: block.
For medication requests that has been blocked by NHS employee parameter is_blocked = true is set.
For medication requests that has been unlocked, is_blocked = false
Medication requests which are in the status is_blocked = true cannot be released dispensed in the PHARMACY.
On create/process medication dispense for the medication request with is_blocked = true status return an error 422 with msg "Medication request is blocked".
Information about blocking or unblocking medication request is displayed in Event Manager.
The person with the authentication_method = OTP can be notified by SMS about blocking or unlocking with the following appropriate messages:
...