Implementation Guide
TI Common
Version 1.5.0-ballot.1 - ballot

Ressourcenprofil: TI MedicationStatement dgMP

Offizielle URL: https://gematik.de/fhir/ti/StructureDefinition/ti-medication-statement-dgmp Version: 1.4.0
Active Stand: 2026-09-23 Maschinenlesbarer Name: TIMedicationStatementDgMP

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

Hält die Medikationsinformationen eines Patienten.

Usages:

  • This Profile is not used by any profiles in this Specification

You can also check for usages in the FHIR IG Statistics

Formale Ansichten des Profilinhalts

Beschreibung von Profilen, Differentials, Snapshots und deren Repräsentationen.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
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:context S 0..1 code Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
Binding: Context Codes (required)
.... extension:rxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
.... extension:renderedDosageInstruction S 0..1 (Complex) Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction"
..... value[x] S 0..1 markdown Full representation of the dosage instructions
.... extension:generatedDosageInstructionsMeta S 0..1 (Complex) Metadaten zu den generierten Dosierungsanweisungen
URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
... basedOn SΣC 0..* Reference(TI MedicationRequest dgMP) Fulfils plan, proposal or order
Constraints: ref-1
... status ?!SΣ 1..1 code active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement.
... medication[x] SΣ 1..1 Reference(Medication) Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt
... subject SΣC 1..1 Reference(Patient) Who is/was taking the medication
Constraints: ref-1
.... identifier SΣ 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
... Slices for effective[x] SΣ 0..1 effective[x] gibt den Zeitpunkt oder Zeitraum der Gültigkeit der Medikation an
Slice: Unordered, Closed by type:$this
.... effectiveDateTime dateTime
.... effectivePeriod Period
.... effective[x]:effectiveDateTime SΣC 0..1 dateTime The date/time or interval when the medication is/was/will be taken
Constraints: epa-datetime
.... effective[x]:effectivePeriod SΣ 0..1 Period The date/time or interval when the medication is/was/will be taken
..... start SΣC 0..1 dateTime Starting time with inclusive boundary
Constraints: epa-datetime
..... end SΣC 0..1 dateTime End time with inclusive boundary, if not ongoing
Constraints: epa-datetime
... dateAsserted SΣC 0..1 dateTime When the statement was asserted?
Constraints: epa-datetime
... derivedFrom SC 0..* Reference(TI MedicationRequest dgMP | TI MedicationDispense dgMP) Information des Verschreibungs- und Dispensierprozesses
Constraints: ref-1
... dosage S 0..* DosageDgMP Strukturierte Dosierung/Gebrauchsanweisung

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​status Base required Medication status codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement 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 MedicationStatement 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 MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
epa-datetime error MedicationStatement.effective[x]:effectiveDateTime, MedicationStatement.effective[x]:effectivePeriod.start, MedicationStatement.effective[x]:effectivePeriod.end, MedicationStatement.dateAsserted dateTime muss mindestens aus Tag, Monat und Jahr bestehen toString().matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$')
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
ref-1 error MedicationStatement.basedOn, MedicationStatement.subject, MedicationStatement.derivedFrom 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'))

