Implementation Guide
ePA Medication Service
Version 1.0.5-ballot.1 - draft

Resource Profile: EPA Medication PZN Ingredient

Official URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient Version: 1.0.5-ballot.1
Draft as of 2025-02-14 Computable Name: EPAMedicationPZNIngredient

Defines the medication resource for a PZN ingredient of a compounding medication for the Medication Service in the ePA system. These profiles are intended to inherit from EPAMedication, but due to tooling issues, this inheritance cannot currently be implemented.

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication C 0..* Medication Definition of a Medication
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: 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
dom-6: A resource should have narrative for robust management
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
epa-med-1: Medication code, name, or ingredients must be specified
... meta SΣ 0..1 Meta Metadata about the resource
ele-1: All FHIR elements must have a @value or children
.... versionId SΣ 0..1 id Version specific identifier
ele-1: All FHIR elements must have a @value or children
.... lastUpdated SΣ 0..1 instant When the resource version last changed
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension Content/Rules for all slices
.... rxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... isVaccine 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-is-vaccine-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-is-vaccine-extension"
..... value[x] S 1..1 boolean Vaccine Indicator
ele-1: All FHIR elements must have a @value or children
.... drugCategory 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"
..... value[x] S 1..1 Coding Value of extension
Binding: EPA Drug Category ValueSet (required)
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code Category
ele-1: All FHIR elements must have a @value or children
.... normSizeCode 0..1 (Complex) Package size according to N-designation
URL: http://fhir.de/StructureDefinition/normgroesse
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension N 0..0
..... 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)
ele-1: All FHIR elements must have a @value or children
.... packaging 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"
..... value[x] S 1..1 string Packaging of a formulation.
ele-1: All FHIR elements must have a @value or children
Max Length:90
.... manufacturingInstructions 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 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.
ele-1: All FHIR elements must have a @value or children
Max Length:500
.... type S 0..1 (Complex) Medication Type
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension"
..... value[x] S 1..1 Coding Value of extension
Binding: EPA Medication Type ValueSet for PZN-Medication (required)
ele-1: All FHIR elements must have a @value or children
... Slices for identifier Σ 0..* Identifier Business identifier for this medication
Slice: Unordered, Open by pattern:$this
ele-1: All FHIR elements must have a @value or children
.... identifier:EPAMedicationUniqueIdentifier Σ 0..1 EPAMedicationUniqueIdentifier Business identifier for this medication
ele-1: All FHIR elements must have a @value or children

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
.... identifier:RxOriginatorProcessIdentifier Σ 0..1 RxOriginatorProcessIdentifier Business identifier for this medication
ele-1: All FHIR elements must have a @value or children

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
... 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.


ele-1: All FHIR elements must have a @value or children
.... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
ele-1: All FHIR elements must have a @value or children
..... coding:pzn SΣ 1..1 Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... version SΣ 0..1 string Version of the system - if relevant
ele-1: All FHIR elements must have a @value or children
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
..... coding:atc-de SΣ 0..* Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
..... coding:ask SΣ 0..* Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ask
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
..... coding:snomed Σ 0..* Coding Code defined by a terminology system
Binding: EPAMedicationSNOMEDCTVS (extensible)
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... version SΣ 0..1 string Version of the system - if relevant
ele-1: All FHIR elements must have a @value or children
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
.... text SΣ 0..1 string Plain text representation of the concept
ele-1: All FHIR elements must have a @value or children
... 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.


ele-1: All FHIR elements must have a @value or children
... manufacturer SΣC 0..1 Reference(Organization) Manufacturer of the Medication
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
.... display SΣ 1..1 string Text alternative for the resource
ele-1: All FHIR elements must have a @value or children
... form S 0..1 CodeableConcept Form of Dispensing
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.


ele-1: All FHIR elements must have a @value or children
.... Slices for coding SΣ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
ele-1: All FHIR elements must have a @value or children
..... coding:edqm SΣ 0..* Coding Code defined by a terminology system
Binding: http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform (preferred)
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://standardterms.edqm.eu
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
..... coding:snomed Σ 0..* Coding Code defined by a terminology system
Binding: Darreichungsform SNOMED CT® (preferred)
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... version SΣ 0..1 string Version of the system - if relevant
ele-1: All FHIR elements must have a @value or children
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
..... coding:kbvDarreichungsform SΣ 0..* Coding Code defined by a terminology system
Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM (required)
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
... amount SΣC 0..1 Ratio Amount of drug in package
ele-1: All FHIR elements must have a @value or children
rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
.... numerator SΣC 0..1 Quantity Numerator value
Binding: UCUMCodes (preferred)
ele-1: All FHIR elements must have a @value or children
qty-3: If a code for the unit is present, the system SHALL also be present
..... Slices for extension Content/Rules for all slices
...... packagingSize 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... extension 0..0
....... url 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
ele-1: All FHIR elements must have a @value or children
Max Length:7
...... totalQuantity 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... extension 0..0
....... url 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.
ele-1: All FHIR elements must have a @value or children
Max Length:7
..... value SΣ 0..1 decimal Numerical value (with implicit precision)
ele-1: All FHIR elements must have a @value or children
..... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.


