Custody Key Dates and Delius
Business Need
Inbound service that keeps Delius updated with key date changes recorded in custody services, primarily NOMIS.
Context Map
Interfaces
The service responds to HMPPS Offender Event messages via an SQS Queue.
Example messages are in the development source tree
Event Triggers
| Business Event | Message Class | Message Event Type / Filter |
|---|---|---|
| Release date changed in NOMIS/DPS | Offender Event | CONFIRMED_RELEASE_DATE-CHANGED |
| Sentence dates changed in NOMIS/DPS | Offender Event | SENTENCE_DATES-CHANGED |
| General key date change in NOMIS/DPS | Offender Event | KEY_DATE_ADJUSTMENT_UPSERTED |
| General key date deletion in NOMIS/DPS | Offender Event | KEY_DATE_ADJUSTMENT_DELETED |
Workflows
Update Key Dates
Custody Key Dates Recorded in Delius
Prison API provides a set of dates recorded in NOMIS that are recorded in the Throughcare section of Delius when the key dates updates are triggered. The dates are displayed in the ‘Throughcare Dates’ and ‘Additional Throughcare Dates’ section of the ‘Throughcare Details’ screen, which is accessed via the Delius Event. All dates that do not match the existing Delius values will be updated on receiving an event trigger. The custody dates updated by this service are:
- Sentence Expiry Date
- Licence Expiry Date
- Conditional Release Date / Override Date
- Expected Release Date
- Home Detention Curfew Eligibility Date
- Post Sentence Supervision End Date
Derived key dates:
- Probation Reset Suspension Date (two-thirds of community supervision length)
- Final Third Start Date (two-thirds of custodial sentence length, working back from sentence expiry date)
- Electronic Monitoring End Date (7%, or 17% if SDS+, of custodial sentence length from conditional release date)
Electronic Monitoring End Date and Final Third Start Date are derived for all eligible active custodial sentences using Delius sentence information and the latest key dates, including changes received in the same update. These calculations continue when the prison booking is inactive or its reference is missing or duplicated in Delius. Other key dates still require an active booking with a unique matching custody record.