{
  "resourceType" : "OperationDefinition",
  "id" : "QueryPossibleMatches",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition QueryPossibleMatches</b></p><a name=\"QueryPossibleMatches\"> </a><a name=\"hcQueryPossibleMatches\"> </a><p>URL: [base]/$queryPossibleMatches</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>_offset</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#integer\">integer</a></td><td/><td><div><p>Offset für Paging (Anzahl der zu überspringenden match-Parameter)</p>\n</div></td></tr><tr><td>IN</td><td>_count</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>Anzahl der zurück zu gebenden match-Parameter (Paging)</p>\n</div></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>0..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). Ist dieser Parameter nicht angegeben, werden alle Matches zur Domäne zurück gegeben.</p>\n</div></td></tr><tr><td>OUT</td><td>prev</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td/><td><div><p>Bei Paging: URL der vorausgehenden Seite.</p>\n</div></td></tr><tr><td>OUT</td><td>self</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td/><td><div><p>Bei Paging: URL der aktuellen Seite.</p>\n</div></td></tr><tr><td>OUT</td><td>next</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td/><td><div><p>Bei Paging: URL der folgenden Seite.</p>\n</div></td></tr><tr><td>OUT</td><td>match</td><td/><td>0..*</td><td/><td/><td><div><p>Match-Informationen zu zwei Identitäten.</p>\n</div></td></tr><tr><td>OUT</td><td>match.matchItem</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.</p>\n</div></td></tr><tr><td>OUT</td><td>match.matchScore</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.matchResult</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>Matchende Identitäts-Informationen sowie zugehörige Meta-Informationen ausgeben.</p>\n</div></div>"
  },
  "url" : "https://ths-greifswald.de/fhir/OperationDefinition/epix/QueryPossibleMatches",
  "version" : "2025.2.0",
  "name" : "QueryPossibleMatches",
  "title" : "queryPossibleMatches",
  "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" : "Gibt Matches zu einer Domäne oder zu einem bestimmten MPI-Eintrag aus.",
  "affectsState" : false,
  "code" : "queryPossibleMatches",
  "comment" : "Matchende Identitäts-Informationen sowie zugehörige Meta-Informationen ausgeben.",
  "system" : true,
  "type" : false,
  "instance" : false,
  "parameter" : [{
    "name" : "_offset",
    "use" : "in",
    "min" : 0,
    "max" : "1",
    "documentation" : "Offset für Paging (Anzahl der zu überspringenden match-Parameter)",
    "type" : "integer"
  },
  {
    "name" : "_count",
    "use" : "in",
    "min" : 0,
    "max" : "1",
    "documentation" : "Anzahl der zurück zu gebenden match-Parameter (Paging)",
    "type" : "string"
  },
  {
    "name" : "domain",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "Angabe der Matching-Domaene",
    "type" : "string"
  },
  {
    "name" : "mpiId",
    "use" : "in",
    "min" : 0,
    "max" : "1",
    "documentation" : "Identifikator eines MPI-Entrags (MPI-ID, Person.identifier). Ist dieser Parameter nicht angegeben, werden alle Matches zur Domäne zurück gegeben.",
    "type" : "Identifier"
  },
  {
    "name" : "prev",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "documentation" : "Bei Paging: URL der vorausgehenden Seite.",
    "type" : "uri"
  },
  {
    "name" : "self",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "documentation" : "Bei Paging: URL der aktuellen Seite.",
    "type" : "uri"
  },
  {
    "name" : "next",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "documentation" : "Bei Paging: URL der folgenden Seite.",
    "type" : "uri"
  },
  {
    "name" : "match",
    "use" : "out",
    "min" : 0,
    "max" : "*",
    "documentation" : "Match-Informationen zu zwei Identitäten.",
    "part" : [{
      "name" : "matchItem",
      "use" : "out",
      "min" : 2,
      "max" : "2",
      "documentation" : "Die beiden matchenden Identitäten.",
      "type" : "Patient"
    },
    {
      "name" : "matchScore",
      "use" : "out",
      "min" : 1,
      "max" : "1",
      "documentation" : "Matching-Score",
      "type" : "decimal"
    },
    {
      "name" : "matchResult",
      "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"
    }]
  }]
}