ele-1: All FHIR elements must have a @value or children
..... unit SΣ 0..1 string Unit representation
ele-1: All FHIR elements must have a @value or children
..... system SΣC 0..1 uri System that defines coded unit form
ele-1: All FHIR elements must have a @value or children
..... code SΣ 0..1 code Coded form of the unit
ele-1: All FHIR elements must have a @value or children
.... denominator SΣC 0..1 Quantity Denominator value
Binding: UCUMCodes (preferred)
ele-1: All FHIR elements must have a @value or children
qty-3: If a code for the unit is present, the system SHALL also be present
..... value SΣ 0..1 decimal Numerical value (with implicit precision)
ele-1: All FHIR elements must have a @value or children
..... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.


ele-1: All FHIR elements must have a @value or children
..... unit SΣ 0..1 string Unit representation
ele-1: All FHIR elements must have a @value or children
..... system SΣC 0..1 uri System that defines coded unit form
ele-1: All FHIR elements must have a @value or children
..... code SΣ 0..1 code Coded form of the unit
ele-1: All FHIR elements must have a @value or children
... ingredient S 0..* BackboneElement Active or inactive ingredients of the medication, including pharmaceutical substances as well as individual medicinal products in combination packs.
ele-1: All FHIR elements must have a @value or children
.... Slices for extension Content/Rules for all slices
..... darreichungsform 0..1 string Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... Slices for item[x] S 1..1 CodeableConcept The actual ingredient or content
Slice: Unordered, Closed by type:$this
ele-1: All FHIR elements must have a @value or children
..... item[x]:itemCodeableConcept S 0..1 CodeableConcept Encoded description of the substance or component.
ele-1: All FHIR elements must have a @value or children
...... Slices for coding SΣ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
ele-1: All FHIR elements must have a @value or children
....... coding:ask SΣ 0..* Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ask
........ system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
........ code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
........ display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
....... coding:atc-de SΣ 0..* Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
........ system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
........ code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
........ display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
....... coding:snomed Σ 0..* Coding Code defined by a terminology system
Binding: EPA Substance SNOMED-CT® ValueSet (preferred)
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
........ system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
........ version SΣ 0..1 string Version of the system - if relevant
ele-1: All FHIR elements must have a @value or children
........ code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
........ display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
....... coding:pzn SΣ 0..* Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
........ system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
........ code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
........ display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
...... text SΣ 0..1 string Plain text representation of the concept
ele-1: All FHIR elements must have a @value or children
.... isActive 0..1 boolean Is it an active ingredient?
ele-1: All FHIR elements must have a @value or children
.... strength SC 0..1 Ratio Strength
ele-1: All FHIR elements must have a @value or children
rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
..... Slices for extension Content/Rules for all slices
...... amountText 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... extension 0..0
....... url 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.
ele-1: All FHIR elements must have a @value or children
Max Length:20
..... numerator SΣC 0..1 Quantity Numerator value
Binding: UCUMCodes (preferred)
ele-1: All FHIR elements must have a @value or children
qty-3: If a code for the unit is present, the system SHALL also be present
...... value SΣ 1..1 decimal Numerical value (with implicit precision)
ele-1: All FHIR elements must have a @value or children
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.


ele-1: All FHIR elements must have a @value or children
...... unit SΣ 0..1 string Unit representation
ele-1: All FHIR elements must have a @value or children
...... system SΣC 0..1 uri System that defines coded unit form
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code Coded form of the unit
ele-1: All FHIR elements must have a @value or children
..... denominator SΣC 0..1 Quantity Denominator value
Binding: UCUMCodes (preferred)
ele-1: All FHIR elements must have a @value or children
qty-3: If a code for the unit is present, the system SHALL also be present
...... value SΣ 1..1 decimal Numerical value (with implicit precision)
ele-1: All FHIR elements must have a @value or children
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.


