Purpose
Any medication request in the ACTIVE status can be blocked by an NHS employee (parameter is_blocked = true) 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.
Medication requests which are in the status is_blocked = true cannot be released 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:
«Ваш рецепт №---- заблоковано НСЗУ. Зверніться до вашого лікаря»
«Ваш рецепт №---- розблоковано НСЗУ. Можете отримати ліки в аптеці»