Skip to main content

Prison Case Notes to Probation

Inbound service that responds to case note and prison alert creation events, calls the Offender Case Notes Service the Prison Alerts Service respectively, and adds the relevant information to the Delius case history as a contact.

Probation Business Need

Prison case notes and alerts are displayed as contacts in the NDelius contact log and used by probation practitioners as part of the probation case history

Context Map

Context Map

Interfaces

Message Formats

The service responds to ‘HMPPS domain events’ messages via the SQS queue which are raised by the Prison Offender Events service

Example messages are in the development source tree

Incoming messages are filtered on eventType by the SQS queue policy

Case Note Details

The service uses the case note id contained in the message and a known URL for the Offender Case Notes Service to request the specific case note details.

Alert Details

The service uses the detailUrl contained in the message to request the specific alert details from the Prison Alerts Service.

Person Matching

Person records are matched across NOMIS and Delius using the NOMS number. This relies on the NOMS number being set in Delius which happens as part of the processing within the Prison to Probation Update service

Event Triggers

Prison case notes are collected and transferred based on fine-grained data events raised when there are changes to the NOMIS database tables. As a result of this the case notes do not necessarily map to a single business activity. The events we respond to are roughly raised in the following circumstances:

Business Event Message Class Message Event Type / Filter Case note type filter
NOMIS ID linked to a probation case HMPPS Domain Event “probation-case.prison-identifier.added” All below types
Person Released from Institution HMPPS Domain Event “person.case-note.created”/“updated” “PRISON-RELEASE”
Person Transferred HMPPS Domain Event “person.case-note.created”/“updated” “TRANSFER-FROMTOL”
General Observations HMPPS Domain Event “person.case-note.created”/“updated” “GEN-OSE”
Alerts Active HMPPS Domain Event “person.alert.created”/“updated” “ALERT-ACTIVE”
Alerts Inactive HMPPS Domain Event “person.alert.inactive” “ALERT-INACTIVE”
All OMiC Events HMPPS Domain Event “person.case-note.created”/“updated” { prefix = “OMIC” }
All OMiC OPD Events HMPPS Domain Event “person.case-note.created”/“updated” { prefix = “OMIC_OPD” }
Keyworking Events HMPPS Domain Event “person.case-note.created”/“updated” { prefix = “KA” }

HMPPS Technical Environment

This service takes on the responsibilities of the existing Case Notes to Probation service. It also supports the deprecation of the NDelius HTTP/JSON API interface for ingesting case notes and the Community API endpoint (PUT /secure/nomisCaseNotes/{nomisId}/{caseNotesId}) that calls this.

API Reference

This page was last reviewed on 28 October 2025. It needs to be reviewed again on 28 January 2026 by the page owner #probation-integration-team .