Table of Contents | ||||
---|---|---|---|---|
|
...
Page Properties | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Logic
API paragraph not found
...
is an author of the Medication request Request (medication_request_request.employee_id)
has an approval on write Care plan if Medication request Request based on the Care plan (medication_request_request.based_on)
is a Doctor who has declaration with the Patient.in case of error - return 409 ("Only an author, employee with approval on care plan or doctor with an active declaration with the patient can reject medication request request")
...
For info - status charts: Medication_request_Request
Get Request for Medication request status by $.id
Check status == NEW
if invalid - return 409 error (message: "Invalid status Request for Medication request for reject transition!")'
...