← Privacy & Anonymisation

FEAT-IDENTITY-PSEUDONYMIZATION

Identity Pseudonymization

A patient's identifying details are sealed in place, under a key that belongs to that person, and never appear on the clinical record. By default, doctors and the platform see medical context without a name. Revealing a name is a deliberate, purpose-stated, logged act — and forgetting a person is destroying their key.

Why this matters

A traditional EHR puts the patient's name, identifier, address, and date of birth on every clinical resource it stores. A doctor opens a chart and sees everything — name and DOB at the top, every observation, every visit, every prescription, all in one record marked with the patient's identity. Convenient for the workflow. Disastrous for a breach: any leak, however narrow, includes identity by default.

GDPR Article 4(5) describes a different architecture: identity readable only through a controlled, accountable gate. In Jengu's data store, identifying details are held only on the person's own record, and there they are sealed under a key per person. The clinical patient record carries none of them — it links to the person and nothing more. Anyone with access to the clinical data, or to the database beneath it, sees records that do not say whose they are.

The benefit is not just defence-in-depth. The clinical layer is HIPAA Safe Harbor de-identified at rest — the 18 identifiers in 45 CFR 164.514(b)(2) are not readable in any clinical resource. For customer organisations under GDPR, the clinical layer is pseudonymised personal data under Article 4(5), which Article 32 names as a primary security-of-processing measure. The architectural choice produces those regulatory positions, not the other way around.

What's in the box

  • Identity on the person, sealed. A patient's name, contact details, date of birth, and national identifier live on the person's record, encrypted where they are written under that person's own key. History, backups and replicas hold the same ciphertext. The clinical patient record links to the person and carries no identifying element.

  • Declared, not coded. Each customer organisation's configuration declares that its store isolates personal data and which identifier names a person. The store holds every write and every read to that declaration, however it is reached — no module has to remember to apply it.

  • Default-pseudonymised reads. A read that does not state a purpose returns the record with its identifying elements left out. Routine browsing of charts is identity-free without any special effort by the clinician.

  • Purpose-bound reveal. When identity is genuinely needed (the doctor at point of care, an invoice, a legal release), the request states a purpose drawn from the HL7 PurposeOfUse vocabulary — care, payment, legal, emergency, research with consent, and so on. The purpose maps onto GDPR Article 6 and Article 9 lawful bases.

  • Disclosure audit. Every disclosure is recorded with the accessing user, the record, the stated purpose, and a timestamp — without the disclosed details themselves. The accumulated log is the customer's evidence for HIPAA Accounting of Disclosures and GDPR Article 5(2) accountability.

  • One person, one record. The national identifier is claimed by the person's record, and a second record claiming the same identifier is refused when it is written. Two arrivals of one person resolve to the same person.

  • No identifying search. A search over sealed identifying elements is refused, so a query for "all patients named Smith" cannot be used to harvest identities. A person is found by the identifier their record claims.

  • Erasure by destroying the key. A patient's right to erasure (GDPR Article 17) is honoured by destroying the person's key. Every copy of the sealed details becomes unreadable at once, and the erasure is recorded so a restore cannot bring them back. Clinical records the customer organisation must retain survive without a name.

  • Structural, not opt-in. A module that wants identity has to state a purpose to get it. The "oh I'll just join the Patient table" leak class is closed at the architecture level, not as a code-review concern.

Standards we lean on

  • GDPR Articles 4(5), 5(1)(b)(c), 17, 25, 32 — pseudonymisation, purpose limitation, data minimisation, erasure, privacy by default, security of processing.
  • HIPAA 45 CFR 164.514(b)(2) — Safe Harbor de-identification.
  • HIPAA 45 CFR 164.502(b) and 164.528 — Minimum Necessary; Accounting of Disclosures.
  • ISO 25237 — Pseudonymisation in healthcare. Separation principle and controlled re-identification path.
  • HL7 PurposeOfUse — the vocabulary a stated purpose is drawn from.

