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