diff --git a/projects/prison-case-notes-to-probation/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/prison/PrisonCaseNoteFilters.kt b/projects/prison-case-notes-to-probation/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/prison/PrisonCaseNoteFilters.kt index 21e15817a7..8a60f70e49 100644 --- a/projects/prison-case-notes-to-probation/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/prison/PrisonCaseNoteFilters.kt +++ b/projects/prison-case-notes-to-probation/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/prison/PrisonCaseNoteFilters.kt @@ -8,7 +8,7 @@ object PrisonCaseNoteFilters { PrisonCaseNoteFilter("Prisoner being transferred") { it.locationId == "TRN" }, - PrisonCaseNoteFilter("OCG Alert Security") { + PrisonCaseNoteFilter("Filtered due to data sharing restrictions") { it.text?.contains("Do not share with offender and OCG Nominal") == true }, )