Package | fhir.ca-bc.client |
Resource Type | OperationDefinition |
Id | bc-patient-merge |
FHIR Version | R4 |
Source | https://simplifier.net/resolve?scope=fhir.ca-bc.client@1.0.1&canonical=http://hlth.gov.bc.ca/fhir/client/OperationDefinition/bc-patient-merge |
URL | http://hlth.gov.bc.ca/fhir/client/OperationDefinition/bc-patient-merge |
Version | 1.0.0 |
Status | draft |
Date | 2025-02-07T23:01:35+00:00 |
Name | MergePatient |
Title | Merge Patient |
Realm | us |
Authority | hl7 |
Description | This operation is used to merge patients. |
Type | true |
Kind | operation |
CapabilityStatement | |
bc-hcim-capability-statement-server | BC HCIM Server Capability Statement |
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: OperationDefinition bc-patient-merge
URL: [base]/Patient/$Merge
Input parameters Profile:Parameters
Output parameters Profile:Parameters
Use | Name | Scope | Cardinality | Type | Binding | Documentation |
IN | source-patient | 0..1 | Patient | 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 a part of a review by a user. | ||
IN | target-patient | 0..1 | Patient | A direct resource reference to the target patient resource. This is the surviving patient resource, the target for the merge. | ||
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 a part of a review by a user. | ||
IN | result-patient | 0..1 | Patient | The details of the Patient resource that is expected to be updated to complete with and must have the same patient.id and provided identifiers included. This resource MUST have the link property included referencing the source patient resource. It will be used to perform an update on the target patient resource. In the absence of this parameter the servers should copy all identifiers from the source patient into the target patient, and include the link property. This is often used when properties from the source patient are desired to be included in the target resource. The receiving system may also apply other internal business rules onto the merge which may make the resource different from what is provided here. | ||
OUT | return | 1..1 | Parameters | The Parameters resource will include: The Input parameters to the operation, An OperationOutcome containing errors, warnings, and information messages, The resulting merged Patient resource (or a patient reference if the patient is not committed), Optionally a Task resource to track any additional processing that was required. |
{ "resourceType": "OperationDefinition", "id": "bc-patient-merge", "text": { "status": "generated", "div": "<!-- snip (see above) -->" }, "url": "http://hlth.gov.bc.ca/fhir/client/OperationDefinition/bc-patient-merge", "version": "1.0.0", "name": "MergePatient", "title": "Merge Patient", "status": "draft", "kind": "operation", "date": "2025-02-07T23:01:35+00:00", "publisher": "BC Ministry of Health", "contact": [ { "name": "BC Ministry of Health", "telecom": [ { "system": "url", "value": "https://www2.gov.bc.ca/gov/content/governments/organizational-structure/ministries-organizations/ministries/health" } ] } ], "description": "This operation is used to merge patients.", "jurisdiction": [ { "coding": [ { "system": "urn:iso:std:iso:3166", "code": "CA", "display": "Canada" } ] } ], "code": "Merge", "resource": [ "Patient" ], "system": false, "type": true, "instance": false, "inputProfile": "http://hl7.org/fhir/StructureDefinition/Parameters", "outputProfile": "http://hl7.org/fhir/StructureDefinition/Parameters", "parameter": [ { "name": "source-patient", "use": "in", "min": 0, "max": "1", "documentation": "A direct resource reference to the source patient resource (this may include an identifier).", "type": "Patient" }, { "name": "source-patient-identifier", "use": "in", "min": 0, "max": "*", "documentation": "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 a part of a review by a user.", "type": "Identifier" }, { "name": "target-patient", "use": "in", "min": 0, "max": "1", "documentation": "A direct resource reference to the target patient resource. This is the surviving patient resource, the target for the merge.", "type": "Patient" }, { "name": "target-patient-identifier", "use": "in", "min": 0, "max": "*", "documentation": "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 a part of a review by a user.", "type": "Identifier" }, { "name": "result-patient", "use": "in", "min": 0, "max": "1", "documentation": "The details of the Patient resource that is expected to be updated to complete with and must have the same patient.id and provided identifiers included. This resource MUST have the link property included referencing the source patient resource. It will be used to perform an update on the target patient resource. In the absence of this parameter the servers should copy all identifiers from the source patient into the target patient, and include the link property. This is often used when properties from the source patient are desired to be included in the target resource. The receiving system may also apply other internal business rules onto the merge which may make the resource different from what is provided here.", "type": "Patient" }, { "name": "return", "use": "out", "min": 1, "max": "1", "documentation": "The Parameters resource will include: The Input parameters to the operation, An OperationOutcome containing errors, warnings, and information messages, The resulting merged Patient resource (or a patient reference if the patient is not committed), Optionally a Task resource to track any additional processing that was required.", "type": "Parameters" } ] }