Implementation Guide
TIFlow - Verordnungen für Arzneimittel
Version 2.0.0-ballot.2 - ballot

Resource Profile: GEM ERP PR Medication

Official URL: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication Version: 2.0.0-ballot.2
Active as of 2026-06-30 Computable Name: GEM_ERP_PR_Medication

Copyright/Legal: gematik GmbH / Dieses Artefakt ist lizenziert unter Apache License, Version 2.0.

Medikament zur Ausgabe des Rezepts

Usages:

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.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* TIMedicationDgMP Definition of a Medication
... meta SΣ 1..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
.... Slices for profile SΣ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Slice: Unordered, Closed by value:$this
..... profile:workflowProfile SΣ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|2.0
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained S 0..* Resource Enthaltene Medications
.... extension:context S 0..1 code Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
Binding: Context Codes (required)
.... 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 boolean Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension
.... extension:drugCategory SN 0..1 (Complex) Optional Extensions Element
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
..... extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"
..... value[x] S 1..1 Coding Value of extension
Binding: https://gematik.de/fhir/terminology/ValueSet/ti-drug-category-vs (required)
...... system SΣ 1..1 uri Identity of the terminology system
...... code SΣ 1..1 code Category
.... extension:normSizeCode SN 0..1 (Complex) Package size according to N-designation
URL: http://fhir.de/StructureDefinition/normgroesse
..... extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 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 string Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
.... extension:manufacturingInstructions SN 0..1 string Optional Extensions Element
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
.... extension:type S 0..1 Coding Medication Type
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
Binding: https://gematik.de/fhir/terminology/ValueSet/ti-medication-type-vs (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... code SΣ 0..1 CodeableConcept Code der Medikation
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
...... version 0..1 string Version of the system - if relevant
...... 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
...... 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
...... version 0..1 string Version of the system - if relevant
...... 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
...... 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Σ 1..1 code Status of Medication Information
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
... form S 0..1 CodeableConcept Darreichungsform
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
.... Slices for extension S 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... extension:dataAbsentReason S 0..1 code unknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
.... Slices for coding SΣ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:$this
..... coding:kbvDarreichungsform SΣ 0..1 Coding Code defined by a terminology system
Binding: https://fhir.kbv.de/CodeSystem/KBV_CS_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
...... version 0..1 string Version of the system - if relevant
...... 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
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display SΣ 0..1 string Representation defined by the system
..... coding:ifaDarreichungsform SΣ 0..1 Coding Code defined by a terminology system
Binding: https://fhir.ifaffm.de/CodeSystem/IFA_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
...... version 0..1 string Version of the system - if relevant
...... 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.ifaffm.de/CodeSystem/IFA_DARREICHUNGSFORM
...... 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
... amount SΣ 0..1 Ratio Menge des Arzneimittels in einer Packung
.... numerator SΣ 0..1 Quantity Numerator value
Binding: UCUMCodes (preferred)
..... Slices for extension Content/Rules for all slices
...... extension:packagingSize S 0..1 string Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
...... extension:totalQuantity S 0..1 string Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension
..... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
.... 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 Wirkstoffe
.... Slices for extension Content/Rules for all slices
..... extension:darreichungsform S 0..1 string Darreichungsform
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
.... 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 Wirkstoff kodiert
...... 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
........ 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
........ 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) {c} Wirkstoff Referenz
.... strength S 0..1 Ratio Wirkstärke
..... Slices for extension Content/Rules for all slices
...... extension:amountText S 0..1 string Angabe der Menge
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
..... 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 Chargeninformationen
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... lotNumber S 0..1 string Chargennummer
.... expirationDate 0..1 dateTime Verfallsdatum

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.extension:drugCategory.​value[x] Base required https://gematik.de/fhir/terminology/ValueSet/ti-drug-category-vs Not State Unknown
Medication.extension:normSizeCode.​value[x] Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE Not State Unknown
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/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM Not State Unknown
Medication.form.coding:ifaDarreichungsform Base required https://fhir.ifaffm.de/CodeSystem/IFA_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.​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())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from TIMedicationDgMP

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* TIMedicationDgMP Definition of a Medication
... meta 1..1 Meta Metadata about the resource
.... Slices for profile S 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Slice: Unordered, Closed by value:$this
..... profile:workflowProfile S 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|2.0
... contained S 0..* Resource Enthaltene Medications
... identifier 0..0 Business-Identifier der Medication
.... identifier:EPAMedicationUniqueIdentifier 0..0 An identifier intended for computation
.... identifier:RxOriginatorProcessIdentifier 0..0 An identifier intended for computation
... code 0..1 CodeableConcept Code der Medikation
.... Slices for coding Content/Rules for all slices
..... coding:atc-de 0..0 Code defined by a terminology system
... status 1..1 code Status of Medication Information
... manufacturer 0..0 Manufacturer of the Medication
... form 0..1 CodeableConcept Darreichungsform
... amount 0..1 Ratio Menge des Arzneimittels in einer Packung
... ingredient 0..* BackboneElement Wirkstoffe
.... Slices for extension Content/Rules for all slices
..... extension:darreichungsform S 0..1 MedicationIngredientDarreichungsformExtension Darreichungsform
.... Slices for item[x] Content/Rules for all slices
..... item[x]:itemCodeableConcept 0..1 CodeableConcept Wirkstoff kodiert
...... Slices for coding Content/Rules for all slices
....... coding:atc-de 0..0 Code defined by a terminology system
..... item[x]:itemReference 0..1 Reference(Medication) {c} Wirkstoff Referenz
.... strength 0..1 Ratio Wirkstärke
..... Slices for extension Content/Rules for all slices
...... extension:amountText S 0..1 MedicationIngredientAmountExtensions Angabe der Menge
... batch 0..1 BackboneElement Chargeninformationen
.... lotNumber S 0..1 string Chargennummer
.... expirationDate 0..1 dateTime Verfallsdatum

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* TIMedicationDgMP Definition of a Medication
... id Σ 0..1 id Logical id of this artifact
... meta SΣ 1..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
.... Slices for profile SΣ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Slice: Unordered, Closed by value:$this
..... profile:workflowProfile SΣ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|2.0
.... 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
... 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..* Resource Enthaltene Medications
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:context S 0..1 code Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
Binding: Context Codes (required)
.... 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 boolean Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension
.... extension:drugCategory SN 0..1 (Complex) Optional Extensions Element
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
..... 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 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"
..... value[x] S 1..1 Coding Value of extension
Binding: https://gematik.de/fhir/terminology/ValueSet/ti-drug-category-vs (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 Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Category
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... extension:normSizeCode SN 0..1 (Complex) Package size according to N-designation
URL: http://fhir.de/StructureDefinition/normgroesse
..... 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 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 string Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
.... extension:manufacturingInstructions SN 0..1 string Optional Extensions Element
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
.... extension:type S 0..1 Coding Medication Type
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
Binding: https://gematik.de/fhir/terminology/ValueSet/ti-medication-type-vs (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... code SΣ 0..1 CodeableConcept Code der Medikation
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 Σ 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: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 Σ 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Σ 1..1 code Status of Medication Information
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
... form S 0..1 CodeableConcept Darreichungsform
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension S 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... extension:dataAbsentReason S 0..1 code unknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
.... Slices for coding SΣ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:$this
..... coding:kbvDarreichungsform SΣ 0..1 Coding Code defined by a terminology system
Binding: https://fhir.kbv.de/CodeSystem/KBV_CS_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 Σ 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:ifaDarreichungsform SΣ 0..1 Coding Code defined by a terminology system
Binding: https://fhir.ifaffm.de/CodeSystem/IFA_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.ifaffm.de/CodeSystem/IFA_DARREICHUNGSFORM
...... version Σ 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
... amount SΣ 0..1 Ratio Menge des Arzneimittels in einer Packung
.... 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 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... extension:packagingSize S 0..1 string Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
...... extension:totalQuantity S 0..1 string Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension
..... value Σ 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 Σ 0..1 string Unit representation
..... system ΣC 0..1 uri System that defines coded unit form
..... code Σ 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 Wirkstoffe
.... 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:darreichungsform S 0..1 string Darreichungsform
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
.... 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 Wirkstoff kodiert
...... 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 Σ 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: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 Σ 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) {c} Wirkstoff Referenz
.... isActive 0..1 boolean Is it an active ingredient?
.... strength S 0..1 Ratio Wirkstärke
..... 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 S 0..1 string Angabe der Menge
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
..... 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 Chargeninformationen
.... 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 Chargennummer
.... expirationDate 0..1 dateTime Verfallsdatum

