Implementation Guide
ePA Medication Service
Version 1.3.0 - release

Resource Profile: EPA MedicationRequest

Official URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request Version: 1.3.0
Active as of 2025-12-15 Computable Name: EPAMedicationRequest

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

Defines the medication request resource for the Medication Service in the ePA system.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
... meta SΣ 0..1 Meta Metadata about the resource
.... versionId SΣ 0..1 id Version specific identifier
.... lastUpdated SΣ 0..1 instant When the resource version last changed
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... extension:multiplePrescription S 0..1 (Complex) MultiplePrescription
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension
..... Slices for extension Content/Rules for all slices
...... extension:indicator 0..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "indicator"
....... value[x] S 1..1 boolean Multiple Prescription Indicator
...... extension:counter 0..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "counter"
....... value[x] S 1..1 Ratio Value of extension
........ numerator SΣC 1..1 Quantity Numerator value
Constraints: qty-3
......... value SΣ 1..1 decimal Multiple Prescription Counter
........ denominator SΣC 1..1 Quantity Denominator value
Constraints: qty-3
......... value SΣ 1..1 decimal Denominator of Multiple Prescription Series
...... extension:period 0..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "period"
....... value[x] SC 1..1 Period Value of extension
Constraints: -limitationDateStart, -limitationDateEnd
........ start SΣC 1..1 dateTime Start Date of the Prescription Redemption Period
........ end SΣC 0..1 dateTime End Date of the Prescription Redemption Period
...... extension:id 0..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "id"
....... value[x] S 1..1 Identifier Value of extension
........ system SΣ 0..1 uri Specification as UUID
Fixed Value: urn:ietf:rfc:3986
........ value SΣ 0..1 string Multiple Prescription ID
Example General: 123456
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"
.... extension:isBvg S 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension"
..... value[x] S 1..1 boolean BVG
.... extension:isSer S 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension"
..... value[x] S 1..1 boolean SER
.... extension:prescriberID 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension"
..... value[x] S 1..1 Identifier Value of extension
...... value Σ 1..1 string Verschreiber-ID
Example General: 123456
.... extension:patientID 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension"
..... value[x] S 1..1 Identifier Value of extension
...... value Σ 1..1 string Patienten-ID
Example General: 123456
.... extension:narcotics S 0..1 (Complex) Betäubungsmittel (BtM)
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension
..... Slices for extension S 0..* Extension Extension
Slice: Unordered, Closed by value:url
...... extension:narcotics-markings S 0..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "narcotics-markings"
....... Slices for value[x] S 0..1 Value of extension
Slice: Unordered, Open by type:$this
........ valueBase64Binary base64Binary
........ valueBoolean boolean
........ valueCanonical canonical(Any)
........ valueCode code
........ valueDate date
........ valueDateTime dateTime
........ valueDecimal decimal
........ valueId id
........ valueInstant instant
........ valueInteger integer
........ valueMarkdown markdown
........ valueOid oid
........ valuePositiveInt positiveInt
........ valueString string
........ valueTime time
........ valueUnsignedInt unsignedInt
........ valueUri uri
........ valueUrl url
........ valueUuid uuid
........ valueAddress Address
........ valueAge Age
........ valueAnnotation Annotation
........ valueAttachment Attachment
........ valueCodeableConcept CodeableConcept
........ valueCoding Coding
........ valueContactPoint ContactPoint
........ valueCount Count
........ valueDistance Distance
........ valueDuration Duration
........ valueHumanName HumanName
........ valueIdentifier Identifier
........ valueMoney Money
........ valuePeriod Period
........ valueQuantity Quantity
........ valueRange Range
........ valueRatio Ratio
........ valueReference Reference(Any)
........ valueSampledData SampledData
........ valueSignature Signature
........ valueTiming Timing
........ valueContactDetail ContactDetail
........ valueContributor Contributor
........ valueDataRequirement DataRequirement
........ valueExpression Expression
........ valueParameterDefinition ParameterDefinition
........ valueRelatedArtifact RelatedArtifact
........ valueTriggerDefinition TriggerDefinition
........ valueUsageContext UsageContext
........ valueDosage Dosage
........ valueMeta Meta
........ value[x]:valueCoding 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
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
......... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL
......... version 0..1 string Version of the system - if relevant
......... code 0..1 code Symbol in syntax defined by the system
......... display 0..1 string Representation defined by the system
......... userSelected 0..1 boolean If this coding was chosen directly by the user
......... system SΣ 0..1 uri Identity of the terminology system
......... code SΣ 0..1 code Kennzeichen nach § 9 Abs. 1 Nr. 6 BtMVV
...... extension:additional-information-substitutes S 0..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "additional-information-substitutes"
....... Slices for value[x] S 0..1 Value of extension
Slice: Unordered, Open by type:$this
........ valueBase64Binary base64Binary
........ valueBoolean boolean
........ valueCanonical canonical(Any)
........ valueCode code
........ valueDate date
........ valueDateTime dateTime
........ valueDecimal decimal
........ valueId id
........ valueInstant instant
........ valueInteger integer
........ valueMarkdown markdown
........ valueOid oid
........ valuePositiveInt positiveInt
........ valueString string
........ valueTime time
........ valueUnsignedInt unsignedInt
........ valueUri uri
........ valueUrl url
........ valueUuid uuid
........ valueAddress Address
........ valueAge Age
........ valueAnnotation Annotation
........ valueAttachment Attachment
........ valueCodeableConcept CodeableConcept
........ valueCoding Coding
........ valueContactPoint ContactPoint
........ valueCount Count
........ valueDistance Distance
........ valueDuration Duration
........ valueHumanName HumanName
........ valueIdentifier Identifier
........ valueMoney Money
........ valuePeriod Period
........ valueQuantity Quantity
........ valueRange Range
........ valueRatio Ratio
........ valueReference Reference(Any)
........ valueSampledData SampledData
........ valueSignature Signature
........ valueTiming Timing
........ valueContactDetail ContactDetail
........ valueContributor Contributor
........ valueDataRequirement DataRequirement
........ valueExpression Expression
........ valueParameterDefinition ParameterDefinition
........ valueRelatedArtifact RelatedArtifact
........ valueTriggerDefinition TriggerDefinition
........ valueUsageContext UsageContext
........ valueDosage Dosage
........ valueMeta Meta
........ value[x]:valueString S 0..1 string Ergänzende Angaben zu Substitutionsmittel
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension"
.... extension:teratogenic S 0..1 (Complex) T-Rezept
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension
..... Slices for extension S 5..* Extension Extension
Slice: Unordered, Closed by value:url
...... extension:off-label S 1..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "off-label"
....... value[x] S 0..1 boolean Off-Label
...... extension:childbearing-potential S 1..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "childbearing-potential"
....... value[x] S 0..1 boolean Gebärfähige Frau
...... extension:security-compliance S 1..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "security-compliance"
....... value[x] S 0..1 boolean Einhaltung Sicherheitsmaßnahmen
...... extension:hand-out-information-material S 1..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "hand-out-information-material"
....... value[x] S 0..1 boolean Aushändigung Informationsmaterialien
...... extension:declaration-of-expertise S 1..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "declaration-of-expertise"
....... value[x] S 0..1 boolean Erklärung Sachkenntnis
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension"
.... extension:renderedDosageInstruction S 0..1 markdown Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction
.... extension:generatedDosageInstructionsMeta S 0..1 (Complex) Metadaten zu den generierten Dosierungsanweisungen
URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
... Slices for identifier 0..* Identifier External ids for this request
Slice: Unordered, Open by pattern:$this
.... identifier:RxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier External ids for this request

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... use 0..1 code usual | official | temp | secondary | old (If known)
..... type 0..1 CodeableConcept Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier
..... value 0..1 string The value that is unique
..... period 0..1 Period Time period when id is/was valid for use
..... assigner 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:RxOriginatorProcessIdentifier 0..1 RxOriginatorProcessIdentifier External ids for this request

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... use 0..1 code usual | official | temp | secondary | old (If known)
..... type 0..1 CodeableConcept Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier
..... value 0..1 string The value that is unique
..... period 0..1 Period Time period when id is/was valid for use
..... assigner 0..1 Reference(Organization) Organization that issued id (may be just text)
... status ?!SΣ 1..1 code Status of Medication Request
Binding: TI Medication Request ValueSet (required)
... intent ?!SΣ 1..1 code filler-order
Binding: medicationRequest Intent (required): The kind of medication order.
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... medication[x] SΣ 1..1 Reference(Medication) Medication to be taken
... subject SΣC 1..1 Reference(Patient) Who or group medication request is for
Constraints: ref-1
.... identifier SΣ 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
... authoredOn SΣ 1..1 dateTime Issue Date
... requester SΣC 0..1 Reference(Organization | Practitioner | PractitionerRole) Who/What requested the Request
Constraints: ref-1
... basedOn SΣC 0..* Reference(eMP MedicationRequest) What request fulfills
Constraints: ref-1
.... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier SΣ 0..1 MedicationPlanIdentifier Logical reference, when literal reference is not known
... note S 0..1 Annotation Information about the prescription
.... text SΣ 1..1 markdown Dispensing Note
... dosageInstruction S 0..* DosageDgMP Hier werden Informationen zur Dosierung angegeben.
... dispenseRequest S 0..1 BackboneElement Medication supply authorization
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... quantity SC 0..1 SimpleQuantity(4.0.1) Amount of medication to supply per dispense
Constraints: qty-3, sqty-1
..... value SΣ 1..1 decimal Number of Prescribed Packages
..... unit SΣ 0..1 string Unit representation
..... system SΣC 0..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
..... code SΣ 0..1 code Coded form of the unit
.... expectedSupplyDuration SC 0..1 Duration Number of days supply per dispense
Constraints: drt-1, qty-3
... substitution S 0..1 BackboneElement Any restrictions on medication substitution
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... allowed[x] S 1..1 boolean Whether substitution is allowed or not

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.extension:narcotics.​extension:narcotics-markings.​value[x]:valueCoding Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL Not State Unknown
MedicationRequest.status Base required TI Medication Request ValueSet 📦1.0.7 TI Terminology v1.0
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.

Constraints

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
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
drt-1 error MedicationRequest.dispenseRequest.expectedSupplyDuration There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. code.exists() implies ((system = %ucum) and value.exists())
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
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, MedicationRequest.dispenseRequest.quantity, MedicationRequest.dispenseRequest.expectedSupplyDuration If a code for the unit is present, the system SHALL also be present code.empty() or system.exists()
ref-1 error MedicationRequest.subject, MedicationRequest.requester, MedicationRequest.basedOn SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
sqty-1 error MedicationRequest.dispenseRequest.quantity The comparator is not used on a SimpleQuantity comparator.empty()

This structure is derived from MedicationRequest

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
... meta S 0..1 Meta Metadata about the resource
.... versionId S 0..1 id Version specific identifier
.... lastUpdated S 0..1 instant When the resource version last changed
... Slices for extension Content/Rules for all slices
.... extension:multiplePrescription S 0..1 (Complex) MultiplePrescription
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension
..... Slices for extension Content/Rules for all slices
...... extension:indicator 0..1 Extension Extension
....... value[x] S 1..1 boolean Multiple Prescription Indicator
...... extension:counter 0..1 Extension Extension
....... value[x] S 1..1 Ratio Value of extension
........ numerator S 1..1 Quantity Numerator value
......... value S 1..1 decimal Multiple Prescription Counter
........ denominator S 1..1 Quantity Denominator value
......... value S 1..1 decimal Denominator of Multiple Prescription Series
...... extension:period 0..1 Extension Extension
....... value[x] S 1..1 Period Value of extension
........ start S 1..1 dateTime Start Date of the Prescription Redemption Period
........ end S 0..1 dateTime End Date of the Prescription Redemption Period
...... extension:id 0..1 Extension Extension
....... value[x] S 1..1 Identifier Value of extension
........ system S 0..1 uri Specification as UUID
........ value S 0..1 string Multiple Prescription ID
.... extension:isBvg S 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension
..... value[x] S 1..1 boolean BVG
.... extension:isSer S 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension
..... value[x] S 1..1 boolean SER
.... extension:prescriberID 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension
..... value[x] S 1..1 Identifier Value of extension
.... extension:patientID 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension
..... value[x] S 1..1 Identifier Value of extension
.... extension:narcotics S 0..1 (Complex) Betäubungsmittel (BtM)
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension
..... extension S 0..* Extension Extension
.... extension:teratogenic S 0..1 (Complex) T-Rezept
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension
..... extension S 5..* Extension Extension
.... extension:renderedDosageInstruction S 0..1 markdown Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction
.... extension:generatedDosageInstructionsMeta S 0..1 (Complex) Metadaten zu den generierten Dosierungsanweisungen
URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
... Slices for identifier 0..* Identifier External ids for this request
Slice: Unordered, Open by pattern:$this
.... identifier:RxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier External ids for this request
Required Pattern: At least the following
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier
.... identifier:RxOriginatorProcessIdentifier 0..1 RxOriginatorProcessIdentifier External ids for this request
Required Pattern: At least the following
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier
... intent S 1..1 code filler-order
... medication[x] S 1..1 Reference(Medication) Medication to be taken
... subject S 1..1 Reference(Patient) Who or group medication request is for
.... identifier S 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
... authoredOn S 1..1 dateTime Issue Date
... requester S 0..1 Reference(Organization | Practitioner | PractitionerRole) Who/What requested the Request
... basedOn S 0..* Reference(eMP MedicationRequest) What request fulfills
.... reference S 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier S 0..1 MedicationPlanIdentifier Logical reference, when literal reference is not known
... note S 0..1 Annotation Information about the prescription
.... text S 1..1 markdown Dispensing Note
... dosageInstruction S 0..* DosageDgMP Hier werden Informationen zur Dosierung angegeben.
... dispenseRequest S 0..1 BackboneElement Medication supply authorization
.... quantity S 0..1 SimpleQuantity(4.0.1) Amount of medication to supply per dispense
..... value S 1..1 decimal Number of Prescribed Packages
..... unit S 0..1 string Unit representation
..... system S 0..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
..... code S 0..1 code Coded form of the unit
.... expectedSupplyDuration S 0..1 Duration Number of days supply per dispense
... substitution S 0..1 BackboneElement Any restrictions on medication substitution
.... allowed[x] S 1..1 boolean Whether substitution is allowed or not

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationRequest.status Base required TI Medication Request ValueSet 📦1.0.7 TI Terminology v1.0
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
... id Σ 0..1 id Logical id of this artifact
... meta SΣ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId SΣ 0..1 id Version specific identifier
.... lastUpdated SΣ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:multiplePrescription S 0..1 (Complex) MultiplePrescription
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Closed by value:url
...... extension:indicator 0..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "indicator"
....... value[x] S 1..1 boolean Multiple Prescription Indicator
...... extension:counter 0..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "counter"
....... value[x] S 1..1 Ratio Value of extension
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ numerator SΣC 1..1 Quantity Numerator value
Constraints: qty-3
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
......... value SΣ 1..1 decimal Multiple Prescription Counter
........ denominator SΣC 1..1 Quantity Denominator value
Constraints: qty-3
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
......... value SΣ 1..1 decimal Denominator of Multiple Prescription Series
...... extension:period 0..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "period"
....... value[x] SC 1..1 Period Value of extension
Constraints: -limitationDateStart, -limitationDateEnd
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ start SΣC 1..1 dateTime Start Date of the Prescription Redemption Period
........ end SΣC 0..1 dateTime End Date of the Prescription Redemption Period
...... extension:id 0..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "id"
....... value[x] S 1..1 Identifier Value of extension
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 0..1 uri Specification as UUID
Fixed Value: urn:ietf:rfc:3986
........ value SΣ 0..1 string Multiple Prescription ID
Example General: 123456
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"
.... extension:isBvg S 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension"
..... value[x] S 1..1 boolean BVG
.... extension:isSer S 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension"
..... value[x] S 1..1 boolean SER
.... extension:prescriberID 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension"
..... value[x] S 1..1 Identifier Value of extension
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string Verschreiber-ID
Example General: 123456
.... extension:patientID 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension"
..... value[x] S 1..1 Identifier Value of extension
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string Patienten-ID
Example General: 123456
.... extension:narcotics S 0..1 (Complex) Betäubungsmittel (BtM)
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension S 0..* Extension Extension
Slice: Unordered, Closed by value:url
...... extension:narcotics-markings S 0..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "narcotics-markings"
....... Slices for value[x] S 0..1 Value of extension
Slice: Unordered, Open by type:$this
........ valueBase64Binary base64Binary
........ valueBoolean boolean
........ valueCanonical canonical(Any)
........ valueCode code
........ valueDate date
........ valueDateTime dateTime
........ valueDecimal decimal
........ valueId id
........ valueInstant instant
........ valueInteger integer
........ valueMarkdown markdown
........ valueOid oid
........ valuePositiveInt positiveInt
........ valueString string
........ valueTime time
........ valueUnsignedInt unsignedInt
........ valueUri uri
........ valueUrl url
........ valueUuid uuid
........ valueAddress Address
........ valueAge Age
........ valueAnnotation Annotation
........ valueAttachment Attachment
........ valueCodeableConcept CodeableConcept
........ valueCoding Coding
........ valueContactPoint ContactPoint
........ valueCount Count
........ valueDistance Distance
........ valueDuration Duration
........ valueHumanName HumanName
........ valueIdentifier Identifier
........ valueMoney Money
........ valuePeriod Period
........ valueQuantity Quantity
........ valueRange Range
........ valueRatio Ratio
........ valueReference Reference(Any)
........ valueSampledData SampledData
........ valueSignature Signature
........ valueTiming Timing
........ valueContactDetail ContactDetail
........ valueContributor Contributor
........ valueDataRequirement DataRequirement
........ valueExpression Expression
........ valueParameterDefinition ParameterDefinition
........ valueRelatedArtifact RelatedArtifact
........ valueTriggerDefinition TriggerDefinition
........ valueUsageContext UsageContext
........ valueDosage Dosage
........ valueMeta Meta
........ value[x]:valueCoding 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
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
......... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL
......... version 0..1 string Version of the system - if relevant
......... code 0..1 code Symbol in syntax defined by the system
......... display 0..1 string Representation defined by the system
......... userSelected 0..1 boolean If this coding was chosen directly by the user
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
......... system SΣ 0..1 uri Identity of the terminology system
......... version Σ 0..1 string Version of the system - if relevant
......... code SΣ 0..1 code Kennzeichen nach § 9 Abs. 1 Nr. 6 BtMVV
......... display Σ 0..1 string Representation defined by the system
......... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... extension:additional-information-substitutes S 0..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "additional-information-substitutes"
....... Slices for value[x] S 0..1 Value of extension
Slice: Unordered, Open by type:$this
........ valueBase64Binary base64Binary
........ valueBoolean boolean
........ valueCanonical canonical(Any)
........ valueCode code
........ valueDate date
........ valueDateTime dateTime
........ valueDecimal decimal
........ valueId id
........ valueInstant instant
........ valueInteger integer
........ valueMarkdown markdown
........ valueOid oid
........ valuePositiveInt positiveInt
........ valueString string
........ valueTime time
........ valueUnsignedInt unsignedInt
........ valueUri uri
........ valueUrl url
........ valueUuid uuid
........ valueAddress Address
........ valueAge Age
........ valueAnnotation Annotation
........ valueAttachment Attachment
........ valueCodeableConcept CodeableConcept
........ valueCoding Coding
........ valueContactPoint ContactPoint
........ valueCount Count
........ valueDistance Distance
........ valueDuration Duration
........ valueHumanName HumanName
........ valueIdentifier Identifier
........ valueMoney Money
........ valuePeriod Period
........ valueQuantity Quantity
........ valueRange Range
........ valueRatio Ratio
........ valueReference Reference(Any)
........ valueSampledData SampledData
........ valueSignature Signature
........ valueTiming Timing
........ valueContactDetail ContactDetail
........ valueContributor Contributor
........ valueDataRequirement DataRequirement
........ valueExpression Expression
........ valueParameterDefinition ParameterDefinition
........ valueRelatedArtifact RelatedArtifact
........ valueTriggerDefinition TriggerDefinition
........ valueUsageContext UsageContext
........ valueDosage Dosage
........ valueMeta Meta
........ value[x]:valueString S 0..1 string Ergänzende Angaben zu Substitutionsmittel
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension"
.... extension:teratogenic S 0..1 (Complex) T-Rezept
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension S 5..* Extension Extension
Slice: Unordered, Closed by value:url
...... extension:off-label S 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "off-label"
....... value[x] S 0..1 boolean Off-Label
...... extension:childbearing-potential S 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "childbearing-potential"
....... value[x] S 0..1 boolean Gebärfähige Frau
...... extension:security-compliance S 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "security-compliance"
....... value[x] S 0..1 boolean Einhaltung Sicherheitsmaßnahmen
...... extension:hand-out-information-material S 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "hand-out-information-material"
....... value[x] S 0..1 boolean Aushändigung Informationsmaterialien
...... extension:declaration-of-expertise S 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "declaration-of-expertise"
....... value[x] S 0..1 boolean Erklärung Sachkenntnis
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension"
.... extension:renderedDosageInstruction S 0..1 markdown Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction
.... extension:generatedDosageInstructionsMeta S 0..1 (Complex) Metadaten zu den generierten Dosierungsanweisungen
URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... Slices for identifier 0..* Identifier External ids for this request
Slice: Unordered, Open by pattern:$this
.... identifier:RxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier External ids for this request

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... use 0..1 code usual | official | temp | secondary | old (If known)
..... type 0..1 CodeableConcept Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier
..... value 0..1 string The value that is unique
..... period 0..1 Period Time period when id is/was valid for use
..... assigner 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:RxOriginatorProcessIdentifier 0..1 RxOriginatorProcessIdentifier External ids for this request

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... use 0..1 code usual | official | temp | secondary | old (If known)
..... type 0..1 CodeableConcept Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier
..... value 0..1 string The value that is unique
..... period 0..1 Period Time period when id is/was valid for use
..... assigner 0..1 Reference(Organization) Organization that issued id (may be just text)
... status ?!SΣ 1..1 code Status of Medication Request
Binding: TI Medication Request ValueSet (required)
... statusReason 0..1 CodeableConcept Reason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
... intent ?!SΣ 1..1 code filler-order
Binding: medicationRequest Intent (required): The kind of medication order.
... category 0..* CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.
... priority Σ 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... reported[x] Σ 0..1 Reported rather than primary record
.... reportedBoolean boolean
.... reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... medication[x] SΣ 1..1 Reference(Medication) Medication to be taken
... subject SΣC 1..1 Reference(Patient) Who or group medication request is for
Constraints: ref-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier SΣ 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter C 0..1 Reference(Encounter) Encounter created as part of encounter/admission/stay
Constraints: ref-1
... supportingInformation C 0..* Reference(Resource) Information to support ordering of the medication
Constraints: ref-1
... authoredOn SΣ 1..1 dateTime Issue Date
... requester SΣC 0..1 Reference(Organization | Practitioner | PractitionerRole) Who/What requested the Request
Constraints: ref-1
... performer C 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) Intended performer of administration
Constraints: ref-1
... performerType Σ 0..1 CodeableConcept Desired kind of performer of the medication administration
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.
... recorder C 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
Constraints: ref-1
... reasonCode 0..* CodeableConcept Reason or indication for ordering or not ordering the medication
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.
... reasonReference C 0..* Reference(Condition | Observation) Condition or observation that supports why the prescription is being written
Constraints: ref-1
... instantiatesCanonical Σ 0..* canonical() Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn SΣC 0..* Reference(eMP MedicationRequest) What request fulfills
Constraints: ref-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier SΣ 0..1 MedicationPlanIdentifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... courseOfTherapyType 0..1 CodeableConcept Overall pattern of medication administration
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.
... insurance C 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
Constraints: ref-1
... note S 0..1 Annotation Information about the prescription
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text SΣ 1..1 markdown Dispensing Note
... dosageInstruction S 0..* DosageDgMP Hier werden Informationen zur Dosierung angegeben.
... dispenseRequest S 0..1 BackboneElement Medication supply authorization
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... initialFill 0..1 BackboneElement First fill details
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... quantity C 0..1 SimpleQuantity(4.0.1) First fill quantity
Constraints: qty-3, sqty-1
..... duration C 0..1 Duration First fill duration
Constraints: drt-1, qty-3
.... dispenseInterval C 0..1 Duration Minimum period of time between dispenses
Constraints: drt-1, qty-3
.... validityPeriod C 0..1 Period Time period supply is authorized for
Constraints: per-1
.... numberOfRepeatsAllowed 0..1 unsignedInt Number of refills authorized
.... quantity SC 0..1 SimpleQuantity(4.0.1) Amount of medication to supply per dispense
Constraints: qty-3, sqty-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... value SΣ 1..1 decimal Number of Prescribed Packages
..... unit SΣ 0..1 string Unit representation
..... system SΣC 0..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
..... code SΣ 0..1 code Coded form of the unit
.... expectedSupplyDuration SC 0..1 Duration Number of days supply per dispense
Constraints: drt-1, qty-3
.... performer C 0..1 Reference(Organization) Intended dispenser
Constraints: ref-1
... substitution S 0..1 BackboneElement Any restrictions on medication substitution
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... allowed[x] S 1..1 boolean Whether substitution is allowed or not
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.
... priorPrescription C 0..1 Reference(MedicationRequest) An order/prescription that is being replaced
Constraints: ref-1
... detectedIssue C 0..* Reference(DetectedIssue) Clinical Issue with action
Constraints: ref-1
... eventHistory C 0..* Reference(Provenance) A list of events of interest in the lifecycle
Constraints: ref-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
MedicationRequest.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
MedicationRequest.language Base preferred Common Languages 📍4.0.1 FHIR Std.
MedicationRequest.extension:narcotics.​extension:narcotics-markings.​value[x]:valueCoding Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL Not State Unknown
MedicationRequest.status Base required TI Medication Request ValueSet 📦1.0.7 TI Terminology v1.0
MedicationRequest.statusReason Base example Medication request status reason codes 📍4.0.1 FHIR Std.
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.category Base example Medication request category codes 📍4.0.1 FHIR Std.
MedicationRequest.priority Base required Request priority 📍4.0.1 FHIR Std.
MedicationRequest.subject.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
MedicationRequest.performerType Base example Procedure Performer Role Codes 📍4.0.1 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
MedicationRequest.basedOn.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
MedicationRequest.courseOfTherapyType Base example Medication request course of therapy codes 📍4.0.1 FHIR Std.
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📦3.0.0 THO v7.0

