Implementation Guide
ePA Medication Service
Version 1.3.1 - release

Resource Profile: eMP MedicationRequest

Official URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request Version: 1.3.1
Active as of 2026-03-20 Computable Name: EMPMedicationRequest

Copyright/Legal: gematik GmbH / Dieses Artefakt ist lizenziert unter Apache License, Version 2.0.

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.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
... meta SΣ 0..1 Meta Metadata about the resource
.... versionId SΣ 0..1 id Version specific identifier
.... lastUpdated SΣ 0..1 instant When the resource version last changed
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:context S 1..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url S 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension"
..... value[x] S 1..1 code Context of the resource
Binding: Context Codes (required)
Required Pattern: EMP
.... extension:activity S 0..* (Complex) Aktivität die zu diesem Planelement gehört
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Closed by value:url
...... extension:reference SC 1..1 Extension Extension
Constraints: epa-no-history-reference
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url S 1..1 uri "reference"
....... value[x] S 1..1 Reference(EPA MedicationStatement) Referenz zu der Resource, die aus der Aktivität resultiert
...... extension:addedOn S 1..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url S 1..1 uri "addedOn"
....... value[x] S 1..1 dateTime Zeitpunkt, zu dem diese Referenz in den eMP-Eintrag aufgenommen wurde
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension"
.... extension:reasonPatientInstruction S 0..1 (Complex) Patientenlesbarer Grund für den Planungseintrag
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url S 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension"
..... value[x] S 1..1 string Reason
.... extension:patientNote S 0..1 (Complex) Hinweis für den Patienten
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url S 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension"
..... value[x] S 1..1 Annotation Hinweis für den Patienten
.... extension:effectiveDosePeriod S 0..1 (Complex) Zeitraum, in dem die Medikation eingenommen werden soll.
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod"
..... value[x] 1..1 Period Value of extension
...... start SΣC 0..1 dateTime Starting time with inclusive boundary
Constraints: epa-datetime
...... end SΣC 0..1 dateTime End time with inclusive boundary, if not ongoing
Constraints: epa-datetime
.... extension:renderedDosageInstruction S 0..1 (Complex) Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url S 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction"
..... value[x] S 1..1 markdown Value of extension
.... extension:generatedDosageInstructionsMeta S 0..1 (Complex) Metadaten zu den generierten Dosierungsanweisungen
URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
..... Slices for extension 2..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... extension:language S 1..1 Extension Extension
....... extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url S 1..1 uri "language"
....... Slices for value[x] 1..1 Value of extension
Slice: Unordered, Open by type:$this
........ valueBase64Binary base64Binary
........ valueBoolean boolean
........ valueCanonical canonical(Any)
........ valueCode code
........ valueDate date
........ valueDateTime dateTime
........ valueDecimal decimal
........ valueId id
........ valueInstant instant
........ valueInteger integer
........ valueMarkdown markdown
........ valueOid oid
........ valuePositiveInt positiveInt
........ valueString string
........ valueTime time
........ valueUnsignedInt unsignedInt
........ valueUri uri
........ valueUrl url
........ valueUuid uuid
........ valueAddress Address
........ valueAge Age
........ valueAnnotation Annotation
........ valueAttachment Attachment
........ valueCodeableConcept CodeableConcept
........ valueCoding Coding
........ valueContactPoint ContactPoint
........ valueCount Count
........ valueDistance Distance
........ valueDuration Duration
........ valueHumanName HumanName
........ valueIdentifier Identifier
........ valueMoney Money
........ valuePeriod Period
........ valueQuantity Quantity
........ valueRange Range
........ valueRatio Ratio
........ valueReference Reference(Any)
........ valueSampledData SampledData
........ valueSignature Signature
........ valueTiming Timing
........ valueContactDetail ContactDetail
........ valueContributor Contributor
........ valueDataRequirement DataRequirement
........ valueExpression Expression
........ valueParameterDefinition ParameterDefinition
........ valueRelatedArtifact RelatedArtifact
........ valueTriggerDefinition TriggerDefinition
........ valueUsageContext UsageContext
........ valueDosage Dosage
........ valueMeta Meta
........ value[x]:valueCode S 1..1 code Value of extension
Binding: AllLanguages (required)
...... extension:algorithmVersion S 1..1 Extension Extension
....... extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url S 1..1 uri "algorithmVersion"
....... Slices for value[x] 1..1 Value of extension
Slice: Unordered, Open by type:$this
........ valueBase64Binary base64Binary
........ valueBoolean boolean
........ valueCanonical canonical(Any)
........ valueCode code
........ valueDate date
........ valueDateTime dateTime
........ valueDecimal decimal
........ valueId id
........ valueInstant instant
........ valueInteger integer
........ valueMarkdown markdown
........ valueOid oid
........ valuePositiveInt positiveInt
........ valueString string
........ valueTime time
........ valueUnsignedInt unsignedInt
........ valueUri uri
........ valueUrl url
........ valueUuid uuid
........ valueAddress Address
........ valueAge Age
........ valueAnnotation Annotation
........ valueAttachment Attachment
........ valueCodeableConcept CodeableConcept
........ valueCoding Coding
........ valueContactPoint ContactPoint
........ valueCount Count
........ valueDistance Distance
........ valueDuration Duration
........ valueHumanName HumanName
........ valueIdentifier Identifier
........ valueMoney Money
........ valuePeriod Period
........ valueQuantity Quantity
........ valueRange Range
........ valueRatio Ratio
........ valueReference Reference(Any)
........ valueSampledData SampledData
........ valueSignature Signature
........ valueTiming Timing
........ valueContactDetail ContactDetail
........ valueContributor Contributor
........ valueDataRequirement DataRequirement
........ valueExpression Expression
........ valueParameterDefinition ParameterDefinition
........ valueRelatedArtifact RelatedArtifact
........ valueTriggerDefinition TriggerDefinition
........ valueUsageContext UsageContext
........ valueDosage Dosage
........ valueMeta Meta
........ value[x]:valueString S 1..1 string Value of extension
..... url S 1..1 uri "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta"
.... extension:originMedication S 0..1 (Complex) Referenz auf die Ursprungs-Medication (Basis des eMP-Eintrags)
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-origin-medication-extension
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-origin-medication-extension"
..... value[x] S 1..1 Reference(Medication) Referenz auf die Ursprungs-Medication (Basis des eMP-Eintrags)
...... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
...... identifier SΣ 0..1 Identifier Logical reference, when literal reference is not known
....... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
....... type SΣ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
........ coding SΣ 0..* Coding Code defined by a terminology system
......... system SΣ 0..1 uri Identity of the terminology system
......... version SΣ 0..1 string Version of the system - if relevant
......... code SΣ 0..1 code Symbol in syntax defined by the system
......... display SΣ 0..1 string Representation defined by the system
....... system SΣ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
....... value SΣ 0..1 string The value that is unique
Example General: 123456
...... display SΣ 0..1 string Text alternative for the resource
... Slices for identifier 0..* Identifier External ids for this request
Slice: Unordered, Open by value:$this
.... identifier:MedicationPlanIdentifier S 0..1 MedicationPlanIdentifier External ids for this request

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... use 0..1 code usual | official | temp | secondary | old (If known)
..... type 0..1 CodeableConcept Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/sid/emp-identifier
..... value 0..1 string The value that is unique
..... period 0..1 Period Time period when id is/was valid for use
..... assigner 0..1 Reference(Organization) Organization that issued id (may be just text)
..... extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code official
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Fixed Value: official
..... type SΣ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... coding SΣ 0..* Coding Code defined by a terminology system
....... system SΣ 0..1 uri Identity of the terminology system
....... version SΣ 0..1 string Version of the system - if relevant
....... code SΣ 0..1 code Symbol in syntax defined by the system
....... display SΣ 0..1 string Representation defined by the system
..... system SΣ 1..1 uri The namespace for the identifier value
Required Pattern: https://gematik.de/fhir/sid/emp-identifier
..... value SΣ 1..1 string Der eindeutige Identifikationswert
Example General: 123456
Example General: 687512ce-744c-8001-83c3-238227110dd6
... status ?!SΣ 1..1 code active | on-hold | completed | entered-in-error | stopped
Binding: eMP MedicationRequest Status Value Set (required)
... intent ?!Σ 1..1 code plan
Binding: medicationRequest Intent (required): The kind of medication order.
Required Pattern: plan
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... medication[x] SΣ 1..1 Reference(EPA Medication | eMP Medication) Arzneimittel, welches geplant wird
.... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier SΣ 0..1 Identifier Logical reference, when literal reference is not known
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type SΣ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... coding SΣ 0..* Coding Code defined by a terminology system
....... system SΣ 0..1 uri Identity of the terminology system
....... version SΣ 0..1 string Version of the system - if relevant
....... code SΣ 0..1 code Symbol in syntax defined by the system
....... display SΣ 0..1 string Representation defined by the system
..... system SΣ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value SΣ 0..1 string The value that is unique
Example General: 123456
.... display SΣ 0..1 string Text alternative for the resource
... subject SΣC 1..1 Reference(Patient) Who or group medication request is for
Constraints: ref-1
.... identifier SΣ 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
... authoredOn SΣC 1..1 dateTime When request was initially authored
Constraints: epa-datetime
... reasonCode 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.
.... Slices for coding SΣ 0..* Coding Code defined by a terminology system
Slice: Unordered, Closed by pattern:$this
..... coding:icd-10-gm SΣ 0..1 CodingICD10GM Code defined by a terminology system

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... Slices for extension Content/Rules for all slices
....... extension:Mehrfachcodierungs-Kennzeichen S 0..1 (Complex) Optional Extensions Element
URL: http://fhir.de/StructureDefinition/icd-10-gm-mehrfachcodierungs-kennzeichen
........ extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url S 1..1 uri "http://fhir.de/StructureDefinition/icd-10-gm-mehrfachcodierungs-kennzeichen"
........ value[x] S 1..1 Coding Value of extension
Binding: Mehrfachkodierungs-Kennzeichen ICD10GM ValueSet (required)
......... system SΣ 1..1 uri Identity of the terminology system
......... version SΣ 0..1 string Version of the system - if relevant
......... code SΣ 1..1 code Symbol in syntax defined by the system
......... display SΣ 0..1 string Representation defined by the system
....... extension:Seitenlokalisation S 0..1 (Complex) Optional Extensions Element
URL: http://fhir.de/StructureDefinition/seitenlokalisation
........ extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url S 1..1 uri "http://fhir.de/StructureDefinition/seitenlokalisation"
........ value[x] S 1..1 Coding Value of extension
Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_SEITENLOKALISATION (required)
......... system SΣ 1..1 uri Identity of the terminology system
......... version SΣ 0..1 string Version of the system - if relevant
......... code SΣ 1..1 code Symbol in syntax defined by the system
......... display SΣ 0..1 string Representation defined by the system
....... extension:Diagnosesicherheit S 0..1 (Complex) Optional Extensions Element
URL: http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit
........ extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url S 1..1 uri "http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit"
........ value[x] SC 1..1 Coding Value of extension
Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_DIAGNOSESICHERHEIT (required)
Constraints: icd-4, icd-5, icd-6, icd-7
......... system SΣ 0..1 uri Identity of the terminology system
......... version SΣ 0..1 string Version of the system - if relevant
......... code SΣ 0..1 code Symbol in syntax defined by the system
......... display SΣ 0..1 string Representation defined by the system
...... system SΣ 1..1 uri Canonische CodeSystem URL für ICD-10-GM
Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm
...... version SΣ 1..1 string Die Jahresversion von ICD-10-GM. Angegeben wird immer die vierstellige Jahreszahl (z.B. "2017")
...... code SΣC 1..1 code Der ICD-10-Code
Constraints: icd-regex
Example Einfacher ICD-Code: F17.4
...... display SΣ 1..1 string Representation defined by the system
... note S 0..1 Annotation Zusätzliche Informationen durch einen Leistungserbringenden
.... time SΣ 0..1 dateTime When the annotation was made
.... text SΣ 1..1 markdown The annotation - text content (as markdown)
... dosageInstruction S 1..* DosageDgMP Hier werden Informationen zur Dosierung angegeben.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... text SΣ 0..1 string Freitext-Dosierungsanweisungen, z. B. 'Maximal 3x täglich 1 Stück bei Bedarf'
.... timing SΣ 0..1 TimingDgMP A timing schedule that specifies an event that may occur multiple times
.... doseAndRate SΣ 0..1 Element Menge des verabreichten Medikaments
..... Slices for dose[x] SΣC 0..1 SimpleQuantity A fixed quantity (no comparator)
Slice: Unordered, Closed by type:$this
Constraints: qty-3, sqty-1
...... dose[x]:doseQuantity SΣ 0..1 SimpleQuantity Menge des Medikaments pro Dosis
Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT (required)
....... value SΣ 0..1 decimal Numerical value (with implicit precision)
....... unit SΣ 1..1 string Unit representation
....... system SΣC 1..1 uri System that defines coded unit form
....... code SΣ 1..1 code Coded form of the unit

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.extension:context.​value[x] Base required Context Codes 📦1.3.0 This IG
MedicationRequest.extension:generatedDosageInstructionsMeta.​extension:language.value[x]:valueCode Base required All Languages 📦4.0.1 FHIR Std.
MedicationRequest.extension:originMedication.​value[x].identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.extension:originMedication.​value[x].identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
MedicationRequest.identifier:MedicationPlanIdentifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.identifier:MedicationPlanIdentifier.​type Base extensible IdentifierType 📦4.0.1 FHIR Std.
MedicationRequest.status Base required eMP MedicationRequest Status Value Set 📦1.3.0 This IG
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.medication[x].​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.medication[x].​identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
MedicationRequest.reasonCode.​coding:icd-10-gm.extension:Mehrfachcodierungs-Kennzeichen.​value[x] Base required Mehrfachkodierungs-Kennzeichen ICD10GM ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
MedicationRequest.reasonCode.​coding:icd-10-gm.extension:Seitenlokalisation.​value[x] Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_SEITENLOKALISATION Not State Unknown
MedicationRequest.reasonCode.​coding:icd-10-gm.extension:Diagnosesicherheit.​value[x] Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_DIAGNOSESICHERHEIT Not State Unknown
MedicationRequest.dosageInstruction.​doseAndRate.dose[x]:doseQuantity Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT Not State Unknown