ele-1: All FHIR elements must have a @value or children
...... unit SΣ 0..1 string Unit representation
ele-1: All FHIR elements must have a @value or children
...... system SΣC 0..1 uri System that defines coded unit form
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code Coded form of the unit
ele-1: All FHIR elements must have a @value or children
... batch S 0..1 BackboneElement Batch Information
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... lotNumber S 0..1 string Batch Number
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Medication.extension:drugCategory.value[x]requiredEPADrugCategoryVS
https://gematik.de/fhir/terminology/ValueSet/epa-drug-category-vs
Medication.extension:normSizeCode.value[x]requiredhttps://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE
https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE
Medication.extension:type.value[x]requiredEPAMedicationTypeProductVS
https://gematik.de/fhir/terminology/ValueSet/epa-medication-type-product-vs
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.code.coding:snomedextensiblePattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-medication-snomed-ct-vs
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.formexampleSNOMEDCTFormCodes
http://hl7.org/fhir/ValueSet/medication-form-codes
from the FHIR Standard
Medication.form.coding:edqmpreferredPattern: null
http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform
Medication.form.coding:snomedpreferredPattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-medicine-form-snomed-ct-vs
Medication.form.coding:kbvDarreichungsformrequiredPattern: null
https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM
Medication.amount.numeratorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.amount.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Medication.amount.denominatorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.amount.denominator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Medication.ingredient.item[x]:itemCodeableConcept.coding:snomedpreferredPattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-substance-snomed-ct-vs
Medication.ingredient.strength.numeratorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.ingredient.strength.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Medication.ingredient.strength.denominatorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.ingredient.strength.denominator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationIf 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-4errorMedicationIf 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-5errorMedicationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
epa-med-1errorMedicationMedication code, name, or ingredients must be specified
: code.exists() or ingredient.exists()
ext-1error**ALL** elementsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
qty-3errorMedication.amount.numerator, Medication.amount.denominator, Medication.ingredient.strength.numerator, Medication.ingredient.strength.denominatorIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
rat-1errorMedication.amount, Medication.ingredient.strengthNumerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
: (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())
ref-1errorMedication.manufacturerSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication C 0..* Medication Definition of a Medication
epa-med-1: Medication code, name, or ingredients must be specified
... 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 0..0
... Slices for extension Content/Rules for all slices
.... rxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
.... isVaccine 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-is-vaccine-extension
..... value[x] S 1..1 boolean Vaccine Indicator
.... drugCategory 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
..... value[x] S 1..1 Coding Value of extension
...... system S 0..1 uri Identity of the terminology system
...... code S 0..1 code Category
.... normSizeCode 0..1 (Complex) Package size according to N-designation
URL: http://fhir.de/StructureDefinition/normgroesse
..... value[x] S 0..1 code Value of extension
.... packaging 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
..... value[x] S 1..1 string Packaging of a formulation.
.... manufacturingInstructions 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
..... value[x] S 1..1 string Manufacturing instructions for a formulation.
.... type S 0..1 (Complex) Medication Type
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
..... value[x] 1..1 Coding Value of extension
Binding: EPA Medication Type ValueSet for PZN-Medication (required)
.... identifier:EPAMedicationUniqueIdentifier 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
.... identifier:RxOriginatorProcessIdentifier 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
... code S 0..1 CodeableConcept Medication in coded form or as free text if necessary
.... Slices for coding S 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:pzn S 1..1 Coding Code defined by a terminology system
Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
...... 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 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 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
...... system S 1..1 uri Identity of the terminology system
...... 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 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ask
...... system S 1..1 uri Identity of the terminology system
...... code S 1..1 code Symbol in syntax defined by the system
...... display S 0..1 string Representation defined by the system
..... coding:snomed 0..* Coding Code defined by a terminology system
Binding: EPAMedicationSNOMEDCTVS (extensible)

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... 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 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 pattern:$this
..... coding:edqm S 0..* Coding Code defined by a terminology system
Binding: http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform (preferred)

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://standardterms.edqm.eu
...... system S 1..1 uri Identity of the terminology system
...... code S 1..1 code Symbol in syntax defined by the system
...... display S 0..1 string Representation defined by the system
..... coding:snomed 0..* Coding Code defined by a terminology system
Binding: Darreichungsform SNOMED CT® (preferred)

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... 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 Symbol in syntax defined by the system
...... display S 0..1 string Representation defined by the system
..... 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 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM
...... system S 1..1 uri Identity of the terminology system
...... 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 Content/Rules for all slices
...... packagingSize 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
....... value[x] S 1..1 string Package size according to divided quantity
...... totalQuantity 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-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 Content/Rules for all slices
..... darreichungsform 0..1 string Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
.... Slices for item[x] S 1..1 CodeableConcept 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 pattern:$this
....... coding:ask S 0..* Coding Code defined by a terminology system

Required Pattern: At least the following
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ask
........ system S 1..1 uri Identity of the terminology system
........ 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 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
........ system S 1..1 uri Identity of the terminology system
........ code S 1..1 code Symbol in syntax defined by the system
........ display S 0..1 string Representation defined by the system
....... coding:snomed 0..* Coding Code defined by a terminology system
Binding: EPA Substance SNOMED-CT® ValueSet (preferred)

Required Pattern: At least the following
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
........ 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 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 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
........ system S 1..1 uri Identity of the terminology system
........ 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..0
.... isActive 0..1 boolean Is it an active ingredient?
.... strength S 0..1 Ratio Strength
..... Slices for extension Content/Rules for all slices
...... amountText 0..1 (Complex) Extension
URL: 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.
..... 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

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet / CodeURI
Medication.extension:type.value[x]requiredEPAMedicationTypeProductVS
https://gematik.de/fhir/terminology/ValueSet/epa-medication-type-product-vs
Medication.code.coding:snomedextensiblePattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-medication-snomed-ct-vs
Medication.form.coding:edqmpreferredPattern: null
http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform
Medication.form.coding:snomedpreferredPattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-medicine-form-snomed-ct-vs
Medication.form.coding:kbvDarreichungsformrequiredPattern: null
https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM
Medication.amount.numeratorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.amount.denominatorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.ingredient.item[x]:itemCodeableConcept.coding:snomedpreferredPattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-substance-snomed-ct-vs
Medication.ingredient.strength.numeratorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.ingredient.strength.denominatorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
epa-med-1errorMedicationMedication code, name, or ingredients must be specified
: code.exists() or ingredient.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication C 0..* Medication Definition of a Medication
epa-med-1: Medication code, name, or ingredients must be specified
... 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 N 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
... text 0..1 Narrative Text summary of the resource, for human interpretation
... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... rxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
.... isVaccine 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-is-vaccine-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-is-vaccine-extension"
..... value[x] S 1..1 boolean Vaccine Indicator
.... drugCategory 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
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"
..... value[x] S 1..1 Coding Value of extension
Binding: EPA Drug Category ValueSet (required)
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri Identity of the terminology system
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 0..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
.... normSizeCode 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 N 0..0
..... 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)
.... packaging 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
..... url 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
.... manufacturingInstructions 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
..... url 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
.... type S 0..1 (Complex) Medication Type
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension"
..... value[x] S 1..1 Coding Value of extension
Binding: EPA Medication Type ValueSet for PZN-Medication (required)
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... Slices for identifier Σ 0..* Identifier Business identifier for this medication
Slice: Unordered, Open by pattern:$this
.... identifier:EPAMedicationUniqueIdentifier Σ 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
..... use 0..1 code usual | official | temp | secondary | old (If known)
..... type 0..1 CodeableConcept Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier
..... value 0..1 string The value that is unique
..... 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 Σ 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
..... use 0..1 code usual | official | temp | secondary | old (If known)
..... type 0..1 CodeableConcept Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier
..... value 0..1 string The value that is unique
..... 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 N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:pzn SΣ 1..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
...... system 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 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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 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
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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 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
...... system 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 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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 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:snomed Σ 0..* Coding Code defined by a terminology system
Binding: EPAMedicationSNOMEDCTVS (extensible)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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 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ΣC 0..1 Reference(Organization) Manufacturer of the Medication
ref-1: SHALL have a contained resource if a local reference is provided
.... id 0..1 string Unique id for inter-element referencing
.... extension N 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 N 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 pattern:$this
..... coding:edqm SΣ 0..* Coding Code defined by a terminology system
Binding: http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform (preferred)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://standardterms.edqm.eu
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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 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:snomed Σ 0..* Coding Code defined by a terminology system
Binding: Darreichungsform SNOMED CT® (preferred)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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 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: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
...... system 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 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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 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ΣC 0..1 Ratio Amount of drug in package
rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... numerator SΣC 0..1 Quantity Numerator value
Binding: UCUMCodes (preferred)
qty-3: If a code for the unit is present, the system SHALL also be present
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... packagingSize 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
....... url 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
...... totalQuantity 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
....... url 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ΣC 0..1 Quantity Denominator value
Binding: UCUMCodes (preferred)
qty-3: If a code for the unit is present, the system SHALL also be present
..... id 0..1 string Unique id for inter-element referencing
..... extension N 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 N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... darreichungsform 0..1 string Extension
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 CodeableConcept The actual ingredient or content
Slice: Unordered, Closed by type:$this
..... 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 N 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 pattern:$this
....... 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
........ system 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 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ id 0..1 string Unique id for inter-element referencing
........ extension N 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 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
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ id 0..1 string Unique id for inter-element referencing
........ extension N 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 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:snomed Σ 0..* Coding Code defined by a terminology system
Binding: EPA Substance SNOMED-CT® ValueSet (preferred)

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ id 0..1 string Unique id for inter-element referencing
........ extension N 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 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
........ system 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 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ id 0..1 string Unique id for inter-element referencing
........ extension N 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 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
.... isActive 0..1 boolean Is it an active ingredient?
.... strength SC 0..1 Ratio Strength
rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... 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
....... url 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ΣC 0..1 Quantity Numerator value
Binding: UCUMCodes (preferred)
qty-3: If a code for the unit is present, the system SHALL also be present
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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ΣC 0..1 Quantity Denominator value
Binding: UCUMCodes (preferred)
qty-3: If a code for the unit is present, the system SHALL also be present
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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 N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... 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

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Medication.meta.securityextensibleAll Security Labels
http://hl7.org/fhir/ValueSet/security-labels
from the FHIR Standard
Medication.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
from the FHIR Standard
Medication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Medication.extension:drugCategory.value[x]requiredEPADrugCategoryVS
https://gematik.de/fhir/terminology/ValueSet/epa-drug-category-vs
Medication.extension:normSizeCode.value[x]requiredhttps://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE
https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE
Medication.extension:type.value[x]requiredEPAMedicationTypeProductVS
https://gematik.de/fhir/terminology/ValueSet/epa-medication-type-product-vs
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.code.coding:snomedextensiblePattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-medication-snomed-ct-vs
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.manufacturer.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Medication.formexampleSNOMEDCTFormCodes
http://hl7.org/fhir/ValueSet/medication-form-codes
from the FHIR Standard
Medication.form.coding:edqmpreferredPattern: null
http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform
Medication.form.coding:snomedpreferredPattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-medicine-form-snomed-ct-vs
Medication.form.coding:kbvDarreichungsformrequiredPattern: null
https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM
Medication.amount.numeratorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.amount.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Medication.amount.denominatorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.amount.denominator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Medication.ingredient.item[x]:itemCodeableConcept.coding:snomedpreferredPattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-substance-snomed-ct-vs
Medication.ingredient.strength.numeratorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.ingredient.strength.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Medication.ingredient.strength.denominatorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.ingredient.strength.denominator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationIf 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-4errorMedicationIf 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-5errorMedicationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
epa-med-1errorMedicationMedication code, name, or ingredients must be specified
: code.exists() or ingredient.exists()
ext-1error**ALL** elementsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
qty-3errorMedication.amount.numerator, Medication.amount.denominator, Medication.ingredient.strength.numerator, Medication.ingredient.strength.denominatorIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
rat-1errorMedication.amount, Medication.ingredient.strengthNumerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
: (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())
ref-1errorMedication.manufacturerSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from Medication

Summary

