ediverse Explore the platform

Spotlight PEPPOL BIS Billing 3.0 The EU e-invoicing mandate is here — France Sept 2026, Belgium Jan 2026, Germany 2025.

Linkage — Duplicate merge

The declaration that a set of FHIR resources represents the same real-world entity. The preferred tool of MPIs (Master Patient Indexes) and HIEs to resolve duplicates.

Purpose of the resource

Linkage connects several FHIR resources by stating that they all represent the same real-world entity. Where Patient.link is used for in-domain merges within a single jurisdiction, Linkage is used for cross-organisation merges, post-HIE import or data-quality work led by a steward (MPI manager, integrator).

Key fields

FieldTypeCardinalityRole
activeboolean0..1Whether the linkage is active (true) or archived.
authorReference(Practitioner | PractitionerRole | Organization)0..1Author of the linkage.
itemBackboneElement[]1..*Linked items (at least 2 expected).
item.typecode1..1source | alternate | historical.
item.resourceReference(Any)1..1Linked resource.

JSON example

json linkage-example.json
{
  "resourceType": "Linkage",
  "id": "patient-merge-001",
  "active": true,
  "author": { "reference": "Organization/hospital-mpi-team" },
  "item": [{
    "type": "source",
    "resource": { "reference": "Patient/patient-A" }
  }, {
    "type": "alternate",
    "resource": { "reference": "Patient/patient-B-duplicate" }
  }, {
    "type": "alternate",
    "resource": { "reference": "Patient/patient-C-imported" }
  }]
}

Common pitfalls

  • No source — at least one item must be type=source (master reference).
  • Circular linkage — two Linkages referring to each other: avoid.
  • Confusion with Patient.link — Linkage is external and inter-resource; Patient.link is internal and limited to Patient/RelatedPerson.