The detailed mapping — which requirement satisfies which article — lives with the requirements themselves.

What customers and operators experience

  • A doctor opening a chart sees medical context first — chief complaint, history, current observations — without a name. When the name is needed, the request states why, and it appears.
  • A registration clerk entering a patient whose national code is already on record is told so, instead of creating a second person.
  • A compliance officer can produce a complete log of every personal data disclosure for a customer organisation — who accessed which patient's identity, when, for what purpose.
  • A patient asking "who has seen my data?" receives a precise answer: a list of disclosures with timestamps, accessing user, and purpose. Not "many people, in the normal course of care".
  • A patient exercising the right to be forgotten has their key destroyed; their name can no longer be recovered from any copy, while the clinical record the customer organisation must retain survives as pseudonymous data.
  • A platform operator with database access cannot read patient names — they are ciphertext under keys the operator does not hold.
  • A research team running consented analytics gets a clinical dataset that's structurally Safe Harbor de-identified. The data is born pseudonymised.

Limits and trade-offs

  • Free-text re-identification persists. A doctor writes "Mrs Smith was anxious" in a Procedure.note. Sealing declared elements doesn't catch this — that's Patient Data Anonymisation's job. The two layers compose.
  • Quasi-identifier leakage is possible. A rare condition + admission date + customer organisation + sex + birth year can re-identify someone in a small population. Mitigation requires statistical safeguards or small-cohort access limits — complementary controls.
  • Clinical workflow needs identity at point of care. Disclosure for a stated purpose is always available; the regulatory benefit is that the act is audited, not that it doesn't happen.
  • No demographic matching. A person without an identifier on hand cannot be found by name and date of birth; identifying search over sealed elements is refused by design.
  • Edge appliances are not yet identity-free by promise. An edge seals identifying details the same way the cloud does; which records reach an edge at all is decided by the work routed to it.
  • External integrations need adapting. A module that reads patient records expecting a readable Patient.name gets none; it has to state a purpose and read the person.
