| Official URL: https://gematik.de/fhir/tiflow-bfarm/StructureDefinition/erp-tprescription-medication-request | Version: 2.0.0 | |||
| Active as of 2026-10-02 | Computable Name: ERP_TPrescription_MedicationRequest | |||
Informationen zu einer Verordnung, die ein Arzt im E-T-Rezept angegeben hat.
Folgende Tabelle gibt eine grobe Darstellung des Mappings für dieses Profil:
Titel: E-T-Rezept Structure Map for MedicationRequest
Beschreibung: Mapping-Anweisungen zur Transformation von KBV MedicationRequest zu BfArM T-Prescription MedicationRequest
| Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Transformation & Beschreibung |
|---|---|---|
kbvMedicationRequest.status |
bfarmMedicationRequest.status |
Setzt den Status auf 'completed' für den digitalen Durchschlag (Verschreibung ist bereits abgeschlossen) → setzt Wert 'completed' |
kbvMedicationRequest.intent |
bfarmMedicationRequest.intent |
Setzt den Intent auf 'order' entsprechend der BfArM-Spezifikation für T-Prescription → setzt Wert 'order' |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic] |
bfarmMedicationRequest.extension |
Mappt T-Rezept spezifische Extensions vom KBV- zum BfArM-Format |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic] |
bfarmMedicationRequest.extension.url |
Kopiert teratogene Extensions für T-Rezept Kennzeichnung → setzt URL 'https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension' |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic].extension [Off-Label] |
bfarmMedicationRequest.extension.extension |
Mappt Off-Label Extension → erstellt neues Extension |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic].extension [Off-Label] |
bfarmMedicationRequest.extension.url |
Mappt Off-Label Extension → setzt Wert 'off-label' |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic].extension [Off-Label].value |
bfarmMedicationRequest.extension.extension.value |
Übernimmt den Off-Label Booleschen Wert → übernimmt Wert aus Quellvariable |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic].extension [GebaerfaehigeFrau] |
bfarmMedicationRequest.extension.extension |
Mappt GebaerfaehigeFrau Extension zu childbearing-potential → erstellt neues Extension |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic].extension [GebaerfaehigeFrau] |
bfarmMedicationRequest.extension.url |
Mappt GebaerfaehigeFrau Extension zu childbearing-potential → setzt Wert 'childbearing-potential' |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic].extension [GebaerfaehigeFrau].value |
bfarmMedicationRequest.extension.extension.value |
Übernimmt den Booleschen Wert für childbearing-potential → übernimmt Wert aus Quellvariable |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic].extension [EinhaltungSicherheitsmassnahmen] |
bfarmMedicationRequest.extension.extension |
Mappt EinhaltungSicherheitsmassnahmen Extension zu security-compliance → erstellt neues Extension |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic].extension [EinhaltungSicherheitsmassnahmen] |
bfarmMedicationRequest.extension.url |
Mappt EinhaltungSicherheitsmassnahmen Extension zu security-compliance → setzt Wert 'security-compliance' |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic].extension [EinhaltungSicherheitsmassnahmen].value |
bfarmMedicationRequest.extension.extension.value |
Übernimmt den Booleschen Wert für security-compliance → übernimmt Wert aus Quellvariable |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic].extension [AushaendigungInformationsmaterialien] |
bfarmMedicationRequest.extension.extension |
Mappt AushaendigungInformationsmaterialien Extension zu hand-out-information-material → erstellt neues Extension |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic].extension [AushaendigungInformationsmaterialien] |
bfarmMedicationRequest.extension.url |
Mappt AushaendigungInformationsmaterialien Extension zu hand-out-information-material → setzt Wert 'hand-out-information-material' |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic].extension [AushaendigungInformationsmaterialien].value |
bfarmMedicationRequest.extension.extension.value |
Übernimmt den Booleschen Wert für hand-out-information-material → übernimmt Wert aus Quellvariable |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic].extension [ErklaerungSachkenntnis] |
bfarmMedicationRequest.extension.extension |
Mappt ErklaerungSachkenntnis Extension zu declaration-of-expertise → erstellt neues Extension |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic].extension [ErklaerungSachkenntnis] |
bfarmMedicationRequest.extension.url |
Mappt ErklaerungSachkenntnis Extension zu declaration-of-expertise → setzt Wert 'declaration-of-expertise' |
kbvMedicationRequest.extension [KBV_EX_ERP_Teratogenic].extension [ErklaerungSachkenntnis].value |
bfarmMedicationRequest.extension.extension.value |
Übernimmt den Booleschen Wert für declaration-of-expertise → übernimmt Wert aus Quellvariable |
kbvMedicationRequest.extension [GeneratedDosageInstructionsMeta] |
bfarmMedicationRequest.extension |
Kopiert Dosage Metadata Extension → übernimmt Wert aus Quellvariable |
kbvMedicationRequest.extension [extension-MedicationRequest.renderedDosageInstruction] |
bfarmMedicationRequest.extension |
Kopiert RenderedDosageText → übernimmt Wert aus Quellvariable |
kbvMedicationRequest.subject |
bfarmMedicationRequest.subject |
Entfernt Patientenbezug durch data-absent-reason Extension für Datenschutz im digitalen Durchschlag |
kbvMedicationRequest.subject |
bfarmMedicationRequest.subject.identifier.system |
Erstellt data-absent-reason Extension für Subject Identifier |
kbvMedicationRequest.subject |
bfarmMedicationRequest.subject.identifier.value |
Erstellt data-absent-reason Extension für Subject Identifier |
kbvMedicationRequest.subject |
bfarmMedicationRequest.subject.identifier.system.extension |
Erstellt data-absent-reason Extension für Subject Identifier |
kbvMedicationRequest.subject |
bfarmMedicationRequest.subject.identifier.system.extension |
Erstellt data-absent-reason Extension für Subject Identifier |
kbvMedicationRequest.subject |
bfarmMedicationRequest.subject.identifier.system.extension.url |
Setzt data-absent-reason auf 'not-permitted' um Patientendaten zu anonymisieren → setzt URL 'http://hl7.org/fhir/StructureDefinition/data-absent-reason' |
kbvMedicationRequest.subject |
bfarmMedicationRequest.subject.identifier.system.extension.value |
Setzt data-absent-reason auf 'not-permitted' um Patientendaten zu anonymisieren |
kbvMedicationRequest.subject |
bfarmMedicationRequest.subject.identifier.system.extension.url |
Setzt data-absent-reason auf 'not-permitted' um Patientendaten zu anonymisieren → setzt URL 'http://hl7.org/fhir/StructureDefinition/data-absent-reason' |
kbvMedicationRequest.subject |
bfarmMedicationRequest.subject.identifier.system.extension.value |
Setzt data-absent-reason auf 'not-permitted' um Patientendaten zu anonymisieren |
kbvMedicationRequest.authoredOn |
bfarmMedicationRequest.authoredOn |
Übernimmt das Verschreibungsdatum unverändert vom KBV MedicationRequest → übernimmt Wert aus Quellvariable |
kbvMedicationRequest.dosageInstruction |
bfarmMedicationRequest.dosageInstruction |
Kopiert die Dosierungsanweisungen vollständig für den digitalen Durchschlag → übernimmt Wert aus Quellvariable |
kbvMedicationRequest.dispenseRequest |
bfarmMedicationRequest.dispenseRequest |
Übernimmt Abgabeanweisungen (Menge, Wiederholungen) aus der ursprünglichen Verschreibung → übernimmt Wert aus Quellvariable |
kbvMedicationRequest.medication |
bfarmMedicationRequest.medication |
Transformiert die Medication-Referenz zu urn:uuid Format → erstellt neues Reference |
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | TIMedicationRequestDgMP | Ordering of medication for patient or group | |
![]() ![]() |
SΣ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
SΣ | 0..1 | id | Version specific identifier |
![]() ![]() ![]() |
SΣ | 0..1 | instant | When the resource version last changed |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
![]() ![]() ![]() |
S | 0..1 | code | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension Binding: Context Codes (required) |
![]() ![]() ![]() |
S | 0..1 | (Complex) | MultiplePrescription URL: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "indicator" | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | boolean | Multiple Prescription Indicator |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "counter" | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Ratio | Value of extension |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | Quantity | Numerator value Constraints: qty-3 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Multiple Prescription Counter |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | Quantity | Denominator value Constraints: qty-3 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Denominator of Multiple Prescription Series |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Zeitraum der Einlösefrist |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "period" | |
![]() ![]() ![]() ![]() ![]() ![]() |
SC | 1..1 | Period | Value of extension Constraints: -limitationDateStart, -limitationDateEnd |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Start Date of the Prescription Redemption Period |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | End Date of the Prescription Redemption Period |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "id" | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Identifier | Value of extension |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | uri | Specification as UUID Fixed Value: urn:ietf:rfc:3986 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Multiple Prescription ID Example General: 123456 |
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension" | |
![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension |
![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension |
![]() ![]() ![]() |
S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension" | |
![]() ![]() ![]() ![]() |
S | 1..1 | Identifier | Value of extension |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Verschreiber-ID Example General: 123456 |
![]() ![]() ![]() |
S | 0..1 | Identifier | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension |
![]() ![]() ![]() |
S | 0..1 | (Complex) | Betäubungsmittel (BtM) URL: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension |
![]() ![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Closed by value:url |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "narcotics-markings" | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Coding | Value of extension Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL (required) Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | uri | Identity of the terminology system Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Kennzeichen nach § 9 Abs. 1 Nr. 6 BtMVV |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "additional-information-substitutes" | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Ergänzende Angaben zu Substitutionsmittel |
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension" | |
![]() ![]() ![]() |
S | 0..1 | (Complex) | T-Rezept URL: https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension |
![]() ![]() ![]() |
SN | 0..1 | (Complex) | Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen). URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction |
![]() ![]() ![]() ![]() |
0..0 | Additional content defined by implementations Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction" | |
![]() ![]() ![]() ![]() |
S | 0..1 | markdown | Full representation of the dosage instructions |
![]() ![]() ![]() |
SN | 0..1 | (Complex) | Metadaten zu den generierten Dosierungsanweisungen URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!SΣ | 1..1 | code | Status of Medication Request Binding: https://gematik.de/fhir/terminology/ValueSet/ti-medication-request-status-vs (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. Fixed Value: completed |
![]() ![]() |
?!SΣ | 1..1 | code | filler-order Binding: medicationRequest Intent (required): The kind of medication order. Fixed Value: order |
![]() ![]() |
SΣ | 1..1 | Reference(Medication) | Medication to be taken |
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Who or group medication request is for |
![]() ![]() ![]() |
SΣ | 1..1 | IdentifierKvid10 | An identifier intended for computation |
![]() ![]() |
SΣ | 1..1 | dateTime | Issue Date |
![]() ![]() |
SC | 0..* | DosageDgMP | Hier werden Informationen zur Dosierung angegeben. Constraints: DosageStructuredOrFreeTextWarning, DosageStructuredRequiresBoth, DosageDoseUnitSameCode, DosageWarnungViererschemaInText, FreeTextSingleDosageOnlyWarning, DosageStructuredOrFreeText, DosageStructuredRequiresGeneratedText, FreeTextSingleDosageOnly, FreeTextMatchesRenderedText |
![]() ![]() |
S | 0..1 | BackboneElement | Medication supply authorization |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | SimpleQuantity | Amount of medication to supply per dispense |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Number of Prescribed Packages |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Unit representation |
![]() ![]() ![]() ![]() |
SΣC | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Coded form of the unit |
![]() ![]() ![]() |
S | 0..1 | Duration | Number of days supply per dispense |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationRequest.extension:narcotics.extension:narcotics-markings.value[x] | Base | required | https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL | Not State | Unknown |
| MedicationRequest.status | Base | required | https://gematik.de/fhir/terminology/ValueSet/ti-medication-request-status-vs | Not State | Unknown |
| MedicationRequest.intent | Base | required | Medication request intent | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| -limitationDateEnd | error | MedicationRequest.extension:multiplePrescription.extension:period.value[x] | Limitation of the date format to 10 characters YYYY-MM-DD |
end.exists().not() or end.toString().length()=10
|
| -limitationDateStart | error | MedicationRequest.extension:multiplePrescription.extension:period.value[x] | Limitation of the date format to 10 characters YYYY-MM-DD |
start.toString().length()=10
|
| DosageDoseUnitSameCode | error | MedicationRequest.dosageInstruction | Die Dosiereinheit muss über alle Dosierungen gleich sein. |
(%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all(
doseAndRate.exists() implies
(
(%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code |
(%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code |
(%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code
).distinct().count() = 1
)
|
| DosageStructuredOrFreeText | error | MedicationRequest.dosageInstruction | Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. |
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage).all(
(text.exists() and timing.empty() and doseAndRate.empty()) or
(text.empty() and (timing.exists() or doseAndRate.exists()))
)
|
| DosageStructuredOrFreeTextWarning | warning | MedicationRequest.dosageInstruction | Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. |
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage).all(
(text.exists() and timing.empty() and doseAndRate.empty()) or
(text.empty() and (timing.exists() or doseAndRate.exists()))
)
|
| DosageStructuredRequiresBoth | error | MedicationRequest.dosageInstruction | Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. |
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage).all(
(timing.exists() implies doseAndRate.exists()) and
(doseAndRate.exists() implies timing.exists())
)
|
| DosageStructuredRequiresGeneratedText | error | MedicationRequest.dosageInstruction | Liegt eine strukturierte Dosierungsangabe vor (timing und doseAndRate belegt, text leer), muss die Extension GeneratedDosageInstructionsMeta vorhanden sein. |
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).exists(timing.exists() and doseAndRate.exists() and text.empty())
)
implies
(
%resource.extension.where(
url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta'
).exists() and
(
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction'
).exists() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction'
).exists() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction'
).exists()
)
)
|
| DosageWarnungViererschemaInText | warning | MedicationRequest.dosageInstruction | Hinweis: In Dosage.text wurde ein Viererschema (z. B. 1-1-1-1) erkannt. Bitte prüfen, ob dies strukturiert abgebildet werden kann. |
text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\d+.*').not()
|
| FreeTextMatchesRenderedText | error | MedicationRequest.dosageInstruction | Wenn eine Dosierung als reiner Freitext angegeben ist (text vorhanden, timing und doseAndRate leer) UND die Extension renderedDosageInstruction befüllt ist, muss der Wert in dosageInstruction.text mit dem Wert in der Extension übereinstimmen. |
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).where(text.exists() and timing.empty() and doseAndRate.empty()).exists()
)
implies
(
(
%resource.ofType(MedicationRequest).exists() and
(
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction'
).empty() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction'
).value = %resource.dosageInstruction.text
)
) or
(
%resource.ofType(MedicationDispense).exists() and
(
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction'
).empty() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction'
).value = %resource.dosageInstruction.text
)
) or
(
%resource.ofType(MedicationStatement).exists() and
(
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction'
).empty() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction'
).value = %resource.dosage.text
)
)
)
|
| FreeTextSingleDosageOnly | error | MedicationRequest.dosageInstruction | Wenn eine Dosierung als reiner Freitext angegeben ist, darf nur genau ein Dosage-Element existieren. |
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).exists(text.exists() and timing.empty() and doseAndRate.empty())
)
implies
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).count() = 1
)
|
| FreeTextSingleDosageOnlyWarning | warning | MedicationRequest.dosageInstruction | Wenn eine Dosierung als reiner Freitext angegeben ist, soll nur genau ein Dosage-Element existieren. |
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).exists(text.exists() and timing.empty() and doseAndRate.empty())
)
implies
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).count() = 1
)
|
| 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())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| qty-3 | error | MedicationRequest.extension:multiplePrescription.extension:counter.value[x].numerator, MedicationRequest.extension:multiplePrescription.extension:counter.value[x].denominator | If a code for the unit is present, the system SHALL also be present |
code.empty() or system.exists()
|
This structure is derived from TIMedicationRequestDgMP
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
TIMedicationRequestDgMP | |||
![]() ![]() |
S | 0..* | Extension | Extension |
![]() ![]() |
0..0 | External ids for this request | ||
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..0 | An identifier intended for computation | ||
![]() ![]() ![]() |
0..0 | An identifier intended for computation | ||
![]() ![]() |
1..1 | code | Status of Medication Request Fixed Value: completed | |
![]() ![]() |
0..0 | Reason for current status | ||
![]() ![]() |
1..1 | code | filler-order Fixed Value: order | |
![]() ![]() |
0..0 | Type of medication usage | ||
![]() ![]() |
0..0 | routine | urgent | asap | stat | ||
![]() ![]() |
0..0 | True if request is prohibiting action | ||
![]() ![]() |
0..0 | Reported rather than primary record | ||
![]() ![]() |
||||
![]() ![]() ![]() |
0..0 | Literal reference, Relative, internal or absolute URL | ||
![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() |
0..0 | Text alternative for the resource | ||
![]() ![]() |
0..0 | Encounter created as part of encounter/admission/stay | ||
![]() ![]() |
0..0 | Information to support ordering of the medication | ||
![]() ![]() |
0..0 | Who/What requested the Request | ||
![]() ![]() |
0..0 | Intended performer of administration | ||
![]() ![]() |
0..0 | Desired kind of performer of the medication administration | ||
![]() ![]() |
0..0 | Person who entered the request | ||
![]() ![]() |
0..0 | Reason or indication for ordering or not ordering the medication | ||
![]() ![]() |
0..0 | Condition or observation that supports why the prescription is being written | ||
![]() ![]() |
0..0 | Instantiates FHIR protocol or definition | ||
![]() ![]() |
0..0 | Instantiates external protocol or definition | ||
![]() ![]() |
0..0 | What request fulfills | ||
![]() ![]() |
0..0 | Composite request this is part of | ||
![]() ![]() |
0..0 | Overall pattern of medication administration | ||
![]() ![]() |
0..0 | Associated insurance coverage | ||
![]() ![]() |
0..0 | Information about the prescription | ||
![]() ![]() |
||||
![]() ![]() ![]() |
0..0 | First fill details | ||
![]() ![]() ![]() |
0..0 | Minimum period of time between dispenses | ||
![]() ![]() ![]() |
0..0 | Time period supply is authorized for | ||
![]() ![]() ![]() |
0..0 | Number of refills authorized | ||
![]() ![]() ![]() |
0..0 | Intended dispenser | ||
![]() ![]() |
0..0 | Any restrictions on medication substitution | ||
![]() ![]() |
0..0 | An order/prescription that is being replaced | ||
![]() ![]() |
0..0 | Clinical Issue with action | ||
![]() ![]() |
0..0 | A list of events of interest in the lifecycle | ||
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | TIMedicationRequestDgMP | Ordering of medication for patient or group | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
SΣ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
SΣ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() |
S | 0..1 | code | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension Binding: Context Codes (required) | ||||
![]() ![]() ![]() |
S | 0..1 | (Complex) | MultiplePrescription URL: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Closed by value:url | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "indicator" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | boolean | Multiple Prescription Indicator | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "counter" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Ratio | Value of extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | Quantity | Numerator value Constraints: qty-3 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Multiple Prescription Counter | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | Quantity | Denominator value Constraints: qty-3 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Denominator of Multiple Prescription Series | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Zeitraum der Einlösefrist | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "period" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SC | 1..1 | Period | Value of extension Constraints: -limitationDateStart, -limitationDateEnd | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Start Date of the Prescription Redemption Period | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | End Date of the Prescription Redemption Period | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "id" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Identifier | Value of extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | uri | Specification as UUID Fixed Value: urn:ietf:rfc:3986 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Multiple Prescription ID Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension" | |||||
![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension | ||||
![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension | ||||
![]() ![]() ![]() |
S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension" | |||||
![]() ![]() ![]() ![]() |
S | 1..1 | Identifier | Value of extension | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Verschreiber-ID Example General: 123456 | ||||
![]() ![]() ![]() |
S | 0..1 | Identifier | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension | ||||
![]() ![]() ![]() |
S | 0..1 | (Complex) | Betäubungsmittel (BtM) URL: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Closed by value:url | ||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "narcotics-markings" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Coding | Value of extension Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL (required) Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | uri | Identity of the terminology system Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Kennzeichen nach § 9 Abs. 1 Nr. 6 BtMVV | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "additional-information-substitutes" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Ergänzende Angaben zu Substitutionsmittel | ||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension" | |||||
![]() ![]() ![]() |
S | 0..1 | (Complex) | T-Rezept URL: https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension | ||||
![]() ![]() ![]() |
SN | 0..1 | (Complex) | Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen). URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction" | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | markdown | Full representation of the dosage instructions | ||||
![]() ![]() ![]() |
SN | 0..1 | (Complex) | Metadaten zu den generierten Dosierungsanweisungen URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Status of Medication Request Binding: https://gematik.de/fhir/terminology/ValueSet/ti-medication-request-status-vs (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. Fixed Value: completed | ||||
![]() ![]() |
?!SΣ | 1..1 | code | filler-order Binding: medicationRequest Intent (required): The kind of medication order. Fixed Value: order | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Medication) | Medication to be taken | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Who or group medication request is for | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 1..1 | IdentifierKvid10 | An identifier intended for computation | ||||
![]() ![]() |
SΣ | 1..1 | dateTime | Issue Date | ||||
![]() ![]() |
SC | 0..* | DosageDgMP | Hier werden Informationen zur Dosierung angegeben. Constraints: DosageStructuredOrFreeTextWarning, DosageStructuredRequiresBoth, DosageDoseUnitSameCode, DosageWarnungViererschemaInText, FreeTextSingleDosageOnlyWarning, DosageStructuredOrFreeText, DosageStructuredRequiresGeneratedText, FreeTextSingleDosageOnly, FreeTextMatchesRenderedText | ||||
![]() ![]() |
S | 0..1 | BackboneElement | Medication supply authorization | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 0..1 | SimpleQuantity | Amount of medication to supply per dispense | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Number of Prescribed Packages | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Unit representation | ||||
![]() ![]() ![]() ![]() |
SΣC | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Coded form of the unit | ||||
![]() ![]() ![]() |
S | 0..1 | Duration | Number of days supply per dispense | ||||
Documentation for this format | ||||||||
| 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:narcotics.extension:narcotics-markings.value[x] | Base | required | https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL | Not State | Unknown |
| MedicationRequest.status | Base | required | https://gematik.de/fhir/terminology/ValueSet/ti-medication-request-status-vs | Not State | Unknown |
| MedicationRequest.intent | Base | required | Medication request intent | 📍4.0.1 | FHIR Std. |
| MedicationRequest.basedOn.type | Base | extensible | ResourceType | 📦4.0.1 | FHIR Std. |
| MedicationRequest.substitution.reason | Base | example | SubstanceAdminSubstitutionReason | 📦3.0.0 | THO v7.4 |
| Id | Grade | Path(s) | Description | Expression |
| -limitationDateEnd | error | MedicationRequest.extension:multiplePrescription.extension:period.value[x] | Limitation of the date format to 10 characters YYYY-MM-DD |
end.exists().not() or end.toString().length()=10
|
| -limitationDateStart | error | MedicationRequest.extension:multiplePrescription.extension:period.value[x] | Limitation of the date format to 10 characters YYYY-MM-DD |
start.toString().length()=10
|
| DosageDoseUnitSameCode | error | MedicationRequest.dosageInstruction | Die Dosiereinheit muss über alle Dosierungen gleich sein. |
(%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all(
doseAndRate.exists() implies
(
(%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code |
(%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code |
(%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code
).distinct().count() = 1
)
|
| DosageStructuredOrFreeText | error | MedicationRequest.dosageInstruction | Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. |
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage).all(
(text.exists() and timing.empty() and doseAndRate.empty()) or
(text.empty() and (timing.exists() or doseAndRate.exists()))
)
|
| DosageStructuredOrFreeTextWarning | warning | MedicationRequest.dosageInstruction | Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. |
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage).all(
(text.exists() and timing.empty() and doseAndRate.empty()) or
(text.empty() and (timing.exists() or doseAndRate.exists()))
)
|
| DosageStructuredRequiresBoth | error | MedicationRequest.dosageInstruction | Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. |
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage).all(
(timing.exists() implies doseAndRate.exists()) and
(doseAndRate.exists() implies timing.exists())
)
|
| DosageStructuredRequiresGeneratedText | error | MedicationRequest.dosageInstruction | Liegt eine strukturierte Dosierungsangabe vor (timing und doseAndRate belegt, text leer), muss die Extension GeneratedDosageInstructionsMeta vorhanden sein. |
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).exists(timing.exists() and doseAndRate.exists() and text.empty())
)
implies
(
%resource.extension.where(
url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta'
).exists() and
(
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction'
).exists() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction'
).exists() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction'
).exists()
)
)
|
| DosageWarnungViererschemaInText | warning | MedicationRequest.dosageInstruction | Hinweis: In Dosage.text wurde ein Viererschema (z. B. 1-1-1-1) erkannt. Bitte prüfen, ob dies strukturiert abgebildet werden kann. |
text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\d+.*').not()
|
| FreeTextMatchesRenderedText | error | MedicationRequest.dosageInstruction | Wenn eine Dosierung als reiner Freitext angegeben ist (text vorhanden, timing und doseAndRate leer) UND die Extension renderedDosageInstruction befüllt ist, muss der Wert in dosageInstruction.text mit dem Wert in der Extension übereinstimmen. |
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).where(text.exists() and timing.empty() and doseAndRate.empty()).exists()
)
implies
(
(
%resource.ofType(MedicationRequest).exists() and
(
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction'
).empty() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction'
).value = %resource.dosageInstruction.text
)
) or
(
%resource.ofType(MedicationDispense).exists() and
(
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction'
).empty() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction'
).value = %resource.dosageInstruction.text
)
) or
(
%resource.ofType(MedicationStatement).exists() and
(
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction'
).empty() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction'
).value = %resource.dosage.text
)
)
)
|
| FreeTextSingleDosageOnly | error | MedicationRequest.dosageInstruction | Wenn eine Dosierung als reiner Freitext angegeben ist, darf nur genau ein Dosage-Element existieren. |
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).exists(text.exists() and timing.empty() and doseAndRate.empty())
)
implies
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).count() = 1
)
|
| FreeTextSingleDosageOnlyWarning | warning | MedicationRequest.dosageInstruction | Wenn eine Dosierung als reiner Freitext angegeben ist, soll nur genau ein Dosage-Element existieren. |
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).exists(text.exists() and timing.empty() and doseAndRate.empty())
)
implies
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).count() = 1
)
|
| 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())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| qty-3 | error | MedicationRequest.extension:multiplePrescription.extension:counter.value[x].numerator, MedicationRequest.extension:multiplePrescription.extension:counter.value[x].denominator | If a code for the unit is present, the system SHALL also be present |
code.empty() or system.exists()
|
This structure is derived from TIMedicationRequestDgMP
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | TIMedicationRequestDgMP | Ordering of medication for patient or group | |
![]() ![]() |
SΣ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
SΣ | 0..1 | id | Version specific identifier |
![]() ![]() ![]() |
SΣ | 0..1 | instant | When the resource version last changed |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
![]() ![]() ![]() |
S | 0..1 | code | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension Binding: Context Codes (required) |
![]() ![]() ![]() |
S | 0..1 | (Complex) | MultiplePrescription URL: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "indicator" | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | boolean | Multiple Prescription Indicator |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "counter" | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Ratio | Value of extension |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | Quantity | Numerator value Constraints: qty-3 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Multiple Prescription Counter |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | Quantity | Denominator value Constraints: qty-3 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Denominator of Multiple Prescription Series |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Zeitraum der Einlösefrist |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "period" | |
![]() ![]() ![]() ![]() ![]() ![]() |
SC | 1..1 | Period | Value of extension Constraints: -limitationDateStart, -limitationDateEnd |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Start Date of the Prescription Redemption Period |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | End Date of the Prescription Redemption Period |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "id" | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Identifier | Value of extension |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | uri | Specification as UUID Fixed Value: urn:ietf:rfc:3986 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Multiple Prescription ID Example General: 123456 |
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension" | |
![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension |
![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension |
![]() ![]() ![]() |
S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension" | |
![]() ![]() ![]() ![]() |
S | 1..1 | Identifier | Value of extension |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Verschreiber-ID Example General: 123456 |
![]() ![]() ![]() |
S | 0..1 | Identifier | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension |
![]() ![]() ![]() |
S | 0..1 | (Complex) | Betäubungsmittel (BtM) URL: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension |
![]() ![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Closed by value:url |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "narcotics-markings" | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Coding | Value of extension Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL (required) Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | uri | Identity of the terminology system Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Kennzeichen nach § 9 Abs. 1 Nr. 6 BtMVV |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "additional-information-substitutes" | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Ergänzende Angaben zu Substitutionsmittel |
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension" | |
![]() ![]() ![]() |
S | 0..1 | (Complex) | T-Rezept URL: https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension |
![]() ![]() ![]() |
SN | 0..1 | (Complex) | Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen). URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction |
![]() ![]() ![]() ![]() |
0..0 | Additional content defined by implementations Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction" | |
![]() ![]() ![]() ![]() |
S | 0..1 | markdown | Full representation of the dosage instructions |
![]() ![]() ![]() |
SN | 0..1 | (Complex) | Metadaten zu den generierten Dosierungsanweisungen URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!SΣ | 1..1 | code | Status of Medication Request Binding: https://gematik.de/fhir/terminology/ValueSet/ti-medication-request-status-vs (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. Fixed Value: completed |
![]() ![]() |
?!SΣ | 1..1 | code | filler-order Binding: medicationRequest Intent (required): The kind of medication order. Fixed Value: order |
![]() ![]() |
SΣ | 1..1 | Reference(Medication) | Medication to be taken |
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Who or group medication request is for |
![]() ![]() ![]() |
SΣ | 1..1 | IdentifierKvid10 | An identifier intended for computation |
![]() ![]() |
SΣ | 1..1 | dateTime | Issue Date |
![]() ![]() |
SC | 0..* | DosageDgMP | Hier werden Informationen zur Dosierung angegeben. Constraints: DosageStructuredOrFreeTextWarning, DosageStructuredRequiresBoth, DosageDoseUnitSameCode, DosageWarnungViererschemaInText, FreeTextSingleDosageOnlyWarning, DosageStructuredOrFreeText, DosageStructuredRequiresGeneratedText, FreeTextSingleDosageOnly, FreeTextMatchesRenderedText |
![]() ![]() |
S | 0..1 | BackboneElement | Medication supply authorization |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | SimpleQuantity | Amount of medication to supply per dispense |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Number of Prescribed Packages |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Unit representation |
![]() ![]() ![]() ![]() |
SΣC | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Coded form of the unit |
![]() ![]() ![]() |
S | 0..1 | Duration | Number of days supply per dispense |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationRequest.extension:narcotics.extension:narcotics-markings.value[x] | Base | required | https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL | Not State | Unknown |
| MedicationRequest.status | Base | required | https://gematik.de/fhir/terminology/ValueSet/ti-medication-request-status-vs | Not State | Unknown |
| MedicationRequest.intent | Base | required | Medication request intent | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| -limitationDateEnd | error | MedicationRequest.extension:multiplePrescription.extension:period.value[x] | Limitation of the date format to 10 characters YYYY-MM-DD |
end.exists().not() or end.toString().length()=10
|
| -limitationDateStart | error | MedicationRequest.extension:multiplePrescription.extension:period.value[x] | Limitation of the date format to 10 characters YYYY-MM-DD |
start.toString().length()=10
|
| DosageDoseUnitSameCode | error | MedicationRequest.dosageInstruction | Die Dosiereinheit muss über alle Dosierungen gleich sein. |
(%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all(
doseAndRate.exists() implies
(
(%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code |
(%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code |
(%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code
).distinct().count() = 1
)
|
| DosageStructuredOrFreeText | error | MedicationRequest.dosageInstruction | Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. |
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage).all(
(text.exists() and timing.empty() and doseAndRate.empty()) or
(text.empty() and (timing.exists() or doseAndRate.exists()))
)
|
| DosageStructuredOrFreeTextWarning | warning | MedicationRequest.dosageInstruction | Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. |
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage).all(
(text.exists() and timing.empty() and doseAndRate.empty()) or
(text.empty() and (timing.exists() or doseAndRate.exists()))
)
|
| DosageStructuredRequiresBoth | error | MedicationRequest.dosageInstruction | Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. |
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage).all(
(timing.exists() implies doseAndRate.exists()) and
(doseAndRate.exists() implies timing.exists())
)
|
| DosageStructuredRequiresGeneratedText | error | MedicationRequest.dosageInstruction | Liegt eine strukturierte Dosierungsangabe vor (timing und doseAndRate belegt, text leer), muss die Extension GeneratedDosageInstructionsMeta vorhanden sein. |
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).exists(timing.exists() and doseAndRate.exists() and text.empty())
)
implies
(
%resource.extension.where(
url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta'
).exists() and
(
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction'
).exists() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction'
).exists() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction'
).exists()
)
)
|
| DosageWarnungViererschemaInText | warning | MedicationRequest.dosageInstruction | Hinweis: In Dosage.text wurde ein Viererschema (z. B. 1-1-1-1) erkannt. Bitte prüfen, ob dies strukturiert abgebildet werden kann. |
text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\d+.*').not()
|
| FreeTextMatchesRenderedText | error | MedicationRequest.dosageInstruction | Wenn eine Dosierung als reiner Freitext angegeben ist (text vorhanden, timing und doseAndRate leer) UND die Extension renderedDosageInstruction befüllt ist, muss der Wert in dosageInstruction.text mit dem Wert in der Extension übereinstimmen. |
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).where(text.exists() and timing.empty() and doseAndRate.empty()).exists()
)
implies
(
(
%resource.ofType(MedicationRequest).exists() and
(
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction'
).empty() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction'
).value = %resource.dosageInstruction.text
)
) or
(
%resource.ofType(MedicationDispense).exists() and
(
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction'
).empty() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction'
).value = %resource.dosageInstruction.text
)
) or
(
%resource.ofType(MedicationStatement).exists() and
(
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction'
).empty() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction'
).value = %resource.dosage.text
)
)
)
|
| FreeTextSingleDosageOnly | error | MedicationRequest.dosageInstruction | Wenn eine Dosierung als reiner Freitext angegeben ist, darf nur genau ein Dosage-Element existieren. |
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).exists(text.exists() and timing.empty() and doseAndRate.empty())
)
implies
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).count() = 1
)
|
| FreeTextSingleDosageOnlyWarning | warning | MedicationRequest.dosageInstruction | Wenn eine Dosierung als reiner Freitext angegeben ist, soll nur genau ein Dosage-Element existieren. |
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).exists(text.exists() and timing.empty() and doseAndRate.empty())
)
implies
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).count() = 1
)
|
| 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())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| qty-3 | error | MedicationRequest.extension:multiplePrescription.extension:counter.value[x].numerator, MedicationRequest.extension:multiplePrescription.extension:counter.value[x].denominator | If a code for the unit is present, the system SHALL also be present |
code.empty() or system.exists()
|
Differential View
This structure is derived from TIMedicationRequestDgMP
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
TIMedicationRequestDgMP | |||
![]() ![]() |
S | 0..* | Extension | Extension |
![]() ![]() |
0..0 | External ids for this request | ||
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..0 | An identifier intended for computation | ||
![]() ![]() ![]() |
0..0 | An identifier intended for computation | ||
![]() ![]() |
1..1 | code | Status of Medication Request Fixed Value: completed | |
![]() ![]() |
0..0 | Reason for current status | ||
![]() ![]() |
1..1 | code | filler-order Fixed Value: order | |
![]() ![]() |
0..0 | Type of medication usage | ||
![]() ![]() |
0..0 | routine | urgent | asap | stat | ||
![]() ![]() |
0..0 | True if request is prohibiting action | ||
![]() ![]() |
0..0 | Reported rather than primary record | ||
![]() ![]() |
||||
![]() ![]() ![]() |
0..0 | Literal reference, Relative, internal or absolute URL | ||
![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() |
0..0 | Text alternative for the resource | ||
![]() ![]() |
0..0 | Encounter created as part of encounter/admission/stay | ||
![]() ![]() |
0..0 | Information to support ordering of the medication | ||
![]() ![]() |
0..0 | Who/What requested the Request | ||
![]() ![]() |
0..0 | Intended performer of administration | ||
![]() ![]() |
0..0 | Desired kind of performer of the medication administration | ||
![]() ![]() |
0..0 | Person who entered the request | ||
![]() ![]() |
0..0 | Reason or indication for ordering or not ordering the medication | ||
![]() ![]() |
0..0 | Condition or observation that supports why the prescription is being written | ||
![]() ![]() |
0..0 | Instantiates FHIR protocol or definition | ||
![]() ![]() |
0..0 | Instantiates external protocol or definition | ||
![]() ![]() |
0..0 | What request fulfills | ||
![]() ![]() |
0..0 | Composite request this is part of | ||
![]() ![]() |
0..0 | Overall pattern of medication administration | ||
![]() ![]() |
0..0 | Associated insurance coverage | ||
![]() ![]() |
0..0 | Information about the prescription | ||
![]() ![]() |
||||
![]() ![]() ![]() |
0..0 | First fill details | ||
![]() ![]() ![]() |
0..0 | Minimum period of time between dispenses | ||
![]() ![]() ![]() |
0..0 | Time period supply is authorized for | ||
![]() ![]() ![]() |
0..0 | Number of refills authorized | ||
![]() ![]() ![]() |
0..0 | Intended dispenser | ||
![]() ![]() |
0..0 | Any restrictions on medication substitution | ||
![]() ![]() |
0..0 | An order/prescription that is being replaced | ||
![]() ![]() |
0..0 | Clinical Issue with action | ||
![]() ![]() |
0..0 | A list of events of interest in the lifecycle | ||
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | TIMedicationRequestDgMP | Ordering of medication for patient or group | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
SΣ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
SΣ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() |
S | 0..1 | code | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension Binding: Context Codes (required) | ||||
![]() ![]() ![]() |
S | 0..1 | (Complex) | MultiplePrescription URL: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Closed by value:url | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "indicator" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | boolean | Multiple Prescription Indicator | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "counter" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Ratio | Value of extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | Quantity | Numerator value Constraints: qty-3 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Multiple Prescription Counter | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | Quantity | Denominator value Constraints: qty-3 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Denominator of Multiple Prescription Series | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Zeitraum der Einlösefrist | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "period" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SC | 1..1 | Period | Value of extension Constraints: -limitationDateStart, -limitationDateEnd | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Start Date of the Prescription Redemption Period | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | End Date of the Prescription Redemption Period | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "id" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Identifier | Value of extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | uri | Specification as UUID Fixed Value: urn:ietf:rfc:3986 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Multiple Prescription ID Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension" | |||||
![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension | ||||
![]() ![]() ![]() |
S | 0..1 | boolean | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension | ||||
![]() ![]() ![]() |
S | 0..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension" | |||||
![]() ![]() ![]() ![]() |
S | 1..1 | Identifier | Value of extension | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Verschreiber-ID Example General: 123456 | ||||
![]() ![]() ![]() |
S | 0..1 | Identifier | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension | ||||
![]() ![]() ![]() |
S | 0..1 | (Complex) | Betäubungsmittel (BtM) URL: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Closed by value:url | ||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "narcotics-markings" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Coding | Value of extension Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL (required) Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | uri | Identity of the terminology system Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Kennzeichen nach § 9 Abs. 1 Nr. 6 BtMVV | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "additional-information-substitutes" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Ergänzende Angaben zu Substitutionsmittel | ||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension" | |||||
![]() ![]() ![]() |
S | 0..1 | (Complex) | T-Rezept URL: https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension | ||||
![]() ![]() ![]() |
SN | 0..1 | (Complex) | Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen). URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction" | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | markdown | Full representation of the dosage instructions | ||||
![]() ![]() ![]() |
SN | 0..1 | (Complex) | Metadaten zu den generierten Dosierungsanweisungen URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Status of Medication Request Binding: https://gematik.de/fhir/terminology/ValueSet/ti-medication-request-status-vs (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. Fixed Value: completed | ||||
![]() ![]() |
?!SΣ | 1..1 | code | filler-order Binding: medicationRequest Intent (required): The kind of medication order. Fixed Value: order | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Medication) | Medication to be taken | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Who or group medication request is for | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 1..1 | IdentifierKvid10 | An identifier intended for computation | ||||
![]() ![]() |
SΣ | 1..1 | dateTime | Issue Date | ||||
![]() ![]() |
SC | 0..* | DosageDgMP | Hier werden Informationen zur Dosierung angegeben. Constraints: DosageStructuredOrFreeTextWarning, DosageStructuredRequiresBoth, DosageDoseUnitSameCode, DosageWarnungViererschemaInText, FreeTextSingleDosageOnlyWarning, DosageStructuredOrFreeText, DosageStructuredRequiresGeneratedText, FreeTextSingleDosageOnly, FreeTextMatchesRenderedText | ||||
![]() ![]() |
S | 0..1 | BackboneElement | Medication supply authorization | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 0..1 | SimpleQuantity | Amount of medication to supply per dispense | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Number of Prescribed Packages | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Unit representation | ||||
![]() ![]() ![]() ![]() |
SΣC | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Coded form of the unit | ||||
![]() ![]() ![]() |
S | 0..1 | Duration | Number of days supply per dispense | ||||
Documentation for this format | ||||||||
| 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:narcotics.extension:narcotics-markings.value[x] | Base | required | https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL | Not State | Unknown |
| MedicationRequest.status | Base | required | https://gematik.de/fhir/terminology/ValueSet/ti-medication-request-status-vs | Not State | Unknown |
| MedicationRequest.intent | Base | required | Medication request intent | 📍4.0.1 | FHIR Std. |
| MedicationRequest.basedOn.type | Base | extensible | ResourceType | 📦4.0.1 | FHIR Std. |
| MedicationRequest.substitution.reason | Base | example | SubstanceAdminSubstitutionReason | 📦3.0.0 | THO v7.4 |
| Id | Grade | Path(s) | Description | Expression |
| -limitationDateEnd | error | MedicationRequest.extension:multiplePrescription.extension:period.value[x] | Limitation of the date format to 10 characters YYYY-MM-DD |
end.exists().not() or end.toString().length()=10
|
| -limitationDateStart | error | MedicationRequest.extension:multiplePrescription.extension:period.value[x] | Limitation of the date format to 10 characters YYYY-MM-DD |
start.toString().length()=10
|
| DosageDoseUnitSameCode | error | MedicationRequest.dosageInstruction | Die Dosiereinheit muss über alle Dosierungen gleich sein. |
(%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all(
doseAndRate.exists() implies
(
(%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code |
(%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code |
(%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code
).distinct().count() = 1
)
|
| DosageStructuredOrFreeText | error | MedicationRequest.dosageInstruction | Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. |
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage).all(
(text.exists() and timing.empty() and doseAndRate.empty()) or
(text.empty() and (timing.exists() or doseAndRate.exists()))
)
|
| DosageStructuredOrFreeTextWarning | warning | MedicationRequest.dosageInstruction | Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. |
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage).all(
(text.exists() and timing.empty() and doseAndRate.empty()) or
(text.empty() and (timing.exists() or doseAndRate.exists()))
)
|
| DosageStructuredRequiresBoth | error | MedicationRequest.dosageInstruction | Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. |
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage).all(
(timing.exists() implies doseAndRate.exists()) and
(doseAndRate.exists() implies timing.exists())
)
|
| DosageStructuredRequiresGeneratedText | error | MedicationRequest.dosageInstruction | Liegt eine strukturierte Dosierungsangabe vor (timing und doseAndRate belegt, text leer), muss die Extension GeneratedDosageInstructionsMeta vorhanden sein. |
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).exists(timing.exists() and doseAndRate.exists() and text.empty())
)
implies
(
%resource.extension.where(
url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta'
).exists() and
(
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction'
).exists() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction'
).exists() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction'
).exists()
)
)
|
| DosageWarnungViererschemaInText | warning | MedicationRequest.dosageInstruction | Hinweis: In Dosage.text wurde ein Viererschema (z. B. 1-1-1-1) erkannt. Bitte prüfen, ob dies strukturiert abgebildet werden kann. |
text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\d+.*').not()
|
| FreeTextMatchesRenderedText | error | MedicationRequest.dosageInstruction | Wenn eine Dosierung als reiner Freitext angegeben ist (text vorhanden, timing und doseAndRate leer) UND die Extension renderedDosageInstruction befüllt ist, muss der Wert in dosageInstruction.text mit dem Wert in der Extension übereinstimmen. |
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).where(text.exists() and timing.empty() and doseAndRate.empty()).exists()
)
implies
(
(
%resource.ofType(MedicationRequest).exists() and
(
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction'
).empty() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction'
).value = %resource.dosageInstruction.text
)
) or
(
%resource.ofType(MedicationDispense).exists() and
(
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction'
).empty() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction'
).value = %resource.dosageInstruction.text
)
) or
(
%resource.ofType(MedicationStatement).exists() and
(
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction'
).empty() or
%resource.extension.where(
url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction'
).value = %resource.dosage.text
)
)
)
|
| FreeTextSingleDosageOnly | error | MedicationRequest.dosageInstruction | Wenn eine Dosierung als reiner Freitext angegeben ist, darf nur genau ein Dosage-Element existieren. |
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).exists(text.exists() and timing.empty() and doseAndRate.empty())
)
implies
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).count() = 1
)
|
| FreeTextSingleDosageOnlyWarning | warning | MedicationRequest.dosageInstruction | Wenn eine Dosierung als reiner Freitext angegeben ist, soll nur genau ein Dosage-Element existieren. |
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).exists(text.exists() and timing.empty() and doseAndRate.empty())
)
implies
(
(%resource.ofType(MedicationRequest).dosageInstruction |
%resource.ofType(MedicationDispense).dosageInstruction |
%resource.ofType(MedicationStatement).dosage
).count() = 1
)
|
| 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())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| qty-3 | error | MedicationRequest.extension:multiplePrescription.extension:counter.value[x].numerator, MedicationRequest.extension:multiplePrescription.extension:counter.value[x].denominator | If a code for the unit is present, the system SHALL also be present |
code.empty() or system.exists()
|
This structure is derived from TIMedicationRequestDgMP
Other representations of profile: CSV, Excel, Schematron