Implementation Guide
ePA Medication Service
Version 1.3.3 - release

## : ExampleEpaGetMedicationListBundle - XML Representation

Raw xml | Download

    <Bundle xmlns="http://hl7.org/fhir">
      <id value="example-get-medication-list-bundle1"/>
      <identifier>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:uuid:9e1f5895-ab0b-4237-856d-fa1065631400"/>
      </identifier>
      <type value="searchset"/>
      <timestamp value="2025-01-01T00:00:00Z"/>
      <total value="16"/>
      <link>
        <relation value="self"/>
        <url
             value="http://epa4all/epa/medication/api/v1/fhir/$medication-list&amp;date=le2025-12-24&amp;date=ge2025-01-01&amp;_count=10&amp;_offset=0"/>
      </link>
      <link>
        <relation value="first"/>
        <url
             value="http://epa4all/epa/medication/api/v1/fhir/$medication-list&amp;date=le2025-12-24&amp;date=ge2025-01-01&amp;_count=10&amp;_offset=0"/>
      </link>
      <link>
        <relation value="next"/>
        <url
             value="http://epa4all/epa/medication/api/v1/fhir/$medication-list&amp;date=le2025-12-24&amp;date=ge2025-01-01&amp;_count=10&amp;_offset=10"/>
      </link>
      <link>
        <relation value="last"/>
        <url
             value="http://epa4all/epa/medication/api/v1/fhir/$medication-list&amp;date=le2025-12-24&amp;date=ge2025-01-01&amp;_count=10&amp;_offset=10"/>
      </link>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Patient/641f4cf5-e54b-406c-b8a8-1d3292fd5087"/>
        <resource>
          <Patient>
            <id value="641f4cf5-e54b-406c-b8a8-1d3292fd5087"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/epa/StructureDefinition/epa-patient|1.3.0"/>
            </meta>
            <identifier>
              <system value="http://fhir.de/sid/gkv/kvid-10"/>
              <value value="X110411319"/>
            </identifier>
            <name>
              <use value="official"/>
              <family value="Mustermann"/>
              <given value="Max"/>
            </name>
            <gender value="male"/>
            <birthDate value="1976-02-01"/>
          </Patient>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7"/>
        <resource>
          <MedicationStatement>
            <id value="f3988023-2313-4645-bd6b-f9e37cfb6fc7"/>
            <meta>
              <versionId value="2"/>
              <lastUpdated value="2025-05-22T14:43:34.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0"/>
            </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>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension">
              <valueCode value="PRESCRIPTION"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction">
              <valueMarkdown value="1-0-1-0 Stück"/>
            </extension>
            <extension
                       url="http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta">
              <extension url="algorithmVersion">
                <valueString value="1.0.1"/>
              </extension>
              <extension url="language">
                <valueCode value="de-DE"/>
              </extension>
            </extension>
            <status value="unknown"/>
            <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>
            <effectivePeriod>
              <start value="2025-05-22"/>
            </effectivePeriod>
            <dateAsserted value="2025-05-22"/>
            <derivedFrom>🔗
              <reference
                         value="MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72"/>
            </derivedFrom>
            <derivedFrom>🔗
              <reference
                         value="MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43"/>
            </derivedFrom>
            <dosage>
              <timing>
                <repeat>
                  <frequency value="2"/>
                  <period value="1"/>
                  <periodUnit value="d"/>
                  <when value="MORN"/>
                  <when value="EVE"/>
                </repeat>
              </timing>
              <doseAndRate>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Stück"/>
                  <system
                          value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT"/>
                  <code value="1"/>
                </doseQuantity>
              </doseAndRate>
            </dosage>
          </MedicationStatement>
        </resource>
        <search>
          <mode value="match"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Provenance/de42aa65-f84e-4e96-acfb-b9fd5e104b2d"/>
        <resource>
          <Provenance>
            <id value="de42aa65-f84e-4e96-acfb-b9fd5e104b2d"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|1.3.0"/>
            </meta>
            <target>
              <reference
                         value="MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7/_history/2"/>
            </target>
            <recorded value="2025-05-22T14:43:34.244Z"/>
            <activity>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/v3-DataOperation"/>
                <code value="UPDATE"/>
              </coding>
            </activity>
            <agent>
              <type>
                <coding>
                  <system
                          value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/>
                  <code value="author"/>
                </coding>
              </type>
              <who>
                <identifier>
                  <system
                          value="https://gematik.de/fhir/sid/epa-fhir-data-service"/>
                  <value value="MEDICATIONSVC"/>
                </identifier>
                <display value="ePA Medication Service"/>
              </who>
            </agent>
          </Provenance>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd"/>
        <resource>
          <Medication>
            <id value="bb91cde8-0426-4f4b-a766-5d818d0605bd"/>
            <meta>
              <versionId value="2"/>
              <lastUpdated value="2025-05-22T14:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0"/>
            </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>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension">
              <valueCoding>
                <system
                        value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/>
                <code value="00"/>
              </valueCoding>
            </extension>
            <extension url="http://fhir.de/StructureDefinition/normgroesse">
              <valueCode value="N1"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension">
              <valueBoolean value="false"/>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier"/>
              <value
                     value="936396A4B0EAD8DE8ACD0F32BBC410523150A2F943908D3C9600AF253BE4B93A"/>
            </identifier>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="ec4d55a0-dec1-46b7-96cc-096845b74c4b_160.100.000.000.006.24"/>
            </identifier>
            <code>
              <coding>
                <system value="http://fhir.de/CodeSystem/ifa/pzn"/>
                <code value="00814665"/>
              </coding>
              <text value="Januvia® 50 mg 28 Filmtabletten N1"/>
            </code>
            <status value="active"/>
            <form>
              <coding>
                <system
                        value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/>
                <code value="FTA"/>
                <display value="Tabletten"/>
              </coding>
            </form>
          </Medication>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72"/>
        <resource>
          <MedicationRequest>
            <id value="3191d752-3adf-4c7f-848d-8d43766fed72"/>
            <meta>
              <versionId value="2"/>
              <lastUpdated value="2025-05-22T14:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.3.0"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension">
              <extension url="indicator">
                <valueBoolean value="false"/>
              </extension>
            </extension>
            <extension
                       url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction">
              <valueMarkdown value="1-0-1-0 Stück"/>
            </extension>
            <extension
                       url="http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta">
              <extension url="algorithmVersion">
                <valueString value="1.0.1"/>
              </extension>
              <extension url="language">
                <valueCode value="de-DE"/>
              </extension>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
              <value value="160.100.000.000.006.24_20250520"/>
            </identifier>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="ec4d55a0-dec1-46b7-96cc-096845b74c4b_160.100.000.000.006.24"/>
            </identifier>
            <status value="active"/>
            <intent value="filler-order"/>
            <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>
            <authoredOn value="2025-05-20"/>
            <requester>🔗
              <reference
                         value="PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa"/>
              <display
                       value="Dr. Max Manfred Mustermann / Praxis Dr. med. Max Mustermann"/>
            </requester>
            <dosageInstruction>
              <timing>
                <repeat>
                  <frequency value="2"/>
                  <period value="1"/>
                  <periodUnit value="d"/>
                  <when value="MORN"/>
                  <when value="EVE"/>
                </repeat>
              </timing>
              <doseAndRate>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Stück"/>
                  <system
                          value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT"/>
                  <code value="1"/>
                </doseQuantity>
              </doseAndRate>
            </dosageInstruction>
            <dispenseRequest>
              <quantity>
                <value value="1"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="{Package}"/>
              </quantity>
            </dispenseRequest>
            <substitution>
              <allowedBoolean value="true"/>
            </substitution>
          </MedicationRequest>
        </resource>
        <search>
          <mode value="include"/>
        </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|1.3.0"/>
            </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"/>
                      <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="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa"/>
        <resource>
          <PractitionerRole>
            <id value="73a551f8-d8cd-4b44-823d-ab5f8aeab1aa"/>
            <practitioner>🔗
              <reference
                         value="Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c"/>
              <identifier>
                <type>
                  <coding>
                    <system
                            value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                    <code value="PRN"/>
                    <display value="Provider number"/>
                  </coding>
                </type>
                <system value="https://gematik.de/fhir/sid/telematik-id"/>
                <value value="1-1.58.00000056"/>
              </identifier>
              <display value="Dr. Max Manfred Mustermann"/>
            </practitioner>
            <organization>🔗
              <reference
                         value="Organization/ad7dc0e7-cb44-4740-ba67-cb573e29d596"/>
              <identifier>
                <type>
                  <coding>
                    <system
                            value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                    <code value="PRN"/>
                    <display value="Provider number"/>
                  </coding>
                </type>
                <system value="https://gematik.de/fhir/sid/telematik-id"/>
                <value value="9-2.58.00000045"/>
              </identifier>
              <display value="Praxis Dr. med. Max Mustermann"/>
            </organization>
          </PractitionerRole>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Organization/ad7dc0e7-cb44-4740-ba67-cb573e29d596"/>
        <resource>
          <Organization>
            <id value="ad7dc0e7-cb44-4740-ba67-cb573e29d596"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|1.0.1"/>
              <tag>
                <system
                        value="https://gematik.de/fhir/directory/CodeSystem/Origin"/>
                <code value="ldap"/>
              </tag>
            </meta>
            <identifier>
              <system value="https://gematik.de/fhir/sid/telematik-id"/>
              <value value="9-2.58.00000045"/>
            </identifier>
            <identifier>
              <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/>
              <value value="012300004"/>
            </identifier>
            <active value="true"/>
            <type>
              <coding>
                <system
                        value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/>
                <code value="1.2.276.0.76.4.50"/>
                <display value="Betriebsstätte Arzt"/>
              </coding>
            </type>
            <name value="Praxis Dr. med. Max Mustermann"/>
            <address>
              <type value="both"/>
              <line value="Musterstr. 1"/>
              <line value="Mitte"/>
              <city value="Darmstadt"/>
              <postalCode value="64283"/>
              <country value="DE"/>
            </address>
            <address>
              <type value="postal"/>
              <line value="45678"/>
              <city value="Darmstadt"/>
              <country value="DE"/>
            </address>
          </Organization>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c"/>
        <resource>
          <Practitioner>
            <id value="498c345f-31f5-4da6-9f04-00fa2bc8af7c"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|1.0.1"/>
              <tag>
                <system
                        value="https://gematik.de/fhir/directory/CodeSystem/Origin"/>
                <code value="ldap"/>
              </tag>
            </meta>
            <identifier>
              <system value="https://gematik.de/fhir/sid/telematik-id"/>
              <value value="1-1.58.00000056"/>
            </identifier>
            <identifier>
              <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/>
              <value value="123456789"/>
            </identifier>
            <active value="true"/>
            <name>
              <text value="Dr. Max Manfred Mustermann"/>
              <family value="Musterman"/>
              <given value="Max"/>
              <given value="Manfred"/>
              <prefix value="Dr."/>
            </name>
          </Practitioner>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Organization/151f1697-7512-4e21-9466-1b75207475d8"/>
        <resource>
          <Organization>
            <id value="151f1697-7512-4e21-9466-1b75207475d8"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|1.0.1"/>
              <tag>
                <system
                        value="https://gematik.de/fhir/directory/CodeSystem/Origin"/>
                <code value="ldap"/>
              </tag>
            </meta>
            <identifier>
              <system value="https://gematik.de/fhir/sid/telematik-id"/>
              <value value="9-2.58.00000023"/>
            </identifier>
            <active value="true"/>
            <type>
              <coding>
                <system
                        value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/>
                <code value="1.2.276.0.76.4.54"/>
                <display value="Öffentliche Apotheke"/>
              </coding>
            </type>
            <name value="gematik Apotheke"/>
            <alias value="Apotheke"/>
            <address>
              <text value="gematik Apotheke
    Friedrichstr. 136,
    10117 Berlin"/>
              <line value="Friedrichstr. 136"/>
              <city value="Berlin"/>
              <district value="Mitte"/>
              <state value="Berlin"/>
              <postalCode value="10117"/>
              <country value="DE"/>
            </address>
            <contact>
              <purpose>
                <coding>
                  <system
                          value="http://terminology.hl7.org/CodeSystem/contactentity-type"/>
                  <code value="ADMIN"/>
                </coding>
              </purpose>
              <name>
                <text value="gematik ITSM"/>
              </name>
              <telecom>
                <system value="email"/>
                <value value="betrieb@gematik.de"/>
              </telecom>
            </contact>
          </Organization>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/1cb0f018-178d-4488-a6b4-2be32dbda784"/>
        <resource>
          <MedicationStatement>
            <id value="1cb0f018-178d-4488-a6b4-2be32dbda784"/>
            <meta>
              <versionId value="1"/>
              <lastUpdated value="2026-08-18T14:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension">
              <valueCode value="MANUAL"/>
            </extension>
            <status value="unknown"/>
            <medicationReference>🔗
              <reference value="Medication/ef5d5baf-0c42-4240-9604-7fba9cea926d"/>
            </medicationReference>
            <subject>
              <identifier>
                <system value="http://fhir.de/sid/gkv/kvid-10"/>
                <value value="X110411319"/>
              </identifier>
            </subject>
            <effectivePeriod>
              <start value="2026-08-18"/>
            </effectivePeriod>
            <dateAsserted value="2026-08-18"/>
          </MedicationStatement>
        </resource>
        <search>
          <mode value="match"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Provenance/f35a13e2-d82c-4826-97d7-b7e32721c4af"/>
        <resource>
          <Provenance>
            <id value="f35a13e2-d82c-4826-97d7-b7e32721c4af"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|1.3.0"/>
            </meta>
            <target>
              <reference
                         value="MedicationStatement/1cb0f018-178d-4488-a6b4-2be32dbda784/_history/1"/>
            </target>
            <recorded value="2026-08-18T14:43:33.344Z"/>
            <activity>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/v3-DataOperation"/>
                <code value="CREATE"/>
              </coding>
            </activity>
            <agent>
              <type>
                <coding>
                  <system
                          value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/>
                  <code value="author"/>
                </coding>
              </type>
              <who>🔗
                <reference
                           value="Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5"/>
                <identifier>
                  <type>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                      <code value="PRN"/>
                    </coding>
                  </type>
                  <system value="https://gematik.de/fhir/sid/telematik-id"/>
                  <value value="9-2.58.00000060"/>
                </identifier>
                <display value="Die Apotheke"/>
              </who>
            </agent>
          </Provenance>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Medication/ef5d5baf-0c42-4240-9604-7fba9cea926d"/>
        <resource>
          <Medication>
            <id value="ef5d5baf-0c42-4240-9604-7fba9cea926d"/>
            <meta>
              <versionId value="1"/>
              <lastUpdated value="2026-08-18T14:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0"/>
            </meta>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier"/>
              <value
                     value="004C0F718C63EFADC20D838B772BD4DC4C4E6EB31293B6F689E624534A9C56CD"/>
            </identifier>
            <code>
              <coding>
                <system value="http://fhir.de/CodeSystem/ifa/pzn"/>
                <code value="11722423"/>
              </coding>
              <text
                    value="IBU-RATIOPHARM direkt 400 mg Pulver zum Einnehmen 20 St Pulver"/>
            </code>
            <form>
              <coding>
                <system
                        value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/>
                <code value="PUE"/>
                <display value="Pulver zum Einnehmen"/>
              </coding>
            </form>
          </Medication>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5"/>
        <resource>
          <Organization>
            <id value="8B421590-9F7F-46BE-BD1E-C987063AC4F5"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/ti/StructureDefinition/ti-organization|1.1.1"/>
            </meta>
            <identifier>
              <system value="https://gematik.de/fhir/sid/telematik-id"/>
              <value value="9-2.58.00000060"/>
            </identifier>
            <active value="true"/>
            <type>
              <coding>
                <system
                        value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/>
                <code value="1.2.276.0.76.4.54"/>
                <display value="Öffentliche Apotheke"/>
              </coding>
            </type>
            <name value="Die Apotheke"/>
            <alias value="Apotheke"/>
            <address>
              <text value="Die Apotheke
    Friedrichstr. 136,
    10117 Berlin"/>
              <line value="Friedrichstr. 136"/>
              <city value="Berlin"/>
              <district value="Mitte"/>
              <state value="Berlin"/>
              <postalCode value="10117"/>
              <country value="DE"/>
            </address>
            <contact>
              <purpose>
                <coding>
                  <system
                          value="http://terminology.hl7.org/CodeSystem/contactentity-type"/>
                  <code value="ADMIN"/>
                </coding>
              </purpose>
              <name>
                <text value="gematik ITSM"/>
              </name>
              <telecom>
                <system value="email"/>
                <value value="betrieb@gematik.de"/>
              </telecom>
            </contact>
          </Organization>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c"/>
        <resource>
          <MedicationStatement>
            <id value="f29f1d0c-be05-4b0d-a335-3e508da39c0c"/>
            <meta>
              <versionId value="2"/>
              <lastUpdated value="2026-11-01T15:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0"/>
            </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.007.24_20261101"/>
              </valueIdentifier>
            </extension>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension">
              <valueCode value="PRESCRIPTION"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction">
              <valueMarkdown value="1-0-0-0 Stück"/>
            </extension>
            <extension
                       url="http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta">
              <extension url="algorithmVersion">
                <valueString value="1.0.1"/>
              </extension>
              <extension url="language">
                <valueCode value="de-DE"/>
              </extension>
            </extension>
            <basedOn>🔗
              <extension
                         url="https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension">
                <valueBoolean value="true"/>
              </extension>
              <reference
                         value="MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5"/>
            </basedOn>
            <status value="unknown"/>
            <medicationReference>🔗
              <reference value="Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e"/>
            </medicationReference>
            <subject>
              <identifier>
                <system value="http://fhir.de/sid/gkv/kvid-10"/>
                <value value="X110411319"/>
              </identifier>
            </subject>
            <effectivePeriod>
              <start value="2025-11-01"/>
            </effectivePeriod>
            <dateAsserted value="2026-11-01"/>
            <derivedFrom>🔗
              <reference
                         value="MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8"/>
            </derivedFrom>
            <derivedFrom>🔗
              <reference
                         value="MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c"/>
            </derivedFrom>
            <dosage>
              <timing>
                <repeat>
                  <frequency value="1"/>
                  <period value="1"/>
                  <periodUnit value="d"/>
                  <when value="MORN"/>
                </repeat>
              </timing>
              <doseAndRate>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Stück"/>
                  <system
                          value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT"/>
                  <code value="1"/>
                </doseQuantity>
              </doseAndRate>
            </dosage>
          </MedicationStatement>
        </resource>
        <search>
          <mode value="match"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Provenance/176eec9c-8d5a-46a7-96e3-7af3f68c49ed"/>
        <resource>
          <Provenance>
            <id value="176eec9c-8d5a-46a7-96e3-7af3f68c49ed"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|1.3.0"/>
            </meta>
            <target>
              <reference
                         value="MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c/_history/2"/>
            </target>
            <recorded value="2026-11-01T15:43:33.244Z"/>
            <activity>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/v3-DataOperation"/>
                <code value="UPDATE"/>
              </coding>
            </activity>
            <agent>
              <type>
                <coding>
                  <system
                          value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/>
                  <code value="author"/>
                </coding>
              </type>
              <who>
                <identifier>
                  <system
                          value="https://gematik.de/fhir/sid/epa-fhir-data-service"/>
                  <value value="MEDICATIONSVC"/>
                </identifier>
                <display value="ePA Medication Service"/>
              </who>
            </agent>
          </Provenance>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e"/>
        <resource>
          <Medication>
            <id value="fc7b28e8-05ac-4ac8-86d7-7677d9c6134e"/>
            <meta>
              <versionId value="2"/>
              <lastUpdated value="2026-11-01T14:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0"/>
            </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.007.24_20261101"/>
              </valueIdentifier>
            </extension>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension">
              <valueCoding>
                <system value="http://snomed.info/sct"/>
                <code value="781405001"/>
              </valueCoding>
            </extension>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension">
              <valueCoding>
                <system
                        value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/>
                <code value="00"/>
              </valueCoding>
            </extension>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension">
              <valueBoolean value="false"/>
            </extension>
            <extension url="http://fhir.de/StructureDefinition/normgroesse">
              <valueCode value="N1"/>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier"/>
              <value
                     value="5CA9B89A31D81FFF6869E6A93B192C03C7F715FC4A568FB060630DD639F94EF1"/>
            </identifier>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="a3197c39-d03c-45fa-bcb7-b32578143c56_160.100.000.000.007.24"/>
            </identifier>
            <code>
              <coding>
                <system value="http://fhir.de/CodeSystem/ifa/pzn"/>
                <code value="06313728"/>
              </coding>
              <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/>
            </code>
            <status value="active"/>
            <form>
              <coding>
                <system
                        value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/>
                <code value="TAB"/>
                <display value="Tabletten"/>
              </coding>
            </form>
            <amount>
              <numerator>
                <extension
                           url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension">
                  <valueString value="20 St."/>
                </extension>
                <value value="20"/>
                <unit value="St"/>
              </numerator>
              <denominator>
                <value value="1"/>
              </denominator>
            </amount>
          </Medication>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8"/>
        <resource>
          <MedicationRequest>
            <id value="4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8"/>
            <meta>
              <versionId value="2"/>
              <lastUpdated value="2026-11-01T14:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.3.0"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension">
              <extension url="indicator">
                <valueBoolean value="false"/>
              </extension>
            </extension>
            <extension
                       url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction">
              <valueMarkdown value="1-0-0-0 Stück"/>
            </extension>
            <extension
                       url="http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta">
              <extension url="algorithmVersion">
                <valueString value="1.0.1"/>
              </extension>
              <extension url="language">
                <valueCode value="de-DE"/>
              </extension>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
              <value value="160.100.000.000.007.24_20250425"/>
            </identifier>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="5f4bc41c-480e-4ee4-b58e-a99268c1a1d0_160.100.000.000.007.24"/>
            </identifier>
            <status value="active"/>
            <intent value="filler-order"/>
            <medicationReference>🔗
              <reference value="Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e"/>
            </medicationReference>
            <subject>
              <identifier>
                <system value="http://fhir.de/sid/gkv/kvid-10"/>
                <value value="X110411319"/>
              </identifier>
            </subject>
            <authoredOn value="2026-11-01"/>
            <requester>🔗
              <reference
                         value="PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa"/>
              <display
                       value="Dr. Max Manfred Mustermann / Praxis Dr. med. Max Mustermann"/>
            </requester>
            <basedOn>
              <identifier>
                <system value="https://gematik.de/fhir/sid/emp-identifier"/>
                <value value="4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8"/>
              </identifier>
            </basedOn>
            <dosageInstruction>
              <timing>
                <repeat>
                  <frequency value="1"/>
                  <period value="1"/>
                  <periodUnit value="d"/>
                  <when value="MORN"/>
                </repeat>
              </timing>
              <doseAndRate>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Stück"/>
                  <system
                          value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT"/>
                  <code value="1"/>
                </doseQuantity>
              </doseAndRate>
            </dosageInstruction>
            <dispenseRequest>
              <quantity>
                <value value="1"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="{Package}"/>
              </quantity>
            </dispenseRequest>
            <substitution>
              <allowedBoolean value="true"/>
            </substitution>
          </MedicationRequest>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c"/>
        <resource>
          <MedicationDispense>
            <id value="fa0c29e1-c4e7-4f08-91ab-598a2233867c"/>
            <meta>
              <versionId value="1"/>
              <lastUpdated value="2026-11-01T15:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.3.0"/>
            </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.007.24_20261101"/>
              </valueIdentifier>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="1da91bd3-d5cb-459b-a270-32fad7d5d5d5_160.100.000.000.007.24"/>
            </identifier>
            <status value="completed"/>
            <medicationReference>🔗
              <reference value="Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e"/>
            </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"/>
                      <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/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8"/>
            </authorizingPrescription>
            <whenHandedOver value="2026-11-01"/>
            <substitution>
              <wasSubstituted value="false"/>
            </substitution>
          </MedicationDispense>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
    </Bundle>