Implementation Guide
ePA Medication Service
Version 1.0.5-1 - release

## Extension: MedicationPackagingSizeExtension

Official URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension | Version: 1.0.5-1
Active as of 2025-02-28 | Computable Name: MedicationPackagingSizeExtension

Specification of the package size according to divided quantity (e.g., 100, 2x25), only appears in conjunction with “unit” (e.g., 100 Stück).

Context of Use

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

- Element ID Element

Usage info

Usage:

- Use this Extension: EPA Pharmaceutical Product Medication, EPA Medication PZN Ingredient and EPA Medication

### 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 string: Specification of the package size according to divided quantity (e.g., 100, 2x25), only appears in conjunction with "unit" (e.g., 100 Stück).

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/medication-packaging-size-extension"
value[x] |  | 1..1 | string | Package size according to divided quantity Max Length:7
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/medication-packaging-size-extension"
value[x] |  | 1..1 | string | Package size according to divided quantity Max Length:7
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension of type string: Specification of the package size according to divided quantity (e.g., 100, 2x25), only appears in conjunction with "unit" (e.g., 100 Stück).

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/medication-packaging-size-extension"
value[x] |  | 1..1 | string | Package size according to divided quantity Max Length:7
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/medication-packaging-size-extension"
value[x] |  | 1..1 | string | Package size according to divided quantity Max Length:7
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() |