What it rests on
0 / 11 passing 11 without a result yet
  • kept by its basis its basis has no result A patient's identifying details are sealed under a key of that person's own, so the clinical records, and the database beneath them, never say whose they are. REQ-PID-DETAILS-SEALED-UNDER-THE-PERSONS-OWN-KEY
    Based on 2 promises
    • not cited Identifying elements, declared per type/element, live encrypted in the tenant's person vault; the main store holds pseudonymous records and the engine reassembles full resources for authorized reads — isolation is beneath the API, not a caller discipline. REQ-DBO-PDI-STRUCTURAL-VAULT
    • not cited A tenant's database is part of this store's runtime, and personal data passes through it in the clear only in flight — validated, extracted, converted — never landing anywhere the person's key does not cover. The one way it could land is the server logging a statement's parameters, so every database the store is allowed to pin is pinned not to — a managed server keeps that setting for its superuser and hands this store an ordinary role, which is a server to check rather than a store that cannot run. What the sessions will actually see is checked at every bring-up rather than assumed, and an isolated tenant refuses to come up on a database that would write its people down. REQ-DBO-PDI-PLAINTEXT-IN-FLIGHT-LEAVES-NO-TRACE
  • kept by its basis its basis has no result A patient's name is shown only when the request says why, and every such disclosure is recorded, including finding out whose an unnamed record is. REQ-PID-A-NAME-ONLY-FOR-A-STATED-PURPOSE
    Based on 2 promises
    • not cited Why an identifying read is happening is stated on the request that makes it — a PurposeOfUse code in the Purpose-Of-Use header — and the request's word replaces any the token carries. Every grant that mints a token may also state one, so a person acting through a delegation states a purpose exactly as a service does; a delegation record carries none, because a standing grant naming a reason would keep asserting it after the reason lapsed. A purpose is an assertion and never an authorisation: it widens nothing, it selects the disclosing mode for the one request it rides rather than for a credential's lifetime, and it is what the trail records. A purpose that is not a code is refused rather than dropped, at the token endpoint and at the door alike. REQ-DBO-AUTH-PURPOSE-IS-STATED-PER-REQUEST
    • not cited Which person a pseudonym belongs to is answered by deriving over the people whose keys could have made it, never by a stored mapping; the question states its scope and its purpose and is recorded as the disclosure it is, and the record names the person rather than the pseudonym. A person whose key is destroyed is not found, and is not distinguishable from one who was never here. REQ-DBO-PDI-PSEUDONYM-RESOLVED-BY-SCAN
  • kept by its basis its basis has no result Finding out who a patient is is a permission of its own: access to the clinical records does not include the right to learn whose they are. REQ-PID-IDENTIFYING-IS-A-PERMISSION-OF-ITS-OWN
    Based on 1 promise
    • not cited A tenant identifies somebody through a door of its own, reachable as a surface rather than assembled by each caller out of the promises below. The door carries its own scope, outside the resource grammar: a grant over the store's resources does not reach the act that de-anonymises somebody. REQ-DBO-IDN-IDENTIFICATION-IS-REACHABLE
  • kept by its basis its basis has no result A patient is looked up only by an exact identifier and for a stated purpose, and every lookup is recorded; a vague search for a person is refused rather than half-answered. REQ-PID-LOOKED-UP-ONLY-BY-AN-EXACT-IDENTIFIER
    Based on 1 promise
    • not cited An exact, purpose-stated lookup on a vault-indexed value — a claimed identifier (system|value) or an indexed contact point — resolves through the vault to the records holding it, served under the caller's disclosure mode. The match runs over keyed hashes and every resolution leaves a value fingerprint in the disclosure trail; after erasure the answer is empty. Anything inexact, unsystemed, or combined with other predicates is refused, never half-answered. REQ-DBO-PDI-EXACT-RESOLUTION
  • kept by its basis its basis has no result A patient the organisation already knows is never given a second record: two records claiming the same identifying number are put to the organisation as a conflict, never merged behind its back. REQ-PID-ONE-RECORD-PER-PERSON
    Based on 1 promise
    • not cited Two PEOPLE claiming the same identity-bearing identifier are a conflict surfaced to the owner, never an implicit merge. One human is spoken about by several records — a Person and a Patient sharing a national number are that human twice, not two of them — so what is refused is a second record of a type the tenant declared identified by that system, where the value IS the record's identity, and a link that would join two people each holding identity claims of their own. REQ-DBO-CORE-NO-IMPLICIT-MERGE
  • kept by its basis its basis has no result How sure the platform is of who a patient is follows the strength of the evidence: an identity presented electronically settles it, a number read off a document never does alone, conflicting evidence leaves the question open, and a patient on a first visit is simply new. REQ-PID-EVIDENCE-DECIDES-HOW-SURE
    Based on 1 promise
    • not cited What a claim can conclude follows how well it is held. One cryptographically presented claim matching a single subject resolves without anybody looking; a number read off a document never resolves anybody by itself; claims pointing at different people destroy certainty rather than choosing between them; and no match at all is an ordinary answer — the person before their first visit — rather than an error. A revoked document resolves nobody, because it is in somebody else's hands, while a superseded one still finds the person whose records refer to it. A claim naming no issuing system is refused: the same digits are two people in two countries. REQ-DBO-IDN-CLAIM-STRENGTH-BOUNDS-THE-CONCLUSION
  • kept by its basis its basis has no result When staff decide who a patient is, the decision is kept with who made it, when and on what evidence, and a wrong link can be undone without touching the patient's care records. REQ-PID-A-DECISION-ON-IDENTITY-IS-KEPT-AND-UNDONE
    Based on 2 promises
    • not cited A person's conclusion about who somebody is, is kept as evidence rather than applied as a fact. It names who decided, when, and what they were looking at; one that names nobody is refused, because it could never be questioned. Undecided is a state a record lives in rather than a failure. A candidate somebody already declined comes back marked rather than hidden — hiding it would make a wrong decision permanent and invisible — and no machine silently reverses it. Decisions are append-only and scoped to the claims they were about: revising one means recording a new one. REQ-DBO-IDN-A-DECISION-IS-EVIDENCE
    • not cited Attaching an identity to a subject can be undone, and undoing it takes the identity without touching the care: a wrong binding put one person's records in another's, so withdrawal must always be available and must leave the clinical data alone. What is withdrawn stays answerable — that somebody was identified, and that it was undone, are both facts a regulator may ask about — so events are append-only and a mistaken withdrawal is as recoverable as a mistaken binding. A binding names who made it and why, and one subject's bindings say nothing about another's. REQ-DBO-IDN-BINDING-IS-REVERSIBLE-AND-KEEPS-ITS-EVIDENCE
  • kept by its basis its basis has no result Those who run, back up and restore the service can do all of it without being able to read who the patients are; opening a backup outside the running service is the customer's alone. REQ-PID-OPERATORS-NEVER-SEE-WHO-PATIENTS-ARE
    Based on 1 promise
    • not cited Backup and restore are machinery-driven end to end over ciphertext; the operator can run the whole lifecycle without the ability to read personal data, and opening an archive outside the running system is an owner-only act. REQ-DBO-PDI-BLIND-OPERATIONS
  • kept by its basis its basis has no result Forgetting a patient destroys their key: their identity is gone at once from current data, history and every backup, and they can no longer be found, while the clinical records stay whole. REQ-PID-FORGETTING-IS-DESTROYING-THE-KEY
    Based on 3 promises
    • not cited Erasure destroys the person's key: history stays byte-immutable, existing archives stay valid as files, and the person's data is cryptographically gone from live store, history, envelopes and archives at once. REQ-DBO-PDI-CRYPTO-SHREDDING
    • not cited Search indexes derived from personal elements are vault-scoped or rebuilt on shred — an erased person is unfindable, not merely unreadable. REQ-DBO-PDI-UNFINDABLE-AFTER-ERASURE
    • not cited Append-only discipline and the right to erasure coexist: shredding never rewrites a record — the record remains, the person evaporates. REQ-DBO-POL-ERASURE-COMPATIBLE
  • kept by its basis its basis has no result Restoring an old backup never brings a forgotten patient back. REQ-PID-A-FORGOTTEN-PATIENT-STAYS-FORGOTTEN
    Based on 1 promise
    • not cited Erasures are recorded without personal data and re-applied on every restore before serving resumes — an old archive cannot silently resurrect an erased person. REQ-DBO-PDI-SHRED-LEDGER
  • kept by its basis its basis has no result A request to forget a patient gets a receipt saying how far the erasure got and whether the person was ever held, and asking again gets the same answer. REQ-PID-ERASURE-HAS-A-RECEIPT
    Based on 2 promises
    • not cited A person's erasure is asked for as work and answered by a run: the run is the receipt, carrying what was found, how far the erasure got and when. Asking twice finds the run that already exists rather than opening a second account of one erasure, and a person this store never held closes the run saying so — a repeated request is not an error and an unknown subject is not a refusal. A failure releases the run with its reason rather than closing it, because an erasure that read as done is the one outcome the record exists to prevent. REQ-DBO-PDI-ERASURE-IS-A-RUN
    • not cited The erasure names the points it passes — the key destroyed, the index removed, the ledger written — so an erasure that stopped between the irreversible half and the half that makes a restore safe is visible as exactly that. It reports what it did rather than that it ran: whether a key was there to destroy tells erased apart from was-never-here, which are different answers to a data subject. REQ-DBO-PDI-ERASURE-SAYS-HOW-FAR-IT-GOT