Implementation Guide
ePA Medication Service
Version 1.0.5-1 - release

## Extension: RxPrescriptionProcessIdentifierExtension

Official URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension | Version: 1.0.5-1
Active as of 2025-02-28 | Computable Name: RxPrescriptionProcessIdentifierExtension

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

Usage:

- Use this Extension: EPA MedicationDispense, EPA Pharmaceutical Product Medication, EPA Medication PZN Ingredient and EPA Medication
- Examples for this Extension: Bundle/example-get-medication-list-bundle1, Bundle/example-searchset-medication, Bundle/example-searchset-medicationdispense, Medication/2571d29b-e213-40ec-b817-a1490718a490... Show 5 more, Medication/3b990824-3814-4d75-80b1-e2935827f8f0, Medication/4bfef107-7d81-4d36-8aa0-7ea937969046, Medication/4f9ab221-0eef-4e46-a8a9-38302e0488b1, MedicationDispense/46865835-8c8f-4139-86ba-271bd3565250 and MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43

### 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 of 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
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
extension |  | 0..0 |  |
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
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
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 of 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
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
extension |  | 0..0 |  |
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
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
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) | Details | Requirements
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() |