Client Registry Implementation Guide
0.1.0 - ci-build
Client Registry Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Draft as of 2025-10-23 |
<OperationDefinition xmlns="http://hl7.org/fhir">
<id value="lk-patient-merge"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationDefinition lk-patient-merge</b></p><a name="lk-patient-merge"> </a><a name="hclk-patient-merge"> </a><p>URL: [base]/Patient/$merge</p><h3>Parameters</h3><table class="grid"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>source-patient</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/references.html#Reference">Reference</a> (<a href="StructureDefinition-LKPatient.html" title="http://ig.hiu.lk/fhir/clientregistry/StructureDefinition/LKPatient">LKPatient</a>)</td><td/><td><div><p>The source Patient.</p>
</div></td></tr><tr><td>IN</td><td>source-patient-identifier</td><td/><td>1..*</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#Identifier">Identifier</a></td><td/><td><div><p>The source Patient identifier.</p>
</div></td></tr><tr><td>IN</td><td>target-patient</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/references.html#Reference">Reference</a> (<a href="StructureDefinition-LKPatient.html" title="http://ig.hiu.lk/fhir/clientregistry/StructureDefinition/LKPatient">LKPatient</a>)</td><td/><td><div><p>The surviving Patient resource.</p>
</div></td></tr><tr><td>IN</td><td>target-patient-identifier</td><td/><td>1..*</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#Identifier">Identifier</a></td><td/><td><div><p>The surviving Patient identifier.</p>
</div></td></tr><tr><td>IN</td><td>result-patient</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/patient.html">Patient</a> (<a href="StructureDefinition-LKPatient.html" title="http://ig.hiu.lk/fhir/clientregistry/StructureDefinition/LKPatient">LKPatient</a>)</td><td/><td><div><p>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.</p>
</div></td></tr><tr><td>IN</td><td>preview</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#boolean">boolean</a></td><td/><td><div><p>If this is set to true then the merge will not be actually performed; an OperationOutcome will be returned in the Parameters response that will indicate that no merge has occurred and may include other diagnostic info if desired, such as the scale of the merge.</p>
</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/parameters.html">Parameters</a></td><td/><td><div><p>The returned status and Resources, including the merged Patient resource. See https://hl7.org/fhir/R5/patient-operation-merge.html for full details.</p>
</div></td></tr></table></div>
</text>
<url
value="http://ig.hiu.lk/fhir/clientregistry/OperationDefinition/lk-patient-merge"/>
<version value="0.1.0"/>
<name value="ClientMerge"/>
<title value="Operation to Merge Patient Instances"/>
<status value="draft"/>
<kind value="operation"/>
<date value="2025-10-23T17:43:42+00:00"/>
<publisher value="Sir Lanka Ministry of Health"/>
<contact>
<name value="Sir Lanka Ministry of Health"/>
<telecom>
<system value="url"/>
<value value="https://www.health.gov.lk"/>
</telecom>
</contact>
<description value="This operation is used to merge Patient instances."/>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="LKA"/>
<display value="Sri Lanka"/>
</coding>
</jurisdiction>
<code value="merge"/>
<resource value="Patient"/>
<system value="false"/>
<type value="true"/>
<instance value="false"/>
<parameter>
<name value="source-patient"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<documentation value="The source Patient."/>
<type value="Reference"/>
<targetProfile
value="http://ig.hiu.lk/fhir/clientregistry/StructureDefinition/LKPatient"/>
</parameter>
<parameter>
<name value="source-patient-identifier"/>
<use value="in"/>
<min value="1"/>
<max value="*"/>
<documentation value="The source Patient identifier."/>
<type value="Identifier"/>
</parameter>
<parameter>
<name value="target-patient"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<documentation value="The surviving Patient resource."/>
<type value="Reference"/>
<targetProfile
value="http://ig.hiu.lk/fhir/clientregistry/StructureDefinition/LKPatient"/>
</parameter>
<parameter>
<name value="target-patient-identifier"/>
<use value="in"/>
<min value="1"/>
<max value="*"/>
<documentation value="The surviving Patient identifier."/>
<type value="Identifier"/>
</parameter>
<parameter>
<name value="result-patient"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<documentation
value="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."/>
<type value="Patient"/>
<targetProfile
value="http://ig.hiu.lk/fhir/clientregistry/StructureDefinition/LKPatient"/>
</parameter>
<parameter>
<name value="preview"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<documentation
value="If this is set to true then the merge will not be actually performed; an OperationOutcome will be returned in the Parameters response that will indicate that no merge has occurred and may include other diagnostic info if desired, such as the scale of the merge."/>
<type value="boolean"/>
</parameter>
<parameter>
<name value="return"/>
<use value="out"/>
<min value="1"/>
<max value="1"/>
<documentation
value="The returned status and Resources, including the merged Patient resource. See https://hl7.org/fhir/R5/patient-operation-merge.html for full details."/>
<type value="Parameters"/>
</parameter>
</OperationDefinition>