Mandatory: 0 element(27 nested mandatory elements)
Must-Support: 97 elements
Prohibited: 2 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication C 0..* Medication Definition of a Medication
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: 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
dom-6: A resource should have narrative for robust management
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
epa-med-1: Medication code, name, or ingredients must be specified
... meta SΣ 0..1 Meta Metadata about the resource
ele-1: All FHIR elements must have a @value or children
.... versionId SΣ 0..1 id Version specific identifier
ele-1: All FHIR elements must have a @value or children
.... lastUpdated SΣ 0..1 instant When the resource version last changed
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension Content/Rules for all slices
.... rxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... isVaccine 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-is-vaccine-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-is-vaccine-extension"
..... value[x] S 1..1 boolean Vaccine Indicator
ele-1: All FHIR elements must have a @value or children
.... drugCategory 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"
..... value[x] S 1..1 Coding Value of extension
Binding: EPA Drug Category ValueSet (required)
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code Category
ele-1: All FHIR elements must have a @value or children
.... normSizeCode 0..1 (Complex) Package size according to N-designation
URL: http://fhir.de/StructureDefinition/normgroesse
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension N 0..0
..... 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)
ele-1: All FHIR elements must have a @value or children
.... packaging 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"
..... value[x] S 1..1 string Packaging of a formulation.
ele-1: All FHIR elements must have a @value or children
Max Length:90
.... manufacturingInstructions 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 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.
ele-1: All FHIR elements must have a @value or children
Max Length:500
.... type S 0..1 (Complex) Medication Type
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension"
..... value[x] S 1..1 Coding Value of extension
Binding: EPA Medication Type ValueSet for PZN-Medication (required)
ele-1: All FHIR elements must have a @value or children
... Slices for identifier Σ 0..* Identifier Business identifier for this medication
Slice: Unordered, Open by pattern:$this
ele-1: All FHIR elements must have a @value or children
.... identifier:EPAMedicationUniqueIdentifier Σ 0..1 EPAMedicationUniqueIdentifier Business identifier for this medication
ele-1: All FHIR elements must have a @value or children

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
.... identifier:RxOriginatorProcessIdentifier Σ 0..1 RxOriginatorProcessIdentifier Business identifier for this medication
ele-1: All FHIR elements must have a @value or children

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
... 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.


ele-1: All FHIR elements must have a @value or children
.... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
ele-1: All FHIR elements must have a @value or children
..... coding:pzn SΣ 1..1 Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... version SΣ 0..1 string Version of the system - if relevant
ele-1: All FHIR elements must have a @value or children
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
..... coding:atc-de SΣ 0..* Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
..... coding:ask SΣ 0..* Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ask
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
..... coding:snomed Σ 0..* Coding Code defined by a terminology system
Binding: EPAMedicationSNOMEDCTVS (extensible)
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... version SΣ 0..1 string Version of the system - if relevant
ele-1: All FHIR elements must have a @value or children
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
.... text SΣ 0..1 string Plain text representation of the concept
ele-1: All FHIR elements must have a @value or children
... 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.


ele-1: All FHIR elements must have a @value or children
... manufacturer SΣC 0..1 Reference(Organization) Manufacturer of the Medication
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
.... display SΣ 1..1 string Text alternative for the resource
ele-1: All FHIR elements must have a @value or children
... form S 0..1 CodeableConcept Form of Dispensing
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.


ele-1: All FHIR elements must have a @value or children
.... Slices for coding SΣ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
ele-1: All FHIR elements must have a @value or children
..... coding:edqm SΣ 0..* Coding Code defined by a terminology system
Binding: http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform (preferred)
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://standardterms.edqm.eu
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
..... coding:snomed Σ 0..* Coding Code defined by a terminology system
Binding: Darreichungsform SNOMED CT® (preferred)
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... version SΣ 0..1 string Version of the system - if relevant
ele-1: All FHIR elements must have a @value or children
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
..... coding:kbvDarreichungsform SΣ 0..* Coding Code defined by a terminology system
Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM (required)
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
... amount SΣC 0..1 Ratio Amount of drug in package
ele-1: All FHIR elements must have a @value or children
rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
.... numerator SΣC 0..1 Quantity Numerator value
Binding: UCUMCodes (preferred)
ele-1: All FHIR elements must have a @value or children
qty-3: If a code for the unit is present, the system SHALL also be present
..... Slices for extension Content/Rules for all slices
...... packagingSize 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... extension 0..0
....... url 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
ele-1: All FHIR elements must have a @value or children
Max Length:7
...... totalQuantity 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... extension 0..0
....... url 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.
ele-1: All FHIR elements must have a @value or children
Max Length:7
..... value SΣ 0..1 decimal Numerical value (with implicit precision)
ele-1: All FHIR elements must have a @value or children
..... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.


ele-1: All FHIR elements must have a @value or children
..... unit SΣ 0..1 string Unit representation
ele-1: All FHIR elements must have a @value or children
..... system SΣC 0..1 uri System that defines coded unit form
ele-1: All FHIR elements must have a @value or children
..... code SΣ 0..1 code Coded form of the unit
ele-1: All FHIR elements must have a @value or children
.... denominator SΣC 0..1 Quantity Denominator value
Binding: UCUMCodes (preferred)
ele-1: All FHIR elements must have a @value or children
qty-3: If a code for the unit is present, the system SHALL also be present
..... value SΣ 0..1 decimal Numerical value (with implicit precision)
ele-1: All FHIR elements must have a @value or children
..... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.


ele-1: All FHIR elements must have a @value or children
..... unit SΣ 0..1 string Unit representation
ele-1: All FHIR elements must have a @value or children
..... system SΣC 0..1 uri System that defines coded unit form
ele-1: All FHIR elements must have a @value or children
..... code SΣ 0..1 code Coded form of the unit
ele-1: All FHIR elements must have a @value or children
... ingredient S 0..* BackboneElement Active or inactive ingredients of the medication, including pharmaceutical substances as well as individual medicinal products in combination packs.
ele-1: All FHIR elements must have a @value or children
.... Slices for extension Content/Rules for all slices
..... darreichungsform 0..1 string Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... Slices for item[x] S 1..1 CodeableConcept The actual ingredient or content
Slice: Unordered, Closed by type:$this
ele-1: All FHIR elements must have a @value or children
..... item[x]:itemCodeableConcept S 0..1 CodeableConcept Encoded description of the substance or component.
ele-1: All FHIR elements must have a @value or children
...... Slices for coding SΣ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
ele-1: All FHIR elements must have a @value or children
....... coding:ask SΣ 0..* Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ask
........ system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
........ code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
........ display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
....... coding:atc-de SΣ 0..* Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
........ system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
........ code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
........ display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
....... coding:snomed Σ 0..* Coding Code defined by a terminology system
Binding: EPA Substance SNOMED-CT® ValueSet (preferred)
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
........ system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
........ version SΣ 0..1 string Version of the system - if relevant
ele-1: All FHIR elements must have a @value or children
........ code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
........ display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
....... coding:pzn SΣ 0..* Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
........ system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
........ code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
........ display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
...... text SΣ 0..1 string Plain text representation of the concept
ele-1: All FHIR elements must have a @value or children
.... isActive 0..1 boolean Is it an active ingredient?
ele-1: All FHIR elements must have a @value or children
.... strength SC 0..1 Ratio Strength
ele-1: All FHIR elements must have a @value or children
rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
..... Slices for extension Content/Rules for all slices
...... amountText 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... extension 0..0
....... url 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.
ele-1: All FHIR elements must have a @value or children
Max Length:20
..... numerator SΣC 0..1 Quantity Numerator value
Binding: UCUMCodes (preferred)
ele-1: All FHIR elements must have a @value or children
qty-3: If a code for the unit is present, the system SHALL also be present
...... value SΣ 1..1 decimal Numerical value (with implicit precision)
ele-1: All FHIR elements must have a @value or children
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.


ele-1: All FHIR elements must have a @value or children
...... unit SΣ 0..1 string Unit representation
ele-1: All FHIR elements must have a @value or children
...... system SΣC 0..1 uri System that defines coded unit form
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code Coded form of the unit
ele-1: All FHIR elements must have a @value or children
..... denominator SΣC 0..1 Quantity Denominator value
Binding: UCUMCodes (preferred)
ele-1: All FHIR elements must have a @value or children
qty-3: If a code for the unit is present, the system SHALL also be present
...... value SΣ 1..1 decimal Numerical value (with implicit precision)
ele-1: All FHIR elements must have a @value or children
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.


ele-1: All FHIR elements must have a @value or children
...... unit SΣ 0..1 string Unit representation
ele-1: All FHIR elements must have a @value or children
...... system SΣC 0..1 uri System that defines coded unit form
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code Coded form of the unit
ele-1: All FHIR elements must have a @value or children
... batch S 0..1 BackboneElement Batch Information
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... lotNumber S 0..1 string Batch Number
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Medication.extension:drugCategory.value[x]requiredEPADrugCategoryVS
https://gematik.de/fhir/terminology/ValueSet/epa-drug-category-vs
Medication.extension:normSizeCode.value[x]requiredhttps://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE
https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE
Medication.extension:type.value[x]requiredEPAMedicationTypeProductVS
https://gematik.de/fhir/terminology/ValueSet/epa-medication-type-product-vs
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.code.coding:snomedextensiblePattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-medication-snomed-ct-vs
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.formexampleSNOMEDCTFormCodes
http://hl7.org/fhir/ValueSet/medication-form-codes
from the FHIR Standard
Medication.form.coding:edqmpreferredPattern: null
http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform
Medication.form.coding:snomedpreferredPattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-medicine-form-snomed-ct-vs
Medication.form.coding:kbvDarreichungsformrequiredPattern: null
https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM
Medication.amount.numeratorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.amount.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Medication.amount.denominatorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.amount.denominator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Medication.ingredient.item[x]:itemCodeableConcept.coding:snomedpreferredPattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-substance-snomed-ct-vs
Medication.ingredient.strength.numeratorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.ingredient.strength.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Medication.ingredient.strength.denominatorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.ingredient.strength.denominator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationIf 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-4errorMedicationIf 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-5errorMedicationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
epa-med-1errorMedicationMedication code, name, or ingredients must be specified
: code.exists() or ingredient.exists()
ext-1error**ALL** elementsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
qty-3errorMedication.amount.numerator, Medication.amount.denominator, Medication.ingredient.strength.numerator, Medication.ingredient.strength.denominatorIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
rat-1errorMedication.amount, Medication.ingredient.strengthNumerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
: (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())
ref-1errorMedication.manufacturerSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

Differential View

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication C 0..* Medication Definition of a Medication
epa-med-1: Medication code, name, or ingredients must be specified
... 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 0..0
... Slices for extension Content/Rules for all slices
.... rxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
.... isVaccine 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-is-vaccine-extension
..... value[x] S 1..1 boolean Vaccine Indicator
.... drugCategory 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
..... value[x] S 1..1 Coding Value of extension
...... system S 0..1 uri Identity of the terminology system
...... code S 0..1 code Category
.... normSizeCode 0..1 (Complex) Package size according to N-designation
URL: http://fhir.de/StructureDefinition/normgroesse
..... value[x] S 0..1 code Value of extension
.... packaging 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
..... value[x] S 1..1 string Packaging of a formulation.
.... manufacturingInstructions 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
..... value[x] S 1..1 string Manufacturing instructions for a formulation.
.... type S 0..1 (Complex) Medication Type
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
..... value[x] 1..1 Coding Value of extension
Binding: EPA Medication Type ValueSet for PZN-Medication (required)
.... identifier:EPAMedicationUniqueIdentifier 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
.... identifier:RxOriginatorProcessIdentifier 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
... code S 0..1 CodeableConcept Medication in coded form or as free text if necessary
.... Slices for coding S 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:pzn S 1..1 Coding Code defined by a terminology system
Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
...... 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 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 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
...... system S 1..1 uri Identity of the terminology system
...... 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 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ask
...... system S 1..1 uri Identity of the terminology system
...... code S 1..1 code Symbol in syntax defined by the system
...... display S 0..1 string Representation defined by the system
..... coding:snomed 0..* Coding Code defined by a terminology system
Binding: EPAMedicationSNOMEDCTVS (extensible)

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... 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 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 pattern:$this
..... coding:edqm S 0..* Coding Code defined by a terminology system
Binding: http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform (preferred)

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://standardterms.edqm.eu
...... system S 1..1 uri Identity of the terminology system
...... code S 1..1 code Symbol in syntax defined by the system
...... display S 0..1 string Representation defined by the system
..... coding:snomed 0..* Coding Code defined by a terminology system
Binding: Darreichungsform SNOMED CT® (preferred)

Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... 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 Symbol in syntax defined by the system
...... display S 0..1 string Representation defined by the system
..... 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 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM
...... system S 1..1 uri Identity of the terminology system
...... 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 Content/Rules for all slices
...... packagingSize 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
....... value[x] S 1..1 string Package size according to divided quantity
...... totalQuantity 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-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 Content/Rules for all slices
..... darreichungsform 0..1 string Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
.... Slices for item[x] S 1..1 CodeableConcept 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 pattern:$this
....... coding:ask S 0..* Coding Code defined by a terminology system

Required Pattern: At least the following
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ask
........ system S 1..1 uri Identity of the terminology system
........ 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 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
........ system S 1..1 uri Identity of the terminology system
........ code S 1..1 code Symbol in syntax defined by the system
........ display S 0..1 string Representation defined by the system
....... coding:snomed 0..* Coding Code defined by a terminology system
Binding: EPA Substance SNOMED-CT® ValueSet (preferred)

Required Pattern: At least the following
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
........ 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 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 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
........ system S 1..1 uri Identity of the terminology system
........ 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..0
.... isActive 0..1 boolean Is it an active ingredient?
.... strength S 0..1 Ratio Strength
..... Slices for extension Content/Rules for all slices
...... amountText 0..1 (Complex) Extension
URL: 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.
..... 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

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet / CodeURI
Medication.extension:type.value[x]requiredEPAMedicationTypeProductVS
https://gematik.de/fhir/terminology/ValueSet/epa-medication-type-product-vs
Medication.code.coding:snomedextensiblePattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-medication-snomed-ct-vs
Medication.form.coding:edqmpreferredPattern: null
http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform
Medication.form.coding:snomedpreferredPattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-medicine-form-snomed-ct-vs
Medication.form.coding:kbvDarreichungsformrequiredPattern: null
https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM
Medication.amount.numeratorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.amount.denominatorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.ingredient.item[x]:itemCodeableConcept.coding:snomedpreferredPattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-substance-snomed-ct-vs
Medication.ingredient.strength.numeratorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.ingredient.strength.denominatorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
epa-med-1errorMedicationMedication code, name, or ingredients must be specified
: code.exists() or ingredient.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication C 0..* Medication Definition of a Medication
epa-med-1: Medication code, name, or ingredients must be specified
... 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 N 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
... text 0..1 Narrative Text summary of the resource, for human interpretation
... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... rxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
.... isVaccine 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-is-vaccine-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-is-vaccine-extension"
..... value[x] S 1..1 boolean Vaccine Indicator
.... drugCategory 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
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"
..... value[x] S 1..1 Coding Value of extension
Binding: EPA Drug Category ValueSet (required)
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri Identity of the terminology system
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 0..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
.... normSizeCode 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 N 0..0
..... 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)
.... packaging 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
..... url 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
.... manufacturingInstructions 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
..... url 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
.... type S 0..1 (Complex) Medication Type
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension"
..... value[x] S 1..1 Coding Value of extension
Binding: EPA Medication Type ValueSet for PZN-Medication (required)
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... Slices for identifier Σ 0..* Identifier Business identifier for this medication
Slice: Unordered, Open by pattern:$this
.... identifier:EPAMedicationUniqueIdentifier Σ 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
..... use 0..1 code usual | official | temp | secondary | old (If known)
..... type 0..1 CodeableConcept Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier
..... value 0..1 string The value that is unique
..... 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 Σ 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
..... use 0..1 code usual | official | temp | secondary | old (If known)
..... type 0..1 CodeableConcept Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier
..... value 0..1 string The value that is unique
..... 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 N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:pzn SΣ 1..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
...... system 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 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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 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
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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 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
...... system 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 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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 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:snomed Σ 0..* Coding Code defined by a terminology system
Binding: EPAMedicationSNOMEDCTVS (extensible)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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 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ΣC 0..1 Reference(Organization) Manufacturer of the Medication
ref-1: SHALL have a contained resource if a local reference is provided
.... id 0..1 string Unique id for inter-element referencing
.... extension N 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 N 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 pattern:$this
..... coding:edqm SΣ 0..* Coding Code defined by a terminology system
Binding: http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform (preferred)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://standardterms.edqm.eu
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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 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:snomed Σ 0..* Coding Code defined by a terminology system
Binding: Darreichungsform SNOMED CT® (preferred)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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 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: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
...... system 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 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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 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ΣC 0..1 Ratio Amount of drug in package
rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... numerator SΣC 0..1 Quantity Numerator value
Binding: UCUMCodes (preferred)
qty-3: If a code for the unit is present, the system SHALL also be present
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... packagingSize 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
....... url 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
...... totalQuantity 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
....... url 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ΣC 0..1 Quantity Denominator value
Binding: UCUMCodes (preferred)
qty-3: If a code for the unit is present, the system SHALL also be present
..... id 0..1 string Unique id for inter-element referencing
..... extension N 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 N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... darreichungsform 0..1 string Extension
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 CodeableConcept The actual ingredient or content
Slice: Unordered, Closed by type:$this
..... 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 N 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 pattern:$this
....... 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
........ system 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 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ id 0..1 string Unique id for inter-element referencing
........ extension N 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 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
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ id 0..1 string Unique id for inter-element referencing
........ extension N 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 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:snomed Σ 0..* Coding Code defined by a terminology system
Binding: EPA Substance SNOMED-CT® ValueSet (preferred)

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ id 0..1 string Unique id for inter-element referencing
........ extension N 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 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
........ system 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 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ id 0..1 string Unique id for inter-element referencing
........ extension N 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 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
.... isActive 0..1 boolean Is it an active ingredient?
.... strength SC 0..1 Ratio Strength
rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... 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
....... url 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ΣC 0..1 Quantity Numerator value
Binding: UCUMCodes (preferred)
qty-3: If a code for the unit is present, the system SHALL also be present
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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ΣC 0..1 Quantity Denominator value
Binding: UCUMCodes (preferred)
qty-3: If a code for the unit is present, the system SHALL also be present
...... id 0..1 string Unique id for inter-element referencing
...... extension N 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 N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... 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

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Medication.meta.securityextensibleAll Security Labels
http://hl7.org/fhir/ValueSet/security-labels
from the FHIR Standard
Medication.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
from the FHIR Standard
Medication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Medication.extension:drugCategory.value[x]requiredEPADrugCategoryVS
https://gematik.de/fhir/terminology/ValueSet/epa-drug-category-vs
Medication.extension:normSizeCode.value[x]requiredhttps://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE
https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NORMGROESSE
Medication.extension:type.value[x]requiredEPAMedicationTypeProductVS
https://gematik.de/fhir/terminology/ValueSet/epa-medication-type-product-vs
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.code.coding:snomedextensiblePattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-medication-snomed-ct-vs
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.manufacturer.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Medication.formexampleSNOMEDCTFormCodes
http://hl7.org/fhir/ValueSet/medication-form-codes
from the FHIR Standard
Medication.form.coding:edqmpreferredPattern: null
http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform
Medication.form.coding:snomedpreferredPattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-medicine-form-snomed-ct-vs
Medication.form.coding:kbvDarreichungsformrequiredPattern: null
https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM
Medication.amount.numeratorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.amount.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Medication.amount.denominatorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.amount.denominator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Medication.ingredient.item[x]:itemCodeableConcept.coding:snomedpreferredPattern: SNOMED-CT Code null
https://gematik.de/fhir/terminology/ValueSet/epa-substance-snomed-ct-vs
Medication.ingredient.strength.numeratorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.ingredient.strength.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Medication.ingredient.strength.denominatorpreferredUCUMCodes (a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
from the FHIR Standard
Medication.ingredient.strength.denominator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationIf 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-4errorMedicationIf 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-5errorMedicationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
epa-med-1errorMedicationMedication code, name, or ingredients must be specified
: code.exists() or ingredient.exists()
ext-1error**ALL** elementsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
qty-3errorMedication.amount.numerator, Medication.amount.denominator, Medication.ingredient.strength.numerator, Medication.ingredient.strength.denominatorIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
rat-1errorMedication.amount, Medication.ingredient.strengthNumerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
: (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())
ref-1errorMedication.manufacturerSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from Medication

Summary

Mandatory: 0 element(27 nested mandatory elements)
Must-Support: 97 elements
Prohibited: 2 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

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