Purpose
Any medication request with the ACTIVE status can be blocked by NHS employee with indicating block_reason. NHS employee must have the appropriate scope medication_request: block for such action.
Specification
Apiary | |
Apiary |
Description
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 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:
«Ваш рецепт №---- заблоковано НСЗУ. Зверніться до вашого лікаря»
«Ваш рецепт №---- розблоковано НСЗУ. Можете отримати ліки в аптеці»