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

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

### Messages

Error | StructureDefinition.version | Values for version differ: '1.2.0' vs '1.3.0'
Information | StructureDefinition.date | Values for date differ: '2025-09-12' vs '2025-12-15'
Information | StructureDefinition.copyright | Values for copyright differ: 'gematik GmbH' vs 'gematik GmbH / Dieses Artefakt ist lizenziert unter [Apache License](./license.html), Version 2.0.'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/MedicationRequest |
copyright | gematik GmbH | gematik GmbH / Dieses Artefakt ist lizenziert unter [Apache License](./license.html), Version 2.0. | Values Differ
date | 2025-09-12 | 2025-12-15 | Values Differ
description | eMP-Eintrag: Hält die Medikationsinformationen eines Eintrags für den elektronischen MedikationsPlan (eMP) vor und stellt das zentrale Element dar. Es stellt die Verbindung zwischen der Planung und einem oder mehrerer Verschreibungsprozesse oder Nachträge. |
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#DE |
kind | resource |
name | EMPMedicationRequest |
publisher | gematik GmbH |
purpose |  |
status | active |
title | eMP MedicationRequest |
type | MedicationRequest |
url | https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request |
version | 1.2.0 | 1.3.0 | 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 |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url |
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 |
Slices for identifier |  | 0..* | Identifier | External ids for this request Slice: Unordered, Open by value:$this |  | 0..* | Identifier | External ids for this request Slice: Unordered, Open by value:$this |
status | ?!S Σ | 1..1 | code | active | on-hold | completed | entered-in-error | stopped Binding: ?? (required) | ?!S Σ | 1..1 | code | active | on-hold | completed | entered-in-error | stopped 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 | ?!Σ | 1..1 | code | plan Binding: ?? (required): The kind of medication order. Required Pattern: plan | ?!Σ | 1..1 | code | plan Binding: ?? (required): The kind of medication order. Required Pattern: plan |
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(EPA Medication) | Arzneimittel, welches geplant wird | S Σ | 1..1 | Reference(EPA Medication) | Arzneimittel, welches geplant wird |
subject | S Σ C | 1..1 | Reference(Patient) | Who or group medication request is for | S Σ C | 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 | C | 0..1 | Reference(Encounter) | Encounter created as part of encounter/admission/stay | C | 0..1 | Reference(Encounter) | Encounter created as part of encounter/admission/stay |
supportingInformation | C | 0..* | Reference(Resource) | Information to support ordering of the medication | C | 0..* | Reference(Resource) | Information to support ordering of the medication |
authoredOn | S Σ C | 1..1 | dateTime | When request was initially authored Constraints: epa-datetime | S Σ C | 1..1 | dateTime | When request was initially authored Constraints: epa-datetime |
requester | Σ C | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/What requested the Request | Σ C | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/What requested the Request |
performer | C | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration | C | 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 | C | 0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request | C | 0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request |
reasonCode | S | 0..1 | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: ?? (example): A coded concept indicating why the medication was ordered. | S | 0..1 | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: ?? (example): A coded concept indicating why the medication was ordered. |
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 |
Slices for coding | S Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Closed by pattern:$this | S Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Closed by pattern:$this |
text | Σ | 0..1 | string | Plain text representation of the concept | Σ | 0..1 | string | Plain text representation of the concept |
reasonReference | C | 0..* | Reference(Condition | Observation) | Condition or observation that supports why the prescription is being written | C | 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 | Σ C | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | What request fulfills | Σ C | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | What request fulfills |
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 | C | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | C | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage |
note | S | 0..1 | Annotation | Zusätzliche Informationen durch einen Leistungserbringenden | S | 0..1 | Annotation | Zusätzliche Informationen durch einen Leistungserbringenden |
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 | S Σ | 0..1 | dateTime | When the annotation was made | S Σ | 0..1 | dateTime | When the annotation was made |
text | S Σ | 1..1 | markdown | The annotation - text content (as markdown) | S Σ | 1..1 | markdown | The annotation - text content (as markdown) |
dosageInstruction | S | 1..* | ?? | Hier werden Informationen zur Dosierung angegeben. | S | 1..* | ?? | Hier werden Informationen zur Dosierung angegeben. |
dispenseRequest |  | 0..1 | BackboneElement | Medication supply authorization |  | 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 |
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 |
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 |
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 |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
quantity | C | 0..1 | ?? | First fill quantity | C | 0..1 | ?? | First fill quantity |
duration | C | 0..1 | Duration | First fill duration | C | 0..1 | Duration | First fill duration |
dispenseInterval | C | 0..1 | Duration | Minimum period of time between dispenses | C | 0..1 | Duration | Minimum period of time between dispenses |
validityPeriod | C | 0..1 | Period | Time period supply is authorized for | C | 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 | C | 0..1 | ?? | Amount of medication to supply per dispense | C | 0..1 | ?? | Amount of medication to supply per dispense |
expectedSupplyDuration | C | 0..1 | Duration | Number of days supply per dispense | C | 0..1 | Duration | Number of days supply per dispense |
performer | C | 0..1 | Reference(Organization) | Intended dispenser | C | 0..1 | Reference(Organization) | Intended dispenser |
substitution |  | 0..1 | BackboneElement | Any restrictions on medication substitution |  | 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 |
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 |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
allowed[x] |  | 1..1 | boolean, CodeableConcept | Whether substitution is allowed or not Binding: ?? (example): Identifies the type of substitution allowed. |  | 1..1 | boolean, CodeableConcept | Whether substitution is allowed or not Binding: ?? (example): Identifies the type of substitution allowed. |
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 | C | 0..1 | Reference(MedicationRequest) | An order/prescription that is being replaced | C | 0..1 | Reference(MedicationRequest) | An order/prescription that is being replaced |
detectedIssue | C | 0..* | Reference(DetectedIssue) | Clinical Issue with action | C | 0..* | Reference(DetectedIssue) | Clinical Issue with action |
eventHistory | C | 0..* | Reference(Provenance) | A list of events of interest in the lifecycle | C | 0..* | Reference(Provenance) | A list of events of interest in the lifecycle |
Documentation for this format