Patsientide üldandmete teenus / Master Patient Index
1.0.0 - ballot
Patsientide üldandmete teenus / Master Patient Index - Local Development build (v1.0.0). See the Directory of published versions
Official URL: https://fhir.ee/OperationDefinition/patient-link | Version: 1.0.0 | |||
Standards status: Trial-use | Maturity Level: 1 | 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’ created from source to destination patient, the another link with type ‘replaced-byä created from destination to source patient. As result of linking the destination patient is deactivated.
URL: [base]/Patient/$link
Parameters
Use | Name | Scope | Cardinality | Type | Binding | Documentation |
IN | source-patient | 0..1 | Reference | A direct resource reference to the source patient resource (this may include an identifier). | ||
IN | source-patient-identifier | 0..* | Identifier | When source-patient-identifiers are provided, the server is expected to perform an internal lookup to identify the source patient record. The server SHALL reject the request if the provided identifiers do not resolve to a single patient record. This resolution MAY occur asynchronously, for example, as part of a review by a user. | ||
IN | target-patient | 0..1 | Reference | A direct resource reference to the target patient resource. This is the surviving patient resource, the target for the link. | ||
IN | target-patient-identifier | 0..* | Identifier | When target-patient-identifiers are provided, the server is expected to perform an internal lookup to identify the target patient record. The server SHALL reject the request if the provided identifiers do not resolve to a single patient record. This resolution MAY occur asynchronously, for example, as part of a review by a user. | ||
OUT | return | 1..1 | Patient | The status of the response will be one of:
The Parameters resource will include:
|