Purpose
The AMCDR Enterprise MPI links a person's records across organisations. It extends the existing MPI while keeping facility MRNs and source identities.
Identity model
Patient.id remains the internal FHIR/database reference. Patient.enterprise_patient_id is the stable enterprise business identifier. NIN, AIN, MRN and other external values remain governed PartyIdentifier records.
{
"system": "https://amcdr.health/fhir/NamingSystem/empi",
"value": "EMPI-...",
"use": "official"
}
Identifier trust lifecycle
| Status | Meaning |
|---|---|
reported | Supplied by a patient or source system. |
format-validated | Syntax passed; ownership is not established. |
document-checked | An authorised worker inspected documentary evidence. |
electronically-verified | An authorised identity service confirmed the identifier. |
verification-failed | A verification attempt failed. |
revoked | A governed correction invalidated the association. |
Every transition creates an immutable event with the previous and new state, method, authority, evidence reference, actor, time, reason and governance scope. AMCDR prevents the same active identifier from being electronically verified for two enterprise identities.
electronically-verified only through an approved national verification integration.Matching and reconciliation
- Strong identifiers provide high-confidence evidence but never bypass conflict checks.
- Demographic matching supports people without a national identifier.
- Conflicts create MPI steward tasks rather than silent merges.
- Merge approval preserves a change manifest and survivorship snapshot.
- Unmerge restores recorded state while source identifiers remain traceable.
- Merged identities resolve to the survivor for subsequent writes.
Interfaces
GET /mpi/capability
POST /mpi/pdq/search
POST /mpi/pix/query
POST /mpi/pix/feed
POST /mpi/fhir/patient/search
GET /mpi/fhir/patient/{patient_id}
POST /mpi/fhir/patient
PUT /mpi/fhir/patient/{patient_id}
POST /mpi/internal/candidates
POST /mpi/internal/merge
POST /mpi/internal/unmerge
GET /mpi/internal/links/{patient_id}
POST /mpi/internal/identifiers/{identifier_id}/verify
GET /mpi/internal/identifiers/{identifier_id}/verification-history
Identifier verification is restricted to MPI and identity-governance roles.
Preparing a shared patient record
Stage 2: a read-only longitudinal record
- Every identity-producing ingestion path reconciles through EMPI.
- Reported identifiers remain distinguishable from verified identifiers.
- Uncertain matches enter a steward queue.
- Consent, purpose-of-use, patient-compartment and break-glass controls are active.
- Clinical assertions retain source provenance.
- Merge, unmerge, backup and recovery have been exercised.
Stage 3: a reconciled shared-care record
Merging identities does not reconcile diagnoses, allergies, medicines, results or problem lists. Review conflicting clinical entries through their own reconciliation workflows and preserve the original authorship.
Migration and safeguards
Migration 0126_enterprise_mpi_identity backfills existing patients without changing UUIDs, MRNs, links or clinical records. It creates the verification ledger and electronically-verified identifier uniqueness guard.
- Never put NINs in URLs, logs, analytics labels or unprotected exports.
- Back up EMPI, provenance and audit data as one recovery unit.
- Monitor duplicate identifiers and unresolved steward tasks.
- Keep corrections reversible and preserve source identifiers after merge.