← The Patient Record

FEAT-MASTER-PATIENT-INDEX

Master Patient Index

Every patient is one record, and the platform's data store keeps that record honest. The platform does not run a patient index of its own beside the store: each customer organisation declares, once, which code identifies a person and that identifying details are personal data — and the store does the rest. It recognises the same person arriving twice, refuses a second record for someone it already knows, seals the identifying details under a key that belongs to that person, discloses them only for a stated purpose, and forgets them on request.

Why this matters

A patient index exists to answer two questions reliably: is this the person we already know? and who may see who they are? A platform that answers them in a separate component — an index beside the clinical record, with its own copy of every name and its own link back — has two records of every person to keep in step, two places to secure, and two places a request to be forgotten has to reach.

Jengu answers both questions where the record is written. The data store is told, in the customer organisation's own configuration, which identifier names a person and which details identify them. From then on every write and every read is held to that declaration, however it reaches the store. There is nothing beside the record to fall out of step with it.

What's in the box

One record per person

A person is recorded once. The national identity code is claimed by the person's record, and the store refuses a second record claiming a code it already holds — the duplicate is stopped when it is written, not found and merged later. The clinical patient record links to the person and claims no identifier of its own.

Identification, confirmed by the store

Recognising an arriving person, deciding between candidates, and binding a record to the person it belongs to are operations the store offers for each customer organisation. They run against the declared identifier, so the answer is the same whichever part of the platform asks.

Identification is on demand, never default

Names, contact details and the national code are sealed in place under a key belonging to that person. A read that does not state a purpose gets the clinical record without them. A read that states a purpose gets them, and the disclosure is recorded with that purpose. Routine work — a lab worklist, a ward overview, a dashboard — is identity-free without anybody having to remember to make it so.

Forgetting is a key destroyed

A request to be forgotten destroys the person's key. Every copy of the sealed details — in history, in backups, in replicas — becomes unreadable at once, and the erasure is recorded so a restore cannot bring them back. Clinical records the law requires the customer organisation to keep survive without anyone's name on them.

Standards we lean on

  • GDPR Art 4(5) (pseudonymisation), Art 5(1)(c) (data minimisation), Art 25 (data protection by design and by default).
  • GDPR Art 9 — identity combined with health data is special-category processing; sealing the identifying details bounds where the combination can be read.
  • GDPR Art 17 — erasure by destroying the person's key.
  • HL7 FHIR PurposeOfUse — the vocabulary a stated purpose is drawn from.
  • ISO 27001:2022 Annex A.5.34 (privacy and protection of personal data).

What customers and operators experience

  • A registration clerk entering a patient whose national code is already on record is told so, instead of creating a second person.
  • A clinician works from the clinical record; when they need the name, their request states why, and the name appears.
  • A DPO reads one disclosure trail: who saw whose identity, when, and for what purpose.
  • A patient asking to be forgotten has their identifying details made unreadable everywhere they were copied, while the clinical record the organisation must keep remains, unnamed.
  • An operator with database access finds identifying details as ciphertext under keys they do not hold.

Limits and trade-offs

  • No demographic matching. The platform does not offer a search for likely matches by name and date of birth. Identifying details are sealed, and the store refuses an identifying search over them; a person is recognised by the identifier their record claims.
  • No erasure screen of the platform's own. A request to be forgotten is carried out by the store's erasure operation; the platform does not yet put its own screen or API in front of it.
  • Spoken and written names are a separate concern. A name said at the bedside or typed into a note is handled by Speech Anonymisation and Patient Data Anonymisation, not by the patient record.
  • Outbound correspondence carries identity by definition. The platform does not send identifying patient data to outside systems today; when it does, each sending is a step that names its recipient and is recorded.
What it rests on
0 / 11 passing 11 without a result yet
  • 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 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 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 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'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 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