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.' package_name: de.gematik.epa.medication derivation: constraint name: EMPMedicationRequest type: MedicationRequest elements: meta: mustSupport: true index: 0 elements: versionId: {mustSupport: true, index: 1} lastUpdated: {mustSupport: true, index: 2} medication[x]: elements: reference: {mustSupport: true, index: 87} identifier: mustSupport: true index: 88 elements: type: mustSupport: true index: 89 elements: coding: mustSupport: true index: 90 elements: system: {mustSupport: true, index: 91} version: {mustSupport: true, index: 92} code: {mustSupport: true, index: 93} display: {mustSupport: true, index: 94} system: {mustSupport: true, index: 95} value: {mustSupport: true, index: 96} display: {mustSupport: true, index: 97} reasonCode: mustSupport: true index: 101 elements: coding: mustSupport: true index: 102 slicing: rules: closed discriminator: - {path: $this, type: pattern} min: null slices: icd-10-gm: match: {system: 'http://fhir.de/CodeSystem/bfarm/icd-10-gm'} schema: type: Coding mustSupport: true pattern: type: Coding value: {system: 'http://fhir.de/CodeSystem/bfarm/icd-10-gm'} index: 103 extensions: Mehrfachcodierungs-Kennzeichen: url: null mustSupport: true index: 105 elements: url: {mustSupport: true, index: 106} value: mustSupport: true choices: [] index: 108 value[x]: elements: system: {mustSupport: true, index: 109} version: {mustSupport: true, index: 110} code: {mustSupport: true, index: 111} display: {mustSupport: true, index: 112} Seitenlokalisation: url: null mustSupport: true index: 113 elements: url: {mustSupport: true, index: 114} value: mustSupport: true choices: [] index: 116 value[x]: elements: system: {mustSupport: true, index: 117} version: {mustSupport: true, index: 118} code: {mustSupport: true, index: 119} display: {mustSupport: true, index: 120} Diagnosesicherheit: url: null mustSupport: true index: 121 elements: url: {mustSupport: true, index: 122} value: mustSupport: true choices: [] index: 124 value[x]: elements: system: {mustSupport: true, index: 125} version: {mustSupport: true, index: 126} code: {mustSupport: true, index: 127} display: {mustSupport: true, index: 128} elements: extension: mustSupport: true index: 104 slicing: slices: Mehrfachcodierungs-Kennzeichen: match: {} schema: mustSupport: true index: 105 elements: url: {mustSupport: true, index: 106} value: mustSupport: true choices: [] index: 108 value[x]: elements: system: {mustSupport: true, index: 109} version: {mustSupport: true, index: 110} code: {mustSupport: true, index: 111} display: {mustSupport: true, index: 112} Seitenlokalisation: match: {} schema: mustSupport: true index: 113 elements: url: {mustSupport: true, index: 114} value: mustSupport: true choices: [] index: 116 value[x]: elements: system: {mustSupport: true, index: 117} version: {mustSupport: true, index: 118} code: {mustSupport: true, index: 119} display: {mustSupport: true, index: 120} Diagnosesicherheit: match: {} schema: mustSupport: true index: 121 elements: url: {mustSupport: true, index: 122} value: mustSupport: true choices: [] index: 124 value[x]: elements: system: {mustSupport: true, index: 125} version: {mustSupport: true, index: 126} code: {mustSupport: true, index: 127} display: {mustSupport: true, index: 128} system: {mustSupport: true, index: 129} version: {mustSupport: true, index: 130} code: {mustSupport: true, index: 131} display: {mustSupport: true, index: 132} required: [display] authoredOn: constraint: epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request', severity: error, expression: '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)))?$'')'} mustSupport: true index: 100 note: short: Zusätzliche Informationen durch einen Leistungserbringenden mustSupport: true index: 133 elements: time: {mustSupport: true, index: 134} text: {mustSupport: true, index: 135} extension: mustSupport: true index: 3 slicing: slices: context: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension index: 4 elements: url: {mustSupport: true, index: 5} value: mustSupport: true pattern: {type: Code, value: EMP} choices: [] index: 7 activity: match: {} schema: type: Extension short: Aktivität die zu diesem Planelement gehört mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension index: 8 extensions: reference: url: null mustSupport: true index: 9 elements: url: {mustSupport: true, index: 10} value: mustSupport: true choices: [] index: 12 value[x]: elements: reference: {mustSupport: true, index: 13} identifier: mustSupport: true index: 14 elements: type: mustSupport: true index: 15 elements: coding: mustSupport: true index: 16 elements: system: {mustSupport: true, index: 17} version: {mustSupport: true, index: 18} code: {mustSupport: true, index: 19} display: {mustSupport: true, index: 20} system: {mustSupport: true, index: 21} value: {mustSupport: true, index: 22} display: {mustSupport: true, index: 23} addedOn: url: null mustSupport: true index: 24 elements: url: {mustSupport: true, index: 25} value: mustSupport: true choices: [] index: 27 elements: extension: mustSupport: true index: 9 slicing: slices: reference: match: {} schema: mustSupport: true index: 9 elements: url: {mustSupport: true, index: 10} value: mustSupport: true choices: [] index: 12 value[x]: elements: reference: {mustSupport: true, index: 13} identifier: mustSupport: true index: 14 elements: type: mustSupport: true index: 15 elements: coding: mustSupport: true index: 16 elements: system: {mustSupport: true, index: 17} version: {mustSupport: true, index: 18} code: {mustSupport: true, index: 19} display: {mustSupport: true, index: 20} system: {mustSupport: true, index: 21} value: {mustSupport: true, index: 22} display: {mustSupport: true, index: 23} addedOn: match: {} schema: mustSupport: true index: 24 elements: url: {mustSupport: true, index: 25} value: mustSupport: true choices: [] index: 27 url: {mustSupport: true, index: 28} reasonPatientInstruction: match: {} schema: short: Patientenlesbarer Grund für den Planungseintrag type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension index: 29 elements: url: {mustSupport: true, index: 30} value: mustSupport: true choices: [] index: 32 patientNote: match: {} schema: short: Hinweis für den Patienten type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension index: 33 elements: url: {mustSupport: true, index: 34} value: mustSupport: true choices: [] index: 36 value[x]: elements: time: {mustSupport: true, index: 37} text: {mustSupport: true, index: 38} effectiveDosePeriod: match: {} schema: short: Zeitraum, in dem die Medikation eingenommen werden soll. type: Extension mustSupport: true url: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod index: 39 elements: url: {mustSupport: true, index: 40} value: mustSupport: true choices: [] index: 42 value[x]: elements: start: constraint: epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request', severity: error, expression: '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)))?$'')'} mustSupport: true index: 43 end: constraint: epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request', severity: error, expression: '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)))?$'')'} mustSupport: true index: 44 renderedDosageInstruction: match: {} schema: short: Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen). type: Extension mustSupport: true url: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction index: 45 elements: url: {mustSupport: true, index: 46} value: mustSupport: true choices: [] index: 48 generatedDosageInstructionsMeta: match: {} schema: short: Metadaten zu den generierten Dosierungsanweisungen type: Extension mustSupport: true url: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta index: 49 extensions: language: url: null index: 50 elements: url: {mustSupport: true, index: 51} value: mustSupport: true choices: [] index: 53 algorithmVersion: url: null index: 54 elements: url: {mustSupport: true, index: 55} value: mustSupport: true choices: [] index: 57 elements: extension: index: 50 slicing: slices: language: match: {} schema: index: 50 elements: url: {mustSupport: true, index: 51} value: mustSupport: true choices: [] index: 53 algorithmVersion: match: {} schema: index: 54 elements: url: {mustSupport: true, index: 55} value: mustSupport: true choices: [] index: 57 url: {mustSupport: true, index: 58} originMedication: match: {} schema: short: Referenz auf die Ursprungs-Medication (Basis des eMP-Eintrags) type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-origin-medication-extension index: 59 elements: url: {mustSupport: true, index: 60} value: mustSupport: true choices: [] index: 62 value[x]: elements: reference: {mustSupport: true, index: 63} identifier: mustSupport: true index: 64 elements: type: mustSupport: true index: 65 elements: coding: mustSupport: true index: 66 elements: system: {mustSupport: true, index: 67} version: {mustSupport: true, index: 68} code: {mustSupport: true, index: 69} display: {mustSupport: true, index: 70} system: {mustSupport: true, index: 71} value: {mustSupport: true, index: 72} display: {mustSupport: true, index: 73} status: short: active | on-hold | completed | entered-in-error | stopped binding: {strength: required, valueSet: 'https://gematik.de/fhir/epa-medication/ValueSet/emp-medicationrequest-status-vs'} mustSupport: true index: 82 dosageInstruction: type: Dosage short: Hier werden Informationen zur Dosierung angegeben. mustSupport: true index: 136 elements: doseAndRate: elements: dose: mustSupport: true choices: [] index: 138 slicing: slices: doseQuantity: match: {} schema: choices: [doseQuantity] index: 140 doseQuantity: type: Quantity choiceOf: dose index: 141 slicing: slices: doseQuantity: match: {} schema: {type: Quantity, choiceOf: dose, index: 141} dose[x]: elements: value: {mustSupport: true, index: 142} identifier: mustSupport: true index: 74 slicing: rules: open discriminator: - {path: $this, type: value} min: null slices: MedicationPlanIdentifier: match: {system: 'https://gematik.de/fhir/sid/emp-identifier'} schema: type: Identifier mustSupport: true pattern: type: Identifier value: {system: 'https://gematik.de/fhir/sid/emp-identifier'} index: 75 elements: type: mustSupport: true index: 76 elements: coding: mustSupport: true index: 77 elements: system: {mustSupport: true, index: 78} version: {mustSupport: true, index: 79} code: {mustSupport: true, index: 80} display: {mustSupport: true, index: 81} intent: short: plan pattern: {type: Code, value: plan} index: 83 medicationReference: type: Reference short: Arzneimittel, welches geplant wird mustSupport: true choiceOf: medication refers: ['https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication', 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication'] index: 86 subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 98 elements: identifier: {type: Identifier, mustSupport: true, index: 99} required: [identifier] medication: short: Arzneimittel, welches geplant wird mustSupport: true choices: [medicationReference] index: 85 package_version: 1.3.4 extensions: context: url: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension type: Extension mustSupport: true index: 4 elements: url: {mustSupport: true, index: 5} value: mustSupport: true pattern: {type: Code, value: EMP} choices: [] index: 7 activity: url: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension type: Extension short: Aktivität die zu diesem Planelement gehört mustSupport: true index: 8 extensions: reference: url: null mustSupport: true index: 9 elements: url: {mustSupport: true, index: 10} value: mustSupport: true choices: [] index: 12 value[x]: elements: reference: {mustSupport: true, index: 13} identifier: mustSupport: true index: 14 elements: type: mustSupport: true index: 15 elements: coding: mustSupport: true index: 16 elements: system: {mustSupport: true, index: 17} version: {mustSupport: true, index: 18} code: {mustSupport: true, index: 19} display: {mustSupport: true, index: 20} system: {mustSupport: true, index: 21} value: {mustSupport: true, index: 22} display: {mustSupport: true, index: 23} addedOn: url: null mustSupport: true index: 24 elements: url: {mustSupport: true, index: 25} value: mustSupport: true choices: [] index: 27 elements: extension: mustSupport: true index: 9 slicing: slices: reference: match: {} schema: mustSupport: true index: 9 elements: url: {mustSupport: true, index: 10} value: mustSupport: true choices: [] index: 12 value[x]: elements: reference: {mustSupport: true, index: 13} identifier: mustSupport: true index: 14 elements: type: mustSupport: true index: 15 elements: coding: mustSupport: true index: 16 elements: system: {mustSupport: true, index: 17} version: {mustSupport: true, index: 18} code: {mustSupport: true, index: 19} display: {mustSupport: true, index: 20} system: {mustSupport: true, index: 21} value: {mustSupport: true, index: 22} display: {mustSupport: true, index: 23} addedOn: match: {} schema: mustSupport: true index: 24 elements: url: {mustSupport: true, index: 25} value: mustSupport: true choices: [] index: 27 url: {mustSupport: true, index: 28} reasonPatientInstruction: url: https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension short: Patientenlesbarer Grund für den Planungseintrag type: Extension mustSupport: true index: 29 elements: url: {mustSupport: true, index: 30} value: mustSupport: true choices: [] index: 32 patientNote: url: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension short: Hinweis für den Patienten type: Extension mustSupport: true index: 33 elements: url: {mustSupport: true, index: 34} value: mustSupport: true choices: [] index: 36 value[x]: elements: time: {mustSupport: true, index: 37} text: {mustSupport: true, index: 38} effectiveDosePeriod: url: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod short: Zeitraum, in dem die Medikation eingenommen werden soll. type: Extension mustSupport: true index: 39 elements: url: {mustSupport: true, index: 40} value: mustSupport: true choices: [] index: 42 value[x]: elements: start: constraint: epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request', severity: error, expression: '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)))?$'')'} mustSupport: true index: 43 end: constraint: epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request', severity: error, expression: '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)))?$'')'} mustSupport: true index: 44 renderedDosageInstruction: url: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction short: Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen). type: Extension mustSupport: true index: 45 elements: url: {mustSupport: true, index: 46} value: mustSupport: true choices: [] index: 48 generatedDosageInstructionsMeta: url: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta short: Metadaten zu den generierten Dosierungsanweisungen type: Extension mustSupport: true index: 49 extensions: language: url: null index: 50 elements: url: {mustSupport: true, index: 51} value: mustSupport: true choices: [] index: 53 algorithmVersion: url: null index: 54 elements: url: {mustSupport: true, index: 55} value: mustSupport: true choices: [] index: 57 elements: extension: index: 50 slicing: slices: language: match: {} schema: index: 50 elements: url: {mustSupport: true, index: 51} value: mustSupport: true choices: [] index: 53 algorithmVersion: match: {} schema: index: 54 elements: url: {mustSupport: true, index: 55} value: mustSupport: true choices: [] index: 57 url: {mustSupport: true, index: 58} originMedication: url: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-origin-medication-extension short: Referenz auf die Ursprungs-Medication (Basis des eMP-Eintrags) type: Extension mustSupport: true index: 59 elements: url: {mustSupport: true, index: 60} value: mustSupport: true choices: [] index: 62 value[x]: elements: reference: {mustSupport: true, index: 63} identifier: mustSupport: true index: 64 elements: type: mustSupport: true index: 65 elements: coding: mustSupport: true index: 66 elements: system: {mustSupport: true, index: 67} version: {mustSupport: true, index: 68} code: {mustSupport: true, index: 69} display: {mustSupport: true, index: 70} system: {mustSupport: true, index: 71} value: {mustSupport: true, index: 72} display: {mustSupport: true, index: 73} class: profile kind: resource url: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request base: http://hl7.org/fhir/StructureDefinition/MedicationRequest version: 1.3.2 required: [authoredOn, dosageInstruction, extension]