<?xml version="1.0" encoding="UTF-8"?>

<OperationDefinition xmlns="http://hl7.org/fhir">
  <id value="AddPossibleMatch"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationDefinition AddPossibleMatch</b></p><a name="AddPossibleMatch"> </a><a name="hcAddPossibleMatch"> </a><p>URL: [base]/$addPossibleMatch</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>domain</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td/><td><div><p>Angabe der Matching-Domaene</p>
</div></td></tr><tr><td>IN</td><td>mpiId</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#Identifier">Identifier</a></td><td/><td><div><p>Identifikator eines MPI-Entrags (MPI-ID, Person.identifier).</p>
</div></td></tr><tr><td>IN</td><td>aliasMpiId</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#Identifier">Identifier</a></td><td/><td><div><p>Identifikator des matchenden MPI-Entrags.</p>
</div></td></tr><tr><td>OUT</td><td>match</td><td/><td>1..1</td><td/><td/><td><div><p>Match-Informationen zu zwei Identitäten.</p>
</div></td></tr><tr><td>OUT</td><td>match.item</td><td/><td>2..2</td><td><a href="http://hl7.org/fhir/R4/patient.html">Patient</a></td><td/><td><div><p>Die beiden matchenden Identitäten wie im Request übergeben.</p>
</div></td></tr><tr><td>OUT</td><td>match.score</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#decimal">decimal</a></td><td/><td><div><p>Matching-Score</p>
</div></td></tr><tr><td>OUT</td><td>match.result</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#decimal">decimal</a></td><td/><td><div><p>Matching-Ergebnis</p>
</div></td></tr><tr><td>OUT</td><td>match.linkId</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#integer">integer</a></td><td/><td><div><p>Link-ID des Matches</p>
</div></td></tr><tr><td>OUT</td><td>match.comment</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td/><td><div><p>Anmerkung zum Match</p>
</div></td></tr></table><div><p>Fügt einen Match zu einem bestimmten MPI-Eintrag einer Domäne hinzu.</p>
</div></div>
  </text>
  <url value="https://ths-greifswald.de/fhir/OperationDefinition/epix/AddPossibleMatch"/>
  <version value="2025.2.0"/>
  <name value="AddPossibleMatch"/>
  <title value="addPossibleMatch"/>
  <status value="draft"/>
  <kind value="operation"/>
  <date value="2026-02-05"/>
  <publisher value="Unabhängige Treuhandstelle der Universitätsmedizin Greifswald"/>
  <contact>
    <name value="Unabhängige Treuhandstelle der Universitätsmedizin Greifswald"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.ths-greifswald.de/"/>
    </telecom>
  </contact>
  <description value="Fügt einen Match zu einem bestimmten MPI-Eintrag einer Domäne hinzu."/>
  <affectsState value="true"/>
  <code value="addPossibleMatch"/>
  <comment value="Fügt einen Match zu einem bestimmten MPI-Eintrag einer Domäne hinzu."/>
  <system value="true"/>
  <type value="false"/>
  <instance value="false"/>
  <parameter>
    <name value="domain"/>
    <use value="in"/>
    <min value="1"/>
    <max value="1"/>
    <documentation value="Angabe der Matching-Domaene"/>
    <type value="string"/>
  </parameter>
  <parameter>
    <name value="mpiId"/>
    <use value="in"/>
    <min value="1"/>
    <max value="1"/>
    <documentation value="Identifikator eines MPI-Entrags (MPI-ID, Person.identifier)."/>
    <type value="Identifier"/>
  </parameter>
  <parameter>
    <name value="aliasMpiId"/>
    <use value="in"/>
    <min value="1"/>
    <max value="1"/>
    <documentation value="Identifikator des matchenden MPI-Entrags."/>
    <type value="Identifier"/>
  </parameter>
  <parameter>
    <name value="match"/>
    <use value="out"/>
    <min value="1"/>
    <max value="1"/>
    <documentation value="Match-Informationen zu zwei Identitäten."/>
    <part>
      <name value="item"/>
      <use value="out"/>
      <min value="2"/>
      <max value="2"/>
      <documentation value="Die beiden matchenden Identitäten wie im Request übergeben."/>
      <type value="Patient"/>
    </part>
    <part>
      <name value="score"/>
      <use value="out"/>
      <min value="1"/>
      <max value="1"/>
      <documentation value="Matching-Score"/>
      <type value="decimal"/>
    </part>
    <part>
      <name value="result"/>
      <use value="out"/>
      <min value="1"/>
      <max value="1"/>
      <documentation value="Matching-Ergebnis"/>
      <type value="decimal"/>
    </part>
    <part>
      <name value="linkId"/>
      <use value="out"/>
      <min value="1"/>
      <max value="1"/>
      <documentation value="Link-ID des Matches"/>
      <type value="integer"/>
    </part>
    <part>
      <name value="comment"/>
      <use value="out"/>
      <min value="0"/>
      <max value="1"/>
      <documentation value="Anmerkung zum Match"/>
      <type value="string"/>
    </part>
  </parameter>
</OperationDefinition>