Implementation Guide
ePA Medication Service
Version 1.3.5 - release

## Resource Profile: EPA Medication

Official URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication | Version: 1.3.2
Active as of 2026-03-20 | Computable Name: EPAMedication
Copyright/Legal: gematik GmbH / Dieses Artefakt ist lizenziert unter Apache License, Version 2.0.

Defines the medication resource for the Medication Service in the ePA system.

Usages:

- Derived from this Profile: eMP Medication
- Use this Profile: EPA Operation addEMLEntry Input-Parameters, EPA Operation EMLEntry Output-Parameters, EPA Operation EMPEntry Output-Parameters, EPA Operation ProvideDispensation ERP Input-Parameters and EPA Operation ProvidePrescription ERP Input-Parameters
- Refer to this Profile: eMP MedicationRequest and EPA MedicationStatement
- Examples for this Profile: Medication/1254591a-dd2d-4d17-b8f8-ee3155da0699, Medication/1412aa4f-a9ed-45f2-8916-063fee7eb025, Medication/19549515-60a8-4e1c-b86a-49518053fe9f, Medication/2571d29b-e213-40ec-b817-a1490718f491... Show 16 more, Medication/312d581c-f5e7-4faa-9de5-c4e1568c6db2, Medication/3f0b0cb0-e8cf-4aaf-bad8-01a51619417b, Medication/4B5557E5-4900-47FE-A8D9-407611E05BD2, Medication/56ca34f1-a3f3-42f7-95a2-f5a6423c2031, Medication/659c0be1-2ec8-4137-9698-dcffee811934, Medication/83d7ad1c-47d1-4524-829a-5b86ce333bbc, Medication/CortisonDexpantenol, Medication/Technical-Exp-EPAMedicationMax, Medication/Technical-Exp-NachtragEmlMedication, Medication/Technical-Exp-NachtragEmpMedicationEml, 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/ef5d5baf-0c42-4240-9604-7fba9cea926d and Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e
- CapabilityStatements using this Profile: EPA Capability Statement für Clients des ePA Medication Service and EPA CapabilityStatement für den Medication Service

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

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

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Medication | C | 0..* | Medication | Definition of a Medication Constraints: epa-med-1
meta | S Σ | 0..1 | Meta | Metadata about the resource
versionId | S Σ | 0..1 | id | Version specific identifier
lastUpdated | S Σ | 0..1 | instant | When the resource version last changed
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained | S | 0..* | EPAMedicationPharmaceuticalProduct, EPAMedicationPZNIngredient | Contains PZN Ingredients for Compounding Medications & PharmaceuticalProducts in case of a 'Kombipackung'
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:rxPrescriptionProcessIdentifier | S | 0..1 | RxPrescriptionProcessIdentifier | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
extension:isVaccine | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"
value[x] | S | 1..1 | boolean | Vaccine Indicator
extension:drugCategory | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"
value[x] | S | 1..1 | Coding | Value of extension Binding: TI Drug Category ValueSet (required)
system | S Σ | 1..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Category
display | S Σ | 0..1 | string | Representation defined by the system
extension:normSizeCode | S | 0..1 | (Complex) | Package size according to N-designation URL: http://fhir.de/StructureDefinition/normgroesse Constraints: ext-1
extension |  | 0..0 |  | Additional content defined by implementations Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "http://fhir.de/StructureDefinition/normgroesse"
value[x] | S | 0..1 | code | Value of extension Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE (required)
extension:packaging | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"
value[x] | S | 1..1 | string | Packaging of a formulation. Max Length:90
extension:manufacturingInstructions | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension"
value[x] | S | 1..1 | string | Manufacturing instructions for a formulation. Max Length:500
extension:type | S | 0..1 | Coding | Medication Type URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension Binding: TI Medication Type Value Set (required)
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
Slices for identifier | S Σ | 0..* | Identifier | Business identifier for this medication Slice: Unordered, Open by value:$this
identifier:EPAMedicationUniqueIdentifier | S Σ | 0..1 | EPAMedicationUniqueIdentifier | Business identifier for this medication Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
period |  | 0..1 | Period | Time period when id is/was valid for use
assigner |  | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | S Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
coding | S Σ | 0..* | Coding | Code defined by a terminology system
system | S Σ | 0..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
system | S Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
identifier:RxOriginatorProcessIdentifier | S Σ | 0..1 | RxOriginatorProcessIdentifier | Business identifier for this medication Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
period |  | 0..1 | Period | Time period when id is/was valid for use
assigner |  | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | S Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
coding | S Σ | 0..* | Coding | Code defined by a terminology system
system | S Σ | 0..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
system | S Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
code | S Σ | 0..1 | CodeableConcept | Medication in coded form or as free text if necessary Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
Slices for coding | S Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
coding:pzn | S Σ | 0..1 | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
coding:atc-de | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
version | S Σ | 1..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
coding:ask | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ask
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
text | S Σ | 0..1 | string | Plain text representation of the concept
status | ?!S Σ | 0..1 | code | Status of Medication Information Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
manufacturer | S Σ | 0..1 | Reference(Organization) | Manufacturer of the Medication
display | S Σ | 1..1 | string | Text alternative for the resource
form | S | 0..1 | CodeableConcept | Form of Dispensing Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
Slices for coding | S Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
coding:kbvDarreichungsform | S Σ | 0..* | Coding | Code defined by a terminology system Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM (required) Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
amount | S Σ | 0..1 | Ratio | Amount of drug in package
numerator | S Σ | 0..1 | Quantity | Numerator value Binding: UCUMCodes (preferred)
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:packagingSize | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"
value[x] | S | 1..1 | string | Package size according to divided quantity Max Length:7
extension:totalQuantity | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"
value[x] | S | 1..1 | string | Total quantity of the formulation. Max Length:7
value | S Σ | 0..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form
code | S Σ | 0..1 | code | Coded form of the unit
denominator | S Σ | 0..1 | Quantity | Denominator value Binding: UCUMCodes (preferred)
value | S Σ | 0..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form
code | S Σ | 0..1 | code | Coded form of the unit
ingredient | S | 0..* | BackboneElement | Active or inactive ingredients of the medication, including pharmaceutical substances as well as individual medicinal products in combination packs.
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:darreichungsform | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"
value[x] | S | 1..1 | string | Dosage form of an ingredient in a formulation. Max Length:30
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
Slices for item[x] | S | 1..1 |  | The actual ingredient or content Slice: Unordered, Closed by type:$this
itemCodeableConcept |  |  | CodeableConcept |
itemReference |  |  | Reference(Substance | Medication) |
item[x]:itemCodeableConcept | S | 0..1 | CodeableConcept | Encoded description of the substance or component.
Slices for coding | S Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
Slices for coding |  |  |  | Content/Rules for all slices
coding:ask | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ask
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
coding:atc-de | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
version | S Σ | 1..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
coding:pzn | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
text | S Σ | 0..1 | string | Plain text representation of the concept
item[x]:itemReference | S | 0..1 | Reference(Medication) | Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only
reference | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
identifier | S Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | S Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
coding | S Σ | 0..* | Coding | Code defined by a terminology system
system | S Σ | 0..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
system | S Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | S Σ | 0..1 | string | The value that is unique Example General: 123456
display | S Σ | 0..1 | string | Text alternative for the resource
isActive | S | 0..1 | boolean | Is it an active ingredient?
strength | S | 0..1 | Ratio | Strength
Slices for extension |  |  |  | Content/Rules for all slices
extension:amountText |  | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"
value[x] | S | 1..1 | string | Free-text amount of an ingredient in a formulation. Max Length:20
numerator | S Σ | 0..1 | Quantity | Numerator value Binding: UCUMCodes (preferred)
value | S Σ | 1..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form
code | S Σ | 0..1 | code | Coded form of the unit
denominator | S Σ | 0..1 | Quantity | Denominator value Binding: UCUMCodes (preferred)
value | S Σ | 1..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form
code | S Σ | 0..1 | code | Coded form of the unit
batch | S | 0..1 | BackboneElement | Batch Information
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
lotNumber | S | 0..1 | string | Batch Number
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Medication.extension:drugCategory.​value[x] | Base | required | TI Drug Category ValueSet | 📦1.0.9 | TI Terminology v1.0
Medication.extension:normSizeCode.​value[x] | Base | required | https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE | Not State | Unknown
Medication.identifier:EPAMedicationUniqueIdentifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Medication.identifier:EPAMedicationUniqueIdentifier.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Medication.identifier:RxOriginatorProcessIdentifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Medication.identifier:RxOriginatorProcessIdentifier.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Medication.code | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std.
Medication.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std.
Medication.form | Base | example | SNOMED CT Form Codes | 📍4.0.1 | FHIR Std.
Medication.form.coding:kbvDarreichungsform | Base | required | https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM | Not State | Unknown
Medication.amount.numerator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.amount.numerator.​comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std.
Medication.amount.denominator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.amount.denominator.​comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std.
Medication.ingredient.​item[x]:itemReference.​identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Medication.ingredient.​item[x]:itemReference.​identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Medication.ingredient.​strength.numerator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.ingredient.​strength.numerator.comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std.
Medication.ingredient.​strength.denominator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.ingredient.​strength.denominator.​comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Medication | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Medication | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
epa-med-1 | error | Medication | Medication code, name, or ingredients must be specified | `code.exists() or ingredient.exists()`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from Medication

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Medication | C | 0..* | Medication | Definition of a Medication Constraints: epa-med-1
meta | S | 0..1 | Meta | Metadata about the resource
versionId | S | 0..1 | id | Version specific identifier
lastUpdated | S | 0..1 | instant | When the resource version last changed
contained | S | 0..* | EPAMedicationPharmaceuticalProduct, EPAMedicationPZNIngredient | Contains PZN Ingredients for Compounding Medications & PharmaceuticalProducts in case of a 'Kombipackung'
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:rxPrescriptionProcessIdentifier | S | 0..1 | RxPrescriptionProcessIdentifier | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
extension:isVaccine | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 1..1 | boolean | Vaccine Indicator
extension:drugCategory | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 1..1 | Coding | Value of extension
system | S | 1..1 | uri | Identity of the terminology system
version | S | 0..1 | string | Version of the system - if relevant
code | S | 1..1 | code | Category
display | S | 0..1 | string | Representation defined by the system
extension:normSizeCode | S | 0..1 | (Complex) | Package size according to N-designation URL: http://fhir.de/StructureDefinition/normgroesse
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 0..1 | code | Value of extension
extension:packaging | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 1..1 | string | Packaging of a formulation.
extension:manufacturingInstructions | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 1..1 | string | Manufacturing instructions for a formulation.
extension:type | S | 0..1 | Coding | Medication Type URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension Binding: TI Medication Type Value Set (required)
Slices for identifier | S | 0..* | Identifier | Business identifier for this medication Slice: Unordered, Open by value:$this
identifier:EPAMedicationUniqueIdentifier | S | 0..1 | EPAMedicationUniqueIdentifier | Business identifier for this medication Required Pattern: At least the following
system |  | 1..1 | uri | The namespace for the identifier value Fixed Value: https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier
type | S | 0..1 | CodeableConcept | Description of identifier
coding | S | 0..* | Coding | Code defined by a terminology system
system | S | 0..1 | uri | Identity of the terminology system
version | S | 0..1 | string | Version of the system - if relevant
code | S | 0..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
identifier:RxOriginatorProcessIdentifier | S | 0..1 | RxOriginatorProcessIdentifier | Business identifier for this medication Required Pattern: At least the following
system |  | 1..1 | uri | The namespace for the identifier value Fixed Value: https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier
type | S | 0..1 | CodeableConcept | Description of identifier
coding | S | 0..* | Coding | Code defined by a terminology system
system | S | 0..1 | uri | Identity of the terminology system
version | S | 0..1 | string | Version of the system - if relevant
code | S | 0..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
code | S | 0..1 | CodeableConcept | Medication in coded form or as free text if necessary
Slices for coding | S | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
coding:pzn | S | 0..1 | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
version | S | 0..1 | string | Version of the system - if relevant
code | S | 1..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
coding:atc-de | S | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
version | S | 1..1 | string | Version of the system - if relevant
code | S | 1..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
coding:ask | S | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ask
version | S | 0..1 | string | Version of the system - if relevant
code | S | 1..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
text | S | 0..1 | string | Plain text representation of the concept
status | S | 0..1 | code | Status of Medication Information
manufacturer | S | 0..1 | Reference(Organization) | Manufacturer of the Medication
display | S | 1..1 | string | Text alternative for the resource
form | S | 0..1 | CodeableConcept | Form of Dispensing
Slices for coding | S | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
coding:kbvDarreichungsform | S | 0..* | Coding | Code defined by a terminology system Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM (required) Required Pattern: At least the following
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM
version | S | 0..1 | string | Version of the system - if relevant
code | S | 1..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
amount | S | 0..1 | Ratio | Amount of drug in package
numerator | S | 0..1 | Quantity | Numerator value Binding: UCUMCodes (preferred)
extension | S | 0..* | Extension | Extension
Slices for extension |  |  |  | Content/Rules for all slices
extension:packagingSize | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 1..1 | string | Package size according to divided quantity
extension:totalQuantity | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 1..1 | string | Total quantity of the formulation.
value | S | 0..1 | decimal | Numerical value (with implicit precision)
unit | S | 0..1 | string | Unit representation
system | S | 0..1 | uri | System that defines coded unit form
code | S | 0..1 | code | Coded form of the unit
denominator | S | 0..1 | Quantity | Denominator value Binding: UCUMCodes (preferred)
value | S | 0..1 | decimal | Numerical value (with implicit precision)
unit | S | 0..1 | string | Unit representation
system | S | 0..1 | uri | System that defines coded unit form
code | S | 0..1 | code | Coded form of the unit
ingredient | S | 0..* | BackboneElement | Active or inactive ingredients of the medication, including pharmaceutical substances as well as individual medicinal products in combination packs.
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:darreichungsform | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 1..1 | string | Dosage form of an ingredient in a formulation.
Slices for item[x] | S | 1..1 | CodeableConcept, Reference(Substance | Medication) | The actual ingredient or content Slice: Unordered, Open by type:$this
item[x]:itemCodeableConcept | S | 0..1 | CodeableConcept | Encoded description of the substance or component.
Slices for coding | S | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
Slices for coding |  |  |  | Content/Rules for all slices
coding:ask | S | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ask
version | S | 0..1 | string | Version of the system - if relevant
code | S | 1..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
coding:atc-de | S | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
version | S | 1..1 | string | Version of the system - if relevant
code | S | 1..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
coding:pzn | S | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
version | S | 0..1 | string | Version of the system - if relevant
code | S | 1..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
text | S | 0..1 | string | Plain text representation of the concept
item[x]:itemReference | S | 0..1 | Reference(Medication) | Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only
reference | S | 0..1 | string | Literal reference, Relative, internal or absolute URL
identifier | S | 0..1 | Identifier | Logical reference, when literal reference is not known
type | S | 0..1 | CodeableConcept | Description of identifier
coding | S | 0..* | Coding | Code defined by a terminology system
system | S | 0..1 | uri | Identity of the terminology system
version | S | 0..1 | string | Version of the system - if relevant
code | S | 0..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
system | S | 0..1 | uri | The namespace for the identifier value
value | S | 0..1 | string | The value that is unique
display | S | 0..1 | string | Text alternative for the resource
isActive | S | 0..1 | boolean | Is it an active ingredient?
strength | S | 0..1 | Ratio | Strength
Slices for extension |  |  |  | Content/Rules for all slices
extension:amountText |  | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 1..1 | string | Free-text amount of an ingredient in a formulation.
numerator | S | 0..1 | Quantity | Numerator value Binding: UCUMCodes (preferred)
value | S | 1..1 | decimal | Numerical value (with implicit precision)
unit | S | 0..1 | string | Unit representation
system | S | 0..1 | uri | System that defines coded unit form
code | S | 0..1 | code | Coded form of the unit
denominator | S | 0..1 | Quantity | Denominator value Binding: UCUMCodes (preferred)
value | S | 1..1 | decimal | Numerical value (with implicit precision)
unit | S | 0..1 | string | Unit representation
system | S | 0..1 | uri | System that defines coded unit form
code | S | 0..1 | code | Coded form of the unit
batch | S | 0..1 | BackboneElement | Batch Information
lotNumber | S | 0..1 | string | Batch Number
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Medication.form.coding:kbvDarreichungsform | Base | required | https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM | Not State | Unknown
Medication.amount.numerator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.amount.denominator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.ingredient.​strength.numerator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.ingredient.​strength.denominator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
epa-med-1 | error | Medication | Medication code, name, or ingredients must be specified | `code.exists() or ingredient.exists()`

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Medication | C | 0..* | Medication | Definition of a Medication Constraints: epa-med-1
id | Σ | 0..1 | id | Logical id of this artifact
meta | S Σ | 0..1 | Meta | Metadata about the resource
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
versionId | S Σ | 0..1 | id | Version specific identifier
lastUpdated | S Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained | S | 0..* | EPAMedicationPharmaceuticalProduct, EPAMedicationPZNIngredient | Contains PZN Ingredients for Compounding Medications & PharmaceuticalProducts in case of a 'Kombipackung'
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:rxPrescriptionProcessIdentifier | S | 0..1 | RxPrescriptionProcessIdentifier | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
extension:isVaccine | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"
value[x] | S | 1..1 | boolean | Vaccine Indicator
extension:drugCategory | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"
value[x] | S | 1..1 | Coding | Value of extension Binding: TI Drug Category ValueSet (required)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Category
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
extension:normSizeCode | S | 0..1 | (Complex) | Package size according to N-designation URL: http://fhir.de/StructureDefinition/normgroesse Constraints: ext-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Additional content defined by implementations Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "http://fhir.de/StructureDefinition/normgroesse"
value[x] | S | 0..1 | code | Value of extension Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE (required)
extension:packaging | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"
value[x] | S | 1..1 | string | Packaging of a formulation. Max Length:90
extension:manufacturingInstructions | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension"
value[x] | S | 1..1 | string | Manufacturing instructions for a formulation. Max Length:500
extension:type | S | 0..1 | Coding | Medication Type URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension Binding: TI Medication Type Value Set (required)
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
Slices for identifier | S Σ | 0..* | Identifier | Business identifier for this medication Slice: Unordered, Open by value:$this
identifier:EPAMedicationUniqueIdentifier | S Σ | 0..1 | EPAMedicationUniqueIdentifier | Business identifier for this medication Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | S Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | S Σ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 0..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
system | S Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
identifier:RxOriginatorProcessIdentifier | S Σ | 0..1 | RxOriginatorProcessIdentifier | Business identifier for this medication Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | S Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | S Σ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 0..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
system | S Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
code | S Σ | 0..1 | CodeableConcept | Medication in coded form or as free text if necessary Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
Slices for coding | S Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
coding:pzn | S Σ | 0..1 | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
coding:atc-de | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
version | S Σ | 1..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
coding:ask | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ask
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | S Σ | 0..1 | string | Plain text representation of the concept
status | ?!S Σ | 0..1 | code | Status of Medication Information Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
manufacturer | S Σ | 0..1 | Reference(Organization) | Manufacturer of the Medication
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | S Σ | 1..1 | string | Text alternative for the resource
form | S | 0..1 | CodeableConcept | Form of Dispensing Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
Slices for coding | S Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
coding:kbvDarreichungsform | S Σ | 0..* | Coding | Code defined by a terminology system Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM (required) Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
amount | S Σ | 0..1 | Ratio | Amount of drug in package
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
numerator | S Σ | 0..1 | Quantity | Numerator value Binding: UCUMCodes (preferred)
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:packagingSize | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"
value[x] | S | 1..1 | string | Package size according to divided quantity Max Length:7
extension:totalQuantity | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"
value[x] | S | 1..1 | string | Total quantity of the formulation. Max Length:7
value | S Σ | 0..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form
code | S Σ | 0..1 | code | Coded form of the unit
denominator | S Σ | 0..1 | Quantity | Denominator value Binding: UCUMCodes (preferred)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
value | S Σ | 0..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form
code | S Σ | 0..1 | code | Coded form of the unit
ingredient | S | 0..* | BackboneElement | Active or inactive ingredients of the medication, including pharmaceutical substances as well as individual medicinal products in combination packs.
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:darreichungsform | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"
value[x] | S | 1..1 | string | Dosage form of an ingredient in a formulation. Max Length:30
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
Slices for item[x] | S | 1..1 |  | The actual ingredient or content Slice: Unordered, Closed by type:$this
itemCodeableConcept |  |  | CodeableConcept |
itemReference |  |  | Reference(Substance | Medication) |
item[x]:itemCodeableConcept | S | 0..1 | CodeableConcept | Encoded description of the substance or component.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
Slices for coding | S Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
Slices for coding |  |  |  | Content/Rules for all slices
coding:ask | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ask
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
coding:atc-de | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
version | S Σ | 1..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
coding:pzn | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | S Σ | 0..1 | string | Plain text representation of the concept
item[x]:itemReference | S | 0..1 | Reference(Medication) | Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | S Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | S Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | S Σ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 0..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
system | S Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | S Σ | 0..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
display | S Σ | 0..1 | string | Text alternative for the resource
isActive | S | 0..1 | boolean | Is it an active ingredient?
strength | S | 0..1 | Ratio | Strength
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:amountText |  | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"
value[x] | S | 1..1 | string | Free-text amount of an ingredient in a formulation. Max Length:20
numerator | S Σ | 0..1 | Quantity | Numerator value Binding: UCUMCodes (preferred)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
value | S Σ | 1..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form
code | S Σ | 0..1 | code | Coded form of the unit
denominator | S Σ | 0..1 | Quantity | Denominator value Binding: UCUMCodes (preferred)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
value | S Σ | 1..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form
code | S Σ | 0..1 | code | Coded form of the unit
batch | S | 0..1 | BackboneElement | Batch Information
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
lotNumber | S | 0..1 | string | Batch Number
expirationDate |  | 0..1 | dateTime | When batch will expire
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Medication.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std.
Medication.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
Medication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
Medication.extension:drugCategory.​value[x] | Base | required | TI Drug Category ValueSet | 📦1.0.9 | TI Terminology v1.0
Medication.extension:normSizeCode.​value[x] | Base | required | https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE | Not State | Unknown
Medication.identifier:EPAMedicationUniqueIdentifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Medication.identifier:EPAMedicationUniqueIdentifier.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Medication.identifier:RxOriginatorProcessIdentifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Medication.identifier:RxOriginatorProcessIdentifier.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Medication.code | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std.
Medication.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std.
Medication.manufacturer.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
Medication.form | Base | example | SNOMED CT Form Codes | 📍4.0.1 | FHIR Std.
Medication.form.coding:kbvDarreichungsform | Base | required | https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM | Not State | Unknown
Medication.amount.numerator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.amount.numerator.​comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std.
Medication.amount.denominator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.amount.denominator.​comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std.
Medication.ingredient.​item[x]:itemReference.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
Medication.ingredient.​item[x]:itemReference.​identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Medication.ingredient.​item[x]:itemReference.​identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Medication.ingredient.​strength.numerator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.ingredient.​strength.numerator.comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std.
Medication.ingredient.​strength.denominator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.ingredient.​strength.denominator.​comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Medication | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Medication | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
epa-med-1 | error | Medication | Medication code, name, or ingredients must be specified | `code.exists() or ingredient.exists()`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from Medication

