Patsiendi üldandmete teenus / Master Patient Index
1.4.0 - trial-use Estonia flag

Patsiendi üldandmete teenus / Master Patient Index - Downloaded Version 1.4.0 See the Directory of published versions

OperationDefinition: Patient Link

Official URL: https://fhir.ee/mpi/OperationDefinition/patient-link Version: 1.4.0
Active as of 2025-10-14 Computable Name: EEMPIPatientLink

The link operation is used to link two patient resources. One of the two patients is identified as the source and one as the target. The link with type 'replaces' is created in target patient resource and points to source patient, the another link with type 'replaced-by' is created in source patient resource and points to target patient.

URL: [base]/Patient/$link

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INsource-patient0..1Reference (EE MPI Patient)

A direct resource reference to the source patient resource

INsource-patient-identifier0..*Identifier

An identifier of the source patient

INtarget-patient0..1Reference (EE MPI Patient)

A direct resource reference to the target patient resource.

This is the surviving patient resource, the target for the link.

INtarget-patient-identifier0..*Identifier

An identifier of the target patient

OUTreturn1..1Patient

In case of successful link operation it returns the target patient resource with newly created link. In case of error returns OperationOutcome with detailed error message.