Diese Struktur ist abgeleitet von MedicationStatement

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... 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:context S 0..1 code Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
Binding: Context Codes (required)
.... extension:rxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
.... extension:renderedDosageInstruction S 0..1 (Complex) Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction
..... extension 0..0 Extension
..... value[x] S 0..1 markdown Full representation of the dosage instructions
.... extension:generatedDosageInstructionsMeta S 0..1 (Complex) Metadaten zu den generierten Dosierungsanweisungen
URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
... basedOn S 0..* Reference(TI MedicationRequest dgMP) Fulfils plan, proposal or order
... medication[x] S 1..1 Reference(Medication) Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt
... subject S 1..1 Reference(Patient) Who is/was taking the medication
.... identifier S 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
... Slices for effective[x] S 0..1 dateTime, Period effective[x] gibt den Zeitpunkt oder Zeitraum der Gültigkeit der Medikation an
Slice: Unordered, Open by type:$this
.... effective[x]:effectiveDateTime SC 0..1 dateTime The date/time or interval when the medication is/was/will be taken
Constraints: epa-datetime
.... effective[x]:effectivePeriod S 0..1 Period The date/time or interval when the medication is/was/will be taken
..... start SC 0..1 dateTime Starting time with inclusive boundary
Constraints: epa-datetime
..... end SC 0..1 dateTime End time with inclusive boundary, if not ongoing
Constraints: epa-datetime
... dateAsserted SC 0..1 dateTime When the statement was asserted?
Constraints: epa-datetime
... derivedFrom S 0..* Reference(TI MedicationRequest dgMP | TI MedicationDispense dgMP) Information des Verschreibungs- und Dispensierprozesses
... dosage S 0..* DosageDgMP Strukturierte Dosierung/Gebrauchsanweisung

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
epa-datetime error MedicationStatement.effective[x]:effectiveDateTime, MedicationStatement.effective[x]:effectivePeriod.start, MedicationStatement.effective[x]:effectivePeriod.end, MedicationStatement.dateAsserted dateTime muss mindestens aus Tag, Monat und Jahr bestehen toString().matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
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
... 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:context S 0..1 code Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
Binding: Context Codes (required)
.... extension:rxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
.... extension:renderedDosageInstruction S 0..1 (Complex) Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction"
..... value[x] S 0..1 markdown Full representation of the dosage instructions
.... 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
... identifier Σ 0..* Identifier External identifier
... basedOn SΣC 0..* Reference(TI MedicationRequest dgMP) Fulfils plan, proposal or order
Constraints: ref-1
... partOf ΣC 0..* Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) Part of referenced event
Constraints: ref-1
... status ?!SΣ 1..1 code active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement.
... statusReason 0..* CodeableConcept Reason for current status
Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement.
... category Σ 0..1 CodeableConcept Type of medication usage
Binding: Medication usage category codes (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
... medication[x] SΣ 1..1 Reference(Medication) Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt
... subject SΣC 1..1 Reference(Patient) Who is/was taking the medication
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
... context ΣC 0..1 Reference(Encounter | EpisodeOfCare) Encounter / Episode associated with MedicationStatement
Constraints: ref-1
... Slices for effective[x] SΣ 0..1 effective[x] gibt den Zeitpunkt oder Zeitraum der Gültigkeit der Medikation an
Slice: Unordered, Closed by type:$this
.... effectiveDateTime dateTime
.... effectivePeriod Period
.... effective[x]:effectiveDateTime SΣC 0..1 dateTime The date/time or interval when the medication is/was/will be taken
Constraints: epa-datetime
.... effective[x]:effectivePeriod SΣ 0..1 Period The date/time or interval when the medication is/was/will be taken
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... start SΣC 0..1 dateTime Starting time with inclusive boundary
Constraints: epa-datetime
..... end SΣC 0..1 dateTime End time with inclusive boundary, if not ongoing
Constraints: epa-datetime
... dateAsserted SΣC 0..1 dateTime When the statement was asserted?
Constraints: epa-datetime
... informationSource C 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) Person or organization that provided the information about the taking of this medication
Constraints: ref-1
... derivedFrom SC 0..* Reference(TI MedicationRequest dgMP | TI MedicationDispense dgMP) Information des Verschreibungs- und Dispensierprozesses
Constraints: ref-1
... reasonCode 0..* CodeableConcept Reason for why the medication is being/was taken
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken.
... reasonReference C 0..* Reference(Condition | Observation | DiagnosticReport) Condition or observation that supports why the medication is being/was taken
Constraints: ref-1
... note 0..* Annotation Further information about the statement
... dosage S 0..* DosageDgMP Strukturierte Dosierung/Gebrauchsanweisung

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
MedicationStatement.​meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
MedicationStatement.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
MedicationStatement.​status Base required Medication status codes 📍4.0.1 FHIR Std.
MedicationStatement.​statusReason Base example SNOMED CT Drug Therapy Status codes 📍4.0.1 FHIR Std.
MedicationStatement.​category Base preferred Medication usage category codes 📍4.0.1 FHIR Std.
MedicationStatement.​subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
MedicationStatement.​reasonCode Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement 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 MedicationStatement 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 MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
epa-datetime error MedicationStatement.effective[x]:effectiveDateTime, MedicationStatement.effective[x]:effectivePeriod.start, MedicationStatement.effective[x]:effectivePeriod.end, MedicationStatement.dateAsserted dateTime muss mindestens aus Tag, Monat und Jahr bestehen toString().matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$')
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
ref-1 error MedicationStatement.basedOn, MedicationStatement.partOf, MedicationStatement.subject, MedicationStatement.context, MedicationStatement.informationSource, MedicationStatement.derivedFrom, MedicationStatement.reasonReference 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'))

Schlüsselelemente-Ansicht

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
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:context S 0..1 code Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
Binding: Context Codes (required)
.... extension:rxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
.... extension:renderedDosageInstruction S 0..1 (Complex) Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction"
..... value[x] S 0..1 markdown Full representation of the dosage instructions
.... extension:generatedDosageInstructionsMeta S 0..1 (Complex) Metadaten zu den generierten Dosierungsanweisungen
URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
... basedOn SΣC 0..* Reference(TI MedicationRequest dgMP) Fulfils plan, proposal or order
Constraints: ref-1
... status ?!SΣ 1..1 code active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement.
... medication[x] SΣ 1..1 Reference(Medication) Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt
... subject SΣC 1..1 Reference(Patient) Who is/was taking the medication
Constraints: ref-1
.... identifier SΣ 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
... Slices for effective[x] SΣ 0..1 effective[x] gibt den Zeitpunkt oder Zeitraum der Gültigkeit der Medikation an
Slice: Unordered, Closed by type:$this
.... effectiveDateTime dateTime
.... effectivePeriod Period
.... effective[x]:effectiveDateTime SΣC 0..1 dateTime The date/time or interval when the medication is/was/will be taken
Constraints: epa-datetime
.... effective[x]:effectivePeriod SΣ 0..1 Period The date/time or interval when the medication is/was/will be taken
..... start SΣC 0..1 dateTime Starting time with inclusive boundary
Constraints: epa-datetime
..... end SΣC 0..1 dateTime End time with inclusive boundary, if not ongoing
Constraints: epa-datetime
... dateAsserted SΣC 0..1 dateTime When the statement was asserted?
Constraints: epa-datetime
... derivedFrom SC 0..* Reference(TI MedicationRequest dgMP | TI MedicationDispense dgMP) Information des Verschreibungs- und Dispensierprozesses
Constraints: ref-1
... dosage S 0..* DosageDgMP Strukturierte Dosierung/Gebrauchsanweisung

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​status Base required Medication status codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement 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 MedicationStatement 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 MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
epa-datetime error MedicationStatement.effective[x]:effectiveDateTime, MedicationStatement.effective[x]:effectivePeriod.start, MedicationStatement.effective[x]:effectivePeriod.end, MedicationStatement.dateAsserted dateTime muss mindestens aus Tag, Monat und Jahr bestehen toString().matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$')
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
ref-1 error MedicationStatement.basedOn, MedicationStatement.subject, MedicationStatement.derivedFrom SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

Differential-Ansicht

Diese Struktur ist abgeleitet von MedicationStatement

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... 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:context S 0..1 code Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
Binding: Context Codes (required)
.... extension:rxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
.... extension:renderedDosageInstruction S 0..1 (Complex) Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction
..... extension 0..0 Extension
..... value[x] S 0..1 markdown Full representation of the dosage instructions
.... extension:generatedDosageInstructionsMeta S 0..1 (Complex) Metadaten zu den generierten Dosierungsanweisungen
URL: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
... basedOn S 0..* Reference(TI MedicationRequest dgMP) Fulfils plan, proposal or order
... medication[x] S 1..1 Reference(Medication) Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt
... subject S 1..1 Reference(Patient) Who is/was taking the medication
.... identifier S 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
... Slices for effective[x] S 0..1 dateTime, Period effective[x] gibt den Zeitpunkt oder Zeitraum der Gültigkeit der Medikation an
Slice: Unordered, Open by type:$this
.... effective[x]:effectiveDateTime SC 0..1 dateTime The date/time or interval when the medication is/was/will be taken
Constraints: epa-datetime
.... effective[x]:effectivePeriod S 0..1 Period The date/time or interval when the medication is/was/will be taken
..... start SC 0..1 dateTime Starting time with inclusive boundary
Constraints: epa-datetime
..... end SC 0..1 dateTime End time with inclusive boundary, if not ongoing
Constraints: epa-datetime
... dateAsserted SC 0..1 dateTime When the statement was asserted?
Constraints: epa-datetime
... derivedFrom S 0..* Reference(TI MedicationRequest dgMP | TI MedicationDispense dgMP) Information des Verschreibungs- und Dispensierprozesses
... dosage S 0..* DosageDgMP Strukturierte Dosierung/Gebrauchsanweisung

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
epa-datetime error MedicationStatement.effective[x]:effectiveDateTime, MedicationStatement.effective[x]:effectivePeriod.start, MedicationStatement.effective[x]:effectivePeriod.end, MedicationStatement.dateAsserted dateTime muss mindestens aus Tag, Monat und Jahr bestehen toString().matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$')

