NHS number: anonymize it before ChatGPT or sharing
The NHS number (United Kingdom) is the patient number of the National Health Service in England, Wales and the Isle of Man. It turns up in documents people want to share or give to an AI assistant, and it should never go out as it is.
Format
Section titled “Format”10 digits, usually 3-3-4 (943 476 5919); the last is a check digit (modulo 11).
What it reveals
Section titled “What it reveals”The person’s whole health record.
Where you’ll find it
Section titled “Where you’ll find it”Hospital letters, prescriptions, referrals, test results, care records.
How Piixie finds it
Section titled “How Piixie finds it”Piixie has a dedicated rule for it, in every model including Lite: it matches the format and checks the control digits, so random numbers of the same length aren’t flagged and real ones aren’t missed. The local LLM also reads the context around it.
What it becomes
Section titled “What it becomes”With Synthesize, a fake with the same shape and separators, consistent everywhere the same number appears. With Redact, a black box or [REDACTED]; with Replace, a placeholder such as [ID_1].
All of it happens on your computer: the document is never uploaded to find the numbers. See why a local LLM.