Implementation Guide
ePA Medication Service
Version 1.0.5-1 - release

## : ExampleEpaGetMedicationListBundle1 - 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/Medication/2d5a0317-b2df-4d7b-ad72-07f5f66f9f12"/>
        <resource>
          <Medication>
            <id value="2d5a0317-b2df-4d7b-ad72-07f5f66f9f12"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"/>
            </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.153.303.260.460_202508220"/>
              </valueIdentifier>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier"/>
              <value
                     value="48E951DFE10F5669D3C66D581E5767DE32CFD788C94693E5C78193DB2D3F095B"/>
            </identifier>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="5a2a0f6c-b1d9-46b9-b377-c61586d1aa1e_160.153.303.260.460"/>
            </identifier>
            <code>
              <coding>
                <system value="http://fhir.de/CodeSystem/ifa/pzn"/>
                <code value="03953522"/>
                <display value="Metoprolol-ratiopharm® 100 mg Tabletten"/>
              </coding>
              <coding>
                <system value="http://snomed.info/sct"/>
                <code value="7092007"/>
                <display
                         value="Product containing metoprolol (medicinal product)"/>
              </coding>
              <coding>
                <system value="http://fhir.de/CodeSystem/bfarm/atc"/>
                <version value="2022"/>
                <code value="C07AB02"/>
                <display value="Metoprolol"/>
              </coding>
            </code>
            <status value="active"/>
            <form>
              <coding>
                <system
                        value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/>
                <version value="1.10"/>
                <code value="TAB"/>
                <display value="Tabletten"/>
              </coding>
              <coding>
                <system value="http://snomed.info/sct"/>
                <code value="385055001"/>
                <display value="Tablet (basic dose form)"/>
              </coding>
              <coding>
                <system value="http://standardterms.edqm.eu"/>
                <code value="12200"/>
                <display value="Tablet"/>
              </coding>
            </form>
            <amount>
              <numerator>
                <value value="100"/>
                <unit value="MilliGram"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="mg"/>
              </numerator>
              <denominator>
                <value value="1"/>
                <unit value="Tablet"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="{Tablet}"/>
              </denominator>
            </amount>
          </Medication>
        </resource>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/ebdd8651-3971-4ecc-b651-8e54083b0339"/>
        <resource>
          <MedicationRequest>
            <id value="ebdd8651-3971-4ecc-b651-8e54083b0339"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension">
              <extension url="indicator">
                <valueBoolean value="false"/>
              </extension>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
              <value value="160.153.303.257.459_20250122"/>
            </identifier>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="6ae6a7ca-c9b5-46bf-9411-2ba49d96f988_160.153.303.257.459"/>
            </identifier>
            <status value="completed"/>
            <intent value="order"/>
            <medicationReference>
              <reference value="Medication/2d5a0317-b2df-4d7b-ad72-07f5f66f9f12"/>
            </medicationReference>
            <subject>
              <identifier>
                <system value="http://fhir.de/sid/gkv/kvid-10"/>
                <value value="X110411319"/>
              </identifier>
            </subject>
            <authoredOn value="2025-08-22"/>
            <requester>🔗
              <reference
                         value="Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c"/>
            </requester>
            <dosageInstruction>
              <text value="1-1-1-0"/>
            </dosageInstruction>
            <dispenseRequest>
              <quantity>
                <value value="1"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="{Package}"/>
              </quantity>
            </dispenseRequest>
            <substitution>
              <allowedBoolean value="false"/>
            </substitution>
          </MedicationRequest>
        </resource>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/158311c5-c2da-4e2a-ac0b-0d54c9fe419c"/>
        <resource>
          <MedicationDispense>
            <id value="158311c5-c2da-4e2a-ac0b-0d54c9fe419c"/>
            <meta>
              <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.153.303.260.460_202508220"/>
              </valueIdentifier>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="014e141a-df43-447c-927e-9d83ef7eddb3_160.153.303.260.460"/>
            </identifier>
            <status value="completed"/>
            <medicationReference>
              <reference value="Medication/2d5a0317-b2df-4d7b-ad72-07f5f66f9f12"/>
            </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"/>
              </actor>
            </performer>
            <whenHandedOver value="2025-08-22"/>
            <dosageInstruction>
              <text value="1-0-0-0"/>
            </dosageInstruction>
            <substitution>
              <wasSubstituted value="false"/>
            </substitution>
          </MedicationDispense>
        </resource>
      </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"/>
                    <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="1-1.58.00000040"/>
              </identifier>
            </practitioner>
            <organization>🔗
              <reference
                         value="Organization/be51e0d2-783d-4e21-b16b-1a4cd7403515"/>
              <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.00000040"/>
              </identifier>
            </organization>
          </PractitionerRole>
        </resource>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Organization/be51e0d2-783d-4e21-b16b-1a4cd7403515"/>
        <resource>
          <Organization>
            <id value="be51e0d2-783d-4e21-b16b-1a4cd7403515"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"/>
              <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.00000040"/>
            </identifier>
            <active value="true"/>
            <type>
              <coding>
                <system
                        value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/>
                <code value="1.2.276.0.76.4.58"/>
                <display value="Betriebsstätte gematik"/>
              </coding>
            </type>
            <name value="gematik GmbH"/>
            <alias value="gematik"/>
            <address>
              <text value="gematik GmbH
    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>
      </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"/>
              <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.00000040"/>
            </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>
            <qualification>
              <code>
                <coding>
                  <system
                          value="https://gematik.de/fhir/directory/CodeSystem/PractitionerProfessionOID"/>
                  <code value="1.2.276.0.76.4.31"/>
                </coding>
              </code>
            </qualification>
            <qualification>
              <code>
                <coding>
                  <system value="urn:oid:1.2.276.0.76.5.514"/>
                  <code value="011001"/>
                  <display value="FA Allgemeinmedizin"/>
                </coding>
              </code>
            </qualification>
            <qualification>
              <code>
                <coding>
                  <system value="urn:oid:1.2.276.0.76.5.514"/>
                  <code value="141104"/>
                  <display
                           value="FA Innere Medizin und Schwerpunkt Gastroenterologie"/>
                </coding>
              </code>
            </qualification>
          </Practitioner>
        </resource>
      </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"/>
              <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.00000040"/>
            </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>
      </entry>
    </Bundle>