| Official URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement | Version: 1.2.0-ballot.2 | |||
| Draft as of 2025-09-02 | Computable Name: EPAMedicationStatement | |||
Hält die Medikationsinformationen eines Eintrags in der elektronischen Medikationsliste (eML) vor und stellt das zentrale Element dar. Es wird zu Verschreibungs- und Dispensierinformationen als auch Nachträgen in der eML genutzt.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: dom-2, dom-3, dom-4, dom-5, dom-6, epa-med-statement-status |
![]() ![]() |
SΣ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
SΣ | 0..1 | id | Version specific identifier |
![]() ![]() ![]() |
SΣ | 0..1 | instant | When the resource version last changed |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 1..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension" | |
![]() ![]() ![]() ![]() |
1..1 | code | Context of the resource Binding: ePA MedicationStatement Context Codes (required) | |
![]() ![]() ![]() |
0..1 | RxPrescriptionProcessIdentifier | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension | |
![]() ![]() ![]() |
S | 0..* | (Complex) | Ein Ereignis, welches während eines Prozessschritts auftritt. URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medicationstatement-processing-event-extension |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
![]() ![]() |
?!SΣ | 1..1 | code | unknown | entered-in-error | intended Binding: ePA MedicationStatement Status Value Set (required) |
![]() ![]() |
SΣ | 1..1 | Reference(EPA Medication) | Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt |
![]() ![]() |
SΣC | 1..1 | Reference(Patient) | Who is/was taking the medication Constraints: ref-1 |
![]() ![]() ![]() |
SΣ | 1..1 | IdentifierKvid10(1.5.4) | Logical reference, when literal reference is not known |
![]() ![]() |
SΣ | 0..1 | effective[x] gibt den Zeitpunkt oder Zeitraum der Gültigkeit der Medikation an Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() |
SΣC | 0..1 | dateTime | The date/time or interval when the medication is/was/will be taken Constraints: epa-datetime |
![]() ![]() ![]() |
SΣ | 0..1 | Period | The date/time or interval when the medication is/was/will be taken |
![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | Starting time with inclusive boundary Constraints: epa-datetime |
![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | End time with inclusive boundary, if not ongoing Constraints: epa-datetime |
![]() ![]() |
SΣC | 0..1 | dateTime | When the statement was asserted? Constraints: epa-datetime |
![]() ![]() |
SC | 0..* | Reference(EPA MedicationRequest | EPA MedicationDispense) | Information des Verschreibungs- und Dispensierprozesses Constraints: ref-1 |
![]() ![]() |
S | 0..* | DosageDgMP | Strukturierte Dosierung/Gebrauchsanweisung |
Documentation for this format | ||||
| Path | Conformance | ValueSet | URI |
| MedicationStatement.extension:context.value[x] | required | EPAMedicationStatementContextCodeVShttps://gematik.de/fhir/epa-medication/ValueSet/epa-medicationstatement-context-codeFrom this IG | |
| MedicationStatement.status | required | EPAMedicationStatementStatusVShttps://gematik.de/fhir/epa-medication/ValueSet/epa-medication-statement-status-vsFrom this IG |
| Id | Grade | Path(s) | Details | Requirements |
| 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)))?$') | |
| epa-med-statement-status | error | MedicationStatement | Ein MedicationStatement im Kontext 'Nachtrag' darf nicht den Status 'intended' haben : extension('https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension').exists(value != 'MANUAL') or status != 'intended' | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
| ref-1 | error | 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')) |
This structure is derived from MedicationStatement
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: epa-med-statement-status |
![]() ![]() |
S | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
S | 0..1 | id | Version specific identifier |
![]() ![]() ![]() |
S | 0..1 | instant | When the resource version last changed |
![]() ![]() |
1..* | Extension | Extension | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
S | 1..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension |
![]() ![]() ![]() ![]() |
1..1 | code | Context of the resource Binding: ePA MedicationStatement Context Codes (required) | |
![]() ![]() ![]() |
0..1 | RxPrescriptionProcessIdentifier | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension | |
![]() ![]() ![]() |
S | 0..* | (Complex) | Ein Ereignis, welches während eines Prozessschritts auftritt. URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medicationstatement-processing-event-extension |
![]() ![]() |
||||
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | boolean | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension | |
![]() ![]() |
S | 1..1 | code | unknown | entered-in-error | intended Binding: ePA MedicationStatement Status Value Set (required) |
![]() ![]() |
S | 1..1 | Reference(EPA Medication) | Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt |
![]() ![]() |
S | 1..1 | Reference(Patient) | Who is/was taking the medication |
![]() ![]() ![]() |
S | 1..1 | IdentifierKvid10(1.5.4) | Logical reference, when literal reference is not known |
![]() ![]() |
S | 0..1 | dateTime, Period | effective[x] gibt den Zeitpunkt oder Zeitraum der Gültigkeit der Medikation an Slice: Unordered, Open by type:$this |
![]() ![]() ![]() |
SC | 0..1 | dateTime | The date/time or interval when the medication is/was/will be taken Constraints: epa-datetime |
![]() ![]() ![]() |
S | 0..1 | Period | The date/time or interval when the medication is/was/will be taken |
![]() ![]() ![]() ![]() |
SC | 0..1 | dateTime | Starting time with inclusive boundary Constraints: epa-datetime |
![]() ![]() ![]() ![]() |
SC | 0..1 | dateTime | End time with inclusive boundary, if not ongoing Constraints: epa-datetime |
![]() ![]() |
SC | 0..1 | dateTime | When the statement was asserted? Constraints: epa-datetime |
![]() ![]() |
S | 0..* | Reference(EPA MedicationRequest | EPA MedicationDispense) | Information des Verschreibungs- und Dispensierprozesses |
![]() ![]() |
S | 0..* | DosageDgMP | Strukturierte Dosierung/Gebrauchsanweisung |
Documentation for this format | ||||
| Path | Conformance | ValueSet | URI |
| MedicationStatement.extension:context.value[x] | required | EPAMedicationStatementContextCodeVShttps://gematik.de/fhir/epa-medication/ValueSet/epa-medicationstatement-context-codeFrom this IG | |
| MedicationStatement.status | required | EPAMedicationStatementStatusVShttps://gematik.de/fhir/epa-medication/ValueSet/epa-medication-statement-status-vsFrom this IG |
| Id | Grade | Path(s) | Details | Requirements |
| 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)))?$') | |
| epa-med-statement-status | error | MedicationStatement | Ein MedicationStatement im Kontext 'Nachtrag' darf nicht den Status 'intended' haben : extension('https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension').exists(value != 'MANUAL') or status != 'intended' |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: dom-2, dom-3, dom-4, dom-5, dom-6, epa-med-statement-status | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
SΣ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
SΣ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
S | 1..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension" | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Context of the resource Binding: ePA MedicationStatement Context Codes (required) | |||||
![]() ![]() ![]() |
0..1 | RxPrescriptionProcessIdentifier | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension | |||||
![]() ![]() ![]() |
S | 0..* | (Complex) | Ein Ereignis, welches während eines Prozessschritts auftritt. URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medicationstatement-processing-event-extension | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() |
Σ | 0..* | Identifier | External identifier | ||||
![]() ![]() |
ΣC | 0..* | Reference(MedicationRequest | CarePlan | ServiceRequest) | Fulfils plan, proposal or order Constraints: ref-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
ΣC | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event Constraints: ref-1 | ||||
![]() ![]() |
?!SΣ | 1..1 | code | unknown | entered-in-error | intended Binding: ePA MedicationStatement Status Value Set (required) | ||||
![]() ![]() |
0..* | CodeableConcept | Reason for current status Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. | |||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
SΣ | 1..1 | Reference(EPA Medication) | Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt | ||||
![]() ![]() |
SΣC | 1..1 | Reference(Patient) | Who is/was taking the medication Constraints: ref-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() |
SΣ | 1..1 | IdentifierKvid10(1.5.4) | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
ΣC | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement Constraints: ref-1 | ||||
![]() ![]() |
SΣ | 0..1 | effective[x] gibt den Zeitpunkt oder Zeitraum der Gültigkeit der Medikation an Slice: Unordered, Closed by type:$this | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
SΣC | 0..1 | dateTime | The date/time or interval when the medication is/was/will be taken Constraints: epa-datetime | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Period | The date/time or interval when the medication is/was/will be taken | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | Starting time with inclusive boundary Constraints: epa-datetime | ||||
![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | End time with inclusive boundary, if not ongoing Constraints: epa-datetime | ||||
![]() ![]() |
SΣC | 0..1 | dateTime | When the statement was asserted? Constraints: epa-datetime | ||||
![]() ![]() |
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 | ||||
![]() ![]() |
SC | 0..* | Reference(EPA MedicationRequest | EPA MedicationDispense) | Information des Verschreibungs- und Dispensierprozesses Constraints: ref-1 | ||||
![]() ![]() |
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. | |||||
![]() ![]() |
C | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken Constraints: ref-1 | ||||
![]() ![]() |
0..* | Annotation | Further information about the statement | |||||
![]() ![]() |
S | 0..* | DosageDgMP | Strukturierte Dosierung/Gebrauchsanweisung | ||||
Documentation for this format | ||||||||
| Path | Conformance | ValueSet | URI | |||
| MedicationStatement.meta.security | extensible | All Security Labelshttp://hl7.org/fhir/ValueSet/security-labelsFrom the FHIR Standard | ||||
| MedicationStatement.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tagsFrom the FHIR Standard | ||||
| MedicationStatement.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom the FHIR Standard
| ||||
| MedicationStatement.extension:context.value[x] | required | EPAMedicationStatementContextCodeVShttps://gematik.de/fhir/epa-medication/ValueSet/epa-medicationstatement-context-codeFrom this IG | ||||
| MedicationStatement.basedOn.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard | ||||
| MedicationStatement.status | required | EPAMedicationStatementStatusVShttps://gematik.de/fhir/epa-medication/ValueSet/epa-medication-statement-status-vsFrom this IG | ||||
| MedicationStatement.statusReason | example | SNOMEDCTDrugTherapyStatusCodeshttp://hl7.org/fhir/ValueSet/reason-medication-status-codesFrom the FHIR Standard | ||||
| MedicationStatement.category | preferred | Medication usage category codeshttp://hl7.org/fhir/ValueSet/medication-statement-categoryFrom the FHIR Standard | ||||
| MedicationStatement.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard | ||||
| MedicationStatement.reasonCode | example | Condition/Problem/DiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-codeFrom the FHIR Standard |
| Id | Grade | Path(s) | Details | Requirements |
| 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)))?$') | |
| epa-med-statement-status | error | MedicationStatement | Ein MedicationStatement im Kontext 'Nachtrag' darf nicht den Status 'intended' haben : extension('https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension').exists(value != 'MANUAL') or status != 'intended' | |
| 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')) |
This structure is derived from MedicationStatement
Summary
Mandatory: 3 elements
Must-Support: 17 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: dom-2, dom-3, dom-4, dom-5, dom-6, epa-med-statement-status |
![]() ![]() |
SΣ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
SΣ | 0..1 | id | Version specific identifier |
![]() ![]() ![]() |
SΣ | 0..1 | instant | When the resource version last changed |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 1..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension" | |
![]() ![]() ![]() ![]() |
1..1 | code | Context of the resource Binding: ePA MedicationStatement Context Codes (required) | |
![]() ![]() ![]() |
0..1 | RxPrescriptionProcessIdentifier | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension | |
![]() ![]() ![]() |
S | 0..* | (Complex) | Ein Ereignis, welches während eines Prozessschritts auftritt. URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medicationstatement-processing-event-extension |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
![]() ![]() |
?!SΣ | 1..1 | code | unknown | entered-in-error | intended Binding: ePA MedicationStatement Status Value Set (required) |
![]() ![]() |
SΣ | 1..1 | Reference(EPA Medication) | Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt |
![]() ![]() |
SΣC | 1..1 | Reference(Patient) | Who is/was taking the medication Constraints: ref-1 |
![]() ![]() ![]() |
SΣ | 1..1 | IdentifierKvid10(1.5.4) | Logical reference, when literal reference is not known |
![]() ![]() |
SΣ | 0..1 | effective[x] gibt den Zeitpunkt oder Zeitraum der Gültigkeit der Medikation an Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() |
SΣC | 0..1 | dateTime | The date/time or interval when the medication is/was/will be taken Constraints: epa-datetime |
![]() ![]() ![]() |
SΣ | 0..1 | Period | The date/time or interval when the medication is/was/will be taken |
![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | Starting time with inclusive boundary Constraints: epa-datetime |
![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | End time with inclusive boundary, if not ongoing Constraints: epa-datetime |
![]() ![]() |
SΣC | 0..1 | dateTime | When the statement was asserted? Constraints: epa-datetime |
![]() ![]() |
SC | 0..* | Reference(EPA MedicationRequest | EPA MedicationDispense) | Information des Verschreibungs- und Dispensierprozesses Constraints: ref-1 |
![]() ![]() |
S | 0..* | DosageDgMP | Strukturierte Dosierung/Gebrauchsanweisung |
Documentation for this format | ||||
| Path | Conformance | ValueSet | URI |
| MedicationStatement.extension:context.value[x] | required | EPAMedicationStatementContextCodeVShttps://gematik.de/fhir/epa-medication/ValueSet/epa-medicationstatement-context-codeFrom this IG | |
| MedicationStatement.status | required | EPAMedicationStatementStatusVShttps://gematik.de/fhir/epa-medication/ValueSet/epa-medication-statement-status-vsFrom this IG |
| Id | Grade | Path(s) | Details | Requirements |
| 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)))?$') | |
| epa-med-statement-status | error | MedicationStatement | Ein MedicationStatement im Kontext 'Nachtrag' darf nicht den Status 'intended' haben : extension('https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension').exists(value != 'MANUAL') or status != 'intended' | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
| ref-1 | error | 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 View
This structure is derived from MedicationStatement
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: epa-med-statement-status |
![]() ![]() |
S | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
S | 0..1 | id | Version specific identifier |
![]() ![]() ![]() |
S | 0..1 | instant | When the resource version last changed |
![]() ![]() |
1..* | Extension | Extension | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
S | 1..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension |
![]() ![]() ![]() ![]() |
1..1 | code | Context of the resource Binding: ePA MedicationStatement Context Codes (required) | |
![]() ![]() ![]() |
0..1 | RxPrescriptionProcessIdentifier | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension | |
![]() ![]() ![]() |
S | 0..* | (Complex) | Ein Ereignis, welches während eines Prozessschritts auftritt. URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medicationstatement-processing-event-extension |
![]() ![]() |
||||
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | boolean | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension | |
![]() ![]() |
S | 1..1 | code | unknown | entered-in-error | intended Binding: ePA MedicationStatement Status Value Set (required) |
![]() ![]() |
S | 1..1 | Reference(EPA Medication) | Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt |
![]() ![]() |
S | 1..1 | Reference(Patient) | Who is/was taking the medication |
![]() ![]() ![]() |
S | 1..1 | IdentifierKvid10(1.5.4) | Logical reference, when literal reference is not known |
![]() ![]() |
S | 0..1 | dateTime, Period | effective[x] gibt den Zeitpunkt oder Zeitraum der Gültigkeit der Medikation an Slice: Unordered, Open by type:$this |
![]() ![]() ![]() |
SC | 0..1 | dateTime | The date/time or interval when the medication is/was/will be taken Constraints: epa-datetime |
![]() ![]() ![]() |
S | 0..1 | Period | The date/time or interval when the medication is/was/will be taken |
![]() ![]() ![]() ![]() |
SC | 0..1 | dateTime | Starting time with inclusive boundary Constraints: epa-datetime |
![]() ![]() ![]() ![]() |
SC | 0..1 | dateTime | End time with inclusive boundary, if not ongoing Constraints: epa-datetime |
![]() ![]() |
SC | 0..1 | dateTime | When the statement was asserted? Constraints: epa-datetime |
![]() ![]() |
S | 0..* | Reference(EPA MedicationRequest | EPA MedicationDispense) | Information des Verschreibungs- und Dispensierprozesses |
![]() ![]() |
S | 0..* | DosageDgMP | Strukturierte Dosierung/Gebrauchsanweisung |
Documentation for this format | ||||
| Path | Conformance | ValueSet | URI |
| MedicationStatement.extension:context.value[x] | required | EPAMedicationStatementContextCodeVShttps://gematik.de/fhir/epa-medication/ValueSet/epa-medicationstatement-context-codeFrom this IG | |
| MedicationStatement.status | required | EPAMedicationStatementStatusVShttps://gematik.de/fhir/epa-medication/ValueSet/epa-medication-statement-status-vsFrom this IG |
| Id | Grade | Path(s) | Details | Requirements |
| 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)))?$') | |
| epa-med-statement-status | error | MedicationStatement | Ein MedicationStatement im Kontext 'Nachtrag' darf nicht den Status 'intended' haben : extension('https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension').exists(value != 'MANUAL') or status != 'intended' |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: dom-2, dom-3, dom-4, dom-5, dom-6, epa-med-statement-status | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
SΣ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
SΣ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
S | 1..1 | (Complex) | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension" | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Context of the resource Binding: ePA MedicationStatement Context Codes (required) | |||||
![]() ![]() ![]() |
0..1 | RxPrescriptionProcessIdentifier | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension | |||||
![]() ![]() ![]() |
S | 0..* | (Complex) | Ein Ereignis, welches während eines Prozessschritts auftritt. URL: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medicationstatement-processing-event-extension | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() |
Σ | 0..* | Identifier | External identifier | ||||
![]() ![]() |
ΣC | 0..* | Reference(MedicationRequest | CarePlan | ServiceRequest) | Fulfils plan, proposal or order Constraints: ref-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | Extension URL: https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
ΣC | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event Constraints: ref-1 | ||||
![]() ![]() |
?!SΣ | 1..1 | code | unknown | entered-in-error | intended Binding: ePA MedicationStatement Status Value Set (required) | ||||
![]() ![]() |
0..* | CodeableConcept | Reason for current status Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. | |||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
SΣ | 1..1 | Reference(EPA Medication) | Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt | ||||
![]() ![]() |
SΣC | 1..1 | Reference(Patient) | Who is/was taking the medication Constraints: ref-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() |
SΣ | 1..1 | IdentifierKvid10(1.5.4) | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
ΣC | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement Constraints: ref-1 | ||||
![]() ![]() |
SΣ | 0..1 | effective[x] gibt den Zeitpunkt oder Zeitraum der Gültigkeit der Medikation an Slice: Unordered, Closed by type:$this | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
SΣC | 0..1 | dateTime | The date/time or interval when the medication is/was/will be taken Constraints: epa-datetime | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Period | The date/time or interval when the medication is/was/will be taken | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | Starting time with inclusive boundary Constraints: epa-datetime | ||||
![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | End time with inclusive boundary, if not ongoing Constraints: epa-datetime | ||||
![]() ![]() |
SΣC | 0..1 | dateTime | When the statement was asserted? Constraints: epa-datetime | ||||
![]() ![]() |
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 | ||||
![]() ![]() |
SC | 0..* | Reference(EPA MedicationRequest | EPA MedicationDispense) | Information des Verschreibungs- und Dispensierprozesses Constraints: ref-1 | ||||
![]() ![]() |
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. | |||||
![]() ![]() |
C | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken Constraints: ref-1 | ||||
![]() ![]() |
0..* | Annotation | Further information about the statement | |||||
![]() ![]() |
S | 0..* | DosageDgMP | Strukturierte Dosierung/Gebrauchsanweisung | ||||
Documentation for this format | ||||||||
| Path | Conformance | ValueSet | URI | |||
| MedicationStatement.meta.security | extensible | All Security Labelshttp://hl7.org/fhir/ValueSet/security-labelsFrom the FHIR Standard | ||||
| MedicationStatement.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tagsFrom the FHIR Standard | ||||
| MedicationStatement.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom the FHIR Standard
| ||||
| MedicationStatement.extension:context.value[x] | required | EPAMedicationStatementContextCodeVShttps://gematik.de/fhir/epa-medication/ValueSet/epa-medicationstatement-context-codeFrom this IG | ||||
| MedicationStatement.basedOn.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard | ||||
| MedicationStatement.status | required | EPAMedicationStatementStatusVShttps://gematik.de/fhir/epa-medication/ValueSet/epa-medication-statement-status-vsFrom this IG | ||||
| MedicationStatement.statusReason | example | SNOMEDCTDrugTherapyStatusCodeshttp://hl7.org/fhir/ValueSet/reason-medication-status-codesFrom the FHIR Standard | ||||
| MedicationStatement.category | preferred | Medication usage category codeshttp://hl7.org/fhir/ValueSet/medication-statement-categoryFrom the FHIR Standard | ||||
| MedicationStatement.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard | ||||
| MedicationStatement.reasonCode | example | Condition/Problem/DiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-codeFrom the FHIR Standard |
| Id | Grade | Path(s) | Details | Requirements |
| 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)))?$') | |
| epa-med-statement-status | error | MedicationStatement | Ein MedicationStatement im Kontext 'Nachtrag' darf nicht den Status 'intended' haben : extension('https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension').exists(value != 'MANUAL') or status != 'intended' | |
| 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')) |
This structure is derived from MedicationStatement
Summary
Mandatory: 3 elements
Must-Support: 17 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron