## Profile Comparison between https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement vs https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement

Left: | EPA MedicationStatement (https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement)
Right: | EPA MedicationStatement (https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement)

### Messages

Error | StructureDefinition.version | Values for version differ: '1.3.0' vs '1.3.2'
Information | StructureDefinition.date | Values for date differ: '2025-12-15' vs '2026-03-20'
Warning | MedicationStatement.extension | Elements differ in definition for mustSupport: 'false' vs 'true'
Information | StructureDefinition.short | Values for short differ: 'Additional content defined by implementations' vs 'Extension'
Information | StructureDefinition.definition | Values for definition differ: 'May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.' vs 'An Extension'
Warning | MedicationStatement.basedOn.extension | Elements differ in definition for mustSupport: 'false' vs 'true'
Warning | MedicationStatement.basedOn.reference | Elements differ in definition for mustSupport: 'false' vs 'true'
Warning | MedicationStatement.basedOn.identifier | Elements differ in definition for mustSupport: 'false' vs 'true'
Warning | MedicationStatement.basedOn.display | Elements differ in definition for mustSupport: 'false' vs 'true'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/MedicationStatement |
copyright | gematik GmbH / Dieses Artefakt ist lizenziert unter [Apache License](./license.html), Version 2.0. |
date | 2025-12-15 | 2026-03-20 | Values Differ
description | Hält die Medikationsinformationen eines Eintrags in der elektronischen Medikationsliste (eML) vor und stellt das zentrale Element dar. Es wird zu Verschreibungs- und Dispensierinformationen als auch Nachträgen in der eML genutzt. |
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#DE |
kind | resource |
name | EPAMedicationStatement |
publisher | gematik GmbH |
purpose |  |
status | active |
title | EPA MedicationStatement |
type | MedicationStatement |
url | https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement |
version | 1.3.0 | 1.3.2 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
MedicationStatement | C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: epa-med-statement-status | C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: epa-med-statement-status |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | S Σ | 0..1 | Meta | Metadata about the resource | S Σ | 0..1 | Meta | Metadata about the resource |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
versionId | S Σ | 0..1 | id | Version specific identifier | S Σ | 0..1 | id | Version specific identifier |
lastUpdated | S Σ | 0..1 | instant | When the resource version last changed | S Σ | 0..1 | instant | When the resource version last changed |
source | Σ | 0..1 | uri | Identifies where the resource comes from | Σ | 0..1 | uri | Identifies where the resource comes from |
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to |
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | Σ | 0..* | Coding | Security Labels applied to this resource Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: ?? (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | Σ | 0..* | Coding | Tags applied to this resource Binding: ?? (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 | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
Slices for extension |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url | S | 1..* | Extension | Extension Slice: Unordered, Open by value:url | Elements differ in definition for mustSupport: 'false' vs 'true'
Slices for modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
identifier | Σ | 0..* | Identifier | External identifier | Σ | 0..* | Identifier | External identifier |
basedOn | S Σ C | 0..* | Reference(EPA MedicationRequest | eMP MedicationRequest) | Fulfils plan, proposal or order | S Σ C | 0..* | Reference(EPA MedicationRequest | eMP MedicationRequest) | Fulfils plan, proposal or order |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | Elements differ in definition for mustSupport: 'false' vs 'true'
reference | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL | Elements differ in definition for mustSupport: 'false' vs 'true'
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (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 | S Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | Elements differ in definition for mustSupport: 'false' vs 'true'
id |  |  |  |  |  | 0..1 | string | Unique id for inter-element referencing | Added this element
Slices for extension |  |  |  |  |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | Added this element
use |  |  |  |  | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: ?? (required): Identifies the purpose for this identifier, if known . | Added this element
type |  |  |  |  | S Σ | 0..1 | CodeableConcept | Description of identifier Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | Added this element
system |  |  |  |  | S Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | Added this element
value |  |  |  |  | S Σ | 0..1 | string | The value that is unique Example General: 123456 | Added this element
period |  |  |  |  | Σ C | 0..1 | Period | Time period when id is/was valid for use | Added this element
assigner |  |  |  |  | Σ C | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | Added this element
display | Σ | 0..1 | string | Text alternative for the resource | S Σ | 0..1 | string | Text alternative for the resource | Elements differ in definition for mustSupport: 'false' vs 'true'
partOf | Σ C | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event | Σ C | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event |
status | ?!S Σ | 1..1 | code | unknown | entered-in-error | intended Binding: ?? (required) | ?!S Σ | 1..1 | code | unknown | entered-in-error | intended Binding: ?? (required) |
statusReason |  | 0..* | CodeableConcept | Reason for current status Binding: ?? (example): A coded concept indicating the reason for the status of the statement. |  | 0..* | CodeableConcept | Reason for current status Binding: ?? (example): A coded concept indicating the reason for the status of the statement. |
category | Σ | 0..1 | CodeableConcept | Type of medication usage Binding: ?? (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered. | Σ | 0..1 | CodeableConcept | Type of medication usage Binding: ?? (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered. |
medication[x] | S Σ | 1..1 | Reference(EPA Medication) | Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt | S Σ | 1..1 | Reference(EPA Medication) | Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt |
id |  |  |  |  |  | 0..1 | string | Unique id for inter-element referencing | Added this element
Slices for extension |  |  |  |  |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | Added this element
reference |  |  |  |  | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL | Added this element
type |  |  |  |  | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). | Added this element
identifier |  |  |  |  | S Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | Added this element
display |  |  |  |  | S Σ | 0..1 | string | Text alternative for the resource | Added this element
subject | S Σ C | 1..1 | Reference(Patient) | Who is/was taking the medication | S Σ C | 1..1 | Reference(Patient) | Who is/was taking the medication |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 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 | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL |
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). |
identifier | S Σ | 1..1 | ?? | Logical reference, when literal reference is not known | S Σ | 1..1 | ?? | Logical reference, when literal reference is not known |
display | Σ | 0..1 | string | Text alternative for the resource | Σ | 0..1 | string | Text alternative for the resource |
context | Σ C | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement | Σ C | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement |
Slices for effective[x] | S Σ | 0..1 | dateTime, Period | effective[x] gibt den Zeitpunkt oder Zeitraum der Gültigkeit der Medikation an Slice: Unordered, Closed by type:$this | S Σ | 0..1 | dateTime, Period | effective[x] gibt den Zeitpunkt oder Zeitraum der Gültigkeit der Medikation an Slice: Unordered, Closed by type:$this |
dateAsserted | S Σ C | 0..1 | dateTime | When the statement was asserted? Constraints: epa-datetime | S Σ C | 0..1 | dateTime | When the statement was asserted? Constraints: epa-datetime |
informationSource | C | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | Person or organization that provided the information about the taking of this medication | C | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | Person or organization that provided the information about the taking of this medication |
derivedFrom | S C | 0..* | Reference(EPA MedicationRequest | EPA MedicationDispense) | Information des Verschreibungs- und Dispensierprozesses | S C | 0..* | Reference(EPA MedicationRequest | EPA MedicationDispense) | Information des Verschreibungs- und Dispensierprozesses |
id |  |  |  |  |  | 0..1 | string | Unique id for inter-element referencing | Added this element
Slices for extension |  |  |  |  |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | Added this element
reference |  |  |  |  | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL | Added this element
type |  |  |  |  | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). | Added this element
identifier |  |  |  |  | S Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | Added this element
display |  |  |  |  | S Σ | 0..1 | string | Text alternative for the resource | Added this element
reasonCode |  | 0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: ?? (example): A coded concept identifying why the medication is being taken. |  | 0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: ?? (example): A coded concept identifying why the medication is being taken. |
reasonReference | C | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken | C | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken |
note |  | 0..* | Annotation | Further information about the statement |  | 0..* | Annotation | Further information about the statement |
dosage | S | 0..* | ?? | Strukturierte Dosierung/Gebrauchsanweisung | S | 0..* | ?? | Strukturierte Dosierung/Gebrauchsanweisung |
id |  |  |  |  |  | 0..1 | string | Unique id for inter-element referencing | Added this element
Slices for extension |  |  |  |  |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | Added this element
modifierExtension |  |  |  |  | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | Added this element
sequence |  |  |  |  | Σ | 0..0 |  | The order of the dosage instructions | Added this element
text |  |  |  |  | S Σ | 0..1 | string | Freitext-Dosierungsanweisungen, z. B. 'Maximal 3x täglich 1 Stück bei Bedarf' | Added this element
additionalInstruction |  |  |  |  | Σ | 0..0 |  | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: ?? (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery". | Added this element
patientInstruction |  |  |  |  | Σ | 0..0 |  | Patient or consumer oriented instructions | Added this element
timing |  |  |  |  | S Σ | 0..1 | ?? | Wann das Medikament verabreicht werden soll | Added this element
asNeeded[x] |  |  |  |  | Σ | 0..0 |  | Take "as needed" (for x) Binding: ?? (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc. | Added this element
site |  |  |  |  | Σ | 0..0 |  | Body site to administer to Binding: ?? (example): A coded concept describing the site location the medicine enters into or onto the body. | Added this element
route |  |  |  |  | Σ | 0..0 |  | How drug should enter body Binding: ?? (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. | Added this element
method |  |  |  |  | Σ | 0..0 |  | Technique for administering medication Binding: ?? (example): A coded concept describing the technique by which the medicine is administered. | Added this element
doseAndRate |  |  |  |  | S Σ | 0..1 | Element | Menge des verabreichten Medikaments | Added this element
maxDosePerPeriod |  |  |  |  | Σ | 0..0 |  | Upper limit on medication per unit of time | Added this element
maxDosePerAdministration |  |  |  |  | Σ | 0..0 |  | Upper limit on medication per administration | Added this element
maxDosePerLifetime |  |  |  |  | Σ | 0..0 |  | Upper limit on medication per lifetime of the patient | Added this element
Documentation for this format