Implementation Guide
ePA Medication Service
Version 1.3.5 - release

## Example Bundle: ExampleEpaGetMedicationListBundle

Das bereitgestellte Beispiel dient ausschließlich als technische Illustration und soll darstellen, wie Elemente befüllt werden könnten oder wie verschiedene Instanzen zusammenhängen und hat keinen Anspruch daran, fachlich korrekt oder sinnvoll zu sein.

Bundle example-get-medication-list-bundle1 of type searchset

Entry 1 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Patient/641f4cf5-e54b-406c-b8a8-1d3292fd5087

Suche:Mode = include

Resso}:

> Profile: EPA Patient version: 1.3.0

> Max Mustermann (official) Male, DoB: 1976-02-01 ( http://fhir.de/sid/gkv/kvid-10#NamingSystemKVID#X110411319)

Entry 2 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7

Suche:Mode = match

Resso}:

> version: 2; Last updated: 2025-05-22 14:43:34+0000

> Profile: EPA MedicationStatement version: 1.3.2

> RxPrescriptionProcessIdentifierExtension: `https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier`/160.100.000.000.006.24_20250520

> ContextExtension: PRESCRIPTION

> R5: Full representation of the dosage instructions (new):

> 1-0-1-0 Stück

> > Generated Dosage Instructions Meta

> > - algorithmVersion: 1.0.1
> > - language: de-DE

> status: unknown

> status: recorded

> subject: Identifier: NamingSystemKVID/X110411319

> effective: 2025-05-22 --> (ongoing)

> dateAsserted: 2025-05-22

> derivedFrom:

> - MedicationRequest: extension = ,1-0-1-0 Stück,; identifier = https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier#160.100.000.000.006.24_20250520,https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier#ec4d55a0-dec1-46b7-96cc-096845b74c4b_160.100.000.000.006.24; status = active; intent = filler-order; medication[x] = ->Medication 00814665; authoredOn = 2025-05-20
> - MedicationDispense: extension = https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier#160.100.000.000.006.24_20250520; identifier = https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier#5d8fbf7c-bdb0-44c2-95fe-423ae0404ccd_160.100.000.000.006.24; status = completed; medication[x] = ->Medication 00814665; whenHandedOver = 2025-05-22

> > dosage

> > timing: Morning, Evening, 2 per 1 day

> > ### DoseAndRates

> > - | Dose[x]
> > * | 1 Stück (Details: KBV_CS_SFHIR_BMP_DOSIEREINHEIT code1 = '1')

Entry 3 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Provenance/de42aa65-f84e-4e96-acfb-b9fd5e104b2d

Suche:Mode = include

Resso}:

> Profile: EPA Activity Provenance version: 1.3.0

> Provenance for MedicationStatement: extension = https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier#160.100.000.000.006.24_20250520,PRESCRIPTION,1-0-1-0 Stück,; status = unknown; medication[x] = ->Medication 00814665; effective[x] = 2025-05-22 --> (ongoing); dateAsserted = 2025-05-22

> Summary

> Recorded | 2025-05-22 14:43:34+0000
> Activity | revise

> Agents

> Type | who
> Author | ePA Medication Service (Identifier: `https://gematik.de/fhir/sid/epa-fhir-data-service`/MEDICATIONSVC)

Entry 4 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd

Suche:Mode = include

Resso}:

> version: 2; Last updated: 2025-05-22 14:43:33+0000

> Profile: EPA Medication version: 1.3.2

> RxPrescriptionProcessIdentifierExtension: `https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier`/160.100.000.000.006.24_20250520

> DrugCategoryExtension: EPA Code System für Arzneimittelkategorien: 00 (Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt)

> ExtensionNormgroesseDeBasis: N1

> MedicationIsVaccineExtension: false

> identifier: `https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier`/936396A4B0EAD8DE8ACD0F32BBC410523150A2F943908D3C9600AF253BE4B93A, `https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier`/ec4d55a0-dec1-46b7-96cc-096845b74c4b_160.100.000.000.006.24

> code: Januvia® 50 mg 28 Filmtabletten N1

> status: Active

Entry 5 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72

Suche:Mode = include

Resso}:

> version: 2; Last updated: 2025-05-22 14:43:33+0000

> Profile: EPA MedicationRequest version: 1.3.2

> > MultiplePrescription

> > - indicator: false

> R5: Full representation of the dosage instructions (new):

> 1-0-1-0 Stück

> > Generated Dosage Instructions Meta

> > - algorithmVersion: 1.0.1
> > - language: de-DE

> identifier: `https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier`/160.100.000.000.006.24_20250520, `https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier`/ec4d55a0-dec1-46b7-96cc-096845b74c4b_160.100.000.000.006.24

> status: Active

> intent: Filler Order

> subject: Identifier: NamingSystemKVID/X110411319

> authoredOn: 2025-05-20

> requester: Dr. Max Manfred Mustermann / Praxis Dr. med. Max Mustermann

> > dosageInstruction

> > timing: Morning, Evening, 2 per 1 day

> > ### DoseAndRates

> > - | Dose[x]
> > * | 1 Stück (Details: KBV_CS_SFHIR_BMP_DOSIEREINHEIT code1 = '1')

> ### DispenseRequests

> - | Quantity
> * | 1 {Package} (Details: UCUM code{Package} = '{Package}')

> ### Substitutions

> - | Allowed[x]
> * | true

Entry 6 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43

Suche:Mode = include

Resso}:

> version: 1; Last updated: 2025-05-22 14:43:33+0000

> Profile: EPA MedicationDispense version: 1.3.1

> RxPrescriptionProcessIdentifierExtension: `https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier`/160.100.000.000.006.24_20250520

> identifier: `https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier`/5d8fbf7c-bdb0-44c2-95fe-423ae0404ccd_160.100.000.000.006.24

> status: Completed

> subject: Identifier: NamingSystemKVID/X110411319

> ### Performers

> - | Actor
> * | gematik Apotheke

> authorizingPrescription: MedicationRequest: extension = ,1-0-1-0 Stück,; identifier = https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier#160.100.000.000.006.24_20250520,https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier#ec4d55a0-dec1-46b7-96cc-096845b74c4b_160.100.000.000.006.24; status = active; intent = filler-order; medication[x] = ->Medication 00814665; authoredOn = 2025-05-20

> whenHandedOver: 2025-05-22

> ### Substitutions

> - | WasSubstituted
> * | false

Entry 7 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa

Suche:Mode = include

Resso}:

> practitioner: Dr. Max Manfred Mustermann

> organization: Praxis Dr. med. Max Mustermann

Entry 8 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Organization/ad7dc0e7-cb44-4740-ba67-cb573e29d596

Suche:Mode = include

Resso}:

> Profile: Organization in gematik Directory version: 1.0.1

> Tag: Synchronized from LDAP Directory (Details: Origin code ldap = 'Synchronized from LDAP Directory')

> identifier: `https://gematik.de/fhir/sid/telematik-id`/9-2.58.00000045, `https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR`/012300004

> active: true

> type: Betriebsstätte Arzt

> name: Praxis Dr. med. Max Mustermann

> > contact

> > address: Musterstr. 1 Mitte Darmstadt 64283 DE

> > contact

> > address: 45678 Darmstadt DE

Entry 9 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c

Suche:Mode = include

Resso}:

> Profile: Practitioner in gematik Directory version: 1.0.1

> Tag: Synchronized from LDAP Directory (Details: Origin code ldap = 'Synchronized from LDAP Directory')

> identifier: `https://gematik.de/fhir/sid/telematik-id`/1-1.58.00000056, `https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR`/123456789

> active: true

> name: Dr. Max Manfred Mustermann

Entry 10 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Organization/151f1697-7512-4e21-9466-1b75207475d8

Suche:Mode = include

Resso}:

> Profile: Organization in gematik Directory version: 1.0.1

> Tag: Synchronized from LDAP Directory (Details: Origin code ldap = 'Synchronized from LDAP Directory')

> identifier: `https://gematik.de/fhir/sid/telematik-id`/9-2.58.00000023

> active: true