doco 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 https://gematik.de/fhir/terminology/ValueSet/ti-drug-category-vs Not State Unknown
Medication.extension:normSizeCode.​value[x] Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE Not State Unknown
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/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM Not State Unknown
Medication.form.coding:ifaDarreichungsform Base required https://fhir.ifaffm.de/CodeSystem/IFA_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.​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())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from TIMedicationDgMP

Summary

Mandatory: 4 elements
Must-Support: 6 elements
Fixed: 1 element
Prohibited: 6 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Medication.meta.profile (Closed)

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* TIMedicationDgMP Definition of a Medication
... meta SΣ 1..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
.... Slices for profile SΣ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Slice: Unordered, Closed by value:$this
..... profile:workflowProfile SΣ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|2.0
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained S 0..* Resource Enthaltene Medications
.... extension:context S 0..1 code Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
Binding: Context Codes (required)
.... 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 boolean Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension
.... extension:drugCategory SN 0..1 (Complex) Optional Extensions Element
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
..... extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"
..... value[x] S 1..1 Coding Value of extension
Binding: https://gematik.de/fhir/terminology/ValueSet/ti-drug-category-vs (required)
...... system SΣ 1..1 uri Identity of the terminology system
...... code SΣ 1..1 code Category
.... extension:normSizeCode SN 0..1 (Complex) Package size according to N-designation
URL: http://fhir.de/StructureDefinition/normgroesse
..... extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 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 string Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
.... extension:manufacturingInstructions SN 0..1 string Optional Extensions Element
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
.... extension:type S 0..1 Coding Medication Type
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
Binding: https://gematik.de/fhir/terminology/ValueSet/ti-medication-type-vs (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... code SΣ 0..1 CodeableConcept Code der Medikation
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
...... version 0..1 string Version of the system - if relevant
...... 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
...... 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
...... version 0..1 string Version of the system - if relevant
...... 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
...... 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Σ 1..1 code Status of Medication Information
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
... form S 0..1 CodeableConcept Darreichungsform
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
.... Slices for extension S 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... extension:dataAbsentReason S 0..1 code unknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
.... Slices for coding SΣ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:$this
..... coding:kbvDarreichungsform SΣ 0..1 Coding Code defined by a terminology system
Binding: https://fhir.kbv.de/CodeSystem/KBV_CS_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
...... version 0..1 string Version of the system - if relevant
...... 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
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display SΣ 0..1 string Representation defined by the system
..... coding:ifaDarreichungsform SΣ 0..1 Coding Code defined by a terminology system
Binding: https://fhir.ifaffm.de/CodeSystem/IFA_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
...... version 0..1 string Version of the system - if relevant
...... 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.ifaffm.de/CodeSystem/IFA_DARREICHUNGSFORM
...... 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
... amount SΣ 0..1 Ratio Menge des Arzneimittels in einer Packung
.... numerator SΣ 0..1 Quantity Numerator value
Binding: UCUMCodes (preferred)
..... Slices for extension Content/Rules for all slices
...... extension:packagingSize S 0..1 string Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
...... extension:totalQuantity S 0..1 string Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension
..... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
.... 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 Wirkstoffe
.... Slices for extension Content/Rules for all slices
..... extension:darreichungsform S 0..1 string Darreichungsform
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
.... 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 Wirkstoff kodiert
...... 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
........ 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
........ 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) {c} Wirkstoff Referenz
.... strength S 0..1 Ratio Wirkstärke
..... Slices for extension Content/Rules for all slices
...... extension:amountText S 0..1 string Angabe der Menge
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
..... 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 Chargeninformationen
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... lotNumber S 0..1 string Chargennummer
.... expirationDate 0..1 dateTime Verfallsdatum

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.extension:drugCategory.​value[x] Base required https://gematik.de/fhir/terminology/ValueSet/ti-drug-category-vs Not State Unknown
Medication.extension:normSizeCode.​value[x] Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE Not State Unknown
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/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM Not State Unknown
Medication.form.coding:ifaDarreichungsform Base required https://fhir.ifaffm.de/CodeSystem/IFA_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.​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())
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 TIMedicationDgMP

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* TIMedicationDgMP Definition of a Medication
... meta 1..1 Meta Metadata about the resource
.... Slices for profile S 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Slice: Unordered, Closed by value:$this
..... profile:workflowProfile S 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|2.0
... contained S 0..* Resource Enthaltene Medications
... identifier 0..0 Business-Identifier der Medication
.... identifier:EPAMedicationUniqueIdentifier 0..0 An identifier intended for computation
.... identifier:RxOriginatorProcessIdentifier 0..0 An identifier intended for computation
... code 0..1 CodeableConcept Code der Medikation
.... Slices for coding Content/Rules for all slices
..... coding:atc-de 0..0 Code defined by a terminology system
... status 1..1 code Status of Medication Information
... manufacturer 0..0 Manufacturer of the Medication
... form 0..1 CodeableConcept Darreichungsform
... amount 0..1 Ratio Menge des Arzneimittels in einer Packung
... ingredient 0..* BackboneElement Wirkstoffe
.... Slices for extension Content/Rules for all slices
..... extension:darreichungsform S 0..1 MedicationIngredientDarreichungsformExtension Darreichungsform
.... Slices for item[x] Content/Rules for all slices
..... item[x]:itemCodeableConcept 0..1 CodeableConcept Wirkstoff kodiert
...... Slices for coding Content/Rules for all slices
....... coding:atc-de 0..0 Code defined by a terminology system
..... item[x]:itemReference 0..1 Reference(Medication) {c} Wirkstoff Referenz
.... strength 0..1 Ratio Wirkstärke
..... Slices for extension Content/Rules for all slices
...... extension:amountText S 0..1 MedicationIngredientAmountExtensions Angabe der Menge
... batch 0..1 BackboneElement Chargeninformationen
.... lotNumber S 0..1 string Chargennummer
.... expirationDate 0..1 dateTime Verfallsdatum

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* TIMedicationDgMP Definition of a Medication
... id Σ 0..1 id Logical id of this artifact
... meta SΣ 1..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
.... Slices for profile SΣ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Slice: Unordered, Closed by value:$this
..... profile:workflowProfile SΣ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|2.0
.... 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
... 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..* Resource Enthaltene Medications
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:context S 0..1 code Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
Binding: Context Codes (required)
.... 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 boolean Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension
.... extension:drugCategory SN 0..1 (Complex) Optional Extensions Element
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
..... 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 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"
..... value[x] S 1..1 Coding Value of extension
Binding: https://gematik.de/fhir/terminology/ValueSet/ti-drug-category-vs (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 Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Category
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... extension:normSizeCode SN 0..1 (Complex) Package size according to N-designation
URL: http://fhir.de/StructureDefinition/normgroesse
..... 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 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 string Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
.... extension:manufacturingInstructions SN 0..1 string Optional Extensions Element
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
.... extension:type S 0..1 Coding Medication Type
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
Binding: https://gematik.de/fhir/terminology/ValueSet/ti-medication-type-vs (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... code SΣ 0..1 CodeableConcept Code der Medikation
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 Σ 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: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 Σ 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Σ 1..1 code Status of Medication Information
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
... form S 0..1 CodeableConcept Darreichungsform
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension S 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... extension:dataAbsentReason S 0..1 code unknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
.... Slices for coding SΣ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:$this
..... coding:kbvDarreichungsform SΣ 0..1 Coding Code defined by a terminology system
Binding: https://fhir.kbv.de/CodeSystem/KBV_CS_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 Σ 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:ifaDarreichungsform SΣ 0..1 Coding Code defined by a terminology system
Binding: https://fhir.ifaffm.de/CodeSystem/IFA_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.ifaffm.de/CodeSystem/IFA_DARREICHUNGSFORM
...... version Σ 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
... amount SΣ 0..1 Ratio Menge des Arzneimittels in einer Packung
.... 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 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... extension:packagingSize S 0..1 string Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
...... extension:totalQuantity S 0..1 string Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension
..... value Σ 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 Σ 0..1 string Unit representation
..... system ΣC 0..1 uri System that defines coded unit form
..... code Σ 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 Wirkstoffe
.... 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:darreichungsform S 0..1 string Darreichungsform
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
.... 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 Wirkstoff kodiert
...... 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 Σ 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: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 Σ 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) {c} Wirkstoff Referenz
.... isActive 0..1 boolean Is it an active ingredient?
.... strength S 0..1 Ratio Wirkstärke
..... 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 S 0..1 string Angabe der Menge
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
..... 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 Chargeninformationen
.... 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 Chargennummer
.... expirationDate 0..1 dateTime Verfallsdatum

doco 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 https://gematik.de/fhir/terminology/ValueSet/ti-drug-category-vs Not State Unknown
Medication.extension:normSizeCode.​value[x] Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE Not State Unknown
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/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM Not State Unknown
Medication.form.coding:ifaDarreichungsform Base required https://fhir.ifaffm.de/CodeSystem/IFA_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.​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())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from TIMedicationDgMP

Summary

Mandatory: 4 elements
Must-Support: 6 elements
Fixed: 1 element
Prohibited: 6 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Medication.meta.profile (Closed)

 

Other representations of profile: CSV, Excel, Schematron