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

<Bundle xmlns="http://hl7.org/fhir">
  <id value="Bundle-QueryPossibleMatches-response-example-1"/>
  <type value="searchset"/>
  <total value="45"/>
  <link>
    <relation value="self"/>
    <url value="https://ths-greifswald.de/fhir/OperationDefinition/epix/QueryPossibleMatches?domain=MIRACUM&amp;mpiIdentifier=123456789&amp;_offset=0&amp;_count=1"/>
  </link>
  <entry>
    <fullUrl value="urn:uuid:a1b2c3d4-e5f6-7890-1234-56789abcdef0"/>
    <resource>
      <Parameters>
        <id value="MatchResultParameters01"/>
        <meta>
          <lastUpdated value="2026-09-15T16:31:23.000+02:00"/>
          <profile value="https://ths-greifswald.de/fhir/StructureDefinition/epix/MatchParametersProfile"/>
        </meta>
        <parameter>
          <name value="matchItem"/>
          <resource>
            <Patient>
              <id value="Patient1"/>
              <meta>
                <profile value="https://ths-greifswald.de/fhir/StructureDefinition/epix/Patient"/>
              </meta>
              <identifier>
                <system value="https://ths-greifswald.de/fhir/epix/identifier/MPI"/>
                <value value="1001000000066"/>
              </identifier>
              <name>
                <family value="Strange"/>
                <given value="Stephen"/>
              </name>
              <gender value="male"/>
              <birthDate value="1985-04-12"/>
            </Patient>
          </resource>
        </parameter>
        <parameter>
          <name value="matchItem"/>
          <resource>
            <Patient>
              <id value="Patient2"/>
              <meta>
                <profile value="https://ths-greifswald.de/fhir/StructureDefinition/epix/Patient"/>
              </meta>
              <identifier>
                <system value="https://ths-greifswald.de/fhir/epix/identifier/MPI"/>
                <value value="1001000000031"/>
              </identifier>
              <name>
                <family value="Strange"/>
                <given value="Steven"/>
              </name>
              <gender value="male"/>
              <birthDate value="1985-04-12"/>
            </Patient>
          </resource>
        </parameter>
        <parameter>
          <name value="matchProbability"/>
          <valueDecimal value="5.362352"/>
        </parameter>
        <parameter>
          <name value="matchCreated"/>
          <valueDateTime value="2026-09-15T16:31:23.000+02:00"/>
        </parameter>
        <parameter>
          <name value="matchCreationType"/>
          <valueCodeableConcept>
            <coding>
              <system value="https://ths-greifswald.de/fhir/epix/CodeSystem/MatchCreationTypeCS"/>
              <code value="MANUAL"/>
              <display value="MANUAL"/>
            </coding>
          </valueCodeableConcept>
        </parameter>
        <parameter>
          <name value="matchPriority"/>
          <valueCodeableConcept>
            <coding>
              <system value="https://ths-greifswald.de/fhir/epix/CodeSystem/MatchPriorityCS"/>
              <code value="OPEN"/>
              <display value="OPEN"/>
            </coding>
          </valueCodeableConcept>
        </parameter>
        <parameter>
          <name value="matchLinkId"/>
          <valueInteger value="52"/>
        </parameter>
      </Parameters>
    </resource>
  </entry>
</Bundle>