Constraints

Id Grade Path(s) Description Expression
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.extension:effectiveDosePeriod.value[x].start, MedicationRequest.extension:effectiveDosePeriod.value[x].end, 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)))?$')
epa-no-history-reference error MedicationRequest.extension:activity.extension:reference Die Referenz darf keine History-Referenz enthalten ('/_history/' ist nicht erlaubt). value.where($this is Reference).reference.exists() implies value.where($this is Reference).reference.contains('/_history/').not()
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
icd-4 warning MedicationRequest.reasonCode.coding:icd-10-gm.extension:Diagnosesicherheit.value[x] Wenn die Diagnosesicherheit "A (Ausschluss)" verwendet wird, dann muss clinicalStatus leer bleiben und verificationStaus auf "refuted" gesetzt werden. code!='A' or (%resource.verificationStatus.coding.where(code='refuted').exists() and %resource.clinicalStatus.empty())
icd-5 warning MedicationRequest.reasonCode.coding:icd-10-gm.extension:Diagnosesicherheit.value[x] Wenn die Diagnosesicherheit "G (Gesichert)" verwendet wird, dann muss clinicalStatus auf "active" und verificationStatus auf "confirmed" gesetzt werden. code!='G' or (%resource.clinicalStatus.coding.where(code='active').exists() and %resource.verificationStatus.coding.where(code='confirmed').exists())
icd-6 warning MedicationRequest.reasonCode.coding:icd-10-gm.extension:Diagnosesicherheit.value[x] Wenn die Diagnosesicherheit "V (Verdacht auf)" verwendet wird, dann muss clinicalStatus auf "active" und verificationStatus auf "provisional" oder "differential" gesetzt werden. code!='V' or (%resource.clinicalStatus.coding.where(code='active').exists() and (%resource.verificationStatus.coding.where(code='provisional').exists() or %resource.verificationStatus.coding.where(code='differential').exists()))
icd-7 warning MedicationRequest.reasonCode.coding:icd-10-gm.extension:Diagnosesicherheit.value[x] Wenn die Diagnosesicherheit "Z (Zustand nach)" verwendet wird, dann muss clinicalStatus auf "resolved" und verificationStatus auf "confirmed" gesetzt werden. code!='Z' or (%resource.clinicalStatus.coding.where(code='resolved').exists() and %resource.verificationStatus.coding.where(code='confirmed').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})?$')
qty-3 error MedicationRequest.dosageInstruction.doseAndRate.dose[x] If a code for the unit is present, the system SHALL also be present code.empty() or system.exists()
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'))
sqty-1 error MedicationRequest.dosageInstruction.doseAndRate.dose[x] The comparator is not used on a SimpleQuantity comparator.empty()

This structure is derived from MedicationRequest

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
... meta S 0..1 Meta Metadata about the resource
.... versionId S 0..1 id Version specific identifier
.... lastUpdated S 0..1 instant When the resource version last changed
... extension 1..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:context S 1..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
..... url S 1..1 uri identifies the meaning of the extension
..... value[x] S 1..1 code Context of the resource
Required Pattern: EMP
.... extension:activity S 0..* (Complex) Aktivität die zu diesem Planelement gehört
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension
..... Slices for extension Content/Rules for all slices
...... extension:reference S 1..1 Extension Extension
....... url S 1..1 uri identifies the meaning of the extension
....... value[x] S 1..1 Reference(EPA MedicationStatement) Referenz zu der Resource, die aus der Aktivität resultiert
...... extension:addedOn S 1..1 Extension Extension
....... url S 1..1 uri identifies the meaning of the extension
....... value[x] S 1..1 dateTime Zeitpunkt, zu dem diese Referenz in den eMP-Eintrag aufgenommen wurde
.... extension:reasonPatientInstruction S 0..1 (Complex) Patientenlesbarer Grund für den Planungseintrag
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension
..... url S 1..1 uri identifies the meaning of the extension
..... value[x] S 1..1 string Reason
.... extension:patientNote S 0..1 (Complex) Hinweis für den Patienten
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension
..... url S 1..1 uri identifies the meaning of the extension
..... value[x] S 1..1 Annotation Hinweis für den Patienten
.... extension:effectiveDosePeriod S 0..1 (Complex) Zeitraum, in dem die Medikation eingenommen werden soll.
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod
..... value[x]
...... start SC 0..1 dateTime Starting time with inclusive boundary
Constraints: epa-datetime
...... end SC 0..1 dateTime End time with inclusive boundary, if not ongoing
Constraints: epa-datetime
.... extension:renderedDosageInstruction S 0..1 (Complex) Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction
..... url S 1..1 uri identifies the meaning of the extension
..... value[x] S 1..1 markdown Value of extension
.... extension:generatedDosageInstructionsMeta S 0..1 (Complex) Metadaten zu den generierten Dosierungsanweisungen
URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
..... Slices for extension Content/Rules for all slices
...... extension:language 1..1 Extension Extension
....... url S 1..1 uri identifies the meaning of the extension
...... extension:algorithmVersion 1..1 Extension Extension
....... url S 1..1 uri identifies the meaning of the extension
..... url S 1..1 uri identifies the meaning of the extension
.... extension:originMedication S 0..1 (Complex) Referenz auf die Ursprungs-Medication (Basis des eMP-Eintrags)
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-origin-medication-extension
..... value[x] S 1..1 Reference(Medication) Referenz auf die Ursprungs-Medication (Basis des eMP-Eintrags)
...... reference S 0..1 string Literal reference, Relative, internal or absolute URL
...... identifier S 0..1 Identifier Logical reference, when literal reference is not known
....... type S 0..1 CodeableConcept Description of identifier
........ coding S 0..* Coding Code defined by a terminology system
......... system S 0..1 uri Identity of the terminology system
......... version S 0..1 string Version of the system - if relevant
......... code S 0..1 code Symbol in syntax defined by the system
......... display S 0..1 string Representation defined by the system
....... system S 0..1 uri The namespace for the identifier value
....... value S 0..1 string The value that is unique
...... display S 0..1 string Text alternative for the resource
.... identifier:MedicationPlanIdentifier S 0..1 MedicationPlanIdentifier External ids for this request
Required Pattern: At least the following
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/sid/emp-identifier
..... type S 0..1 CodeableConcept Description of identifier
...... coding S 0..* Coding Code defined by a terminology system
....... system S 0..1 uri Identity of the terminology system
....... version S 0..1 string Version of the system - if relevant
....... code S 0..1 code Symbol in syntax defined by the system
....... display S 0..1 string Representation defined by the system
... status S 1..1 code active | on-hold | completed | entered-in-error | stopped
Binding: eMP MedicationRequest Status Value Set (required)
... intent 1..1 code plan
Required Pattern: plan
... medication[x] S 1..1 Reference(EPA Medication | eMP Medication) Arzneimittel, welches geplant wird
.... reference S 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier S 0..1 Identifier Logical reference, when literal reference is not known
..... type S 0..1 CodeableConcept Description of identifier
...... coding S 0..* Coding Code defined by a terminology system
....... system S 0..1 uri Identity of the terminology system
....... version S 0..1 string Version of the system - if relevant
....... code S 0..1 code Symbol in syntax defined by the system
....... display S 0..1 string Representation defined by the system
..... system S 0..1 uri The namespace for the identifier value
..... value S 0..1 string The value that is unique
.... display S 0..1 string Text alternative for the resource
... subject S 1..1 Reference(Patient) Who or group medication request is for
.... identifier S 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
... authoredOn SC 1..1 dateTime When request was initially authored
Constraints: epa-datetime
... reasonCode S 0..1 CodeableConcept Reason or indication for ordering or not ordering the medication
.... Slices for coding S 0..* Coding Code defined by a terminology system
Slice: Unordered, Closed by pattern:$this
..... coding:icd-10-gm S 0..1 CodingICD10GM Code defined by a terminology system
Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm
...... Slices for extension Content/Rules for all slices
....... extension:Mehrfachcodierungs-Kennzeichen S 0..1 ExtensionMehrfachcodierungKennzeichen Optional Extensions Element
........ url S 1..1 uri identifies the meaning of the extension
........ value[x] S 1..1 Coding Value of extension
......... system S 1..1 uri Identity of the terminology system
......... version S 0..1 string Version of the system - if relevant
......... code S 1..1 code Symbol in syntax defined by the system
......... display S 0..1 string Representation defined by the system
....... extension:Seitenlokalisation S 0..1 ExtensionSeitenlokalisation Optional Extensions Element
........ url S 1..1 uri identifies the meaning of the extension
........ value[x] S 1..1 Coding Value of extension
......... system S 1..1 uri Identity of the terminology system
......... version S 0..1 string Version of the system - if relevant
......... code S 1..1 code Symbol in syntax defined by the system
......... display S 0..1 string Representation defined by the system
....... extension:Diagnosesicherheit S 0..1 ExtensionICD10GMDiagnosesicherheit Optional Extensions Element
........ url S 1..1 uri identifies the meaning of the extension
........ value[x] S 1..1 Coding Value of extension
......... system S 0..1 uri Identity of the terminology system
......... version S 0..1 string Version of the system - if relevant
......... code S 0..1 code Symbol in syntax defined by the system
......... display S 0..1 string Representation defined by the system
...... system S 1..1 uri Canonische CodeSystem URL für ICD-10-GM
...... version S 1..1 string Die Jahresversion von ICD-10-GM. Angegeben wird immer die vierstellige Jahreszahl (z.B. "2017")
...... code S 1..1 code Der ICD-10-Code
...... display S 1..1 string Representation defined by the system
... note S 0..1 Annotation Zusätzliche Informationen durch einen Leistungserbringenden
.... time S 0..1 dateTime When the annotation was made
.... text S 1..1 markdown The annotation - text content (as markdown)
... dosageInstruction S 1..* DosageDgMP Hier werden Informationen zur Dosierung angegeben.
.... doseAndRate
..... dose[x] S 0..1 SimpleQuantity A fixed quantity (no comparator)
..... Slices for dose[x] Content/Rules for all slices
...... dose[x]:doseQuantity 0..1 SimpleQuantity Menge des Medikaments pro Dosis
....... value S 0..1 decimal Numerical value (with implicit precision)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationRequest.status Base required eMP MedicationRequest Status Value Set 📦1.3.0 This IG

Constraints

Id Grade Path(s) Description Expression
epa-datetime error MedicationRequest.extension:effectiveDosePeriod.value[x].start, MedicationRequest.extension:effectiveDosePeriod.value[x].end, 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)))?$')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
... id Σ 0..1 id Logical id of this artifact
... meta SΣ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId SΣ 0..1 id Version specific identifier
.... lastUpdated SΣ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 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".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:context S 1..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url S 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension"
..... value[x] S 1..1 code Context of the resource
Binding: Context Codes (required)
Required Pattern: EMP
.... extension:activity S 0..* (Complex) Aktivität die zu diesem Planelement gehört
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Closed by value:url
...... extension:reference SC 1..1 Extension Extension
Constraints: epa-no-history-reference
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url S 1..1 uri "reference"
....... value[x] S 1..1 Reference(EPA MedicationStatement) Referenz zu der Resource, die aus der Aktivität resultiert
...... extension:addedOn S 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url S 1..1 uri "addedOn"
....... value[x] S 1..1 dateTime Zeitpunkt, zu dem diese Referenz in den eMP-Eintrag aufgenommen wurde
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension"
.... extension:reasonPatientInstruction S 0..1 (Complex) Patientenlesbarer Grund für den Planungseintrag
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url S 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension"
..... value[x] S 1..1 string Reason
.... extension:patientNote S 0..1 (Complex) Hinweis für den Patienten
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url S 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension"
..... value[x] S 1..1 Annotation Hinweis für den Patienten
.... extension:effectiveDosePeriod S 0..1 (Complex) Zeitraum, in dem die Medikation eingenommen werden soll.
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod"
..... value[x] 1..1 Period Value of extension
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... start SΣC 0..1 dateTime Starting time with inclusive boundary
Constraints: epa-datetime
...... end SΣC 0..1 dateTime End time with inclusive boundary, if not ongoing
Constraints: epa-datetime
.... extension:renderedDosageInstruction S 0..1 (Complex) Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url S 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction"
..... value[x] S 1..1 markdown Value of extension
.... extension:generatedDosageInstructionsMeta S 0..1 (Complex) Metadaten zu den generierten Dosierungsanweisungen
URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 2..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... extension:language S 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url S 1..1 uri "language"
....... Slices for value[x] 1..1 Value of extension
Slice: Unordered, Open by type:$this
........ valueBase64Binary base64Binary
........ valueBoolean boolean
........ valueCanonical canonical(Any)
........ valueCode code
........ valueDate date
........ valueDateTime dateTime
........ valueDecimal decimal
........ valueId id
........ valueInstant instant
........ valueInteger integer
........ valueMarkdown markdown
........ valueOid oid
........ valuePositiveInt positiveInt
........ valueString string
........ valueTime time
........ valueUnsignedInt unsignedInt
........ valueUri uri
........ valueUrl url
........ valueUuid uuid
........ valueAddress Address
........ valueAge Age
........ valueAnnotation Annotation
........ valueAttachment Attachment
........ valueCodeableConcept CodeableConcept
........ valueCoding Coding
........ valueContactPoint ContactPoint
........ valueCount Count
........ valueDistance Distance
........ valueDuration Duration
........ valueHumanName HumanName
........ valueIdentifier Identifier
........ valueMoney Money
........ valuePeriod Period
........ valueQuantity Quantity
........ valueRange Range
........ valueRatio Ratio
........ valueReference Reference(Any)
........ valueSampledData SampledData
........ valueSignature Signature
........ valueTiming Timing
........ valueContactDetail ContactDetail
........ valueContributor Contributor
........ valueDataRequirement DataRequirement
........ valueExpression Expression
........ valueParameterDefinition ParameterDefinition
........ valueRelatedArtifact RelatedArtifact
........ valueTriggerDefinition TriggerDefinition
........ valueUsageContext UsageContext
........ valueDosage Dosage
........ valueMeta Meta
........ value[x]:valueCode S 1..1 code Value of extension
Binding: AllLanguages (required)
...... extension:algorithmVersion S 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url S 1..1 uri "algorithmVersion"
....... Slices for value[x] 1..1 Value of extension
Slice: Unordered, Open by type:$this
........ valueBase64Binary base64Binary
........ valueBoolean boolean
........ valueCanonical canonical(Any)
........ valueCode code
........ valueDate date
........ valueDateTime dateTime
........ valueDecimal decimal
........ valueId id
........ valueInstant instant
........ valueInteger integer
........ valueMarkdown markdown
........ valueOid oid
........ valuePositiveInt positiveInt
........ valueString string
........ valueTime time
........ valueUnsignedInt unsignedInt
........ valueUri uri
........ valueUrl url
........ valueUuid uuid
........ valueAddress Address
........ valueAge Age
........ valueAnnotation Annotation
........ valueAttachment Attachment
........ valueCodeableConcept CodeableConcept
........ valueCoding Coding
........ valueContactPoint ContactPoint
........ valueCount Count
........ valueDistance Distance
........ valueDuration Duration
........ valueHumanName HumanName
........ valueIdentifier Identifier
........ valueMoney Money
........ valuePeriod Period
........ valueQuantity Quantity
........ valueRange Range
........ valueRatio Ratio
........ valueReference Reference(Any)
........ valueSampledData SampledData
........ valueSignature Signature
........ valueTiming Timing
........ valueContactDetail ContactDetail
........ valueContributor Contributor
........ valueDataRequirement DataRequirement
........ valueExpression Expression
........ valueParameterDefinition ParameterDefinition
........ valueRelatedArtifact RelatedArtifact
........ valueTriggerDefinition TriggerDefinition
........ valueUsageContext UsageContext
........ valueDosage Dosage
........ valueMeta Meta
........ value[x]:valueString S 1..1 string Value of extension
..... url S 1..1 uri "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta"
.... extension:originMedication S 0..1 (Complex) Referenz auf die Ursprungs-Medication (Basis des eMP-Eintrags)
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-origin-medication-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-origin-medication-extension"
..... value[x] S 1..1 Reference(Medication) Referenz auf die Ursprungs-Medication (Basis des eMP-Eintrags)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
...... type Σ 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).
...... identifier SΣ 0..1 Identifier Logical reference, when literal reference is not known
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
....... type SΣ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ coding SΣ 0..* Coding Code defined by a terminology system
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
......... system SΣ 0..1 uri Identity of the terminology system
......... version SΣ 0..1 string Version of the system - if relevant
......... code SΣ 0..1 code Symbol in syntax defined by the system
......... display SΣ 0..1 string Representation defined by the system
......... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
........ text Σ 0..1 string Plain text representation of the concept
....... system SΣ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
....... value SΣ 0..1 string The value that is unique
Example General: 123456
....... period ΣC 0..1 Period Time period when id is/was valid for use
Constraints: per-1
....... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
Constraints: ref-1
...... display SΣ 0..1 string Text alternative for the resource
... modifierExtension ?! 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
.... identifier:MedicationPlanIdentifier S 0..1 MedicationPlanIdentifier External ids for this request

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... use 0..1 code usual | official | temp | secondary | old (If known)
..... type 0..1 CodeableConcept Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/sid/emp-identifier
..... value 0..1 string The value that is unique
..... period 0..1 Period Time period when id is/was valid for use
..... assigner 0..1 Reference(Organization) Organization that issued id (may be just text)
..... extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code official
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Fixed Value: official
..... type SΣ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding SΣ 0..* Coding Code defined by a terminology system
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system SΣ 0..1 uri Identity of the terminology system
....... version SΣ 0..1 string Version of the system - if relevant
....... code SΣ 0..1 code Symbol in syntax defined by the system
....... display SΣ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system SΣ 1..1 uri The namespace for the identifier value
Required Pattern: https://gematik.de/fhir/sid/emp-identifier
..... value SΣ 1..1 string Der eindeutige Identifikationswert
Example General: 123456
Example General: 687512ce-744c-8001-83c3-238227110dd6
... status ?!SΣ 1..1 code active | on-hold | completed | entered-in-error | stopped
Binding: eMP MedicationRequest Status Value Set (required)
... statusReason 0..1 CodeableConcept Reason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
... intent ?!Σ 1..1 code plan
Binding: medicationRequest Intent (required): The kind of medication order.
Required Pattern: plan
... category 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.
... priority Σ 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... reported[x] Σ 0..1 Reported rather than primary record
.... reportedBoolean boolean
.... reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... medication[x] SΣ 1..1 Reference(EPA Medication | eMP Medication) Arzneimittel, welches geplant wird
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 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).
.... identifier SΣ 0..1 Identifier Logical reference, when literal reference is not known
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type SΣ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding SΣ 0..* Coding Code defined by a terminology system
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system SΣ 0..1 uri Identity of the terminology system
....... version SΣ 0..1 string Version of the system - if relevant
....... code SΣ 0..1 code Symbol in syntax defined by the system
....... display SΣ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system SΣ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value SΣ 0..1 string The value that is unique
Example General: 123456
..... period ΣC 0..1 Period Time period when id is/was valid for use
Constraints: per-1
..... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
Constraints: ref-1
.... display SΣ 0..1 string Text alternative for the resource
... subject SΣC 1..1 Reference(Patient) Who or group medication request is for
Constraints: ref-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 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
.... type Σ 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).
.... identifier SΣ 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter C 0..1 Reference(Encounter) Encounter created as part of encounter/admission/stay
Constraints: ref-1
... supportingInformation C 0..* Reference(Resource) Information to support ordering of the medication
Constraints: ref-1
... authoredOn 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
Constraints: ref-1
... performer C 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) Intended performer of administration
Constraints: ref-1
... performerType Σ 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.
... recorder C 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
Constraints: ref-1
... reasonCode 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.
.... id 0..1 string Unique id for inter-element referencing
.... extension 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
..... coding:icd-10-gm SΣ 0..1 CodingICD10GM Code defined by a terminology system

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 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
....... extension:Mehrfachcodierungs-Kennzeichen S 0..1 (Complex) Optional Extensions Element
URL: http://fhir.de/StructureDefinition/icd-10-gm-mehrfachcodierungs-kennzeichen
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url S 1..1 uri "http://fhir.de/StructureDefinition/icd-10-gm-mehrfachcodierungs-kennzeichen"
........ value[x] S 1..1 Coding Value of extension
Binding: Mehrfachkodierungs-Kennzeichen ICD10GM ValueSet (required)
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
......... system SΣ 1..1 uri Identity of the terminology system
......... version SΣ 0..1 string Version of the system - if relevant
......... code SΣ 1..1 code Symbol in syntax defined by the system
......... display SΣ 0..1 string Representation defined by the system
......... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
....... extension:Seitenlokalisation S 0..1 (Complex) Optional Extensions Element
URL: http://fhir.de/StructureDefinition/seitenlokalisation
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url S 1..1 uri "http://fhir.de/StructureDefinition/seitenlokalisation"
........ value[x] S 1..1 Coding Value of extension
Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_SEITENLOKALISATION (required)
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
......... system SΣ 1..1 uri Identity of the terminology system
......... version SΣ 0..1 string Version of the system - if relevant
......... code SΣ 1..1 code Symbol in syntax defined by the system
......... display SΣ 0..1 string Representation defined by the system
......... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
....... extension:Diagnosesicherheit S 0..1 (Complex) Optional Extensions Element
URL: http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url S 1..1 uri "http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit"
........ value[x] SC 1..1 Coding Value of extension
Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_DIAGNOSESICHERHEIT (required)
Constraints: icd-4, icd-5, icd-6, icd-7
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
......... system SΣ 0..1 uri Identity of the terminology system
......... version SΣ 0..1 string Version of the system - if relevant
......... code SΣ 0..1 code Symbol in syntax defined by the system
......... display SΣ 0..1 string Representation defined by the system
......... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... system SΣ 1..1 uri Canonische CodeSystem URL für ICD-10-GM
Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm
...... version SΣ 1..1 string Die Jahresversion von ICD-10-GM. Angegeben wird immer die vierstellige Jahreszahl (z.B. "2017")
...... code SΣC 1..1 code Der ICD-10-Code
Constraints: icd-regex
Example Einfacher ICD-Code: F17.4
...... display SΣ 1..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 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
Constraints: ref-1
... instantiatesCanonical Σ 0..* canonical() Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn ΣC 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) What request fulfills
Constraints: ref-1
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... courseOfTherapyType 0..1 CodeableConcept Overall pattern of medication administration
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.
... insurance C 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
Constraints: ref-1
... note S 0..1 Annotation Zusätzliche Informationen durch einen Leistungserbringenden
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time SΣ 0..1 dateTime When the annotation was made
.... text SΣ 1..1 markdown The annotation - text content (as markdown)
... dosageInstruction S 1..* DosageDgMP Hier werden Informationen zur Dosierung angegeben.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... text SΣ 0..1 string Freitext-Dosierungsanweisungen, z. B. 'Maximal 3x täglich 1 Stück bei Bedarf'
.... timing SΣ 0..1 TimingDgMP A timing schedule that specifies an event that may occur multiple times
.... doseAndRate SΣ 0..1 Element Menge des verabreichten Medikaments
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for dose[x] SΣC 0..1 SimpleQuantity A fixed quantity (no comparator)
Slice: Unordered, Closed by type:$this
Constraints: qty-3, sqty-1
...... dose[x]:doseQuantity SΣ 0..1 SimpleQuantity Menge des Medikaments pro Dosis
Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT (required)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... value SΣ 0..1 decimal Numerical value (with implicit precision)
....... unit SΣ 1..1 string Unit representation
....... system SΣC 1..1 uri System that defines coded unit form
....... code SΣ 1..1 code Coded form of the unit
... dispenseRequest 0..1 BackboneElement Medication supply authorization
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... initialFill 0..1 BackboneElement First fill details
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... quantity C 0..1 SimpleQuantity(4.0.1) First fill quantity
Constraints: qty-3, sqty-1
..... duration C 0..1 Duration First fill duration
Constraints: drt-1, qty-3
.... dispenseInterval C 0..1 Duration Minimum period of time between dispenses
Constraints: drt-1, qty-3
.... validityPeriod C 0..1 Period Time period supply is authorized for
Constraints: per-1
.... numberOfRepeatsAllowed 0..1 unsignedInt Number of refills authorized
.... quantity C 0..1 SimpleQuantity(4.0.1) Amount of medication to supply per dispense
Constraints: qty-3, sqty-1
.... expectedSupplyDuration C 0..1 Duration Number of days supply per dispense
Constraints: drt-1, qty-3
.... performer C 0..1 Reference(Organization) Intended dispenser
Constraints: ref-1
... substitution 0..1 BackboneElement Any restrictions on medication substitution
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... allowed[x] 1..1 Whether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.
..... allowedBoolean boolean
..... allowedCodeableConcept CodeableConcept
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (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
Constraints: ref-1
... detectedIssue C 0..* Reference(DetectedIssue) Clinical Issue with action
Constraints: ref-1
... eventHistory C 0..* Reference(Provenance) A list of events of interest in the lifecycle
Constraints: ref-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
MedicationRequest.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
MedicationRequest.language Base preferred Common Languages 📍4.0.1 FHIR Std.
MedicationRequest.extension:context.​value[x] Base required Context Codes 📦1.3.0 This IG
MedicationRequest.extension:generatedDosageInstructionsMeta.​extension:language.value[x]:valueCode Base required All Languages 📦4.0.1 FHIR Std.
MedicationRequest.extension:originMedication.​value[x].type Base extensible ResourceType 📍4.0.1 FHIR Std.
MedicationRequest.extension:originMedication.​value[x].identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.extension:originMedication.​value[x].identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
MedicationRequest.identifier:MedicationPlanIdentifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.identifier:MedicationPlanIdentifier.​type Base extensible IdentifierType 📦4.0.1 FHIR Std.
MedicationRequest.status Base required eMP MedicationRequest Status Value Set 📦1.3.0 This IG
MedicationRequest.statusReason Base example Medication request status reason codes 📍4.0.1 FHIR Std.
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.category Base example Medication request category codes 📍4.0.1 FHIR Std.
MedicationRequest.priority Base required Request priority 📍4.0.1 FHIR Std.
MedicationRequest.medication[x].​type Base extensible ResourceType 📍4.0.1 FHIR Std.
MedicationRequest.medication[x].​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.medication[x].​identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
MedicationRequest.subject.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
MedicationRequest.performerType Base example Procedure Performer Role Codes 📍4.0.1 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
MedicationRequest.reasonCode.​coding:icd-10-gm.extension:Mehrfachcodierungs-Kennzeichen.​value[x] Base required Mehrfachkodierungs-Kennzeichen ICD10GM ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
MedicationRequest.reasonCode.​coding:icd-10-gm.extension:Seitenlokalisation.​value[x] Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_SEITENLOKALISATION Not State Unknown
MedicationRequest.reasonCode.​coding:icd-10-gm.extension:Diagnosesicherheit.​value[x] Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_DIAGNOSESICHERHEIT Not State Unknown
MedicationRequest.courseOfTherapyType Base example Medication request course of therapy codes 📍4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​doseAndRate.dose[x]:doseQuantity Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT Not State Unknown
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📦3.0.0 THO v7.1
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📦3.0.0 THO v7.1

Constraints

Id Grade Path(s) Description Expression
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.extension:effectiveDosePeriod.value[x].start, MedicationRequest.extension:effectiveDosePeriod.value[x].end, 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)))?$')
epa-no-history-reference error MedicationRequest.extension:activity.extension:reference Die Referenz darf keine History-Referenz enthalten ('/_history/' ist nicht erlaubt). value.where($this is Reference).reference.exists() implies value.where($this is Reference).reference.contains('/_history/').not()
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
icd-4 warning MedicationRequest.reasonCode.coding:icd-10-gm.extension:Diagnosesicherheit.value[x] Wenn die Diagnosesicherheit "A (Ausschluss)" verwendet wird, dann muss clinicalStatus leer bleiben und verificationStaus auf "refuted" gesetzt werden. code!='A' or (%resource.verificationStatus.coding.where(code='refuted').exists() and %resource.clinicalStatus.empty())
icd-5 warning MedicationRequest.reasonCode.coding:icd-10-gm.extension:Diagnosesicherheit.value[x] Wenn die Diagnosesicherheit "G (Gesichert)" verwendet wird, dann muss clinicalStatus auf "active" und verificationStatus auf "confirmed" gesetzt werden. code!='G' or (%resource.clinicalStatus.coding.where(code='active').exists() and %resource.verificationStatus.coding.where(code='confirmed').exists())
icd-6 warning MedicationRequest.reasonCode.coding:icd-10-gm.extension:Diagnosesicherheit.value[x] Wenn die Diagnosesicherheit "V (Verdacht auf)" verwendet wird, dann muss clinicalStatus auf "active" und verificationStatus auf "provisional" oder "differential" gesetzt werden. code!='V' or (%resource.clinicalStatus.coding.where(code='active').exists() and (%resource.verificationStatus.coding.where(code='provisional').exists() or %resource.verificationStatus.coding.where(code='differential').exists()))
icd-7 warning MedicationRequest.reasonCode.coding:icd-10-gm.extension:Diagnosesicherheit.value[x] Wenn die Diagnosesicherheit "Z (Zustand nach)" verwendet wird, dann muss clinicalStatus auf "resolved" und verificationStatus auf "confirmed" gesetzt werden. code!='Z' or (%resource.clinicalStatus.coding.where(code='resolved').exists() and %resource.verificationStatus.coding.where(code='confirmed').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.extension:originMedication.value[x].identifier.period, MedicationRequest.medication[x].identifier.period, 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.dosageInstruction.doseAndRate.dose[x], 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.extension:originMedication.value[x].identifier.assigner, MedicationRequest.medication[x].identifier.assigner, MedicationRequest.subject, MedicationRequest.encounter, MedicationRequest.supportingInformation, MedicationRequest.requester, MedicationRequest.performer, MedicationRequest.recorder, MedicationRequest.reasonReference, MedicationRequest.basedOn, MedicationRequest.insurance, MedicationRequest.dispenseRequest.performer, MedicationRequest.priorPrescription, MedicationRequest.detectedIssue, MedicationRequest.eventHistory 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.dosageInstruction.doseAndRate.dose[x], 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: 5 elements(1 nested mandatory element)
Must-Support: 99 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of MedicationRequest.identifier
  • The element 1 is sliced based on the value of MedicationRequest.reasonCode.coding (Closed)

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
... meta SΣ 0..1 Meta Metadata about the resource
.... versionId SΣ 0..1 id Version specific identifier
.... lastUpdated SΣ 0..1 instant When the resource version last changed
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:context S 1..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url S 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension"
..... value[x] S 1..1 code Context of the resource
Binding: Context Codes (required)
Required Pattern: EMP
.... extension:activity S 0..* (Complex) Aktivität die zu diesem Planelement gehört
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Closed by value:url
...... extension:reference SC 1..1 Extension Extension
Constraints: epa-no-history-reference
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url S 1..1 uri "reference"
....... value[x] S 1..1 Reference(EPA MedicationStatement) Referenz zu der Resource, die aus der Aktivität resultiert
...... extension:addedOn S 1..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url S 1..1 uri "addedOn"
....... value[x] S 1..1 dateTime Zeitpunkt, zu dem diese Referenz in den eMP-Eintrag aufgenommen wurde
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension"
.... extension:reasonPatientInstruction S 0..1 (Complex) Patientenlesbarer Grund für den Planungseintrag
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url S 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension"
..... value[x] S 1..1 string Reason
.... extension:patientNote S 0..1 (Complex) Hinweis für den Patienten
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url S 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension"
..... value[x] S 1..1 Annotation Hinweis für den Patienten
.... extension:effectiveDosePeriod S 0..1 (Complex) Zeitraum, in dem die Medikation eingenommen werden soll.
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod"
..... value[x] 1..1 Period Value of extension
...... start SΣC 0..1 dateTime Starting time with inclusive boundary
Constraints: epa-datetime
...... end SΣC 0..1 dateTime End time with inclusive boundary, if not ongoing
Constraints: epa-datetime
.... extension:renderedDosageInstruction S 0..1 (Complex) Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url S 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction"
..... value[x] S 1..1 markdown Value of extension
.... extension:generatedDosageInstructionsMeta S 0..1 (Complex) Metadaten zu den generierten Dosierungsanweisungen
URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
..... Slices for extension 2..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... extension:language S 1..1 Extension Extension
....... extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url S 1..1 uri "language"
....... Slices for value[x] 1..1 Value of extension
Slice: Unordered, Open by type:$this
........ valueBase64Binary base64Binary
........ valueBoolean boolean
........ valueCanonical canonical(Any)
........ valueCode code
........ valueDate date
........ valueDateTime dateTime
........ valueDecimal decimal
........ valueId id
........ valueInstant instant
........ valueInteger integer
........ valueMarkdown markdown
........ valueOid oid
........ valuePositiveInt positiveInt
........ valueString string
........ valueTime time
........ valueUnsignedInt unsignedInt
........ valueUri uri
........ valueUrl url
........ valueUuid uuid
........ valueAddress Address
........ valueAge Age
........ valueAnnotation Annotation
........ valueAttachment Attachment
........ valueCodeableConcept CodeableConcept
........ valueCoding Coding
........ valueContactPoint ContactPoint
........ valueCount Count
........ valueDistance Distance
........ valueDuration Duration
........ valueHumanName HumanName
........ valueIdentifier Identifier
........ valueMoney Money
........ valuePeriod Period
........ valueQuantity Quantity
........ valueRange Range
........ valueRatio Ratio
........ valueReference Reference(Any)
........ valueSampledData SampledData
........ valueSignature Signature
........ valueTiming Timing
........ valueContactDetail ContactDetail
........ valueContributor Contributor
........ valueDataRequirement DataRequirement
........ valueExpression Expression
........ valueParameterDefinition ParameterDefinition
........ valueRelatedArtifact RelatedArtifact
........ valueTriggerDefinition TriggerDefinition
........ valueUsageContext UsageContext
........ valueDosage Dosage
........ valueMeta Meta
........ value[x]:valueCode S 1..1 code Value of extension
Binding: AllLanguages (required)
...... extension:algorithmVersion S 1..1 Extension Extension
....... extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url S 1..1 uri "algorithmVersion"
....... Slices for value[x] 1..1 Value of extension
Slice: Unordered, Open by type:$this
........ valueBase64Binary base64Binary
........ valueBoolean boolean
........ valueCanonical canonical(Any)
........ valueCode code
........ valueDate date
........ valueDateTime dateTime
........ valueDecimal decimal
........ valueId id
........ valueInstant instant
........ valueInteger integer
........ valueMarkdown markdown
........ valueOid oid
........ valuePositiveInt positiveInt
........ valueString string
........ valueTime time
........ valueUnsignedInt unsignedInt
........ valueUri uri
........ valueUrl url
........ valueUuid uuid
........ valueAddress Address
........ valueAge Age
........ valueAnnotation Annotation
........ valueAttachment Attachment
........ valueCodeableConcept CodeableConcept
........ valueCoding Coding
........ valueContactPoint ContactPoint
........ valueCount Count
........ valueDistance Distance
........ valueDuration Duration
........ valueHumanName HumanName
........ valueIdentifier Identifier
........ valueMoney Money
........ valuePeriod Period
........ valueQuantity Quantity
........ valueRange Range
........ valueRatio Ratio
........ valueReference Reference(Any)
........ valueSampledData SampledData
........ valueSignature Signature
........ valueTiming Timing
........ valueContactDetail ContactDetail
........ valueContributor Contributor
........ valueDataRequirement DataRequirement
........ valueExpression Expression
........ valueParameterDefinition ParameterDefinition
........ valueRelatedArtifact RelatedArtifact
........ valueTriggerDefinition TriggerDefinition
........ valueUsageContext UsageContext
........ valueDosage Dosage
........ valueMeta Meta
........ value[x]:valueString S 1..1 string Value of extension
..... url S 1..1 uri "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta"
.... extension:originMedication S 0..1 (Complex) Referenz auf die Ursprungs-Medication (Basis des eMP-Eintrags)
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-origin-medication-extension
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-origin-medication-extension"
..... value[x] S 1..1 Reference(Medication) Referenz auf die Ursprungs-Medication (Basis des eMP-Eintrags)
...... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
...... identifier SΣ 0..1 Identifier Logical reference, when literal reference is not known
....... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
....... type SΣ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
........ coding SΣ 0..* Coding Code defined by a terminology system
......... system SΣ 0..1 uri Identity of the terminology system
......... version SΣ 0..1 string Version of the system - if relevant
......... code SΣ 0..1 code Symbol in syntax defined by the system
......... display SΣ 0..1 string Representation defined by the system
....... system SΣ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
....... value SΣ 0..1 string The value that is unique
Example General: 123456
...... display SΣ 0..1 string Text alternative for the resource
... Slices for identifier 0..* Identifier External ids for this request
Slice: Unordered, Open by value:$this
.... identifier:MedicationPlanIdentifier S 0..1 MedicationPlanIdentifier External ids for this request

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... use 0..1 code usual | official | temp | secondary | old (If known)
..... type 0..1 CodeableConcept Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/sid/emp-identifier
..... value 0..1 string The value that is unique
..... period 0..1 Period Time period when id is/was valid for use
..... assigner 0..1 Reference(Organization) Organization that issued id (may be just text)
..... extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code official
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Fixed Value: official
..... type SΣ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... coding SΣ 0..* Coding Code defined by a terminology system
....... system SΣ 0..1 uri Identity of the terminology system
....... version SΣ 0..1 string Version of the system - if relevant
....... code SΣ 0..1 code Symbol in syntax defined by the system
....... display SΣ 0..1 string Representation defined by the system
..... system SΣ 1..1 uri The namespace for the identifier value
Required Pattern: https://gematik.de/fhir/sid/emp-identifier
..... value SΣ 1..1 string Der eindeutige Identifikationswert
Example General: 123456
Example General: 687512ce-744c-8001-83c3-238227110dd6
... status ?!SΣ 1..1 code active | on-hold | completed | entered-in-error | stopped
Binding: eMP MedicationRequest Status Value Set (required)
... intent ?!Σ 1..1 code plan
Binding: medicationRequest Intent (required): The kind of medication order.
Required Pattern: plan
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... medication[x] SΣ 1..1 Reference(EPA Medication | eMP Medication) Arzneimittel, welches geplant wird
.... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier SΣ 0..1 Identifier Logical reference, when literal reference is not known
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type SΣ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... coding SΣ 0..* Coding Code defined by a terminology system
....... system SΣ 0..1 uri Identity of the terminology system
....... version SΣ 0..1 string Version of the system - if relevant
....... code SΣ 0..1 code Symbol in syntax defined by the system
....... display SΣ 0..1 string Representation defined by the system
..... system SΣ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value SΣ 0..1 string The value that is unique
Example General: 123456
.... display SΣ 0..1 string Text alternative for the resource
... subject SΣC 1..1 Reference(Patient) Who or group medication request is for
Constraints: ref-1
.... identifier SΣ 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
... authoredOn SΣC 1..1 dateTime When request was initially authored
Constraints: epa-datetime
... reasonCode 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.
.... Slices for coding SΣ 0..* Coding Code defined by a terminology system
Slice: Unordered, Closed by pattern:$this
..... coding:icd-10-gm SΣ 0..1 CodingICD10GM Code defined by a terminology system

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... Slices for extension Content/Rules for all slices
....... extension:Mehrfachcodierungs-Kennzeichen S 0..1 (Complex) Optional Extensions Element
URL: http://fhir.de/StructureDefinition/icd-10-gm-mehrfachcodierungs-kennzeichen
........ extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url S 1..1 uri "http://fhir.de/StructureDefinition/icd-10-gm-mehrfachcodierungs-kennzeichen"
........ value[x] S 1..1 Coding Value of extension
Binding: Mehrfachkodierungs-Kennzeichen ICD10GM ValueSet (required)
......... system SΣ 1..1 uri Identity of the terminology system
......... version SΣ 0..1 string Version of the system - if relevant
......... code SΣ 1..1 code Symbol in syntax defined by the system
......... display SΣ 0..1 string Representation defined by the system
....... extension:Seitenlokalisation S 0..1 (Complex) Optional Extensions Element
URL: http://fhir.de/StructureDefinition/seitenlokalisation
........ extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url S 1..1 uri "http://fhir.de/StructureDefinition/seitenlokalisation"
........ value[x] S 1..1 Coding Value of extension
Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_SEITENLOKALISATION (required)
......... system SΣ 1..1 uri Identity of the terminology system
......... version SΣ 0..1 string Version of the system - if relevant
......... code SΣ 1..1 code Symbol in syntax defined by the system
......... display SΣ 0..1 string Representation defined by the system
....... extension:Diagnosesicherheit S 0..1 (Complex) Optional Extensions Element
URL: http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit
........ extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url S 1..1 uri "http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit"
........ value[x] SC 1..1 Coding Value of extension
Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_DIAGNOSESICHERHEIT (required)
Constraints: icd-4, icd-5, icd-6, icd-7
......... system SΣ 0..1 uri Identity of the terminology system
......... version SΣ 0..1 string Version of the system - if relevant
......... code SΣ 0..1 code Symbol in syntax defined by the system
......... display SΣ 0..1 string Representation defined by the system
...... system SΣ 1..1 uri Canonische CodeSystem URL für ICD-10-GM
Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm
...... version SΣ 1..1 string Die Jahresversion von ICD-10-GM. Angegeben wird immer die vierstellige Jahreszahl (z.B. "2017")
...... code SΣC 1..1 code Der ICD-10-Code
Constraints: icd-regex
Example Einfacher ICD-Code: F17.4
...... display SΣ 1..1 string Representation defined by the system
... note S 0..1 Annotation Zusätzliche Informationen durch einen Leistungserbringenden
.... time SΣ 0..1 dateTime When the annotation was made
.... text SΣ 1..1 markdown The annotation - text content (as markdown)
... dosageInstruction S 1..* DosageDgMP Hier werden Informationen zur Dosierung angegeben.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... text SΣ 0..1 string Freitext-Dosierungsanweisungen, z. B. 'Maximal 3x täglich 1 Stück bei Bedarf'
.... timing SΣ 0..1 TimingDgMP A timing schedule that specifies an event that may occur multiple times
.... doseAndRate SΣ 0..1 Element Menge des verabreichten Medikaments
..... Slices for dose[x] SΣC 0..1 SimpleQuantity A fixed quantity (no comparator)
Slice: Unordered, Closed by type:$this
Constraints: qty-3, sqty-1
...... dose[x]:doseQuantity SΣ 0..1 SimpleQuantity Menge des Medikaments pro Dosis
Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT (required)
....... value SΣ 0..1 decimal Numerical value (with implicit precision)
....... unit SΣ 1..1 string Unit representation
....... system SΣC 1..1 uri System that defines coded unit form
....... code SΣ 1..1 code Coded form of the unit

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.extension:context.​value[x] Base required Context Codes 📦1.3.0 This IG
MedicationRequest.extension:generatedDosageInstructionsMeta.​extension:language.value[x]:valueCode Base required All Languages 📦4.0.1 FHIR Std.
MedicationRequest.extension:originMedication.​value[x].identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.extension:originMedication.​value[x].identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
MedicationRequest.identifier:MedicationPlanIdentifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.identifier:MedicationPlanIdentifier.​type Base extensible IdentifierType 📦4.0.1 FHIR Std.
MedicationRequest.status Base required eMP MedicationRequest Status Value Set 📦1.3.0 This IG
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.medication[x].​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.medication[x].​identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
MedicationRequest.reasonCode.​coding:icd-10-gm.extension:Mehrfachcodierungs-Kennzeichen.​value[x] Base required Mehrfachkodierungs-Kennzeichen ICD10GM ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
MedicationRequest.reasonCode.​coding:icd-10-gm.extension:Seitenlokalisation.​value[x] Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_SEITENLOKALISATION Not State Unknown
MedicationRequest.reasonCode.​coding:icd-10-gm.extension:Diagnosesicherheit.​value[x] Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_DIAGNOSESICHERHEIT Not State Unknown
MedicationRequest.dosageInstruction.​doseAndRate.dose[x]:doseQuantity Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT Not State Unknown

Constraints

Id Grade Path(s) Description Expression
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.extension:effectiveDosePeriod.value[x].start, MedicationRequest.extension:effectiveDosePeriod.value[x].end, 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)))?$')
epa-no-history-reference error MedicationRequest.extension:activity.extension:reference Die Referenz darf keine History-Referenz enthalten ('/_history/' ist nicht erlaubt). value.where($this is Reference).reference.exists() implies value.where($this is Reference).reference.contains('/_history/').not()
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
icd-4 warning MedicationRequest.reasonCode.coding:icd-10-gm.extension:Diagnosesicherheit.value[x] Wenn die Diagnosesicherheit "A (Ausschluss)" verwendet wird, dann muss clinicalStatus leer bleiben und verificationStaus auf "refuted" gesetzt werden. code!='A' or (%resource.verificationStatus.coding.where(code='refuted').exists() and %resource.clinicalStatus.empty())
icd-5 warning MedicationRequest.reasonCode.coding:icd-10-gm.extension:Diagnosesicherheit.value[x] Wenn die Diagnosesicherheit "G (Gesichert)" verwendet wird, dann muss clinicalStatus auf "active" und verificationStatus auf "confirmed" gesetzt werden. code!='G' or (%resource.clinicalStatus.coding.where(code='active').exists() and %resource.verificationStatus.coding.where(code='confirmed').exists())
icd-6 warning MedicationRequest.reasonCode.coding:icd-10-gm.extension:Diagnosesicherheit.value[x] Wenn die Diagnosesicherheit "V (Verdacht auf)" verwendet wird, dann muss clinicalStatus auf "active" und verificationStatus auf "provisional" oder "differential" gesetzt werden. code!='V' or (%resource.clinicalStatus.coding.where(code='active').exists() and (%resource.verificationStatus.coding.where(code='provisional').exists() or %resource.verificationStatus.coding.where(code='differential').exists()))
icd-7 warning MedicationRequest.reasonCode.coding:icd-10-gm.extension:Diagnosesicherheit.value[x] Wenn die Diagnosesicherheit "Z (Zustand nach)" verwendet wird, dann muss clinicalStatus auf "resolved" und verificationStatus auf "confirmed" gesetzt werden. code!='Z' or (%resource.clinicalStatus.coding.where(code='resolved').exists() and %resource.verificationStatus.coding.where(code='confirmed').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})?$')
qty-3 error MedicationRequest.dosageInstruction.doseAndRate.dose[x] If a code for the unit is present, the system SHALL also be present code.empty() or system.exists()
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'))
sqty-1 error MedicationRequest.dosageInstruction.doseAndRate.dose[x] The comparator is not used on a SimpleQuantity comparator.empty()

Differential View

This structure is derived from MedicationRequest

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
... meta S 0..1 Meta Metadata about the resource
.... versionId S 0..1 id Version specific identifier
.... lastUpdated S 0..1 instant When the resource version last changed
... extension 1..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:context S 1..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
..... url S 1..1 uri identifies the meaning of the extension
..... value[x] S 1..1 code Context of the resource
Required Pattern: EMP
.... extension:activity S 0..* (Complex) Aktivität die zu diesem Planelement gehört
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension
..... Slices for extension Content/Rules for all slices
...... extension:reference S 1..1 Extension Extension
....... url S 1..1 uri identifies the meaning of the extension
....... value[x] S 1..1 Reference(EPA MedicationStatement) Referenz zu der Resource, die aus der Aktivität resultiert
...... extension:addedOn S 1..1 Extension Extension
....... url S 1..1 uri identifies the meaning of the extension
....... value[x] S 1..1 dateTime Zeitpunkt, zu dem diese Referenz in den eMP-Eintrag aufgenommen wurde
.... extension:reasonPatientInstruction S 0..1 (Complex) Patientenlesbarer Grund für den Planungseintrag
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension
..... url S 1..1 uri identifies the meaning of the extension
..... value[x] S 1..1 string Reason
.... extension:patientNote S 0..1 (Complex) Hinweis für den Patienten
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension
..... url S 1..1 uri identifies the meaning of the extension
..... value[x] S 1..1 Annotation Hinweis für den Patienten
.... extension:effectiveDosePeriod S 0..1 (Complex) Zeitraum, in dem die Medikation eingenommen werden soll.
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod
..... value[x]
...... start SC 0..1 dateTime Starting time with inclusive boundary
Constraints: epa-datetime
...... end SC 0..1 dateTime End time with inclusive boundary, if not ongoing
Constraints: epa-datetime
.... extension:renderedDosageInstruction S 0..1 (Complex) Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction
..... url S 1..1 uri identifies the meaning of the extension
..... value[x] S 1..1 markdown Value of extension
.... extension:generatedDosageInstructionsMeta S 0..1 (Complex) Metadaten zu den generierten Dosierungsanweisungen
URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
..... Slices for extension Content/Rules for all slices
...... extension:language 1..1 Extension Extension
....... url S 1..1 uri identifies the meaning of the extension
...... extension:algorithmVersion 1..1 Extension Extension
....... url S 1..1 uri identifies the meaning of the extension
..... url S 1..1 uri identifies the meaning of the extension
.... extension:originMedication S 0..1 (Complex) Referenz auf die Ursprungs-Medication (Basis des eMP-Eintrags)
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-origin-medication-extension
..... value[x] S 1..1 Reference(Medication) Referenz auf die Ursprungs-Medication (Basis des eMP-Eintrags)
...... reference S 0..1 string Literal reference, Relative, internal or absolute URL
...... identifier S 0..1 Identifier Logical reference, when literal reference is not known
....... type S 0..1 CodeableConcept Description of identifier
........ coding S 0..* Coding Code defined by a terminology system
......... system S 0..1 uri Identity of the terminology system
......... version S 0..1 string Version of the system - if relevant
......... code S 0..1 code Symbol in syntax defined by the system
......... display S 0..1 string Representation defined by the system
....... system S 0..1 uri The namespace for the identifier value
....... value S 0..1 string The value that is unique
...... display S 0..1 string Text alternative for the resource
.... identifier:MedicationPlanIdentifier S 0..1 MedicationPlanIdentifier External ids for this request
Required Pattern: At least the following
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/sid/emp-identifier
..... type S 0..1 CodeableConcept Description of identifier
...... coding S 0..* Coding Code defined by a terminology system
....... system S 0..1 uri Identity of the terminology system
....... version S 0..1 string Version of the system - if relevant
....... code S 0..1 code Symbol in syntax defined by the system
....... display S 0..1 string Representation defined by the system
... status S 1..1 code active | on-hold | completed | entered-in-error | stopped
Binding: eMP MedicationRequest Status Value Set (required)
... intent 1..1 code plan
Required Pattern: plan
... medication[x] S 1..1 Reference(EPA Medication | eMP Medication) Arzneimittel, welches geplant wird
.... reference S 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier S 0..1 Identifier Logical reference, when literal reference is not known
..... type S 0..1 CodeableConcept Description of identifier
...... coding S 0..* Coding Code defined by a terminology system
....... system S 0..1 uri Identity of the terminology system
....... version S 0..1 string Version of the system - if relevant
....... code S 0..1 code Symbol in syntax defined by the system
....... display S 0..1 string Representation defined by the system
..... system S 0..1 uri The namespace for the identifier value
..... value S 0..1 string The value that is unique
.... display S 0..1 string Text alternative for the resource
... subject S 1..1 Reference(Patient) Who or group medication request is for
.... identifier S 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
... authoredOn SC 1..1 dateTime When request was initially authored
Constraints: epa-datetime
... reasonCode S 0..1 CodeableConcept Reason or indication for ordering or not ordering the medication
.... Slices for coding S 0..* Coding Code defined by a terminology system
Slice: Unordered, Closed by pattern:$this
..... coding:icd-10-gm S 0..1 CodingICD10GM Code defined by a terminology system
Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm
...... Slices for extension Content/Rules for all slices
....... extension:Mehrfachcodierungs-Kennzeichen S 0..1 ExtensionMehrfachcodierungKennzeichen Optional Extensions Element
........ url S 1..1 uri identifies the meaning of the extension
........ value[x] S 1..1 Coding Value of extension
......... system S 1..1 uri Identity of the terminology system
......... version S 0..1 string Version of the system - if relevant
......... code S 1..1 code Symbol in syntax defined by the system
......... display S 0..1 string Representation defined by the system
....... extension:Seitenlokalisation S 0..1 ExtensionSeitenlokalisation Optional Extensions Element
........ url S 1..1 uri identifies the meaning of the extension
........ value[x] S 1..1 Coding Value of extension
......... system S 1..1 uri Identity of the terminology system
......... version S 0..1 string Version of the system - if relevant
......... code S 1..1 code Symbol in syntax defined by the system
......... display S 0..1 string Representation defined by the system
....... extension:Diagnosesicherheit S 0..1 ExtensionICD10GMDiagnosesicherheit Optional Extensions Element
........ url S 1..1 uri identifies the meaning of the extension
........ value[x] S 1..1 Coding Value of extension
......... system S 0..1 uri Identity of the terminology system
......... version S 0..1 string Version of the system - if relevant
......... code S 0..1 code Symbol in syntax defined by the system
......... display S 0..1 string Representation defined by the system
...... system S 1..1 uri Canonische CodeSystem URL für ICD-10-GM
...... version S 1..1 string Die Jahresversion von ICD-10-GM. Angegeben wird immer die vierstellige Jahreszahl (z.B. "2017")
...... code S 1..1 code Der ICD-10-Code
...... display S 1..1 string Representation defined by the system
... note S 0..1 Annotation Zusätzliche Informationen durch einen Leistungserbringenden
.... time S 0..1 dateTime When the annotation was made
.... text S 1..1 markdown The annotation - text content (as markdown)
... dosageInstruction S 1..* DosageDgMP Hier werden Informationen zur Dosierung angegeben.
.... doseAndRate
..... dose[x] S 0..1 SimpleQuantity A fixed quantity (no comparator)
..... Slices for dose[x] Content/Rules for all slices
...... dose[x]:doseQuantity 0..1 SimpleQuantity Menge des Medikaments pro Dosis
....... value S 0..1 decimal Numerical value (with implicit precision)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationRequest.status Base required eMP MedicationRequest Status Value Set 📦1.3.0 This IG