Constraints

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
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
drt-1 error MedicationRequest.dispenseRequest.initialFill.duration, MedicationRequest.dispenseRequest.dispenseInterval, MedicationRequest.dispenseRequest.expectedSupplyDuration There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. code.exists() implies ((system = %ucum) and value.exists())
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
per-1 error MedicationRequest.dispenseRequest.validityPeriod If present, start SHALL have a lower value than end start.hasValue().not() or end.hasValue().not() or (start <= end)
qty-3 error MedicationRequest.extension:multiplePrescription.extension:counter.value[x].numerator, MedicationRequest.extension:multiplePrescription.extension:counter.value[x].denominator, MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.initialFill.duration, MedicationRequest.dispenseRequest.dispenseInterval, MedicationRequest.dispenseRequest.quantity, MedicationRequest.dispenseRequest.expectedSupplyDuration If a code for the unit is present, the system SHALL also be present code.empty() or system.exists()
ref-1 error MedicationRequest.subject, MedicationRequest.encounter, MedicationRequest.supportingInformation, MedicationRequest.requester, MedicationRequest.performer, MedicationRequest.recorder, MedicationRequest.reasonReference, MedicationRequest.basedOn, MedicationRequest.insurance, MedicationRequest.dispenseRequest.performer, MedicationRequest.priorPrescription, MedicationRequest.detectedIssue, MedicationRequest.eventHistory SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
sqty-1 error MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantity The comparator is not used on a SimpleQuantity comparator.empty()