Snapshot-AnsichtView

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
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
... 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:context S 0..1 code Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
Binding: Context Codes (required)
.... extension:rxPrescriptionProcessIdentifier 0..1 RxPrescriptionProcessIdentifier Extension
URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
.... extension:renderedDosageInstruction S 0..1 (Complex) Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction"
..... value[x] S 0..1 markdown Full representation of the dosage instructions
.... 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
... identifier Σ 0..* Identifier External identifier
... basedOn SΣC 0..* Reference(TI MedicationRequest dgMP) Fulfils plan, proposal or order
Constraints: ref-1
... partOf ΣC 0..* Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) Part of referenced event
Constraints: ref-1
... status ?!SΣ 1..1 code active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement.
... statusReason 0..* CodeableConcept Reason for current status
Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement.
... category Σ 0..1 CodeableConcept Type of medication usage
Binding: Medication usage category codes (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
... medication[x] SΣ 1..1 Reference(Medication) Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt
... subject SΣC 1..1 Reference(Patient) Who is/was taking the medication
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
... context ΣC 0..1 Reference(Encounter | EpisodeOfCare) Encounter / Episode associated with MedicationStatement
Constraints: ref-1
... Slices for effective[x] SΣ 0..1 effective[x] gibt den Zeitpunkt oder Zeitraum der Gültigkeit der Medikation an
Slice: Unordered, Closed by type:$this
.... effectiveDateTime dateTime
.... effectivePeriod Period
.... effective[x]:effectiveDateTime SΣC 0..1 dateTime The date/time or interval when the medication is/was/will be taken
Constraints: epa-datetime
.... effective[x]:effectivePeriod SΣ 0..1 Period The date/time or interval when the medication is/was/will be taken
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... start SΣC 0..1 dateTime Starting time with inclusive boundary
Constraints: epa-datetime
..... end SΣC 0..1 dateTime End time with inclusive boundary, if not ongoing
Constraints: epa-datetime
... dateAsserted SΣC 0..1 dateTime When the statement was asserted?
Constraints: epa-datetime
... informationSource C 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) Person or organization that provided the information about the taking of this medication
Constraints: ref-1
... derivedFrom SC 0..* Reference(TI MedicationRequest dgMP | TI MedicationDispense dgMP) Information des Verschreibungs- und Dispensierprozesses
Constraints: ref-1
... reasonCode 0..* CodeableConcept Reason for why the medication is being/was taken
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken.
... reasonReference C 0..* Reference(Condition | Observation | DiagnosticReport) Condition or observation that supports why the medication is being/was taken
Constraints: ref-1
... note 0..* Annotation Further information about the statement
... dosage S 0..* DosageDgMP Strukturierte Dosierung/Gebrauchsanweisung

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
MedicationStatement.​meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
MedicationStatement.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
MedicationStatement.​status Base required Medication status codes 📍4.0.1 FHIR Std.
MedicationStatement.​statusReason Base example SNOMED CT Drug Therapy Status codes 📍4.0.1 FHIR Std.
MedicationStatement.​category Base preferred Medication usage category codes 📍4.0.1 FHIR Std.
MedicationStatement.​subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
MedicationStatement.​reasonCode Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement 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 MedicationStatement 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 MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
epa-datetime error MedicationStatement.effective[x]:effectiveDateTime, MedicationStatement.effective[x]:effectivePeriod.start, MedicationStatement.effective[x]:effectivePeriod.end, MedicationStatement.dateAsserted dateTime muss mindestens aus Tag, Monat und Jahr bestehen toString().matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$')
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
ref-1 error MedicationStatement.basedOn, MedicationStatement.partOf, MedicationStatement.subject, MedicationStatement.context, MedicationStatement.informationSource, MedicationStatement.derivedFrom, MedicationStatement.reasonReference 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'))

 

Weitere Repräsentationen des Profils: CSV, Excel, Schematron