Action record / #135
Authorisation expiring · authorisation 11781
Asked clinician 465 to renew the repeat prescription for amlodipine.
- When
- Monday 16 November 07:00:00
- Call
- request authorisation renewal ·
POST /Task (renewal request, authorisation 11781, clinician 465) - Tier and status
- tier 0 auto done
- Definition
- authorisation expiring v1
- Decided by
- rules: The repeat prescription runs out before the booked appointment; ask the prescriber to decide on a renewal.
- Controller
- Allowed: request_authorisation_renewal is tier 0 (just do it); within budget (2 of 60 paperwork actions this minute).
- Signed off by
- nobody needed: tier 0
- Undo
undo_request_authorisation_renewalrestores the before-snapshot below
Evidence the detector returned
{
"already_expired": false,
"appointment_at": "2026-12-07 14:00:00",
"appointment_id": 7840124,
"authorisation_id": 11781,
"bookings_affected": 1,
"clinic": "Orrinford Health Centre",
"clinic_id": 30,
"clinician_id": 465,
"days_to_expiry": 13.7,
"expires_at": "2026-11-30 00:00:00",
"feed": "admin",
"item": "amlodipine",
"kind": "repeat_prescription",
"patient_id": 70423,
"patients_affected": 1,
"prescriber": "Dr N. Brackdale",
"stake_note": "repeat prescription runs out before a booked appointment",
"started_at": "2026-11-16T00:00:00"
}
Arguments
{
"authorisation_id": 11781,
"clinician_id": 465
}Before and after
{
"after": {
"authorisations": [
{
"id": 11781,
"renewal_requested_at": "2026-11-16T07:00:00"
}
],
"tasks": [
{
"body": "The repeat prescription for amlodipine runs out Mon 00:00 and the patient is booked after that. Please decide on the renewal.",
"clinician_id": 465,
"created_at": "2026-11-16T07:00:00",
"id": 14,
"kind": "renewal_request",
"patient_id": 70423,
"status": "open",
"subject": "Renewal needed: amlodipine"
}
]
},
"before": {
"authorisations": [
{
"id": 11781,
"renewal_requested_at": null
}
]
}
}