Implementation Guide
ePA Medication Service
Version 1.3.3 - release

## Extension: EPAMedicationStatementProcessingEventExtension

Official URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medicationstatement-processing-event-extension | Version: 1.3.0
Active as of 2025-12-15 | Computable Name: EPAMedicationStatementProcessingEventExtension
Copyright/Legal: gematik GmbH / Dieses Artefakt ist lizenziert unter Apache License, Version 2.0.

Bildet ein Ereignis ab, das wärend der Verarbeitung auftritt.

Context of Use

This extension may be used on the following element(s):

- Element ID MedicationStatement

Usage info

Usages:

- Use this Extension: EPA MedicationStatement
- Examples for this Extension: MedicationStatement/ab495b80-c9d2-4ed6-a076-b44b8dfae75a

You can also check for usages in the FHIR IG Statistics

### Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

- Text Summary
- Differential Table
- Snapshot Table
- All

This structure is derived from Extension

Summary

Complex Extension: Bildet ein Ereignis ab, das wärend der Verarbeitung auftritt.

- event: code: An Extension
- dateTime: dateTime: An Extension

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
extension |  | 2..* | Extension | Extension
Slices for extension |  |  |  | Content/Rules for all slices
extension:event | S | 1..1 | Extension | Extension
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "event"
value[x] | S | 1..1 | code | Verarbeitungsereignis Binding: EPA MedicationStatement Processing Codes (required)
extension:dateTime | S | 1..1 | Extension | Extension
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "dateTime"
value[x] | S | 1..1 | dateTime | Zeitpunkt
url |  | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medicationstatement-processing-event-extension"
value[x] |  | 0..0 |  | Value of extension
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 2..* | Extension | Extension Slice: Unordered, Open by value:url
extension:event | S | 1..1 | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "event"
value[x] | S | 1..1 | code | Verarbeitungsereignis Binding: EPA MedicationStatement Processing Codes (required)
extension:dateTime | S | 1..1 | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "dateTime"
value[x] | S | 1..1 | dateTime | Zeitpunkt
url |  | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medicationstatement-processing-event-extension"
Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Bildet ein Ereignis ab, das wärend der Verarbeitung auftritt.

- event: code: An Extension
- dateTime: dateTime: An Extension

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
extension |  | 2..* | Extension | Extension
Slices for extension |  |  |  | Content/Rules for all slices
extension:event | S | 1..1 | Extension | Extension
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "event"
value[x] | S | 1..1 | code | Verarbeitungsereignis Binding: EPA MedicationStatement Processing Codes (required)
extension:dateTime | S | 1..1 | Extension | Extension
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "dateTime"
value[x] | S | 1..1 | dateTime | Zeitpunkt
url |  | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medicationstatement-processing-event-extension"
value[x] |  | 0..0 |  | Value of extension
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 2..* | Extension | Extension Slice: Unordered, Open by value:url
extension:event | S | 1..1 | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "event"
value[x] | S | 1..1 | code | Verarbeitungsereignis Binding: EPA MedicationStatement Processing Codes (required)
extension:dateTime | S | 1..1 | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "dateTime"
value[x] | S | 1..1 | dateTime | Zeitpunkt
url |  | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medicationstatement-processing-event-extension"
Documentation for this format

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Extension.extension:event.​value[x] | Base | required | EPA MedicationStatement Processing Codes | 📦1.3.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`