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

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

### 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 | MedicationRequest.extension | Elements differ in definition for mustSupport: 'false' vs 'true'
Warning | MedicationRequest.identifier | Elements differ in definition for mustSupport: 'false' vs 'true'
Warning | MedicationRequest.basedOn.display | Elements differ in definition for mustSupport: 'false' vs 'true'
Warning | MedicationRequest.note.time | Elements differ in definition for mustSupport: 'false' vs 'true'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/MedicationRequest |
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 | Defines the medication request resource for the Medication Service in the ePA system. |
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#DE |
kind | resource |
name | EPAMedicationRequest |
publisher | gematik GmbH |
purpose |  |
status | active |
title | EPA MedicationRequest |
type | MedicationRequest |
url | https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request |
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
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
MedicationRequest |  | 0..* | MedicationRequest | Ordering of medication for patient or group |  | 0..* | MedicationRequest | Ordering of medication for patient or group |
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 |  | 0..* | Extension | Extension 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'
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
Slices for identifier |  | 0..* | Identifier | External ids for this request Slice: Unordered, Open by pattern:$this | S | 0..* | Identifier | External ids for this request Slice: Unordered, Open by pattern:$this | Elements differ in definition for mustSupport: 'false' vs 'true'
status | ?!S Σ | 1..1 | code | Status of Medication Request Binding: ?? (required) | ?!S Σ | 1..1 | code | Status of Medication Request Binding: ?? (required) |
statusReason |  | 0..1 | CodeableConcept | Reason for current status Binding: ?? (example): Identifies the reasons for a given status. |  | 0..1 | CodeableConcept | Reason for current status Binding: ?? (example): Identifies the reasons for a given status. |
intent | ?!S Σ | 1..1 | code | filler-order Binding: ?? (required): The kind of medication order. | ?!S Σ | 1..1 | code | filler-order Binding: ?? (required): The kind of medication order. |
category |  | 0..* | CodeableConcept | Type of medication usage Binding: ?? (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment. |  | 0..* | CodeableConcept | Type of medication usage Binding: ?? (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment. |
priority | Σ | 0..1 | code | routine | urgent | asap | stat Binding: ?? (required): Identifies the level of importance to be assigned to actioning the request. | Σ | 0..1 | code | routine | urgent | asap | stat Binding: ?? (required): Identifies the level of importance to be assigned to actioning the request. |
doNotPerform | ?!Σ | 0..1 | boolean | True if request is prohibiting action | ?!Σ | 0..1 | boolean | True if request is prohibiting action |
reported[x] | Σ | 0..1 | boolean, Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | Reported rather than primary record | Σ | 0..1 | boolean, Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | Reported rather than primary record |
medication[x] | S Σ | 1..1 | Reference(Medication) | Medication to be taken | S Σ | 1..1 | Reference(Medication) | Medication to be taken |
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 Σ | 1..1 | Reference(Patient) | Who or group medication request is for | S Σ | 1..1 | Reference(Patient) | Who or group medication request is for |
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 |
encounter |  | 0..1 | Reference(Encounter) | Encounter created as part of encounter/admission/stay |  | 0..1 | Reference(Encounter) | Encounter created as part of encounter/admission/stay |
supportingInformation |  | 0..* | Reference(Resource) | Information to support ordering of the medication |  | 0..* | Reference(Resource) | Information to support ordering of the medication |
authoredOn | S Σ | 1..1 | dateTime | Issue Date | S Σ | 1..1 | dateTime | Issue Date |
requester | S Σ | 0..1 | Reference(Organization | Practitioner | PractitionerRole) | Who/What requested the Request | S Σ | 0..1 | Reference(Organization | Practitioner | PractitionerRole) | Who/What requested the Request |
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
performer |  | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration |  | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration |
performerType | Σ | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: ?? (example): Identifies the type of individual that is desired to administer the medication. | Σ | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: ?? (example): Identifies the type of individual that is desired to administer the medication. |
recorder |  | 0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request |  | 0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request |
reasonCode |  | 0..* | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: ?? (example): A coded concept indicating why the medication was ordered. |  | 0..* | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: ?? (example): A coded concept indicating why the medication was ordered. |
reasonReference |  | 0..* | Reference(Condition | Observation) | Condition or observation that supports why the prescription is being written |  | 0..* | Reference(Condition | Observation) | Condition or observation that supports why the prescription is being written |
instantiatesCanonical | Σ | 0..* | canonical() | Instantiates FHIR protocol or definition | Σ | 0..* | canonical() | Instantiates FHIR protocol or definition |
instantiatesUri | Σ | 0..* | uri | Instantiates external protocol or definition | Σ | 0..* | uri | Instantiates external protocol or definition |
basedOn | S Σ | 0..* | Reference(eMP MedicationRequest) | What request fulfills | S Σ | 0..* | Reference(eMP MedicationRequest) | What request fulfills |
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 | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL |
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (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 Σ | 0..1 | ?? | Logical reference, when literal reference is not known | S Σ | 0..1 | ?? | Logical reference, when literal reference is not known |
id |  |  |  |  |  | 0..0 |  | Unique id for inter-element referencing | Added this element
Slices for extension |  |  |  |  |  | 0..0 |  | Extension Slice: Unordered, Open by value:url | Added this element
use |  |  |  |  | ?!Σ | 0..1 | code | official Binding: ?? (required): Identifies the purpose for this identifier, if known . Fixed Value: official | 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 Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: https://gematik.de/fhir/sid/emp-identifier | Added this element
value |  |  |  |  | S Σ | 1..1 | string | Der eindeutige Identifikationswert Example General: 123456 Example General: 687512ce-744c-8001-83c3-238227110dd6 | Added this element
period |  |  |  |  | Σ C | 0..0 |  | Time period when id is/was valid for use | Added this element
assigner |  |  |  |  | Σ C | 0..0 |  | 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'
groupIdentifier | Σ | 0..1 | Identifier | Composite request this is part of | Σ | 0..1 | Identifier | Composite request this is part of |
courseOfTherapyType |  | 0..1 | CodeableConcept | Overall pattern of medication administration Binding: ?? (example): Identifies the overall pattern of medication administratio. |  | 0..1 | CodeableConcept | Overall pattern of medication administration Binding: ?? (example): Identifies the overall pattern of medication administratio. |
insurance |  | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage |  | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage |
note | S | 0..1 | Annotation | Information about the prescription | S | 0..1 | Annotation | Information about the prescription |
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 |
author[x] | Σ | 0..1 | Reference(Practitioner | Patient | RelatedPerson | Organization), string | Individual responsible for the annotation | Σ | 0..1 | Reference(Practitioner | Patient | RelatedPerson | Organization), string | Individual responsible for the annotation |
time | Σ | 0..1 | dateTime | When the annotation was made | S Σ | 0..1 | dateTime | When the annotation was made | Elements differ in definition for mustSupport: 'false' vs 'true'
text | S Σ | 1..1 | markdown | Dispensing Note | S Σ | 1..1 | markdown | Dispensing Note |
dosageInstruction | S | 0..* | ?? | Hier werden Informationen zur Dosierung angegeben. | S | 0..* | ?? | Hier werden Informationen zur Dosierung angegeben. |
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
dispenseRequest | S | 0..1 | BackboneElement | Medication supply authorization | S | 0..1 | BackboneElement | Medication supply authorization |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
initialFill |  | 0..1 | BackboneElement | First fill details |  | 0..1 | BackboneElement | First fill details |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
quantity |  | 0..1 | ?? | First fill quantity |  | 0..1 | ?? | First fill quantity |
duration |  | 0..1 | Duration | First fill duration |  | 0..1 | Duration | First fill duration |
dispenseInterval |  | 0..1 | Duration | Minimum period of time between dispenses |  | 0..1 | Duration | Minimum period of time between dispenses |
validityPeriod |  | 0..1 | Period | Time period supply is authorized for |  | 0..1 | Period | Time period supply is authorized for |
numberOfRepeatsAllowed |  | 0..1 | unsignedInt | Number of refills authorized |  | 0..1 | unsignedInt | Number of refills authorized |
quantity | S | 0..1 | ?? | Amount of medication to supply per dispense | S | 0..1 | ?? | Amount of medication to supply per dispense |
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 |
value | S Σ | 1..1 | decimal | Number of Prescribed Packages | S Σ | 1..1 | decimal | Number of Prescribed Packages |
comparator | ?!Σ | 0..0 |  | < | <= | >= | > - how to understand the value Binding: ?? (required): How the Quantity should be understood and represented. | ?!Σ | 0..0 |  | < | <= | >= | > - how to understand the value Binding: ?? (required): How the Quantity should be understood and represented. |
unit | S Σ | 0..1 | string | Unit representation | S Σ | 0..1 | string | Unit representation |
system | S Σ C | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org | S Σ C | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org |
code | S Σ | 0..1 | code | Coded form of the unit | S Σ | 0..1 | code | Coded form of the unit |
expectedSupplyDuration | S | 0..1 | Duration | Number of days supply per dispense | S | 0..1 | Duration | Number of days supply per dispense |
performer |  | 0..1 | Reference(Organization) | Intended dispenser |  | 0..1 | Reference(Organization) | Intended dispenser |
substitution | S | 0..1 | BackboneElement | Any restrictions on medication substitution | S | 0..1 | BackboneElement | Any restrictions on medication substitution |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
allowed[x] | S | 1..1 | boolean | Whether substitution is allowed or not | S | 1..1 | boolean | Whether substitution is allowed or not |
reason |  | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: ?? (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed. |  | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: ?? (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed. |
priorPrescription |  | 0..1 | Reference(MedicationRequest) | An order/prescription that is being replaced |  | 0..1 | Reference(MedicationRequest) | An order/prescription that is being replaced |
detectedIssue |  | 0..* | Reference(DetectedIssue) | Clinical Issue with action |  | 0..* | Reference(DetectedIssue) | Clinical Issue with action |
eventHistory |  | 0..* | Reference(Provenance) | A list of events of interest in the lifecycle |  | 0..* | Reference(Provenance) | A list of events of interest in the lifecycle |
Documentation for this format