Implementation Guide
ePA Medication Service
Version 1.2.0-ballot.2 - draft

## : ExampleSearchsetBundleEPAMedicationDispense - XML Representation

Raw xml | Download

    <Bundle xmlns="http://hl7.org/fhir">
      <id value="example-searchset-medicationdispense"/>
      <type value="searchset"/>
      <total value="100"/>
      <link>
        <relation value="self"/>
        <url
             value="/epa/medication/api/v1/fhir/MedicationDispense?_offset=20&amp;_count=10"/>
      </link>
      <link>
        <relation value="previous"/>
        <url
             value="/epa/medication/api/v1/fhir/MedicationDispense?_offset=10&amp;_count=10"/>
      </link>
      <link>
        <relation value="next"/>
        <url
             value="/epa/medication/api/v1/fhir/MedicationDispense?_offset=30&amp;_count=10"/>
      </link>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/c0b553bd-2542-49d7-b5e1-0a770185e39f"/>
        <resource>
          <MedicationDispense>
            <id value="c0b553bd-2542-49d7-b5e1-0a770185e39f"/>
            <meta>
              <versionId value="1"/>
              <lastUpdated value="2025-02-27T14:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension">
              <valueIdentifier>
                <system
                        value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
                <value value="160.100.000.000.001.39_20250227"/>
              </valueIdentifier>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="9475102b-7677-4ab8-9449-91b91c6aeaa3_160.100.000.000.001.39"/>
            </identifier>
            <status value="completed"/>
            <medicationReference>🔗
              <reference value="Medication/56ca34f1-a3f3-42f7-95a2-f5a6423c2031"/>
            </medicationReference>
            <subject>
              <identifier>
                <system value="http://fhir.de/sid/gkv/kvid-10"/>
                <value value="X110411319"/>
              </identifier>
            </subject>
            <performer>
              <actor>🔗
                <reference
                           value="Organization/151f1697-7512-4e21-9466-1b75207475d8"/>
                <identifier>
                  <type>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                      <version value="2.9.0"/>
                      <code value="PRN"/>
                      <display value="Provider number"/>
                    </coding>
                  </type>
                  <system value="https://gematik.de/fhir/sid/telematik-id"/>
                  <value value="9-2.58.00000023"/>
                </identifier>
                <display value="gematik Apotheke"/>
              </actor>
            </performer>
            <authorizingPrescription>🔗
              <reference
                         value="MedicationRequest/7efae80a-a4d9-4e26-a1b9-92c72e79cfaa"/>
            </authorizingPrescription>
            <whenHandedOver value="2025-02-27"/>
            <substitution>
              <wasSubstituted value="false"/>
            </substitution>
          </MedicationDispense>
        </resource>
        <search>
          <mode value="match"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43"/>
        <resource>
          <MedicationDispense>
            <id value="4e6e1623-778e-44a3-b208-8479f5339e43"/>
            <meta>
              <versionId value="1"/>
              <lastUpdated value="2025-05-22T14:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension">
              <valueIdentifier>
                <system
                        value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
                <value value="160.100.000.000.006.24_20250520"/>
              </valueIdentifier>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="5d8fbf7c-bdb0-44c2-95fe-423ae0404ccd_160.100.000.000.006.24"/>
            </identifier>
            <status value="completed"/>
            <medicationReference>🔗
              <reference value="Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd"/>
            </medicationReference>
            <subject>
              <identifier>
                <system value="http://fhir.de/sid/gkv/kvid-10"/>
                <value value="X110411319"/>
              </identifier>
            </subject>
            <performer>
              <actor>🔗
                <reference
                           value="Organization/151f1697-7512-4e21-9466-1b75207475d8"/>
                <identifier>
                  <type>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                      <version value="2.9.0"/>
                      <code value="PRN"/>
                      <display value="Provider number"/>
                    </coding>
                  </type>
                  <system value="https://gematik.de/fhir/sid/telematik-id"/>
                  <value value="9-2.58.00000023"/>
                </identifier>
                <display value="gematik Apotheke"/>
              </actor>
            </performer>
            <authorizingPrescription>🔗
              <reference
                         value="MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72"/>
            </authorizingPrescription>
            <whenHandedOver value="2025-05-22"/>
            <substitution>
              <wasSubstituted value="false"/>
            </substitution>
          </MedicationDispense>
        </resource>
        <search>
          <mode value="match"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/3c10c1ad-1d7a-47e8-abab-00b8299b49b8"/>
        <resource>
          <MedicationDispense>
            <id value="3c10c1ad-1d7a-47e8-abab-00b8299b49b8"/>
            <meta>
              <versionId value="1"/>
              <lastUpdated value="2025-11-27T14:43:40.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension">
              <valueIdentifier>
                <system
                        value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
                <value value="160.100.000.000.002.36_20251127"/>
              </valueIdentifier>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="6c94dbcb-e8b0-41cc-b45e-cd00c3495cad_160.100.000.000.002.36"/>
            </identifier>
            <status value="completed"/>
            <medicationReference>🔗
              <reference value="Medication/ab8addbd-c4c7-48d2-bf4b-4a7c99f9fd6e"/>
            </medicationReference>
            <subject>
              <identifier>
                <system value="http://fhir.de/sid/gkv/kvid-10"/>
                <value value="X110411319"/>
              </identifier>
            </subject>
            <performer>
              <actor>🔗
                <reference
                           value="Organization/151f1697-7512-4e21-9466-1b75207475d8"/>
                <identifier>
                  <type>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                      <version value="2.9.0"/>
                      <code value="PRN"/>
                      <display value="Provider number"/>
                    </coding>
                  </type>
                  <system value="https://gematik.de/fhir/sid/telematik-id"/>
                  <value value="9-2.58.00000023"/>
                </identifier>
                <display value="gematik Apotheke"/>
              </actor>
            </performer>
            <authorizingPrescription>🔗
              <reference
                         value="MedicationRequest/40df19aa-40e2-4ebc-a11d-9d232dcb0f67"/>
            </authorizingPrescription>
            <whenHandedOver value="2025-02-27"/>
            <substitution>
              <wasSubstituted value="false"/>
            </substitution>
          </MedicationDispense>
        </resource>
        <search>
          <mode value="match"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/5aeaf266-a7ee-4e9d-bcb9-3c7dde96abad"/>
        <resource>
          <MedicationDispense>
            <id value="5aeaf266-a7ee-4e9d-bcb9-3c7dde96abad"/>
            <meta>
              <versionId value="1"/>
              <lastUpdated value="2025-12-03T14:00:00.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension">
              <valueIdentifier>
                <system
                        value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
                <value value="160.100.000.000.019.82_20251202"/>
              </valueIdentifier>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="ad9696d3-bc6b-4033-bdd7-14b934dc4426_160.100.000.000.019.82"/>
            </identifier>
            <status value="completed"/>
            <medicationReference>🔗
              <reference value="Medication/3f0b0cb0-e8cf-4aaf-bad8-01a51619417b"/>
            </medicationReference>
            <subject>
              <identifier>
                <system value="http://fhir.de/sid/gkv/kvid-10"/>
                <value value="X110411319"/>
              </identifier>
            </subject>
            <performer>
              <actor>🔗
                <reference
                           value="Organization/151f1697-7512-4e21-9466-1b75207475d8"/>
                <identifier>
                  <type>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                      <version value="2.9.0"/>
                      <code value="PRN"/>
                      <display value="Provider number"/>
                    </coding>
                  </type>
                  <system value="https://gematik.de/fhir/sid/telematik-id"/>
                  <value value="9-2.58.00000023"/>
                </identifier>
                <display value="gematik Apotheke"/>
              </actor>
            </performer>
            <authorizingPrescription>🔗
              <reference
                         value="MedicationRequest/0e7f16e4-d879-4a2c-8292-41c55201bbdd"/>
            </authorizingPrescription>
            <whenHandedOver value="2025-12-03"/>
            <substitution>
              <wasSubstituted value="false"/>
            </substitution>
          </MedicationDispense>
        </resource>
        <search>
          <mode value="match"/>
        </search>
      </entry>
    </Bundle>