Constraints

Id Grade Path(s) Description Expression
epa-datetime error MedicationRequest.extension:effectiveDosePeriod.value[x].start, MedicationRequest.extension:effectiveDosePeriod.value[x].end, 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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
... id Σ 0..1 id Logical id of this artifact
... meta SΣ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId SΣ 0..1 id Version specific identifier
.... lastUpdated SΣ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 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".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:context S 1..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url S 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension"
..... value[x] S 1..1 code Context of the resource
Binding: Context Codes (required)
Required Pattern: EMP
.... extension:activity S 0..* (Complex) Aktivität die zu diesem Planelement gehört
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Closed by value:url
...... extension:reference SC 1..1 Extension Extension
Constraints: epa-no-history-reference
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url S 1..1 uri "reference"
....... value[x] S 1..1 Reference(EPA MedicationStatement) Referenz zu der Resource, die aus der Aktivität resultiert
...... extension:addedOn S 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url S 1..1 uri "addedOn"
....... value[x] S 1..1 dateTime Zeitpunkt, zu dem diese Referenz in den eMP-Eintrag aufgenommen wurde
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medicationrequest-activity-extension"
.... extension:reasonPatientInstruction S 0..1 (Complex) Patientenlesbarer Grund für den Planungseintrag
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url S 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension"
..... value[x] S 1..1 string Reason
.... extension:patientNote S 0..1 (Complex) Hinweis für den Patienten
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url S 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension"
..... value[x] S 1..1 Annotation Hinweis für den Patienten
.... extension:effectiveDosePeriod S 0..1 (Complex) Zeitraum, in dem die Medikation eingenommen werden soll.
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod"
..... value[x] 1..1 Period Value of extension
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... start SΣC 0..1 dateTime Starting time with inclusive boundary
Constraints: epa-datetime
...... end SΣC 0..1 dateTime End time with inclusive boundary, if not ongoing
Constraints: epa-datetime
.... extension:renderedDosageInstruction S 0..1 (Complex) Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url S 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction"
..... value[x] S 1..1 markdown Value of extension
.... extension:generatedDosageInstructionsMeta S 0..1 (Complex) Metadaten zu den generierten Dosierungsanweisungen
URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 2..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... extension:language S 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url S 1..1 uri "language"
....... Slices for value[x] 1..1 Value of extension
Slice: Unordered, Open by type:$this
........ valueBase64Binary base64Binary
........ valueBoolean boolean
........ valueCanonical canonical(Any)
........ valueCode code
........ valueDate date
........ valueDateTime dateTime
........ valueDecimal decimal
........ valueId id
........ valueInstant instant
........ valueInteger integer
........ valueMarkdown markdown
........ valueOid oid
........ valuePositiveInt positiveInt
........ valueString string
........ valueTime time
........ valueUnsignedInt unsignedInt
........ valueUri uri
........ valueUrl url
........ valueUuid uuid
........ valueAddress Address
........ valueAge Age
........ valueAnnotation Annotation
........ valueAttachment Attachment
........ valueCodeableConcept CodeableConcept
........ valueCoding Coding
........ valueContactPoint ContactPoint
........ valueCount Count
........ valueDistance Distance
........ valueDuration Duration
........ valueHumanName HumanName
........ valueIdentifier Identifier
........ valueMoney Money
........ valuePeriod Period
........ valueQuantity Quantity
........ valueRange Range
........ valueRatio Ratio
........ valueReference Reference(Any)
........ valueSampledData SampledData
........ valueSignature Signature
........ valueTiming Timing
........ valueContactDetail ContactDetail
........ valueContributor Contributor
........ valueDataRequirement DataRequirement
........ valueExpression Expression
........ valueParameterDefinition ParameterDefinition
........ valueRelatedArtifact RelatedArtifact
........ valueTriggerDefinition TriggerDefinition
........ valueUsageContext UsageContext
........ valueDosage Dosage
........ valueMeta Meta
........ value[x]:valueCode S 1..1 code Value of extension
Binding: AllLanguages (required)
...... extension:algorithmVersion S 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url S 1..1 uri "algorithmVersion"
....... Slices for value[x] 1..1 Value of extension
Slice: Unordered, Open by type:$this
........ valueBase64Binary base64Binary
........ valueBoolean boolean
........ valueCanonical canonical(Any)
........ valueCode code
........ valueDate date
........ valueDateTime dateTime
........ valueDecimal decimal
........ valueId id
........ valueInstant instant
........ valueInteger integer
........ valueMarkdown markdown
........ valueOid oid
........ valuePositiveInt positiveInt
........ valueString string
........ valueTime time
........ valueUnsignedInt unsignedInt
........ valueUri uri
........ valueUrl url
........ valueUuid uuid
........ valueAddress Address
........ valueAge Age
........ valueAnnotation Annotation
........ valueAttachment Attachment
........ valueCodeableConcept CodeableConcept
........ valueCoding Coding
........ valueContactPoint ContactPoint
........ valueCount Count
........ valueDistance Distance
........ valueDuration Duration
........ valueHumanName HumanName
........ valueIdentifier Identifier
........ valueMoney Money
........ valuePeriod Period
........ valueQuantity Quantity
........ valueRange Range
........ valueRatio Ratio
........ valueReference Reference(Any)
........ valueSampledData SampledData
........ valueSignature Signature
........ valueTiming Timing
........ valueContactDetail ContactDetail
........ valueContributor Contributor
........ valueDataRequirement DataRequirement
........ valueExpression Expression
........ valueParameterDefinition ParameterDefinition
........ valueRelatedArtifact RelatedArtifact
........ valueTriggerDefinition TriggerDefinition
........ valueUsageContext UsageContext
........ valueDosage Dosage
........ valueMeta Meta
........ value[x]:valueString S 1..1 string Value of extension
..... url S 1..1 uri "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta"
.... extension:originMedication S 0..1 (Complex) Referenz auf die Ursprungs-Medication (Basis des eMP-Eintrags)
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-origin-medication-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-origin-medication-extension"
..... value[x] S 1..1 Reference(Medication) Referenz auf die Ursprungs-Medication (Basis des eMP-Eintrags)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
...... type Σ 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).
...... identifier SΣ 0..1 Identifier Logical reference, when literal reference is not known
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
....... type SΣ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ coding SΣ 0..* Coding Code defined by a terminology system
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
......... system SΣ 0..1 uri Identity of the terminology system
......... version SΣ 0..1 string Version of the system - if relevant
......... code SΣ 0..1 code Symbol in syntax defined by the system
......... display SΣ 0..1 string Representation defined by the system
......... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
........ text Σ 0..1 string Plain text representation of the concept
....... system SΣ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
....... value SΣ 0..1 string The value that is unique
Example General: 123456
....... period ΣC 0..1 Period Time period when id is/was valid for use
Constraints: per-1
....... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
Constraints: ref-1
...... display SΣ 0..1 string Text alternative for the resource
... modifierExtension ?! 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
.... identifier:MedicationPlanIdentifier S 0..1 MedicationPlanIdentifier External ids for this request

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... use 0..1 code usual | official | temp | secondary | old (If known)
..... type 0..1 CodeableConcept Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/sid/emp-identifier
..... value 0..1 string The value that is unique
..... period 0..1 Period Time period when id is/was valid for use
..... assigner 0..1 Reference(Organization) Organization that issued id (may be just text)
..... extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code official
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Fixed Value: official
..... type SΣ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding SΣ 0..* Coding Code defined by a terminology system
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system SΣ 0..1 uri Identity of the terminology system
....... version SΣ 0..1 string Version of the system - if relevant
....... code SΣ 0..1 code Symbol in syntax defined by the system
....... display SΣ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system SΣ 1..1 uri The namespace for the identifier value
Required Pattern: https://gematik.de/fhir/sid/emp-identifier
..... value SΣ 1..1 string Der eindeutige Identifikationswert
Example General: 123456
Example General: 687512ce-744c-8001-83c3-238227110dd6
... status ?!SΣ 1..1 code active | on-hold | completed | entered-in-error | stopped
Binding: eMP MedicationRequest Status Value Set (required)
... statusReason 0..1 CodeableConcept Reason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
... intent ?!Σ 1..1 code plan
Binding: medicationRequest Intent (required): The kind of medication order.
Required Pattern: plan
... category 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.
... priority Σ 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... reported[x] Σ 0..1 Reported rather than primary record
.... reportedBoolean boolean
.... reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... medication[x] SΣ 1..1 Reference(EPA Medication | eMP Medication) Arzneimittel, welches geplant wird
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 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).
.... identifier SΣ 0..1 Identifier Logical reference, when literal reference is not known
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type SΣ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding SΣ 0..* Coding Code defined by a terminology system
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system SΣ 0..1 uri Identity of the terminology system
....... version SΣ 0..1 string Version of the system - if relevant
....... code SΣ 0..1 code Symbol in syntax defined by the system
....... display SΣ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system SΣ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value SΣ 0..1 string The value that is unique
Example General: 123456
..... period ΣC 0..1 Period Time period when id is/was valid for use
Constraints: per-1
..... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
Constraints: ref-1
.... display SΣ 0..1 string Text alternative for the resource
... subject SΣC 1..1 Reference(Patient) Who or group medication request is for
Constraints: ref-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 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
.... type Σ 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).
.... identifier SΣ 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter C 0..1 Reference(Encounter) Encounter created as part of encounter/admission/stay
Constraints: ref-1
... supportingInformation C 0..* Reference(Resource) Information to support ordering of the medication
Constraints: ref-1
... authoredOn 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
Constraints: ref-1
... performer C 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) Intended performer of administration
Constraints: ref-1
... performerType Σ 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.
... recorder C 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
Constraints: ref-1
... reasonCode 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.
.... id 0..1 string Unique id for inter-element referencing
.... extension 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
..... coding:icd-10-gm SΣ 0..1 CodingICD10GM Code defined by a terminology system

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 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
....... extension:Mehrfachcodierungs-Kennzeichen S 0..1 (Complex) Optional Extensions Element
URL: http://fhir.de/StructureDefinition/icd-10-gm-mehrfachcodierungs-kennzeichen
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url S 1..1 uri "http://fhir.de/StructureDefinition/icd-10-gm-mehrfachcodierungs-kennzeichen"
........ value[x] S 1..1 Coding Value of extension
Binding: Mehrfachkodierungs-Kennzeichen ICD10GM ValueSet (required)
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
......... system SΣ 1..1 uri Identity of the terminology system
......... version SΣ 0..1 string Version of the system - if relevant
......... code SΣ 1..1 code Symbol in syntax defined by the system
......... display SΣ 0..1 string Representation defined by the system
......... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
....... extension:Seitenlokalisation S 0..1 (Complex) Optional Extensions Element
URL: http://fhir.de/StructureDefinition/seitenlokalisation
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url S 1..1 uri "http://fhir.de/StructureDefinition/seitenlokalisation"
........ value[x] S 1..1 Coding Value of extension
Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_SEITENLOKALISATION (required)
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
......... system SΣ 1..1 uri Identity of the terminology system
......... version SΣ 0..1 string Version of the system - if relevant
......... code SΣ 1..1 code Symbol in syntax defined by the system
......... display SΣ 0..1 string Representation defined by the system
......... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
....... extension:Diagnosesicherheit S 0..1 (Complex) Optional Extensions Element
URL: http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url S 1..1 uri "http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit"
........ value[x] SC 1..1 Coding Value of extension
Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_DIAGNOSESICHERHEIT (required)
Constraints: icd-4, icd-5, icd-6, icd-7
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
......... system SΣ 0..1 uri Identity of the terminology system
......... version SΣ 0..1 string Version of the system - if relevant
......... code SΣ 0..1 code Symbol in syntax defined by the system
......... display SΣ 0..1 string Representation defined by the system
......... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... system SΣ 1..1 uri Canonische CodeSystem URL für ICD-10-GM
Fixed Value: http://fhir.de/CodeSystem/bfarm/icd-10-gm
...... version SΣ 1..1 string Die Jahresversion von ICD-10-GM. Angegeben wird immer die vierstellige Jahreszahl (z.B. "2017")
...... code SΣC 1..1 code Der ICD-10-Code
Constraints: icd-regex
Example Einfacher ICD-Code: F17.4
...... display SΣ 1..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 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
Constraints: ref-1
... instantiatesCanonical Σ 0..* canonical() Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn ΣC 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) What request fulfills
Constraints: ref-1
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... courseOfTherapyType 0..1 CodeableConcept Overall pattern of medication administration
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.
... insurance C 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
Constraints: ref-1
... note S 0..1 Annotation Zusätzliche Informationen durch einen Leistungserbringenden
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time SΣ 0..1 dateTime When the annotation was made
.... text SΣ 1..1 markdown The annotation - text content (as markdown)
... dosageInstruction S 1..* DosageDgMP Hier werden Informationen zur Dosierung angegeben.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... text SΣ 0..1 string Freitext-Dosierungsanweisungen, z. B. 'Maximal 3x täglich 1 Stück bei Bedarf'
.... timing SΣ 0..1 TimingDgMP A timing schedule that specifies an event that may occur multiple times
.... doseAndRate SΣ 0..1 Element Menge des verabreichten Medikaments
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for dose[x] SΣC 0..1 SimpleQuantity A fixed quantity (no comparator)
Slice: Unordered, Closed by type:$this
Constraints: qty-3, sqty-1
...... dose[x]:doseQuantity SΣ 0..1 SimpleQuantity Menge des Medikaments pro Dosis
Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT (required)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... value SΣ 0..1 decimal Numerical value (with implicit precision)
....... unit SΣ 1..1 string Unit representation
....... system SΣC 1..1 uri System that defines coded unit form
....... code SΣ 1..1 code Coded form of the unit
... dispenseRequest 0..1 BackboneElement Medication supply authorization
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... initialFill 0..1 BackboneElement First fill details
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... quantity C 0..1 SimpleQuantity(4.0.1) First fill quantity
Constraints: qty-3, sqty-1
..... duration C 0..1 Duration First fill duration
Constraints: drt-1, qty-3
.... dispenseInterval C 0..1 Duration Minimum period of time between dispenses
Constraints: drt-1, qty-3
.... validityPeriod C 0..1 Period Time period supply is authorized for
Constraints: per-1
.... numberOfRepeatsAllowed 0..1 unsignedInt Number of refills authorized
.... quantity C 0..1 SimpleQuantity(4.0.1) Amount of medication to supply per dispense
Constraints: qty-3, sqty-1
.... expectedSupplyDuration C 0..1 Duration Number of days supply per dispense
Constraints: drt-1, qty-3
.... performer C 0..1 Reference(Organization) Intended dispenser
Constraints: ref-1
... substitution 0..1 BackboneElement Any restrictions on medication substitution
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... allowed[x] 1..1 Whether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.
..... allowedBoolean boolean
..... allowedCodeableConcept CodeableConcept
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (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
Constraints: ref-1
... detectedIssue C 0..* Reference(DetectedIssue) Clinical Issue with action
Constraints: ref-1
... eventHistory C 0..* Reference(Provenance) A list of events of interest in the lifecycle
Constraints: ref-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
MedicationRequest.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
MedicationRequest.language Base preferred Common Languages 📍4.0.1 FHIR Std.
MedicationRequest.extension:context.​value[x] Base required Context Codes 📦1.3.0 This IG
MedicationRequest.extension:generatedDosageInstructionsMeta.​extension:language.value[x]:valueCode Base required All Languages 📦4.0.1 FHIR Std.
MedicationRequest.extension:originMedication.​value[x].type Base extensible ResourceType 📍4.0.1 FHIR Std.
MedicationRequest.extension:originMedication.​value[x].identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.extension:originMedication.​value[x].identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
MedicationRequest.identifier:MedicationPlanIdentifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.identifier:MedicationPlanIdentifier.​type Base extensible IdentifierType 📦4.0.1 FHIR Std.
MedicationRequest.status Base required eMP MedicationRequest Status Value Set 📦1.3.0 This IG
MedicationRequest.statusReason Base example Medication request status reason codes 📍4.0.1 FHIR Std.
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.category Base example Medication request category codes 📍4.0.1 FHIR Std.
MedicationRequest.priority Base required Request priority 📍4.0.1 FHIR Std.
MedicationRequest.medication[x].​type Base extensible ResourceType 📍4.0.1 FHIR Std.
MedicationRequest.medication[x].​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.medication[x].​identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
MedicationRequest.subject.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
MedicationRequest.performerType Base example Procedure Performer Role Codes 📍4.0.1 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
MedicationRequest.reasonCode.​coding:icd-10-gm.extension:Mehrfachcodierungs-Kennzeichen.​value[x] Base required Mehrfachkodierungs-Kennzeichen ICD10GM ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
MedicationRequest.reasonCode.​coding:icd-10-gm.extension:Seitenlokalisation.​value[x] Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_SEITENLOKALISATION Not State Unknown
MedicationRequest.reasonCode.​coding:icd-10-gm.extension:Diagnosesicherheit.​value[x] Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_DIAGNOSESICHERHEIT Not State Unknown
MedicationRequest.courseOfTherapyType Base example Medication request course of therapy codes 📍4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​doseAndRate.dose[x]:doseQuantity Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT Not State Unknown
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📦3.0.0 THO v7.1
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📦3.0.0 THO v7.1

Constraints

Id Grade Path(s) Description Expression
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.extension:effectiveDosePeriod.value[x].start, MedicationRequest.extension:effectiveDosePeriod.value[x].end, 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)))?$')
epa-no-history-reference error MedicationRequest.extension:activity.extension:reference Die Referenz darf keine History-Referenz enthalten ('/_history/' ist nicht erlaubt). value.where($this is Reference).reference.exists() implies value.where($this is Reference).reference.contains('/_history/').not()
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
icd-4 warning MedicationRequest.reasonCode.coding:icd-10-gm.extension:Diagnosesicherheit.value[x] Wenn die Diagnosesicherheit "A (Ausschluss)" verwendet wird, dann muss clinicalStatus leer bleiben und verificationStaus auf "refuted" gesetzt werden. code!='A' or (%resource.verificationStatus.coding.where(code='refuted').exists() and %resource.clinicalStatus.empty())
icd-5 warning MedicationRequest.reasonCode.coding:icd-10-gm.extension:Diagnosesicherheit.value[x] Wenn die Diagnosesicherheit "G (Gesichert)" verwendet wird, dann muss clinicalStatus auf "active" und verificationStatus auf "confirmed" gesetzt werden. code!='G' or (%resource.clinicalStatus.coding.where(code='active').exists() and %resource.verificationStatus.coding.where(code='confirmed').exists())
icd-6 warning MedicationRequest.reasonCode.coding:icd-10-gm.extension:Diagnosesicherheit.value[x] Wenn die Diagnosesicherheit "V (Verdacht auf)" verwendet wird, dann muss clinicalStatus auf "active" und verificationStatus auf "provisional" oder "differential" gesetzt werden. code!='V' or (%resource.clinicalStatus.coding.where(code='active').exists() and (%resource.verificationStatus.coding.where(code='provisional').exists() or %resource.verificationStatus.coding.where(code='differential').exists()))
icd-7 warning MedicationRequest.reasonCode.coding:icd-10-gm.extension:Diagnosesicherheit.value[x] Wenn die Diagnosesicherheit "Z (Zustand nach)" verwendet wird, dann muss clinicalStatus auf "resolved" und verificationStatus auf "confirmed" gesetzt werden. code!='Z' or (%resource.clinicalStatus.coding.where(code='resolved').exists() and %resource.verificationStatus.coding.where(code='confirmed').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.extension:originMedication.value[x].identifier.period, MedicationRequest.medication[x].identifier.period, 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.dosageInstruction.doseAndRate.dose[x], 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.extension:originMedication.value[x].identifier.assigner, MedicationRequest.medication[x].identifier.assigner, MedicationRequest.subject, MedicationRequest.encounter, MedicationRequest.supportingInformation, MedicationRequest.requester, MedicationRequest.performer, MedicationRequest.recorder, MedicationRequest.reasonReference, MedicationRequest.basedOn, MedicationRequest.insurance, MedicationRequest.dispenseRequest.performer, MedicationRequest.priorPrescription, MedicationRequest.detectedIssue, MedicationRequest.eventHistory 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.dosageInstruction.doseAndRate.dose[x], 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: 5 elements(1 nested mandatory element)
Must-Support: 99 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of MedicationRequest.identifier
  • The element 1 is sliced based on the value of MedicationRequest.reasonCode.coding (Closed)

 

Other representations of profile: CSV, Excel, Schematron