This structure is derived from MedicationRequest

Summary

Mandatory: 2 elements(1 nested mandatory element)
Must-Support: 50 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of MedicationRequest.identifier

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
... meta SΣ 0..1 Meta Metadata about the resource
.... versionId SΣ 0..1 id Version specific identifier
.... lastUpdated SΣ 0..1 instant When the resource version last changed
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... extension:multiplePrescription S 0..1 (Complex) MultiplePrescription
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension
..... Slices for extension Content/Rules for all slices
...... extension:indicator 0..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "indicator"
....... value[x] S 1..1 boolean Multiple Prescription Indicator
...... extension:counter 0..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "counter"
....... value[x] S 1..1 Ratio Value of extension
........ numerator SΣC 1..1 Quantity Numerator value
Constraints: qty-3
......... value SΣ 1..1 decimal Multiple Prescription Counter
........ denominator SΣC 1..1 Quantity Denominator value
Constraints: qty-3
......... value SΣ 1..1 decimal Denominator of Multiple Prescription Series
...... extension:period 0..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "period"
....... value[x] SC 1..1 Period Value of extension
Constraints: -limitationDateStart, -limitationDateEnd
........ start SΣC 1..1 dateTime Start Date of the Prescription Redemption Period
........ end SΣC 0..1 dateTime End Date of the Prescription Redemption Period
...... extension:id 0..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "id"
....... value[x] S 1..1 Identifier Value of extension
........ system SΣ 0..1 uri Specification as UUID
Fixed Value: urn:ietf:rfc:3986
........ value SΣ 0..1 string Multiple Prescription ID
Example General: 123456
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"
.... extension:isBvg S 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension"
..... value[x] S 1..1 boolean BVG
.... extension:isSer S 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension"
..... value[x] S 1..1 boolean SER
.... extension:prescriberID 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension"
..... value[x] S 1..1 Identifier Value of extension
...... value Σ 1..1 string Verschreiber-ID
Example General: 123456
.... extension:patientID 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension"
..... value[x] S 1..1 Identifier Value of extension
...... value Σ 1..1 string Patienten-ID
Example General: 123456
.... extension:narcotics S 0..1 (Complex) Betäubungsmittel (BtM)
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension
..... Slices for extension S 0..* Extension Extension
Slice: Unordered, Closed by value:url
...... extension:narcotics-markings S 0..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "narcotics-markings"
....... Slices for value[x] S 0..1 Value of extension
Slice: Unordered, Open by type:$this
........ valueBase64Binary base64Binary
........ valueBoolean boolean
........ valueCanonical canonical(Any)
........ valueCode code
........ valueDate date
........ valueDateTime dateTime
........ valueDecimal decimal
........ valueId id
........ valueInstant instant
........ valueInteger integer
........ valueMarkdown markdown
........ valueOid oid
........ valuePositiveInt positiveInt
........ valueString string
........ valueTime time
........ valueUnsignedInt unsignedInt
........ valueUri uri
........ valueUrl url
........ valueUuid uuid
........ valueAddress Address
........ valueAge Age
........ valueAnnotation Annotation
........ valueAttachment Attachment
........ valueCodeableConcept CodeableConcept
........ valueCoding Coding
........ valueContactPoint ContactPoint
........ valueCount Count
........ valueDistance Distance
........ valueDuration Duration
........ valueHumanName HumanName
........ valueIdentifier Identifier
........ valueMoney Money
........ valuePeriod Period
........ valueQuantity Quantity
........ valueRange Range
........ valueRatio Ratio
........ valueReference Reference(Any)
........ valueSampledData SampledData
........ valueSignature Signature
........ valueTiming Timing
........ valueContactDetail ContactDetail
........ valueContributor Contributor
........ valueDataRequirement DataRequirement
........ valueExpression Expression
........ valueParameterDefinition ParameterDefinition
........ valueRelatedArtifact RelatedArtifact
........ valueTriggerDefinition TriggerDefinition
........ valueUsageContext UsageContext
........ valueDosage Dosage
........ valueMeta Meta
........ value[x]:valueCoding 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
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
......... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL
......... version 0..1 string Version of the system - if relevant
......... code 0..1 code Symbol in syntax defined by the system
......... display 0..1 string Representation defined by the system
......... userSelected 0..1 boolean If this coding was chosen directly by the user
......... system SΣ 0..1 uri Identity of the terminology system
......... code SΣ 0..1 code Kennzeichen nach § 9 Abs. 1 Nr. 6 BtMVV
...... extension:additional-information-substitutes S 0..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "additional-information-substitutes"
....... Slices for value[x] S 0..1 Value of extension
Slice: Unordered, Open by type:$this
........ valueBase64Binary base64Binary
........ valueBoolean boolean
........ valueCanonical canonical(Any)
........ valueCode code
........ valueDate date
........ valueDateTime dateTime
........ valueDecimal decimal
........ valueId id
........ valueInstant instant
........ valueInteger integer
........ valueMarkdown markdown
........ valueOid oid
........ valuePositiveInt positiveInt
........ valueString string
........ valueTime time
........ valueUnsignedInt unsignedInt
........ valueUri uri
........ valueUrl url
........ valueUuid uuid
........ valueAddress Address
........ valueAge Age
........ valueAnnotation Annotation
........ valueAttachment Attachment
........ valueCodeableConcept CodeableConcept
........ valueCoding Coding
........ valueContactPoint ContactPoint
........ valueCount Count
........ valueDistance Distance
........ valueDuration Duration
........ valueHumanName HumanName
........ valueIdentifier Identifier
........ valueMoney Money
........ valuePeriod Period
........ valueQuantity Quantity
........ valueRange Range
........ valueRatio Ratio
........ valueReference Reference(Any)
........ valueSampledData SampledData
........ valueSignature Signature
........ valueTiming Timing
........ valueContactDetail ContactDetail
........ valueContributor Contributor
........ valueDataRequirement DataRequirement
........ valueExpression Expression
........ valueParameterDefinition ParameterDefinition
........ valueRelatedArtifact RelatedArtifact
........ valueTriggerDefinition TriggerDefinition
........ valueUsageContext UsageContext
........ valueDosage Dosage
........ valueMeta Meta
........ value[x]:valueString S 0..1 string Ergänzende Angaben zu Substitutionsmittel
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension"
.... extension:teratogenic S 0..1 (Complex) T-Rezept
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension
..... Slices for extension S 5..* Extension Extension
Slice: Unordered, Closed by value:url
...... extension:off-label S 1..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "off-label"
....... value[x] S 0..1 boolean Off-Label
...... extension:childbearing-potential S 1..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "childbearing-potential"
....... value[x] S 0..1 boolean Gebärfähige Frau
...... extension:security-compliance S 1..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "security-compliance"
....... value[x] S 0..1 boolean Einhaltung Sicherheitsmaßnahmen
...... extension:hand-out-information-material S 1..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "hand-out-information-material"
....... value[x] S 0..1 boolean Aushändigung Informationsmaterialien
...... extension:declaration-of-expertise S 1..1 Extension Extension
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "declaration-of-expertise"
....... value[x] S 0..1 boolean Erklärung Sachkenntnis
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension"
.... extension:renderedDosageInstruction S 0..1 markdown Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction
.... extension:generatedDosageInstructionsMeta S 0..1 (Complex) Metadaten zu den generierten Dosierungsanweisungen
URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
... Slices for identifier 0..* Identifier External ids for this request
Slice: Unordered, Open by pattern:$this
.... identifier:RxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier External ids for this request

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... use 0..1 code usual | official | temp | secondary | old (If known)
..... type 0..1 CodeableConcept Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier
..... value 0..1 string The value that is unique
..... period 0..1 Period Time period when id is/was valid for use
..... assigner 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:RxOriginatorProcessIdentifier 0..1 RxOriginatorProcessIdentifier External ids for this request

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... use 0..1 code usual | official | temp | secondary | old (If known)
..... type 0..1 CodeableConcept Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier
..... value 0..1 string The value that is unique
..... period 0..1 Period Time period when id is/was valid for use
..... assigner 0..1 Reference(Organization) Organization that issued id (may be just text)
... status ?!SΣ 1..1 code Status of Medication Request
Binding: TI Medication Request ValueSet (required)
... intent ?!SΣ 1..1 code filler-order
Binding: medicationRequest Intent (required): The kind of medication order.
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... medication[x] SΣ 1..1 Reference(Medication) Medication to be taken
... subject SΣC 1..1 Reference(Patient) Who or group medication request is for
Constraints: ref-1
.... identifier SΣ 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
... authoredOn SΣ 1..1 dateTime Issue Date
... requester SΣC 0..1 Reference(Organization | Practitioner | PractitionerRole) Who/What requested the Request
Constraints: ref-1
... basedOn SΣC 0..* Reference(eMP MedicationRequest) What request fulfills
Constraints: ref-1
.... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier SΣ 0..1 MedicationPlanIdentifier Logical reference, when literal reference is not known
... note S 0..1 Annotation Information about the prescription
.... text SΣ 1..1 markdown Dispensing Note
... dosageInstruction S 0..* DosageDgMP Hier werden Informationen zur Dosierung angegeben.
... dispenseRequest S 0..1 BackboneElement Medication supply authorization
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... quantity SC 0..1 SimpleQuantity(4.0.1) Amount of medication to supply per dispense
Constraints: qty-3, sqty-1
..... value SΣ 1..1 decimal Number of Prescribed Packages
..... unit SΣ 0..1 string Unit representation
..... system SΣC 0..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
..... code SΣ 0..1 code Coded form of the unit
.... expectedSupplyDuration SC 0..1 Duration Number of days supply per dispense
Constraints: drt-1, qty-3
... substitution S 0..1 BackboneElement Any restrictions on medication substitution
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... allowed[x] S 1..1 boolean Whether substitution is allowed or not

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.extension:narcotics.​extension:narcotics-markings.​value[x]:valueCoding Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL Not State Unknown
MedicationRequest.status Base required TI Medication Request ValueSet 📦1.0.7 TI Terminology v1.0
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.