> type: Öffentliche Apotheke

> name: gematik Apotheke

> alias: Apotheke

> ### Contacts

> - | Purpose | Name | Telecom | Address
> * |  |  |  | gematik Apotheke Friedrichstr. 136, 10117 Berlin
> * | Administrative | gematik ITSM | betrieb@gematik.de |

Entry 11 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/1cb0f018-178d-4488-a6b4-2be32dbda784

Suche:Mode = match

Resso}:

> version: 1; Last updated: 2026-08-18 14:43:33+0000

> Profile: EPA MedicationStatement version: 1.3.2

> ContextExtension: MANUAL

> status: unknown

> status: recorded

> subject: Identifier: NamingSystemKVID/X110411319

> effective: 2026-08-18 --> (ongoing)

> dateAsserted: 2026-08-18

Entry 12 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Provenance/f35a13e2-d82c-4826-97d7-b7e32721c4af

Suche:Mode = include

Resso}:

> Profile: EPA Activity Provenance version: 1.3.0

> Provenance for MedicationStatement: extension = MANUAL; status = unknown; medication[x] = ->Medication 11722423; effective[x] = 2026-08-18 --> (ongoing); dateAsserted = 2026-08-18

> Summary

> Recorded | 2026-08-18 14:43:33+0000
> Activity | create

> Agents

> Type | who
> Author | Die Apotheke

Entry 13 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Medication/ef5d5baf-0c42-4240-9604-7fba9cea926d

Suche:Mode = include

Resso}:

> version: 1; Last updated: 2026-08-18 14:43:33+0000

> Profile: EPA Medication version: 1.3.2

> identifier: `https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier`/004C0F718C63EFADC20D838B772BD4DC4C4E6EB31293B6F689E624534A9C56CD

> code: IBU-RATIOPHARM direkt 400 mg Pulver zum Einnehmen 20 St Pulver

Entry 14 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5

Suche:Mode = include

Resso}:

> Profile: TI Organization version: 1.1.1

> identifier: `https://gematik.de/fhir/sid/telematik-id`/9-2.58.00000060

> active: true

> type: Öffentliche Apotheke

> name: Die Apotheke

> alias: Apotheke

> ### Contacts

> - | Purpose | Name | Telecom | Address
> * |  |  |  | Die Apotheke Friedrichstr. 136, 10117 Berlin
> * | Administrative | gematik ITSM | betrieb@gematik.de |

Entry 15 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c

Suche:Mode = match

Resso}:

> version: 2; Last updated: 2026-11-01 15:43:33+0000

> Profile: EPA MedicationStatement version: 1.3.2

> RxPrescriptionProcessIdentifierExtension: `https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier`/160.100.000.000.007.24_20261101

> ContextExtension: PRESCRIPTION

> R5: Full representation of the dosage instructions (new):

> 1-0-0-0 Stück

> > Generated Dosage Instructions Meta

> > - algorithmVersion: 1.0.1
> > - language: de-DE

> status: unknown

> status: recorded

> subject: Identifier: NamingSystemKVID/X110411319

> effective: 2025-11-01 --> (ongoing)

> dateAsserted: 2026-11-01

> derivedFrom:

> - MedicationRequest: extension = ,1-0-0-0 Stück,; identifier = https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier#160.100.000.000.007.24_20250425,https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier#5f4bc41c-480e-4ee4-b58e-a99268c1a1d0_160.100.000.000.007.24; status = active; intent = filler-order; medication[x] = ->Medication 06313728; authoredOn = 2026-11-01
> - MedicationDispense: extension = https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier#160.100.000.000.007.24_20261101; identifier = https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier#1da91bd3-d5cb-459b-a270-32fad7d5d5d5_160.100.000.000.007.24; status = completed; medication[x] = ->Medication 06313728; whenHandedOver = 2026-11-01

> > dosage

> > timing: Morning, Once per 1 day

> > ### DoseAndRates

> > - | Dose[x]
> > * | 1 Stück (Details: KBV_CS_SFHIR_BMP_DOSIEREINHEIT code1 = '1')

Entry 16 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Provenance/176eec9c-8d5a-46a7-96e3-7af3f68c49ed

Suche:Mode = include

Resso}:

> Profile: EPA Activity Provenance version: 1.3.0

> Provenance for MedicationStatement: extension = https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier#160.100.000.000.007.24_20261101,PRESCRIPTION,1-0-0-0 Stück,; status = unknown; medication[x] = ->Medication 06313728; effective[x] = 2025-11-01 --> (ongoing); dateAsserted = 2026-11-01

> Summary

> Recorded | 2026-11-01 15:43:33+0000
> Activity | revise

> Agents

> Type | who
> Author | ePA Medication Service (Identifier: `https://gematik.de/fhir/sid/epa-fhir-data-service`/MEDICATIONSVC)

Entry 17 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e

Suche:Mode = include

Resso}:

> version: 2; Last updated: 2026-11-01 14:43:33+0000

> Profile: EPA Medication version: 1.3.2

> RxPrescriptionProcessIdentifierExtension: `https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier`/160.100.000.000.007.24_20261101

> Medication Type: SNOMED CT: 781405001 (Medicinal product package)

> DrugCategoryExtension: EPA Code System für Arzneimittelkategorien: 00 (Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt)

> MedicationIsVaccineExtension: false

> ExtensionNormgroesseDeBasis: N1

> identifier: `https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier`/5CA9B89A31D81FFF6869E6A93B192C03C7F715FC4A568FB060630DD639F94EF1, `https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier`/a3197c39-d03c-45fa-bcb7-b32578143c56_160.100.000.000.007.24

> code: Sumatriptan-1a Pharma 100 mg Tabletten

> status: Active

Entry 18 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8

Suche:Mode = include

Resso}:

> version: 2; Last updated: 2026-11-01 14:43:33+0000

> Profile: EPA MedicationRequest version: 1.3.2

> > MultiplePrescription

> > - indicator: false

> R5: Full representation of the dosage instructions (new):

> 1-0-0-0 Stück

> > Generated Dosage Instructions Meta

> > - algorithmVersion: 1.0.1
> > - language: de-DE

> identifier: `https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier`/160.100.000.000.007.24_20250425, `https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier`/5f4bc41c-480e-4ee4-b58e-a99268c1a1d0_160.100.000.000.007.24

> basedOn: Identifier: `https://gematik.de/fhir/sid/emp-identifier`/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8

> status: Active

> intent: Filler Order

> subject: Identifier: NamingSystemKVID/X110411319

> authoredOn: 2026-11-01

> requester: Dr. Max Manfred Mustermann / Praxis Dr. med. Max Mustermann

> > dosageInstruction

> > timing: Morning, Once per 1 day

> > ### DoseAndRates

> > - | Dose[x]
> > * | 1 Stück (Details: KBV_CS_SFHIR_BMP_DOSIEREINHEIT code1 = '1')

> ### DispenseRequests

> - | Quantity
> * | 1 {Package} (Details: UCUM code{Package} = '{Package}')

> ### Substitutions

> - | Allowed[x]
> * | true

Entry 19 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c

Suche:Mode = include

Resso}:

> version: 1; Last updated: 2026-11-01 15:43:33+0000

> Profile: EPA MedicationDispense version: 1.3.1

> RxPrescriptionProcessIdentifierExtension: `https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier`/160.100.000.000.007.24_20261101

> identifier: `https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier`/1da91bd3-d5cb-459b-a270-32fad7d5d5d5_160.100.000.000.007.24

> status: Completed

> subject: Identifier: NamingSystemKVID/X110411319

> ### Performers

> - | Actor
> * | gematik Apotheke

> authorizingPrescription: MedicationRequest: extension = ,1-0-0-0 Stück,; identifier = https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier#160.100.000.000.007.24_20250425,https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier#5f4bc41c-480e-4ee4-b58e-a99268c1a1d0_160.100.000.000.007.24; status = active; intent = filler-order; medication[x] = ->Medication 06313728; authoredOn = 2026-11-01

> whenHandedOver: 2026-11-01

> ### Substitutions

> - | WasSubstituted
> * | false