Official URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request | Version: 1.2.0-ballot.1 | |||
Draft as of 2025-08-01 | Computable Name: EMPMedicationRequest |
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.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | MedicationRequest | Ordering of medication for patient or group Constraints: dom-2, dom-3, dom-4, dom-5, dom-6 | |
![]() ![]() ![]() |
SΣ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | id | Version specific identifier |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | instant | When the resource version last changed |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
S | 1..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Context of the resource Binding: Context Codes (required) Required Pattern: EMP | |
![]() ![]() ![]() ![]() |
S | 0..* | Reference(EPA MedicationStatement) | Aktivität die zu diesem Planelement gehört URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Patientenlesbarer Grund für den Planungseintrag URL: https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
![]() ![]() ![]() |
0..* | Identifier | External ids for this request Slice: Unordered, Open by value:$this | |
![]() ![]() ![]() ![]() |
S | 0..1 | MedicationPlanIdentifier | External ids for this request Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: https://gematik.de/fhir/sid/emp-identifier | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | The value that is unique | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | active | on-hold | completed | entered-in-error | stopped | draft Binding: eMP MedicationRequest Status Value Set (required) |
![]() ![]() ![]() |
?!Σ | 1..1 | code | plan Binding: medicationRequest Intent (required): The kind of medication order. Required Pattern: plan |
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | True if request is prohibiting action |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(eMP Medication) | Arzneimittel, welches geplant wird |
![]() ![]() ![]() |
SΣC | 1..1 | Reference(Patient) | Who or group medication request is for Constraints: ref-1 |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known |
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | When request was initially authored Constraints: epa-datetime |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered. |
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Closed by pattern:$this |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | CodingICD10GM | Code defined by a terminology system Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Coding | Optional Extensions Element URL: http://fhir.de/StructureDefinition/icd-10-gm-mehrfachcodierungs-kennzeichen Binding: Mehrfachkodierungs-Kennzeichen ICD10GM ValueSet (required) |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Coding | Optional Extensions Element URL: http://fhir.de/StructureDefinition/seitenlokalisation Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_SEITENLOKALISATION (required) |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Coding | Optional Extensions Element URL: http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_DIAGNOSESICHERHEIT (required) |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Canonische CodeSystem URL für ICD-10-GM Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Die Jahresversion von ICD-10-GM. Angegeben wird immer die vierstellige Jahreszahl (z.B. "2017") |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | Der ICD-10-Code Constraints: icd-regex Example Einfacher ICD-Code: F17.4 |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system |
![]() ![]() ![]() |
S | 0..1 | Annotation | Information about the prescription |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | dateTime | When the annotation was made |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | markdown | The annotation - text content (as markdown) |
![]() ![]() ![]() |
S | 0..* | DosageDgMP | Hier werden Informationen zur Dosierung angegeben. |
![]() |
Path | Conformance | ValueSet / Code | URI |
MedicationRequest.extension:context.value[x] | required | Pattern Value: EMPhttps://gematik.de/fhir/epa-medication/ValueSet/context-code From this IG | |
MedicationRequest.status | required | EMPMedicationRequestStatusVShttps://gematik.de/fhir/epa-medication/ValueSet/emp-medicationrequest-status-vs From this IG | |
MedicationRequest.intent | required | Pattern Value: planhttp://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1 From the FHIR Standard | |
MedicationRequest.reasonCode | example | Condition/Problem/DiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code From the FHIR Standard | |
MedicationRequest.substitution.allowed[x] | example | ActSubstanceAdminSubstitutionCodehttp://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | MedicationRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | MedicationRequest | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | MedicationRequest | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
epa-datetime | error | MedicationRequest.authoredOn | dateTime muss mindestens aus Tag, Monat und Jahr bestehen : toString().matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$') | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
icd-regex | warning | MedicationRequest.reasonCode.coding:icd-10-gm.code | In code sind nur gültige ICD-10-Codes ohne Zusätze erlaubt : matches('^[A-Z][0-9][A-Z0-9](\\.?[A-Z0-9]{0,4})?$') | |
ref-1 | error | MedicationRequest.subject | SHALL 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 MedicationRequest
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
MedicationRequest | |||
![]() ![]() ![]() |
S | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() ![]() |
S | 0..1 | id | Version specific identifier |
![]() ![]() ![]() ![]() |
S | 0..1 | instant | When the resource version last changed |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..* | Extension | Extension | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
S | 1..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Context of the resource Required Pattern: EMP | |
![]() ![]() ![]() ![]() |
S | 0..* | Reference(EPA MedicationStatement) | Aktivität die zu diesem Planelement gehört URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Patientenlesbarer Grund für den Planungseintrag URL: https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension |
![]() ![]() ![]() |
0..* | Identifier | External ids for this request Slice: Unordered, Open by value:$this | |
![]() ![]() ![]() ![]() |
S | 0..1 | MedicationPlanIdentifier | External ids for this request Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: https://gematik.de/fhir/sid/emp-identifier | |
![]() ![]() ![]() |
S | 1..1 | code | active | on-hold | completed | entered-in-error | stopped | draft Binding: eMP MedicationRequest Status Value Set (required) |
![]() ![]() ![]() |
1..1 | code | plan Required Pattern: plan | |
![]() ![]() ![]() |
S | 1..1 | Reference(eMP Medication) | Arzneimittel, welches geplant wird |
![]() ![]() ![]() |
S | 1..1 | Reference(Patient) | Who or group medication request is for |
![]() ![]() ![]() ![]() |
S | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known |
![]() ![]() ![]() |
SC | 1..1 | dateTime | When request was initially authored Constraints: epa-datetime |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Reason or indication for ordering or not ordering the medication |
![]() ![]() ![]() ![]() |
S | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Closed by pattern:$this |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodingICD10GM | Code defined by a terminology system Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | Canonische CodeSystem URL für ICD-10-GM |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Die Jahresversion von ICD-10-GM. Angegeben wird immer die vierstellige Jahreszahl (z.B. "2017") |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Der ICD-10-Code |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Representation defined by the system |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
S | 0..1 | Annotation | Information about the prescription |
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | When the annotation was made |
![]() ![]() ![]() ![]() |
S | 1..1 | markdown | The annotation - text content (as markdown) |
![]() ![]() ![]() |
S | 0..* | DosageDgMP | Hier werden Informationen zur Dosierung angegeben. |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() |
Path | Conformance | ValueSet | URI |
MedicationRequest.status | required | EMPMedicationRequestStatusVShttps://gematik.de/fhir/epa-medication/ValueSet/emp-medicationrequest-status-vs From this IG |
Id | Grade | Path(s) | Details | Requirements |
epa-datetime | error | MedicationRequest.authoredOn | dateTime muss mindestens aus Tag, Monat und Jahr bestehen : toString().matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$') |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | MedicationRequest | Ordering of medication for patient or group Constraints: dom-2, dom-3, dom-4, dom-5, dom-6 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() ![]() |
Σ | 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". | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
S | 1..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension" | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Context of the resource Binding: Context Codes (required) Required Pattern: EMP | |||||
![]() ![]() ![]() ![]() |
S | 0..* | Reference(EPA MedicationStatement) | Aktivität die zu diesem Planelement gehört URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | Patientenlesbarer Grund für den Planungseintrag URL: https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension | ||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() |
0..* | Identifier | External ids for this request Slice: Unordered, Open by value:$this | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | MedicationPlanIdentifier | External ids for this request Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: https://gematik.de/fhir/sid/emp-identifier | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | The value that is unique | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | active | on-hold | completed | entered-in-error | stopped | draft Binding: eMP MedicationRequest Status Value Set (required) | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Reason for current status Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status. | |||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | plan Binding: medicationRequest Intent (required): The kind of medication order. Required Pattern: plan | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | Type of medication usage Binding: medicationRequest Category Codes (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..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | True if request is prohibiting action | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reported rather than primary record | |||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(eMP Medication) | Arzneimittel, welches geplant wird | ||||
![]() ![]() ![]() |
SΣC | 1..1 | Reference(Patient) | Who or group medication request is for Constraints: ref-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
C | 0..1 | Reference(Encounter) | Encounter created as part of encounter/admission/stay Constraints: ref-1 | ||||
![]() ![]() ![]() |
C | 0..* | Reference(Resource) | Information to support ordering of the medication Constraints: ref-1 | ||||
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | When request was initially authored Constraints: epa-datetime | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/What requested the Request Constraints: ref-1 | ||||
![]() ![]() ![]() |
C | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration Constraints: ref-1 | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication. | ||||
![]() ![]() ![]() |
C | 0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request Constraints: ref-1 | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Closed by pattern:$this | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | CodingICD10GM | Code defined by a terminology system Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Symbol in syntax defined by the system | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Coding | Optional Extensions Element URL: http://fhir.de/StructureDefinition/icd-10-gm-mehrfachcodierungs-kennzeichen Binding: Mehrfachkodierungs-Kennzeichen ICD10GM ValueSet (required) | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Coding | Optional Extensions Element URL: http://fhir.de/StructureDefinition/seitenlokalisation Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_SEITENLOKALISATION (required) | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Coding | Optional Extensions Element URL: http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_DIAGNOSESICHERHEIT (required) | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Canonische CodeSystem URL für ICD-10-GM Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Die Jahresversion von ICD-10-GM. Angegeben wird immer die vierstellige Jahreszahl (z.B. "2017") | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | Der ICD-10-Code Constraints: icd-regex Example Einfacher ICD-Code: F17.4 | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
ΣC | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | What request fulfills Constraints: ref-1 | ||||
![]() ![]() ![]() |
C | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage Constraints: ref-1 | ||||
![]() ![]() ![]() |
S | 0..1 | Annotation | Information about the prescription | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Individual responsible for the annotation | |||||
![]() ![]() ![]() ![]() ![]() |
Reference(Practitioner | Patient | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | dateTime | When the annotation was made | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | markdown | The annotation - text content (as markdown) | ||||
![]() ![]() ![]() |
S | 0..* | DosageDgMP | Hier werden Informationen zur Dosierung angegeben. | ||||
![]() |
Path | Conformance | ValueSet / Code | URI | |||
MedicationRequest.meta.security | extensible | All Security Labelshttp://hl7.org/fhir/ValueSet/security-labels From the FHIR Standard | ||||
MedicationRequest.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tags From the FHIR Standard | ||||
MedicationRequest.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages From the FHIR Standard
| ||||
MedicationRequest.extension:context.value[x] | required | Pattern Value: EMPhttps://gematik.de/fhir/epa-medication/ValueSet/context-code From this IG | ||||
MedicationRequest.status | required | EMPMedicationRequestStatusVShttps://gematik.de/fhir/epa-medication/ValueSet/emp-medicationrequest-status-vs From this IG | ||||
MedicationRequest.statusReason | example | medicationRequest Status Reason Codeshttp://hl7.org/fhir/ValueSet/medicationrequest-status-reason From the FHIR Standard | ||||
MedicationRequest.intent | required | Pattern Value: planhttp://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1 From the FHIR Standard | ||||
MedicationRequest.category | example | medicationRequest Category Codeshttp://hl7.org/fhir/ValueSet/medicationrequest-category From the FHIR Standard | ||||
MedicationRequest.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|4.0.1 From the FHIR Standard | ||||
MedicationRequest.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | ||||
MedicationRequest.performerType | example | ProcedurePerformerRoleCodeshttp://hl7.org/fhir/ValueSet/performer-role From the FHIR Standard | ||||
MedicationRequest.reasonCode | example | Condition/Problem/DiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code From the FHIR Standard | ||||
MedicationRequest.substitution.allowed[x] | example | ActSubstanceAdminSubstitutionCodehttp://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode | ||||
MedicationRequest.substitution.reason | example | SubstanceAdminSubstitutionReasonhttp://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | MedicationRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | MedicationRequest | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | MedicationRequest | A resource should have narrative for robust management : text.`div`.exists() | |
drt-1 | error | MedicationRequest.dispenseRequest.initialFill.duration, MedicationRequest.dispenseRequest.dispenseInterval, MedicationRequest.dispenseRequest.expectedSupplyDuration | There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. : code.exists() implies ((system = %ucum) and value.exists()) | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
epa-datetime | error | MedicationRequest.authoredOn | dateTime muss mindestens aus Tag, Monat und Jahr bestehen : toString().matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$') | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
icd-regex | warning | MedicationRequest.reasonCode.coding:icd-10-gm.code | In code sind nur gültige ICD-10-Codes ohne Zusätze erlaubt : matches('^[A-Z][0-9][A-Z0-9](\\.?[A-Z0-9]{0,4})?$') | |
per-1 | error | MedicationRequest.dispenseRequest.validityPeriod | If present, start SHALL have a lower value than end : start.hasValue().not() or end.hasValue().not() or (start <= end) | |
qty-3 | error | MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.initialFill.duration, MedicationRequest.dispenseRequest.dispenseInterval, MedicationRequest.dispenseRequest.quantity, MedicationRequest.dispenseRequest.expectedSupplyDuration | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
ref-1 | error | MedicationRequest.subject, MedicationRequest.encounter, MedicationRequest.supportingInformation, MedicationRequest.requester, MedicationRequest.performer, MedicationRequest.recorder, MedicationRequest.basedOn, MedicationRequest.insurance, MedicationRequest.dispenseRequest.performer | SHALL 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')) | |
sqty-1 | error | MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantity | The comparator is not used on a SimpleQuantity : comparator.empty() |
This structure is derived from MedicationRequest
Summary
Mandatory: 4 elements(1 nested mandatory element)
Must-Support: 23 elements
Prohibited: 11 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | MedicationRequest | Ordering of medication for patient or group Constraints: dom-2, dom-3, dom-4, dom-5, dom-6 | |
![]() ![]() ![]() |
SΣ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | id | Version specific identifier |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | instant | When the resource version last changed |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
S | 1..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Context of the resource Binding: Context Codes (required) Required Pattern: EMP | |
![]() ![]() ![]() ![]() |
S | 0..* | Reference(EPA MedicationStatement) | Aktivität die zu diesem Planelement gehört URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Patientenlesbarer Grund für den Planungseintrag URL: https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
![]() ![]() ![]() |
0..* | Identifier | External ids for this request Slice: Unordered, Open by value:$this | |
![]() ![]() ![]() ![]() |
S | 0..1 | MedicationPlanIdentifier | External ids for this request Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: https://gematik.de/fhir/sid/emp-identifier | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | The value that is unique | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | active | on-hold | completed | entered-in-error | stopped | draft Binding: eMP MedicationRequest Status Value Set (required) |
![]() ![]() ![]() |
?!Σ | 1..1 | code | plan Binding: medicationRequest Intent (required): The kind of medication order. Required Pattern: plan |
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | True if request is prohibiting action |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(eMP Medication) | Arzneimittel, welches geplant wird |
![]() ![]() ![]() |
SΣC | 1..1 | Reference(Patient) | Who or group medication request is for Constraints: ref-1 |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known |
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | When request was initially authored Constraints: epa-datetime |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered. |
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Closed by pattern:$this |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | CodingICD10GM | Code defined by a terminology system Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Coding | Optional Extensions Element URL: http://fhir.de/StructureDefinition/icd-10-gm-mehrfachcodierungs-kennzeichen Binding: Mehrfachkodierungs-Kennzeichen ICD10GM ValueSet (required) |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Coding | Optional Extensions Element URL: http://fhir.de/StructureDefinition/seitenlokalisation Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_SEITENLOKALISATION (required) |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Coding | Optional Extensions Element URL: http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_DIAGNOSESICHERHEIT (required) |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Canonische CodeSystem URL für ICD-10-GM Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Die Jahresversion von ICD-10-GM. Angegeben wird immer die vierstellige Jahreszahl (z.B. "2017") |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | Der ICD-10-Code Constraints: icd-regex Example Einfacher ICD-Code: F17.4 |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system |
![]() ![]() ![]() |
S | 0..1 | Annotation | Information about the prescription |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | dateTime | When the annotation was made |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | markdown | The annotation - text content (as markdown) |
![]() ![]() ![]() |
S | 0..* | DosageDgMP | Hier werden Informationen zur Dosierung angegeben. |
![]() |
Path | Conformance | ValueSet / Code | URI |
MedicationRequest.extension:context.value[x] | required | Pattern Value: EMPhttps://gematik.de/fhir/epa-medication/ValueSet/context-code From this IG | |
MedicationRequest.status | required | EMPMedicationRequestStatusVShttps://gematik.de/fhir/epa-medication/ValueSet/emp-medicationrequest-status-vs From this IG | |
MedicationRequest.intent | required | Pattern Value: planhttp://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1 From the FHIR Standard | |
MedicationRequest.reasonCode | example | Condition/Problem/DiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code From the FHIR Standard | |
MedicationRequest.substitution.allowed[x] | example | ActSubstanceAdminSubstitutionCodehttp://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | MedicationRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | MedicationRequest | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | MedicationRequest | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
epa-datetime | error | MedicationRequest.authoredOn | dateTime muss mindestens aus Tag, Monat und Jahr bestehen : toString().matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$') | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
icd-regex | warning | MedicationRequest.reasonCode.coding:icd-10-gm.code | In code sind nur gültige ICD-10-Codes ohne Zusätze erlaubt : matches('^[A-Z][0-9][A-Z0-9](\\.?[A-Z0-9]{0,4})?$') | |
ref-1 | error | MedicationRequest.subject | SHALL 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 MedicationRequest
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
MedicationRequest | |||
![]() ![]() ![]() |
S | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() ![]() |
S | 0..1 | id | Version specific identifier |
![]() ![]() ![]() ![]() |
S | 0..1 | instant | When the resource version last changed |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..* | Extension | Extension | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
S | 1..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Context of the resource Required Pattern: EMP | |
![]() ![]() ![]() ![]() |
S | 0..* | Reference(EPA MedicationStatement) | Aktivität die zu diesem Planelement gehört URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Patientenlesbarer Grund für den Planungseintrag URL: https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension |
![]() ![]() ![]() |
0..* | Identifier | External ids for this request Slice: Unordered, Open by value:$this | |
![]() ![]() ![]() ![]() |
S | 0..1 | MedicationPlanIdentifier | External ids for this request Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: https://gematik.de/fhir/sid/emp-identifier | |
![]() ![]() ![]() |
S | 1..1 | code | active | on-hold | completed | entered-in-error | stopped | draft Binding: eMP MedicationRequest Status Value Set (required) |
![]() ![]() ![]() |
1..1 | code | plan Required Pattern: plan | |
![]() ![]() ![]() |
S | 1..1 | Reference(eMP Medication) | Arzneimittel, welches geplant wird |
![]() ![]() ![]() |
S | 1..1 | Reference(Patient) | Who or group medication request is for |
![]() ![]() ![]() ![]() |
S | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known |
![]() ![]() ![]() |
SC | 1..1 | dateTime | When request was initially authored Constraints: epa-datetime |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Reason or indication for ordering or not ordering the medication |
![]() ![]() ![]() ![]() |
S | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Closed by pattern:$this |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodingICD10GM | Code defined by a terminology system Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | Canonische CodeSystem URL für ICD-10-GM |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Die Jahresversion von ICD-10-GM. Angegeben wird immer die vierstellige Jahreszahl (z.B. "2017") |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Der ICD-10-Code |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Representation defined by the system |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
S | 0..1 | Annotation | Information about the prescription |
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | When the annotation was made |
![]() ![]() ![]() ![]() |
S | 1..1 | markdown | The annotation - text content (as markdown) |
![]() ![]() ![]() |
S | 0..* | DosageDgMP | Hier werden Informationen zur Dosierung angegeben. |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() |
Path | Conformance | ValueSet | URI |
MedicationRequest.status | required | EMPMedicationRequestStatusVShttps://gematik.de/fhir/epa-medication/ValueSet/emp-medicationrequest-status-vs From this IG |
Id | Grade | Path(s) | Details | Requirements |
epa-datetime | error | MedicationRequest.authoredOn | dateTime muss mindestens aus Tag, Monat und Jahr bestehen : toString().matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$') |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | MedicationRequest | Ordering of medication for patient or group Constraints: dom-2, dom-3, dom-4, dom-5, dom-6 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() ![]() |
Σ | 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". | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
S | 1..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension" | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Context of the resource Binding: Context Codes (required) Required Pattern: EMP | |||||
![]() ![]() ![]() ![]() |
S | 0..* | Reference(EPA MedicationStatement) | Aktivität die zu diesem Planelement gehört URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | Patientenlesbarer Grund für den Planungseintrag URL: https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension | ||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() |
0..* | Identifier | External ids for this request Slice: Unordered, Open by value:$this | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | MedicationPlanIdentifier | External ids for this request Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: https://gematik.de/fhir/sid/emp-identifier | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | The value that is unique | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | active | on-hold | completed | entered-in-error | stopped | draft Binding: eMP MedicationRequest Status Value Set (required) | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Reason for current status Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status. | |||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | plan Binding: medicationRequest Intent (required): The kind of medication order. Required Pattern: plan | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | Type of medication usage Binding: medicationRequest Category Codes (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..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | True if request is prohibiting action | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reported rather than primary record | |||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(eMP Medication) | Arzneimittel, welches geplant wird | ||||
![]() ![]() ![]() |
SΣC | 1..1 | Reference(Patient) | Who or group medication request is for Constraints: ref-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
C | 0..1 | Reference(Encounter) | Encounter created as part of encounter/admission/stay Constraints: ref-1 | ||||
![]() ![]() ![]() |
C | 0..* | Reference(Resource) | Information to support ordering of the medication Constraints: ref-1 | ||||
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | When request was initially authored Constraints: epa-datetime | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/What requested the Request Constraints: ref-1 | ||||
![]() ![]() ![]() |
C | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration Constraints: ref-1 | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication. | ||||
![]() ![]() ![]() |
C | 0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request Constraints: ref-1 | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Closed by pattern:$this | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | CodingICD10GM | Code defined by a terminology system Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Symbol in syntax defined by the system | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Coding | Optional Extensions Element URL: http://fhir.de/StructureDefinition/icd-10-gm-mehrfachcodierungs-kennzeichen Binding: Mehrfachkodierungs-Kennzeichen ICD10GM ValueSet (required) | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Coding | Optional Extensions Element URL: http://fhir.de/StructureDefinition/seitenlokalisation Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_SEITENLOKALISATION (required) | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Coding | Optional Extensions Element URL: http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_DIAGNOSESICHERHEIT (required) | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Canonische CodeSystem URL für ICD-10-GM Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Die Jahresversion von ICD-10-GM. Angegeben wird immer die vierstellige Jahreszahl (z.B. "2017") | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | Der ICD-10-Code Constraints: icd-regex Example Einfacher ICD-Code: F17.4 | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
ΣC | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | What request fulfills Constraints: ref-1 | ||||
![]() ![]() ![]() |
C | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage Constraints: ref-1 | ||||
![]() ![]() ![]() |
S | 0..1 | Annotation | Information about the prescription | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Individual responsible for the annotation | |||||
![]() ![]() ![]() ![]() ![]() |
Reference(Practitioner | Patient | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | dateTime | When the annotation was made | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | markdown | The annotation - text content (as markdown) | ||||
![]() ![]() ![]() |
S | 0..* | DosageDgMP | Hier werden Informationen zur Dosierung angegeben. | ||||
![]() |
Path | Conformance | ValueSet / Code | URI | |||
MedicationRequest.meta.security | extensible | All Security Labelshttp://hl7.org/fhir/ValueSet/security-labels From the FHIR Standard | ||||
MedicationRequest.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tags From the FHIR Standard | ||||
MedicationRequest.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages From the FHIR Standard
| ||||
MedicationRequest.extension:context.value[x] | required | Pattern Value: EMPhttps://gematik.de/fhir/epa-medication/ValueSet/context-code From this IG | ||||
MedicationRequest.status | required | EMPMedicationRequestStatusVShttps://gematik.de/fhir/epa-medication/ValueSet/emp-medicationrequest-status-vs From this IG | ||||
MedicationRequest.statusReason | example | medicationRequest Status Reason Codeshttp://hl7.org/fhir/ValueSet/medicationrequest-status-reason From the FHIR Standard | ||||
MedicationRequest.intent | required | Pattern Value: planhttp://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1 From the FHIR Standard | ||||
MedicationRequest.category | example | medicationRequest Category Codeshttp://hl7.org/fhir/ValueSet/medicationrequest-category From the FHIR Standard | ||||
MedicationRequest.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|4.0.1 From the FHIR Standard | ||||
MedicationRequest.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | ||||
MedicationRequest.performerType | example | ProcedurePerformerRoleCodeshttp://hl7.org/fhir/ValueSet/performer-role From the FHIR Standard | ||||
MedicationRequest.reasonCode | example | Condition/Problem/DiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code From the FHIR Standard | ||||
MedicationRequest.substitution.allowed[x] | example | ActSubstanceAdminSubstitutionCodehttp://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode | ||||
MedicationRequest.substitution.reason | example | SubstanceAdminSubstitutionReasonhttp://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | MedicationRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | MedicationRequest | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | MedicationRequest | A resource should have narrative for robust management : text.`div`.exists() | |
drt-1 | error | MedicationRequest.dispenseRequest.initialFill.duration, MedicationRequest.dispenseRequest.dispenseInterval, MedicationRequest.dispenseRequest.expectedSupplyDuration | There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. : code.exists() implies ((system = %ucum) and value.exists()) | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
epa-datetime | error | MedicationRequest.authoredOn | dateTime muss mindestens aus Tag, Monat und Jahr bestehen : toString().matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$') | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
icd-regex | warning | MedicationRequest.reasonCode.coding:icd-10-gm.code | In code sind nur gültige ICD-10-Codes ohne Zusätze erlaubt : matches('^[A-Z][0-9][A-Z0-9](\\.?[A-Z0-9]{0,4})?$') | |
per-1 | error | MedicationRequest.dispenseRequest.validityPeriod | If present, start SHALL have a lower value than end : start.hasValue().not() or end.hasValue().not() or (start <= end) | |
qty-3 | error | MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.initialFill.duration, MedicationRequest.dispenseRequest.dispenseInterval, MedicationRequest.dispenseRequest.quantity, MedicationRequest.dispenseRequest.expectedSupplyDuration | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
ref-1 | error | MedicationRequest.subject, MedicationRequest.encounter, MedicationRequest.supportingInformation, MedicationRequest.requester, MedicationRequest.performer, MedicationRequest.recorder, MedicationRequest.basedOn, MedicationRequest.insurance, MedicationRequest.dispenseRequest.performer | SHALL 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')) | |
sqty-1 | error | MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantity | The comparator is not used on a SimpleQuantity : comparator.empty() |
This structure is derived from MedicationRequest
Summary
Mandatory: 4 elements(1 nested mandatory element)
Must-Support: 23 elements
Prohibited: 11 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron