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

## Example Bundle: ExampleEpaGetMedicationPlanBundle

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-plan-bundle-1 of type collection

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

Resso}:

> Profile: EPA Patient

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

> Active: | true

Entry 2 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Provenanc/63e6938b-18a3-4b0f-9423-084d53edba7b

Resso}:

> Profile: eMP-Chronologieeintrag

> Provenance for:

> - MedicationRequest: extension = EMP,akuten Behandlung von Migräneanfällen mit und ohne Aura,Bitte schützen Sie das Arzneimittel vor hohen Temperaturen und direkter Sonneneinstrahlung.,2027-02-01 --> (ongoing),->MedicationStatement: extension = https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier#160.100.000.000.007.24_20261101,PRESCRIPTION; status = unknown; medication[x] = ->Medication 06313728; effective[x] = 2025-11-01 --> (ongoing); dateAsserted = 2026-11-01; identifier = https://gematik.de/fhir/sid/emp-identifier#266620a9-2c26-41c1-b0cb-a10947b867f5; status = active; intent = plan; medication[x] = ->Medication 06313728; authoredOn = 2026-11-01; note = Hinweis für den LE
> - MedicationRequest: extension = EMP,Bluthochdruck,Benazepril kann anfangs Schwindel verursachen - daher zuerst in Ruhe einnehmen und Autofahren vermeiden.,2026-12-01 --> (ongoing); identifier = https://gematik.de/fhir/sid/emp-identifier#71b66f1b-8032-4886-b7bf-e775daee22fb; status = active; intent = plan; medication[x] = ->Medication Benazepril AL 20mg 98 Filmtabletten N3; authoredOn = 2026-12-01; note = Hinweis für den LE

> Summary

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

> Agents

> Type | who
> Author | Die Hausarztpraxis

Entry 3 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/71b66f1b-8032-4886-b7bf-e775daee22fb

Resso}:

> version: 1; Last updated: 2026-12-01 14:00:00+0000

> Profile: eMP-Eintrag

> ContextExtension: EMP

> ReasonPatientInstructionExtension: Bluthochdruck

> PatientNoteExtension:

> > Benazepril kann anfangs Schwindel verursachen - daher zuerst in Ruhe einnehmen und Autofahren vermeiden.

> Extension Definition for MedicationRequest.effectiveDosePeriod for Version 5.0: 2026-12-01 --> (ongoing)

> identifier: `https://gematik.de/fhir/sid/emp-identifier`/71b66f1b-8032-4886-b7bf-e775daee22fb

> status: Active

> intent: Plan

> subject: Identifier: NamingSystemKVID/X110411319

> authoredOn: 2026-12-01

> note:

> > Hinweis für den LE

> > dosageInstruction

> > > Generated Dosage Instructions

> > > - algorithm: Dosage Text Algorithm CodeSystem GematikDosageTextGenerator: Gematik Dosage Text Generator (version = 1.0.0 )
> > > - algorithmVersion: 1.0.0
> > > - language: de-DE
> > > - text: 2 x täglich: morgens und abends — je 1 Stück

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

> > ### DoseAndRates

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

Entry 4 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Medication/13c66845-d0ce-43e1-9b0b-884cbbe8df7f

Resso}:

> version: 1; Last updated: 2026-12-01 14:00:00+0000

> Profile: eMP Medication

> ContextExtension: EMP

> Medication Type: SNOMED CT 763158003: Medicinal product (product)

> DrugCategoryExtension: Drug Category Code System for ePA 00: Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt

> ExtensionNormgroesseDeBasis: N3

> MedicationIsVaccineExtension: false

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

> code: Benazepril AL 20mg 98 Filmtabletten N3

> status: Active

> > ingredient

Entry 5 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Provenance/8faa45dd-b2dc-4a80-8956-94aeab1db04b

Resso}:

> Profile: ePA-Änderungseintrag

> Provenance for MedicationRequest: extension = EMP,Bluthochdruck,Benazepril kann anfangs Schwindel verursachen - daher zuerst in Ruhe einnehmen und Autofahren vermeiden.,2026-12-01 --> (ongoing); identifier = https://gematik.de/fhir/sid/emp-identifier#71b66f1b-8032-4886-b7bf-e775daee22fb; status = active; intent = plan; medication[x] = ->Medication Benazepril AL 20mg 98 Filmtabletten N3; authoredOn = 2026-12-01; note = Hinweis für den LE

> Summary

> Recorded | 2026-12-01 14:00:00+0000
> Activity | create

> Agents

> Type | who
> Author | Die Hausarztpraxis

Entry 6 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5

Resso}:

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

> Profile: eMP-Eintrag

> ContextExtension: EMP

> ReasonPatientInstructionExtension: akuten Behandlung von Migräneanfällen mit und ohne Aura

> PatientNoteExtension:

> > Bitte schützen Sie das Arzneimittel vor hohen Temperaturen und direkter Sonneneinstrahlung.

