...
...
...
...
Table of Contents |
---|
...
This job is designed to expire previously created Medication requests. All active medication requests where dispense_valid_to in the past must be expired
Process configuration
...
Parameter
...
Description
...
Value
...
MEDICATION_REQUEST_AUTOTERMINATION_SCHEDULE
...
Procedure logic for transition
...
Get list Medication request
Code Block | ||
---|---|---|
| ||
SELECT * FROM medication_requests MR
WHERE MR.status == ACTIVE
AND MR.dispense_valid_to < current_date() |
...
- status = EXPIRED
- updated_by = SYSTEM_USER
- updated_at = timestamp
...
The page is not supported. The method requirements can be found here [AUTO] Terminate Medication Request