Constraints

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
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
drt-1 error MedicationRequest.dispenseRequest.expectedSupplyDuration There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. code.exists() implies ((system = %ucum) and value.exists())
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
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, MedicationRequest.dispenseRequest.quantity, MedicationRequest.dispenseRequest.expectedSupplyDuration If a code for the unit is present, the system SHALL also be present code.empty() or system.exists()
ref-1 error MedicationRequest.subject, MedicationRequest.requester, MedicationRequest.basedOn SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
sqty-1 error MedicationRequest.dispenseRequest.quantity The comparator is not used on a SimpleQuantity comparator.empty()

Differential View

This structure is derived from MedicationRequest

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
... meta S 0..1 Meta Metadata about the resource
.... versionId S 0..1 id Version specific identifier
.... lastUpdated S 0..1 instant When the resource version last changed
... Slices for extension Content/Rules for all slices
.... extension:multiplePrescription S 0..1 (Complex) MultiplePrescription
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension
..... Slices for extension Content/Rules for all slices
...... extension:indicator 0..1 Extension Extension
....... value[x] S 1..1 boolean Multiple Prescription Indicator
...... extension:counter 0..1 Extension Extension
....... value[x] S 1..1 Ratio Value of extension
........ numerator S 1..1 Quantity Numerator value
......... value S 1..1 decimal Multiple Prescription Counter
........ denominator S 1..1 Quantity Denominator value
......... value S 1..1 decimal Denominator of Multiple Prescription Series
...... extension:period 0..1 Extension Extension
....... value[x] S 1..1 Period Value of extension
........ start S 1..1 dateTime Start Date of the Prescription Redemption Period
........ end S 0..1 dateTime End Date of the Prescription Redemption Period
...... extension:id 0..1 Extension Extension
....... value[x] S 1..1 Identifier Value of extension
........ system S 0..1 uri Specification as UUID
........ value S 0..1 string Multiple Prescription ID
.... extension:isBvg S 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension
..... value[x] S 1..1 boolean BVG
.... extension:isSer S 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension
..... value[x] S 1..1 boolean SER
.... extension:prescriberID 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension
..... value[x] S 1..1 Identifier Value of extension
.... extension:patientID 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension
..... value[x] S 1..1 Identifier Value of extension
.... extension:narcotics S 0..1 (Complex) Betäubungsmittel (BtM)
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension
..... extension S 0..* Extension Extension
.... extension:teratogenic S 0..1 (Complex) T-Rezept
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension
..... extension S 5..* Extension Extension
.... extension:renderedDosageInstruction S 0..1 markdown Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction
.... extension:generatedDosageInstructionsMeta S 0..1 (Complex) Metadaten zu den generierten Dosierungsanweisungen
URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
... Slices for identifier 0..* Identifier External ids for this request
Slice: Unordered, Open by pattern:$this
.... identifier:RxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier External ids for this request
Required Pattern: At least the following
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier
.... identifier:RxOriginatorProcessIdentifier 0..1 RxOriginatorProcessIdentifier External ids for this request
Required Pattern: At least the following
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier
... intent S 1..1 code filler-order
... medication[x] S 1..1 Reference(Medication) Medication to be taken
... subject S 1..1 Reference(Patient) Who or group medication request is for
.... identifier S 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
... authoredOn S 1..1 dateTime Issue Date
... requester S 0..1 Reference(Organization | Practitioner | PractitionerRole) Who/What requested the Request
... basedOn S 0..* Reference(eMP MedicationRequest) What request fulfills
.... reference S 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier S 0..1 MedicationPlanIdentifier Logical reference, when literal reference is not known
... note S 0..1 Annotation Information about the prescription
.... text S 1..1 markdown Dispensing Note
... dosageInstruction S 0..* DosageDgMP Hier werden Informationen zur Dosierung angegeben.
... dispenseRequest S 0..1 BackboneElement Medication supply authorization
.... quantity S 0..1 SimpleQuantity(4.0.1) Amount of medication to supply per dispense
..... value S 1..1 decimal Number of Prescribed Packages
..... unit S 0..1 string Unit representation
..... system S 0..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
..... code S 0..1 code Coded form of the unit
.... expectedSupplyDuration S 0..1 Duration Number of days supply per dispense
... substitution S 0..1 BackboneElement Any restrictions on medication substitution
.... allowed[x] S 1..1 boolean Whether substitution is allowed or not

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationRequest.status Base required TI Medication Request ValueSet 📦1.0.7 TI Terminology v1.0

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
... id Σ 0..1 id Logical id of this artifact
... meta SΣ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId SΣ 0..1 id Version specific identifier
.... lastUpdated SΣ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:multiplePrescription S 0..1 (Complex) MultiplePrescription
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Closed by value:url
...... extension:indicator 0..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "indicator"
....... value[x] S 1..1 boolean Multiple Prescription Indicator
...... extension:counter 0..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "counter"
....... value[x] S 1..1 Ratio Value of extension
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ numerator SΣC 1..1 Quantity Numerator value
Constraints: qty-3
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
......... value SΣ 1..1 decimal Multiple Prescription Counter
........ denominator SΣC 1..1 Quantity Denominator value
Constraints: qty-3
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
......... value SΣ 1..1 decimal Denominator of Multiple Prescription Series
...... extension:period 0..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "period"
....... value[x] SC 1..1 Period Value of extension
Constraints: -limitationDateStart, -limitationDateEnd
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ start SΣC 1..1 dateTime Start Date of the Prescription Redemption Period
........ end SΣC 0..1 dateTime End Date of the Prescription Redemption Period
...... extension:id 0..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "id"
....... value[x] S 1..1 Identifier Value of extension
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 0..1 uri Specification as UUID
Fixed Value: urn:ietf:rfc:3986
........ value SΣ 0..1 string Multiple Prescription ID
Example General: 123456
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"
.... extension:isBvg S 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension"
..... value[x] S 1..1 boolean BVG
.... extension:isSer S 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension"
..... value[x] S 1..1 boolean SER
.... extension:prescriberID 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension"
..... value[x] S 1..1 Identifier Value of extension
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string Verschreiber-ID
Example General: 123456
.... extension:patientID 0..1 (Complex) Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension"
..... value[x] S 1..1 Identifier Value of extension
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string Patienten-ID
Example General: 123456
.... extension:narcotics S 0..1 (Complex) Betäubungsmittel (BtM)
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension S 0..* Extension Extension
Slice: Unordered, Closed by value:url
...... extension:narcotics-markings S 0..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "narcotics-markings"
....... Slices for value[x] S 0..1 Value of extension
Slice: Unordered, Open by type:$this
........ valueBase64Binary base64Binary
........ valueBoolean boolean
........ valueCanonical canonical(Any)
........ valueCode code
........ valueDate date
........ valueDateTime dateTime
........ valueDecimal decimal
........ valueId id
........ valueInstant instant
........ valueInteger integer
........ valueMarkdown markdown
........ valueOid oid
........ valuePositiveInt positiveInt
........ valueString string
........ valueTime time
........ valueUnsignedInt unsignedInt
........ valueUri uri
........ valueUrl url
........ valueUuid uuid
........ valueAddress Address
........ valueAge Age
........ valueAnnotation Annotation
........ valueAttachment Attachment
........ valueCodeableConcept CodeableConcept
........ valueCoding Coding
........ valueContactPoint ContactPoint
........ valueCount Count
........ valueDistance Distance
........ valueDuration Duration
........ valueHumanName HumanName
........ valueIdentifier Identifier
........ valueMoney Money
........ valuePeriod Period
........ valueQuantity Quantity
........ valueRange Range
........ valueRatio Ratio
........ valueReference Reference(Any)
........ valueSampledData SampledData
........ valueSignature Signature
........ valueTiming Timing
........ valueContactDetail ContactDetail
........ valueContributor Contributor
........ valueDataRequirement DataRequirement
........ valueExpression Expression
........ valueParameterDefinition ParameterDefinition
........ valueRelatedArtifact RelatedArtifact
........ valueTriggerDefinition TriggerDefinition
........ valueUsageContext UsageContext
........ valueDosage Dosage
........ valueMeta Meta
........ value[x]:valueCoding 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
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
......... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL
......... version 0..1 string Version of the system - if relevant
......... code 0..1 code Symbol in syntax defined by the system
......... display 0..1 string Representation defined by the system
......... userSelected 0..1 boolean If this coding was chosen directly by the user
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
......... system SΣ 0..1 uri Identity of the terminology system
......... version Σ 0..1 string Version of the system - if relevant
......... code SΣ 0..1 code Kennzeichen nach § 9 Abs. 1 Nr. 6 BtMVV
......... display Σ 0..1 string Representation defined by the system
......... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... extension:additional-information-substitutes S 0..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "additional-information-substitutes"
....... Slices for value[x] S 0..1 Value of extension
Slice: Unordered, Open by type:$this
........ valueBase64Binary base64Binary
........ valueBoolean boolean
........ valueCanonical canonical(Any)
........ valueCode code
........ valueDate date
........ valueDateTime dateTime
........ valueDecimal decimal
........ valueId id
........ valueInstant instant
........ valueInteger integer
........ valueMarkdown markdown
........ valueOid oid
........ valuePositiveInt positiveInt
........ valueString string
........ valueTime time
........ valueUnsignedInt unsignedInt
........ valueUri uri
........ valueUrl url
........ valueUuid uuid
........ valueAddress Address
........ valueAge Age
........ valueAnnotation Annotation
........ valueAttachment Attachment
........ valueCodeableConcept CodeableConcept
........ valueCoding Coding
........ valueContactPoint ContactPoint
........ valueCount Count
........ valueDistance Distance
........ valueDuration Duration
........ valueHumanName HumanName
........ valueIdentifier Identifier
........ valueMoney Money
........ valuePeriod Period
........ valueQuantity Quantity
........ valueRange Range
........ valueRatio Ratio
........ valueReference Reference(Any)
........ valueSampledData SampledData
........ valueSignature Signature
........ valueTiming Timing
........ valueContactDetail ContactDetail
........ valueContributor Contributor
........ valueDataRequirement DataRequirement
........ valueExpression Expression
........ valueParameterDefinition ParameterDefinition
........ valueRelatedArtifact RelatedArtifact
........ valueTriggerDefinition TriggerDefinition
........ valueUsageContext UsageContext
........ valueDosage Dosage
........ valueMeta Meta
........ value[x]:valueString S 0..1 string Ergänzende Angaben zu Substitutionsmittel
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension"
.... extension:teratogenic S 0..1 (Complex) T-Rezept
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension S 5..* Extension Extension
Slice: Unordered, Closed by value:url
...... extension:off-label S 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "off-label"
....... value[x] S 0..1 boolean Off-Label
...... extension:childbearing-potential S 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "childbearing-potential"
....... value[x] S 0..1 boolean Gebärfähige Frau
...... extension:security-compliance S 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "security-compliance"
....... value[x] S 0..1 boolean Einhaltung Sicherheitsmaßnahmen
...... extension:hand-out-information-material S 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "hand-out-information-material"
....... value[x] S 0..1 boolean Aushändigung Informationsmaterialien
...... extension:declaration-of-expertise S 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0 Extension
Slice: Unordered, Open by value:url
....... url 1..1 uri "declaration-of-expertise"
....... value[x] S 0..1 boolean Erklärung Sachkenntnis
..... url 1..1 uri "https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension"
.... extension:renderedDosageInstruction S 0..1 markdown Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction
.... extension:generatedDosageInstructionsMeta S 0..1 (Complex) Metadaten zu den generierten Dosierungsanweisungen
URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... Slices for identifier 0..* Identifier External ids for this request
Slice: Unordered, Open by pattern:$this
.... identifier:RxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier External ids for this request

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... use 0..1 code usual | official | temp | secondary | old (If known)
..... type 0..1 CodeableConcept Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier
..... value 0..1 string The value that is unique
..... period 0..1 Period Time period when id is/was valid for use
..... assigner 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:RxOriginatorProcessIdentifier 0..1 RxOriginatorProcessIdentifier External ids for this request

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... use 0..1 code usual | official | temp | secondary | old (If known)
..... type 0..1 CodeableConcept Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier
..... value 0..1 string The value that is unique
..... period 0..1 Period Time period when id is/was valid for use
..... assigner 0..1 Reference(Organization) Organization that issued id (may be just text)
... status ?!SΣ 1..1 code Status of Medication Request
Binding: TI Medication Request ValueSet (required)
... statusReason 0..1 CodeableConcept Reason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
... intent ?!SΣ 1..1 code filler-order
Binding: medicationRequest Intent (required): The kind of medication order.
... category 0..* CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.
... priority Σ 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... reported[x] Σ 0..1 Reported rather than primary record
.... reportedBoolean boolean
.... reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... medication[x] SΣ 1..1 Reference(Medication) Medication to be taken
... subject SΣC 1..1 Reference(Patient) Who or group medication request is for
Constraints: ref-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier SΣ 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter C 0..1 Reference(Encounter) Encounter created as part of encounter/admission/stay
Constraints: ref-1
... supportingInformation C 0..* Reference(Resource) Information to support ordering of the medication
Constraints: ref-1
... authoredOn SΣ 1..1 dateTime Issue Date
... requester SΣC 0..1 Reference(Organization | Practitioner | PractitionerRole) Who/What requested the Request
Constraints: ref-1
... performer C 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) Intended performer of administration
Constraints: ref-1
... performerType Σ 0..1 CodeableConcept Desired kind of performer of the medication administration
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.
... recorder C 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
Constraints: ref-1
... reasonCode 0..* CodeableConcept Reason or indication for ordering or not ordering the medication
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.
... reasonReference C 0..* Reference(Condition | Observation) Condition or observation that supports why the prescription is being written
Constraints: ref-1
... instantiatesCanonical Σ 0..* canonical() Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn SΣC 0..* Reference(eMP MedicationRequest) What request fulfills
Constraints: ref-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier SΣ 0..1 MedicationPlanIdentifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... courseOfTherapyType 0..1 CodeableConcept Overall pattern of medication administration
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.
... insurance C 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
Constraints: ref-1
... note S 0..1 Annotation Information about the prescription
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text SΣ 1..1 markdown Dispensing Note
... dosageInstruction S 0..* DosageDgMP Hier werden Informationen zur Dosierung angegeben.
... dispenseRequest S 0..1 BackboneElement Medication supply authorization
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... initialFill 0..1 BackboneElement First fill details
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... quantity C 0..1 SimpleQuantity(4.0.1) First fill quantity
Constraints: qty-3, sqty-1
..... duration C 0..1 Duration First fill duration
Constraints: drt-1, qty-3
.... dispenseInterval C 0..1 Duration Minimum period of time between dispenses
Constraints: drt-1, qty-3
.... validityPeriod C 0..1 Period Time period supply is authorized for
Constraints: per-1
.... numberOfRepeatsAllowed 0..1 unsignedInt Number of refills authorized
.... quantity SC 0..1 SimpleQuantity(4.0.1) Amount of medication to supply per dispense
Constraints: qty-3, sqty-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... value SΣ 1..1 decimal Number of Prescribed Packages
..... unit SΣ 0..1 string Unit representation
..... system SΣC 0..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
..... code SΣ 0..1 code Coded form of the unit
.... expectedSupplyDuration SC 0..1 Duration Number of days supply per dispense
Constraints: drt-1, qty-3
.... performer C 0..1 Reference(Organization) Intended dispenser
Constraints: ref-1
... substitution S 0..1 BackboneElement Any restrictions on medication substitution
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... allowed[x] S 1..1 boolean Whether substitution is allowed or not
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.
... priorPrescription C 0..1 Reference(MedicationRequest) An order/prescription that is being replaced
Constraints: ref-1
... detectedIssue C 0..* Reference(DetectedIssue) Clinical Issue with action
Constraints: ref-1
... eventHistory C 0..* Reference(Provenance) A list of events of interest in the lifecycle
Constraints: ref-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
MedicationRequest.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
MedicationRequest.language Base preferred Common Languages 📍4.0.1 FHIR Std.
MedicationRequest.extension:narcotics.​extension:narcotics-markings.​value[x]:valueCoding Base required https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL Not State Unknown
MedicationRequest.status Base required TI Medication Request ValueSet 📦1.0.7 TI Terminology v1.0
MedicationRequest.statusReason Base example Medication request status reason codes 📍4.0.1 FHIR Std.
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.category Base example Medication request category codes 📍4.0.1 FHIR Std.
MedicationRequest.priority Base required Request priority 📍4.0.1 FHIR Std.
MedicationRequest.subject.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
MedicationRequest.performerType Base example Procedure Performer Role Codes 📍4.0.1 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
MedicationRequest.basedOn.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
MedicationRequest.courseOfTherapyType Base example Medication request course of therapy codes 📍4.0.1 FHIR Std.
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📦3.0.0 THO v7.0

Constraints

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
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
drt-1 error MedicationRequest.dispenseRequest.initialFill.duration, MedicationRequest.dispenseRequest.dispenseInterval, MedicationRequest.dispenseRequest.expectedSupplyDuration There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. code.exists() implies ((system = %ucum) and value.exists())
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
per-1 error MedicationRequest.dispenseRequest.validityPeriod If present, start SHALL have a lower value than end start.hasValue().not() or end.hasValue().not() or (start <= end)
qty-3 error MedicationRequest.extension:multiplePrescription.extension:counter.value[x].numerator, MedicationRequest.extension:multiplePrescription.extension:counter.value[x].denominator, MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.initialFill.duration, MedicationRequest.dispenseRequest.dispenseInterval, MedicationRequest.dispenseRequest.quantity, MedicationRequest.dispenseRequest.expectedSupplyDuration If a code for the unit is present, the system SHALL also be present code.empty() or system.exists()
ref-1 error MedicationRequest.subject, MedicationRequest.encounter, MedicationRequest.supportingInformation, MedicationRequest.requester, MedicationRequest.performer, MedicationRequest.recorder, MedicationRequest.reasonReference, MedicationRequest.basedOn, MedicationRequest.insurance, MedicationRequest.dispenseRequest.performer, MedicationRequest.priorPrescription, MedicationRequest.detectedIssue, MedicationRequest.eventHistory SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
sqty-1 error MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantity The comparator is not used on a SimpleQuantity comparator.empty()

This structure is derived from MedicationRequest

Summary

Mandatory: 2 elements(1 nested mandatory element)
Must-Support: 50 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of MedicationRequest.identifier

 

Other representations of profile: CSV, Excel, Schematron