> Extension Definition for MedicationRequest.effectiveDosePeriod for Version 5.0: 2027-02-01 --> (ongoing)

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

> identifier: `https://gematik.de/fhir/sid/emp-identifier`/266620a9-2c26-41c1-b0cb-a10947b867f5

> status: Active

> intent: Plan

> subject: Identifier: NamingSystemKVID/X110411319

> authoredOn: 2026-11-01

> note:

> > Hinweis für den LE

> > dosageInstruction

> > > Generated Dosage Instructions

> > > - algorithm: Dosage Text Algorithm CodeSystem GematikDosageTextGenerator: Gematik Dosage Text Generator (version = 1.0.0 )
> > > - algorithmVersion: 1.0.0
> > > - language: de-DE
> > > - text: täglich: morgens — je 1 Stück

> > timing: Morning, Once per 1 day

> > ### DoseAndRates

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

Entry 7 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Medication/87f08ba2-da7e-467e-86aa-404d9035297c

Resso}:

> version: 1; Last updated: 2026-11-01 14:00:00+0000

> Profile: eMP Medication

> ContextExtension: EMP

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

> DrugCategoryExtension: Drug Category Code System for ePA 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

> code: Sumatriptan-1a Pharma 100 mg Tabletten

> status: Active

Entry 8 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Provenance/9090b28c-e165-4823-b82b-15bb63012123

Resso}:

> Profile: ePA-Änderungseintrag

> Provenance for MedicationRequest: extension = EMP,akuten Behandlung von Migräneanfällen mit und ohne Aura,Bitte schützen Sie das Arzneimittel vor hohen Temperaturen und direkter Sonneneinstrahlung.,2027-02-01 --> (ongoing),->MedicationStatement: extension = https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier#160.100.000.000.007.24_20261101,PRESCRIPTION; status = unknown; medication[x] = ->Medication 06313728; effective[x] = 2025-11-01 --> (ongoing); dateAsserted = 2026-11-01; identifier = https://gematik.de/fhir/sid/emp-identifier#266620a9-2c26-41c1-b0cb-a10947b867f5; status = active; intent = plan; medication[x] = ->Medication 06313728; authoredOn = 2026-11-01; note = Hinweis für den LE

> Summary

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

> Agents

> Type | who
> Author | Die Hausarztpraxis

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

Resso}:

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

> Profile: EPA MedicationStatement

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

> ContextExtension: PRESCRIPTION

> status: unknown

> status: recorded

> subject: Identifier: NamingSystemKVID/X110411319

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

> dateAsserted: 2026-11-01

> derivedFrom:

> - MedicationRequest: extension = ; 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

> > > Generated Dosage Instructions

> > > - algorithm: Dosage Text Algorithm CodeSystem GematikDosageTextGenerator: Gematik Dosage Text Generator (version = 1.0.0 )
> > > - algorithmVersion: 1.0.0
> > > - language: de-DE
> > > - text: täglich: morgens — je 1 Stück

> > timing: Morning, Once per 1 day

> > ### DoseAndRates

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

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

Resso}:

> Profile: ePA-Änderungseintrag

> Provenance for MedicationStatement: extension = https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier#160.100.000.000.007.24_20261101,PRESCRIPTION; 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 | MEDSVC

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

Resso}:

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

> Profile: EPA Medication

> 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 (product)

> DrugCategoryExtension: Drug Category Code System for ePA 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 12 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8

Resso}:

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

> Profile: EPA MedicationRequest

> > MultiplePrescription

> > - indicator: false

> 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: PractitionerRole

> > dosageInstruction

> > > Generated Dosage Instructions

> > > - algorithm: Dosage Text Algorithm CodeSystem GematikDosageTextGenerator: Gematik Dosage Text Generator (version = 1.0.0 )
> > > - algorithmVersion: 1.0.0
> > > - language: de-DE
> > > - text: täglich: morgens — je 1 Stück

> > 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 13 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c

Resso}:

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

> Profile: EPA MedicationDispense

> 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 = ; 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

Entry 14 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/PractitionerRole/b9eb9668-b61e-43b5-b3ea-485234836d59

Resso}:

> practitioner: Dr. Max Manfred Mustermann

> organization: Die Hausarztpraxis

Entry 15 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Organization/450a9511-53e5-4af7-be36-a18444bb8dd2

Resso}:

> Profile: TI Organization

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

> active: true

> type: Betriebsstätte Arzt

> name: Die Hausarztpraxis

> > contact

> > address: Friedrichstr. 136,
> > 10117 Berlin

> > contact

> > telecom: ph: 0301234567, fax: 030123456789, hausarztpraxis@example.com

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

Resso}:

> Profile: Practitioner in gematik Directory

> 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 17 - fullUrl = http://epa4all/epa/medication/api/v1/fhir/Organization/151f1697-7512-4e21-9466-1b75207475d8

Resso}:

> Profile: Organization in gematik Directory

> 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 |