Summary

Mandatory: 0 element(21 nested mandatory elements)
Must-Support: 139 elements

Structures

This structure refers to these other structures:

- EPA Pharmaceutical Product Medication (https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product)
- EPA Medication PZN Ingredient (https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient)
- Medication Unique Identifier (https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-unique-identifier)
- RxOriginatorProcessIdentifier (https://gematik.de/fhir/epa-medication/StructureDefinition/rx-originator-process-identifier)

Extensions

This structure refers to these extensions:

- https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
- https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension
- https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
- http://fhir.de/StructureDefinition/normgroesse
- https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
- https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
- https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
- https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
- https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension
- https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
- https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of Medication.identifier
- The element 1 is sliced based on the value of Medication.code.coding
- The element 1 is sliced based on the value of Medication.form.coding
- The element 1 is sliced based on the value of Medication.ingredient.item[x]
- The element 1 is sliced based on the value of Medication.ingredient.item[x].coding

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Medication | C | 0..* | Medication | Definition of a Medication Constraints: epa-med-1
meta | S Σ | 0..1 | Meta | Metadata about the resource
versionId | S Σ | 0..1 | id | Version specific identifier
lastUpdated | S Σ | 0..1 | instant | When the resource version last changed
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained | S | 0..* | EPAMedicationPharmaceuticalProduct, EPAMedicationPZNIngredient | Contains PZN Ingredients for Compounding Medications & PharmaceuticalProducts in case of a 'Kombipackung'
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:rxPrescriptionProcessIdentifier | S | 0..1 | RxPrescriptionProcessIdentifier | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
extension:isVaccine | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"
value[x] | S | 1..1 | boolean | Vaccine Indicator
extension:drugCategory | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"
value[x] | S | 1..1 | Coding | Value of extension Binding: TI Drug Category ValueSet (required)
system | S Σ | 1..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Category
display | S Σ | 0..1 | string | Representation defined by the system
extension:normSizeCode | S | 0..1 | (Complex) | Package size according to N-designation URL: http://fhir.de/StructureDefinition/normgroesse Constraints: ext-1
extension |  | 0..0 |  | Additional content defined by implementations Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "http://fhir.de/StructureDefinition/normgroesse"
value[x] | S | 0..1 | code | Value of extension Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE (required)
extension:packaging | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"
value[x] | S | 1..1 | string | Packaging of a formulation. Max Length:90
extension:manufacturingInstructions | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension"
value[x] | S | 1..1 | string | Manufacturing instructions for a formulation. Max Length:500
extension:type | S | 0..1 | Coding | Medication Type URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension Binding: TI Medication Type Value Set (required)
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
Slices for identifier | S Σ | 0..* | Identifier | Business identifier for this medication Slice: Unordered, Open by value:$this
identifier:EPAMedicationUniqueIdentifier | S Σ | 0..1 | EPAMedicationUniqueIdentifier | Business identifier for this medication Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
period |  | 0..1 | Period | Time period when id is/was valid for use
assigner |  | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | S Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
coding | S Σ | 0..* | Coding | Code defined by a terminology system
system | S Σ | 0..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
system | S Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
identifier:RxOriginatorProcessIdentifier | S Σ | 0..1 | RxOriginatorProcessIdentifier | Business identifier for this medication Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
period |  | 0..1 | Period | Time period when id is/was valid for use
assigner |  | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | S Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
coding | S Σ | 0..* | Coding | Code defined by a terminology system
system | S Σ | 0..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
system | S Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
code | S Σ | 0..1 | CodeableConcept | Medication in coded form or as free text if necessary Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
Slices for coding | S Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
coding:pzn | S Σ | 0..1 | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
coding:atc-de | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
version | S Σ | 1..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
coding:ask | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ask
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
text | S Σ | 0..1 | string | Plain text representation of the concept
status | ?!S Σ | 0..1 | code | Status of Medication Information Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
manufacturer | S Σ | 0..1 | Reference(Organization) | Manufacturer of the Medication
display | S Σ | 1..1 | string | Text alternative for the resource
form | S | 0..1 | CodeableConcept | Form of Dispensing Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
Slices for coding | S Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
coding:kbvDarreichungsform | S Σ | 0..* | Coding | Code defined by a terminology system Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM (required) Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
amount | S Σ | 0..1 | Ratio | Amount of drug in package
numerator | S Σ | 0..1 | Quantity | Numerator value Binding: UCUMCodes (preferred)
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:packagingSize | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"
value[x] | S | 1..1 | string | Package size according to divided quantity Max Length:7
extension:totalQuantity | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"
value[x] | S | 1..1 | string | Total quantity of the formulation. Max Length:7
value | S Σ | 0..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form
code | S Σ | 0..1 | code | Coded form of the unit
denominator | S Σ | 0..1 | Quantity | Denominator value Binding: UCUMCodes (preferred)
value | S Σ | 0..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form
code | S Σ | 0..1 | code | Coded form of the unit
ingredient | S | 0..* | BackboneElement | Active or inactive ingredients of the medication, including pharmaceutical substances as well as individual medicinal products in combination packs.
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:darreichungsform | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"
value[x] | S | 1..1 | string | Dosage form of an ingredient in a formulation. Max Length:30
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
Slices for item[x] | S | 1..1 |  | The actual ingredient or content Slice: Unordered, Closed by type:$this
itemCodeableConcept |  |  | CodeableConcept |
itemReference |  |  | Reference(Substance | Medication) |
item[x]:itemCodeableConcept | S | 0..1 | CodeableConcept | Encoded description of the substance or component.
Slices for coding | S Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
Slices for coding |  |  |  | Content/Rules for all slices
coding:ask | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ask
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
coding:atc-de | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
version | S Σ | 1..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
coding:pzn | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
text | S Σ | 0..1 | string | Plain text representation of the concept
item[x]:itemReference | S | 0..1 | Reference(Medication) | Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only
reference | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
identifier | S Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | S Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
coding | S Σ | 0..* | Coding | Code defined by a terminology system
system | S Σ | 0..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
system | S Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | S Σ | 0..1 | string | The value that is unique Example General: 123456
display | S Σ | 0..1 | string | Text alternative for the resource
isActive | S | 0..1 | boolean | Is it an active ingredient?
strength | S | 0..1 | Ratio | Strength
Slices for extension |  |  |  | Content/Rules for all slices
extension:amountText |  | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"
value[x] | S | 1..1 | string | Free-text amount of an ingredient in a formulation. Max Length:20
numerator | S Σ | 0..1 | Quantity | Numerator value Binding: UCUMCodes (preferred)
value | S Σ | 1..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form
code | S Σ | 0..1 | code | Coded form of the unit
denominator | S Σ | 0..1 | Quantity | Denominator value Binding: UCUMCodes (preferred)
value | S Σ | 1..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form
code | S Σ | 0..1 | code | Coded form of the unit
batch | S | 0..1 | BackboneElement | Batch Information
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
lotNumber | S | 0..1 | string | Batch Number
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Medication.extension:drugCategory.​value[x] | Base | required | TI Drug Category ValueSet | 📦1.0.9 | TI Terminology v1.0
Medication.extension:normSizeCode.​value[x] | Base | required | https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE | Not State | Unknown
Medication.identifier:EPAMedicationUniqueIdentifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Medication.identifier:EPAMedicationUniqueIdentifier.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Medication.identifier:RxOriginatorProcessIdentifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Medication.identifier:RxOriginatorProcessIdentifier.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Medication.code | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std.
Medication.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std.
Medication.form | Base | example | SNOMED CT Form Codes | 📍4.0.1 | FHIR Std.
Medication.form.coding:kbvDarreichungsform | Base | required | https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM | Not State | Unknown
Medication.amount.numerator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.amount.numerator.​comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std.
Medication.amount.denominator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.amount.denominator.​comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std.
Medication.ingredient.​item[x]:itemReference.​identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Medication.ingredient.​item[x]:itemReference.​identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Medication.ingredient.​strength.numerator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.ingredient.​strength.numerator.comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std.
Medication.ingredient.​strength.denominator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.ingredient.​strength.denominator.​comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Medication | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Medication | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
epa-med-1 | error | Medication | Medication code, name, or ingredients must be specified | `code.exists() or ingredient.exists()`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

Differential View

This structure is derived from Medication

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Medication | C | 0..* | Medication | Definition of a Medication Constraints: epa-med-1
meta | S | 0..1 | Meta | Metadata about the resource
versionId | S | 0..1 | id | Version specific identifier
lastUpdated | S | 0..1 | instant | When the resource version last changed
contained | S | 0..* | EPAMedicationPharmaceuticalProduct, EPAMedicationPZNIngredient | Contains PZN Ingredients for Compounding Medications & PharmaceuticalProducts in case of a 'Kombipackung'
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:rxPrescriptionProcessIdentifier | S | 0..1 | RxPrescriptionProcessIdentifier | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
extension:isVaccine | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 1..1 | boolean | Vaccine Indicator
extension:drugCategory | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 1..1 | Coding | Value of extension
system | S | 1..1 | uri | Identity of the terminology system
version | S | 0..1 | string | Version of the system - if relevant
code | S | 1..1 | code | Category
display | S | 0..1 | string | Representation defined by the system
extension:normSizeCode | S | 0..1 | (Complex) | Package size according to N-designation URL: http://fhir.de/StructureDefinition/normgroesse
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 0..1 | code | Value of extension
extension:packaging | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 1..1 | string | Packaging of a formulation.
extension:manufacturingInstructions | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 1..1 | string | Manufacturing instructions for a formulation.
extension:type | S | 0..1 | Coding | Medication Type URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension Binding: TI Medication Type Value Set (required)
Slices for identifier | S | 0..* | Identifier | Business identifier for this medication Slice: Unordered, Open by value:$this
identifier:EPAMedicationUniqueIdentifier | S | 0..1 | EPAMedicationUniqueIdentifier | Business identifier for this medication Required Pattern: At least the following
system |  | 1..1 | uri | The namespace for the identifier value Fixed Value: https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier
type | S | 0..1 | CodeableConcept | Description of identifier
coding | S | 0..* | Coding | Code defined by a terminology system
system | S | 0..1 | uri | Identity of the terminology system
version | S | 0..1 | string | Version of the system - if relevant
code | S | 0..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
identifier:RxOriginatorProcessIdentifier | S | 0..1 | RxOriginatorProcessIdentifier | Business identifier for this medication Required Pattern: At least the following
system |  | 1..1 | uri | The namespace for the identifier value Fixed Value: https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier
type | S | 0..1 | CodeableConcept | Description of identifier
coding | S | 0..* | Coding | Code defined by a terminology system
system | S | 0..1 | uri | Identity of the terminology system
version | S | 0..1 | string | Version of the system - if relevant
code | S | 0..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
code | S | 0..1 | CodeableConcept | Medication in coded form or as free text if necessary
Slices for coding | S | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
coding:pzn | S | 0..1 | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
version | S | 0..1 | string | Version of the system - if relevant
code | S | 1..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
coding:atc-de | S | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
version | S | 1..1 | string | Version of the system - if relevant
code | S | 1..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
coding:ask | S | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ask
version | S | 0..1 | string | Version of the system - if relevant
code | S | 1..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
text | S | 0..1 | string | Plain text representation of the concept
status | S | 0..1 | code | Status of Medication Information
manufacturer | S | 0..1 | Reference(Organization) | Manufacturer of the Medication
display | S | 1..1 | string | Text alternative for the resource
form | S | 0..1 | CodeableConcept | Form of Dispensing
Slices for coding | S | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
coding:kbvDarreichungsform | S | 0..* | Coding | Code defined by a terminology system Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM (required) Required Pattern: At least the following
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM
version | S | 0..1 | string | Version of the system - if relevant
code | S | 1..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
amount | S | 0..1 | Ratio | Amount of drug in package
numerator | S | 0..1 | Quantity | Numerator value Binding: UCUMCodes (preferred)
extension | S | 0..* | Extension | Extension
Slices for extension |  |  |  | Content/Rules for all slices
extension:packagingSize | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 1..1 | string | Package size according to divided quantity
extension:totalQuantity | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 1..1 | string | Total quantity of the formulation.
value | S | 0..1 | decimal | Numerical value (with implicit precision)
unit | S | 0..1 | string | Unit representation
system | S | 0..1 | uri | System that defines coded unit form
code | S | 0..1 | code | Coded form of the unit
denominator | S | 0..1 | Quantity | Denominator value Binding: UCUMCodes (preferred)
value | S | 0..1 | decimal | Numerical value (with implicit precision)
unit | S | 0..1 | string | Unit representation
system | S | 0..1 | uri | System that defines coded unit form
code | S | 0..1 | code | Coded form of the unit
ingredient | S | 0..* | BackboneElement | Active or inactive ingredients of the medication, including pharmaceutical substances as well as individual medicinal products in combination packs.
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:darreichungsform | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 1..1 | string | Dosage form of an ingredient in a formulation.
Slices for item[x] | S | 1..1 | CodeableConcept, Reference(Substance | Medication) | The actual ingredient or content Slice: Unordered, Open by type:$this
item[x]:itemCodeableConcept | S | 0..1 | CodeableConcept | Encoded description of the substance or component.
Slices for coding | S | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
Slices for coding |  |  |  | Content/Rules for all slices
coding:ask | S | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ask
version | S | 0..1 | string | Version of the system - if relevant
code | S | 1..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
coding:atc-de | S | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
version | S | 1..1 | string | Version of the system - if relevant
code | S | 1..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
coding:pzn | S | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
version | S | 0..1 | string | Version of the system - if relevant
code | S | 1..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
text | S | 0..1 | string | Plain text representation of the concept
item[x]:itemReference | S | 0..1 | Reference(Medication) | Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only
reference | S | 0..1 | string | Literal reference, Relative, internal or absolute URL
identifier | S | 0..1 | Identifier | Logical reference, when literal reference is not known
type | S | 0..1 | CodeableConcept | Description of identifier
coding | S | 0..* | Coding | Code defined by a terminology system
system | S | 0..1 | uri | Identity of the terminology system
version | S | 0..1 | string | Version of the system - if relevant
code | S | 0..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
system | S | 0..1 | uri | The namespace for the identifier value
value | S | 0..1 | string | The value that is unique
display | S | 0..1 | string | Text alternative for the resource
isActive | S | 0..1 | boolean | Is it an active ingredient?
strength | S | 0..1 | Ratio | Strength
Slices for extension |  |  |  | Content/Rules for all slices
extension:amountText |  | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
url | S | 1..1 | uri | identifies the meaning of the extension
value[x] | S | 1..1 | string | Free-text amount of an ingredient in a formulation.
numerator | S | 0..1 | Quantity | Numerator value Binding: UCUMCodes (preferred)
value | S | 1..1 | decimal | Numerical value (with implicit precision)
unit | S | 0..1 | string | Unit representation
system | S | 0..1 | uri | System that defines coded unit form
code | S | 0..1 | code | Coded form of the unit
denominator | S | 0..1 | Quantity | Denominator value Binding: UCUMCodes (preferred)
value | S | 1..1 | decimal | Numerical value (with implicit precision)
unit | S | 0..1 | string | Unit representation
system | S | 0..1 | uri | System that defines coded unit form
code | S | 0..1 | code | Coded form of the unit
batch | S | 0..1 | BackboneElement | Batch Information
lotNumber | S | 0..1 | string | Batch Number
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Medication.form.coding:kbvDarreichungsform | Base | required | https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM | Not State | Unknown
Medication.amount.numerator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.amount.denominator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.ingredient.​strength.numerator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.ingredient.​strength.denominator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
epa-med-1 | error | Medication | Medication code, name, or ingredients must be specified | `code.exists() or ingredient.exists()`

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Medication | C | 0..* | Medication | Definition of a Medication Constraints: epa-med-1
id | Σ | 0..1 | id | Logical id of this artifact
meta | S Σ | 0..1 | Meta | Metadata about the resource
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
versionId | S Σ | 0..1 | id | Version specific identifier
lastUpdated | S Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained | S | 0..* | EPAMedicationPharmaceuticalProduct, EPAMedicationPZNIngredient | Contains PZN Ingredients for Compounding Medications & PharmaceuticalProducts in case of a 'Kombipackung'
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:rxPrescriptionProcessIdentifier | S | 0..1 | RxPrescriptionProcessIdentifier | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
extension:isVaccine | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"
value[x] | S | 1..1 | boolean | Vaccine Indicator
extension:drugCategory | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"
value[x] | S | 1..1 | Coding | Value of extension Binding: TI Drug Category ValueSet (required)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Category
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
extension:normSizeCode | S | 0..1 | (Complex) | Package size according to N-designation URL: http://fhir.de/StructureDefinition/normgroesse Constraints: ext-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Additional content defined by implementations Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "http://fhir.de/StructureDefinition/normgroesse"
value[x] | S | 0..1 | code | Value of extension Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE (required)
extension:packaging | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"
value[x] | S | 1..1 | string | Packaging of a formulation. Max Length:90
extension:manufacturingInstructions | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension"
value[x] | S | 1..1 | string | Manufacturing instructions for a formulation. Max Length:500
extension:type | S | 0..1 | Coding | Medication Type URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension Binding: TI Medication Type Value Set (required)
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
Slices for identifier | S Σ | 0..* | Identifier | Business identifier for this medication Slice: Unordered, Open by value:$this
identifier:EPAMedicationUniqueIdentifier | S Σ | 0..1 | EPAMedicationUniqueIdentifier | Business identifier for this medication Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | S Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | S Σ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 0..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
system | S Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
identifier:RxOriginatorProcessIdentifier | S Σ | 0..1 | RxOriginatorProcessIdentifier | Business identifier for this medication Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | S Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | S Σ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 0..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
system | S Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
code | S Σ | 0..1 | CodeableConcept | Medication in coded form or as free text if necessary Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
Slices for coding | S Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
coding:pzn | S Σ | 0..1 | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
coding:atc-de | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
version | S Σ | 1..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
coding:ask | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ask
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | S Σ | 0..1 | string | Plain text representation of the concept
status | ?!S Σ | 0..1 | code | Status of Medication Information Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
manufacturer | S Σ | 0..1 | Reference(Organization) | Manufacturer of the Medication
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | S Σ | 1..1 | string | Text alternative for the resource
form | S | 0..1 | CodeableConcept | Form of Dispensing Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
Slices for coding | S Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
coding:kbvDarreichungsform | S Σ | 0..* | Coding | Code defined by a terminology system Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM (required) Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
amount | S Σ | 0..1 | Ratio | Amount of drug in package
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
numerator | S Σ | 0..1 | Quantity | Numerator value Binding: UCUMCodes (preferred)
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:packagingSize | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension"
value[x] | S | 1..1 | string | Package size according to divided quantity Max Length:7
extension:totalQuantity | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"
value[x] | S | 1..1 | string | Total quantity of the formulation. Max Length:7
value | S Σ | 0..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form
code | S Σ | 0..1 | code | Coded form of the unit
denominator | S Σ | 0..1 | Quantity | Denominator value Binding: UCUMCodes (preferred)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
value | S Σ | 0..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form
code | S Σ | 0..1 | code | Coded form of the unit
ingredient | S | 0..* | BackboneElement | Active or inactive ingredients of the medication, including pharmaceutical substances as well as individual medicinal products in combination packs.
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:darreichungsform | S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension"
value[x] | S | 1..1 | string | Dosage form of an ingredient in a formulation. Max Length:30
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
Slices for item[x] | S | 1..1 |  | The actual ingredient or content Slice: Unordered, Closed by type:$this
itemCodeableConcept |  |  | CodeableConcept |
itemReference |  |  | Reference(Substance | Medication) |
item[x]:itemCodeableConcept | S | 0..1 | CodeableConcept | Encoded description of the substance or component.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
Slices for coding | S Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this
Slices for coding |  |  |  | Content/Rules for all slices
coding:ask | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ask
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
coding:atc-de | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
version | S Σ | 1..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
coding:pzn | S Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | S Σ | 0..1 | string | Plain text representation of the concept
item[x]:itemReference | S | 0..1 | Reference(Medication) | Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | S Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | S Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | S Σ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 0..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
system | S Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | S Σ | 0..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
display | S Σ | 0..1 | string | Text alternative for the resource
isActive | S | 0..1 | boolean | Is it an active ingredient?
strength | S | 0..1 | Ratio | Strength
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:amountText |  | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension"
value[x] | S | 1..1 | string | Free-text amount of an ingredient in a formulation. Max Length:20
numerator | S Σ | 0..1 | Quantity | Numerator value Binding: UCUMCodes (preferred)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
value | S Σ | 1..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form
code | S Σ | 0..1 | code | Coded form of the unit
denominator | S Σ | 0..1 | Quantity | Denominator value Binding: UCUMCodes (preferred)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
value | S Σ | 1..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form
code | S Σ | 0..1 | code | Coded form of the unit
batch | S | 0..1 | BackboneElement | Batch Information
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
lotNumber | S | 0..1 | string | Batch Number
expirationDate |  | 0..1 | dateTime | When batch will expire
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Medication.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std.
Medication.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
Medication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
Medication.extension:drugCategory.​value[x] | Base | required | TI Drug Category ValueSet | 📦1.0.9 | TI Terminology v1.0
Medication.extension:normSizeCode.​value[x] | Base | required | https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE | Not State | Unknown
Medication.identifier:EPAMedicationUniqueIdentifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Medication.identifier:EPAMedicationUniqueIdentifier.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Medication.identifier:RxOriginatorProcessIdentifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Medication.identifier:RxOriginatorProcessIdentifier.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Medication.code | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std.
Medication.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std.
Medication.manufacturer.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
Medication.form | Base | example | SNOMED CT Form Codes | 📍4.0.1 | FHIR Std.
Medication.form.coding:kbvDarreichungsform | Base | required | https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM | Not State | Unknown
Medication.amount.numerator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.amount.numerator.​comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std.
Medication.amount.denominator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.amount.denominator.​comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std.
Medication.ingredient.​item[x]:itemReference.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
Medication.ingredient.​item[x]:itemReference.​identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Medication.ingredient.​item[x]:itemReference.​identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Medication.ingredient.​strength.numerator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.ingredient.​strength.numerator.comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std.
Medication.ingredient.​strength.denominator | Base | preferred | UCUM Codes | 📦4.0.1 | FHIR Std.
Medication.ingredient.​strength.denominator.​comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Medication | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Medication | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
epa-med-1 | error | Medication | Medication code, name, or ingredients must be specified | `code.exists() or ingredient.exists()`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from Medication

Summary

Mandatory: 0 element(21 nested mandatory elements)
Must-Support: 139 elements

Structures

This structure refers to these other structures:

- EPA Pharmaceutical Product Medication (https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product)
- EPA Medication PZN Ingredient (https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient)
- Medication Unique Identifier (https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-unique-identifier)
- RxOriginatorProcessIdentifier (https://gematik.de/fhir/epa-medication/StructureDefinition/rx-originator-process-identifier)

Extensions

This structure refers to these extensions:

- https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
- https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension
- https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
- http://fhir.de/StructureDefinition/normgroesse
- https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
- https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
- https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
- https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
- https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension
- https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
- https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of Medication.identifier
- The element 1 is sliced based on the value of Medication.code.coding
- The element 1 is sliced based on the value of Medication.form.coding
- The element 1 is sliced based on the value of Medication.ingredient.item[x]
- The element 1 is sliced based on the value of Medication.ingredient.item[x].coding

Other representations of profile: CSV, Excel, Schematron