Implementation Guide
ePA Medication Service
Version 1.3.0 - release

## Extension: RxPrescriptionProcessIdentifierExtension

Official URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension | Version: 1.0.6-2
Active as of 2025-05-12 | Computable Name: RxPrescriptionProcessIdentifierExtension
Copyright/Legal: gematik GmbH / Dieses Artefakt ist lizenziert unter Apache License, Version 2.0.

This extension is used to track medication prescription transactions between the E-Rezept-Fachdienst and the ePA. The RxPrescriptionProcessIdentifier is generated by the ePA Medication Service and consists of the PrescriptionId and the authoredOn date of the operation parameters request. It ensures consistent referencing and management of medication-related resources across different systems.

Context of Use

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

- Element ID Element

Usage info

Usages:

- Use this Extension: EPA MedicationDispense, EPA Pharmaceutical Product Medication, EPA Medication PZN Ingredient, EPA MedicationStatement and EPA Medication
- Examples for this Extension: Bundle/example-get-medication-list-bundle1, Bundle/example-get-medication-plan-bundle-1, Bundle/example-searchset-medication, Bundle/example-searchset-medicationdispense... Show 31 more, Bundle/example-searchset-medicationstatement, Medication/1254591a-dd2d-4d17-b8f8-ee3155da0699, Medication/19549515-60a8-4e1c-b86a-49518053fe9f, Medication/312d581c-f5e7-4faa-9de5-c4e1568c6db2, Medication/3f0b0cb0-e8cf-4aaf-bad8-01a51619417b, Medication/56ca34f1-a3f3-42f7-95a2-f5a6423c2031, Medication/659c0be1-2ec8-4137-9698-dcffee811934, Medication/83d7ad1c-47d1-4524-829a-5b86ce333bbc, Medication/a2aa2baf-c37d-40e0-bff5-f6e8a58dc2c3, Medication/ab8addbd-c4c7-48d2-bf4b-4a7c99f9fd6e, Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd, Medication/deecd514-235d-41df-a664-e3672208f410, Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e, MedicationDispense/3c10c1ad-1d7a-47e8-abab-00b8299b49b8, MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43, MedicationDispense/5aeaf266-a7ee-4e9d-bcb9-3c7dde96abad, MedicationDispense/6250569a-3505-4db7-aebc-45dba1f98acc, MedicationDispense/b2911d1e-fc63-47bb-8887-63b701bc49c4, MedicationDispense/c0b553bd-2542-49d7-b5e1-0a770185e39f, MedicationDispense/c3a353f0-c61a-4d6b-affa-daf8c0f6e77c, MedicationDispense/f7240e05-01a1-4ce6-a8bb-edb71b6b5104, MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c, MedicationStatement/0fc1f006-5793-4501-81b6-fe3918fcfa2d, MedicationStatement/133c8159-6398-4937-984a-d741e24556ad, MedicationStatement/1b88713c-64cc-40ad-9665-70ca5f7dfb08, MedicationStatement/405ff43e-bc8e-4109-b370-3e31431c5fe0, MedicationStatement/ab495b80-c9d2-4ed6-a076-b44b8dfae75a, MedicationStatement/b87b0908-7765-4ec0-8662-7d3daff08f6e, MedicationStatement/cfb84928-15d6-468c-8e17-e77f1ed44904, MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c and MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7

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

Simple Extension with the type Identifier: This extension is used to track medication prescription transactions between the E-Rezept-Fachdienst and the ePA. The RxPrescriptionProcessIdentifier is generated by the ePA Medication Service and consists of the PrescriptionId and the authoredOn date of the operation parameters request. It ensures consistent referencing and management of medication-related resources across different systems.

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension"
value[x] |  | 0..1 | RxPrescriptionProcessIdentifier | 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
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension"
value[x] |  | 0..1 | RxPrescriptionProcessIdentifier | Value of extension
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Identifier: This extension is used to track medication prescription transactions between the E-Rezept-Fachdienst and the ePA. The RxPrescriptionProcessIdentifier is generated by the ePA Medication Service and consists of the PrescriptionId and the authoredOn date of the operation parameters request. It ensures consistent referencing and management of medication-related resources across different systems.

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension"
value[x] |  | 0..1 | RxPrescriptionProcessIdentifier | 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
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension"
value[x] |  | 0..1 | RxPrescriptionProcessIdentifier | Value of extension
Documentation for this format

Other representations of profile: CSV, Excel, Schematron

#### 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()`