ELGA e-Medikation (R4) DRAFT
0.1.0 - ci-build

ELGA e-Medikation (R4) DRAFT, published by ELGA GmbH. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7Austria/ELGA-e-Medikation-R4/ and changes regularly. See the Directory of published versions

Resource Profile: AT ELGA e-Medikation List Medikationsplan

Official URL: https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-list-medikationsplan Version: 0.1.0
Draft as of 2026-10-02 Responsible: ELGA GmbH Computable Name: AtElgaEmedListMedikationsplan

Der Medikationsplan wird durch eine List-Ressource abgebildet und enthält:

  • 0..* Einträge (List.entry). Jedes List.entry.item enhält genau eine Referenz auf einen Medikationsplaneintrag (MedicationRequest). Die Reihung der List.entries bestimmt die Reihenfolge der Medikationsplaneinträge. Jeder Listeneintrag enthält im Element List.entry.flag den Änderungsstatus des jeweiligen Medikationsplaneintrags.

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
.. List C 0..* List A list is a curated collection of resources
Constraints: lst-1, lst-2, lst-3, at-emed-list-same-patient
... id SΣ 1..1 id Technische id der Ressource
... meta SΣ 0..1 Meta Metadata about the resource
... text S 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
.... extension:PatientModified S 0..1 boolean Boolean der angibt, ob diese Version des Plans durch Aktionen des Patienten verändert wurde (z.B. Einträge entfernt).
URL: https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-extension-patient-modified
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!SΣ 1..1 code Status des Medikationsplans. Mögliche Ausprägungen: [current | retired] Bedeutung: current: default | retired: nach Ableben des Patienten bis Ende der Aufbewahrungsfrist
Binding: ELGA List Status ValueSet (required)
... mode ?!SΣ 1..1 code Der Medikationsplan ist ein laufend gepflegtes Dokument. Fixer Wert: working.
Binding: ListMode (required): The processing mode that applies to this list.
Fixed Value: working
... code SΣ 1..1 CodeableConcept Code der den Medikationsplan identifiziert
Binding: ExampleUseCodesForList (example): What the purpose of a list is.
Fixed Value: As shown
.... id 0..0 string Unique id for inter-element referencing
.... extension 0..0 Extension Additional content defined by implementations
.... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..0 string Unique id for inter-element referencing
..... extension 0..0 Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
..... version 0..0 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 736378000
..... display 1..1 string Representation defined by the system
Fixed Value: Medikationsplan
..... userSelected 0..0 boolean If this coding was chosen directly by the user
.... text 0..0 string Plain text representation of the concept
... subject SΣ 1..1 Reference(AT ELGA Core Patient Profil) ELGA-Teilnehmer, für den der Medikationsplan dokumentiert wird.
... date SΣ 1..1 dateTime Letzte Aktualisierung des Medikationsplans.
... source SΣ 1..1 Reference(AT ELGA Core Practitioner Profil | AT ELGA Core PractitionerRole Profil | At ELGA e-Medikation Device Fachanwendung) Ersteller des Medikationsplans und für den Inhalt verantwortlich. Device nur für initiale Erstellung durch die Fachanwendung.
... entry SC 0..* BackboneElement Medikationsplaneinträge. Die Reihenfolge der Medikationsplaneinträge ist fachlich relevant und wird durch den Ersteller durch die Reihung der Eintries festgelegt.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... flag S 1..1 CodeableConcept Kennzeichnet die Art der Änderung des Medikationsplaneintrags: [New | Unchanged | Changed | Removed] Bedeutung: New: Neuer Planeintrag wird hinzugefügt | Unchanged: Bestehender Planeintrag wird beibehalten und zur Kenntnis genommen | Changed: Bestehender Planeintrag wird geändert | Removed: Bestehender Planeintrag wird entfernt
Binding: ELGA List.entry.flag Value Set (required)
.... item S 1..1 Reference(At ELGA e-Medikation MedicationRequest Planeintrag) Referenz auf einen Medikationsplaneintrag.
... emptyReason SC 0..1 CodeableConcept Begründung, warum der Medikationsplan leer ist. Mögliche Ausprägungen: [notstarted | nilknown | unavailable] Bedeutung: notstarted: Intitalzustand - noch nie befüllt | nilknown: Patient nimmt derzeit keine Medikamente ein | unavailable: Plan ist leer weil alle Einträge entfernt wurden
Binding: ELGA List Empty Reason Value Set (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
List.status Base required ELGA List Status ValueSet 📦0.1.0 This IG
List.mode Base required ListMode 📍4.0.1 FHIR Std.
List.code Base example Example Use Codes for List 📍4.0.1 FHIR Std.
List.entry.flag Base required ELGA List.entry.flag Value Set 📦0.1.0 This IG
List.emptyReason Base required ELGA List Empty Reason Value Set 📦0.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
at-emed-list-same-patient error List Alle in der Liste referenzierten Patienten müssen gleich sein subject.resolve() = entry.item.resolve().ofType(MedicationRequest).subject.resolve()
dom-2 error List If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error List 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 List 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 List If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice List A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
lst-1 error List A list can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
lst-2 error List The deleted flag can only be used if the mode of the list is "changes" mode = 'changes' or entry.deleted.empty()
lst-3 error List An entry date can only be used if the mode of the list is "working" mode = 'working' or entry.date.empty()

This structure is derived from List

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. List C 0..* List A list is a curated collection of resources
Constraints: at-emed-list-same-patient
... id S 1..1 id Technische id der Ressource
... meta S 0..1 Meta Metadata about the resource
... implicitRules 0..0 A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:PatientModified S 0..1 boolean Boolean der angibt, ob diese Version des Plans durch Aktionen des Patienten verändert wurde (z.B. Einträge entfernt).
URL: https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-extension-patient-modified
... status S 1..1 code Status des Medikationsplans. Mögliche Ausprägungen: [current | retired] Bedeutung: current: default | retired: nach Ableben des Patienten bis Ende der Aufbewahrungsfrist
Binding: ELGA List Status ValueSet (required)
... mode S 1..1 code Der Medikationsplan ist ein laufend gepflegtes Dokument. Fixer Wert: working.
Fixed Value: working
... code S 1..1 CodeableConcept Code der den Medikationsplan identifiziert
Fixed Value: As shown
.... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 736378000
..... display 1..1 string Representation defined by the system
Fixed Value: Medikationsplan
... subject S 1..1 Reference(AT ELGA Core Patient Profil) ELGA-Teilnehmer, für den der Medikationsplan dokumentiert wird.
... encounter 0..0 Fachliche Begründung: TODO
... date S 1..1 dateTime Letzte Aktualisierung des Medikationsplans.
... source S 1..1 Reference(AT ELGA Core Practitioner Profil | AT ELGA Core PractitionerRole Profil | At ELGA e-Medikation Device Fachanwendung) Ersteller des Medikationsplans und für den Inhalt verantwortlich. Device nur für initiale Erstellung durch die Fachanwendung.
... orderedBy 0..0 What order the list has
... note 0..0 Fachliche Begrüundung: Auf dieser Ebene keine Freitext-Anmerkungen im Medikationsplan. Freitext ist in den jeweiligen MedicationRequests(Planeinträgen möglich)
... entry S 0..* BackboneElement Medikationsplaneinträge. Die Reihenfolge der Medikationsplaneinträge ist fachlich relevant und wird durch den Ersteller durch die Reihung der Eintries festgelegt.
.... flag S 1..1 CodeableConcept Kennzeichnet die Art der Änderung des Medikationsplaneintrags: [New | Unchanged | Changed | Removed] Bedeutung: New: Neuer Planeintrag wird hinzugefügt | Unchanged: Bestehender Planeintrag wird beibehalten und zur Kenntnis genommen | Changed: Bestehender Planeintrag wird geändert | Removed: Bestehender Planeintrag wird entfernt
Binding: ELGA List.entry.flag Value Set (required)
.... deleted 0..0 Fachliche Begründung: Keine Verwendung im Medikationsplan (da list.mode immer working).
.... date 0..0 Fachliche Begründung: Kein Datum der initialen Aufnahme des Eintrags im Medikationsplan. Das Datum ist nur im referenzierten Medikationsplaneintrag ersichtlich.
.... item S 1..1 Reference(At ELGA e-Medikation MedicationRequest Planeintrag) Referenz auf einen Medikationsplaneintrag.
... emptyReason S 0..1 CodeableConcept Begründung, warum der Medikationsplan leer ist. Mögliche Ausprägungen: [notstarted | nilknown | unavailable] Bedeutung: notstarted: Intitalzustand - noch nie befüllt | nilknown: Patient nimmt derzeit keine Medikamente ein | unavailable: Plan ist leer weil alle Einträge entfernt wurden
Binding: ELGA List Empty Reason Value Set (required)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
List.status Base required ELGA List Status ValueSet 📦0.1.0 This IG
List.entry.flag Base required ELGA List.entry.flag Value Set 📦0.1.0 This IG
List.emptyReason Base required ELGA List Empty Reason Value Set 📦0.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
at-emed-list-same-patient error List Alle in der Liste referenzierten Patienten müssen gleich sein subject.resolve() = entry.item.resolve().ofType(MedicationRequest).subject.resolve()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. List C 0..* List A list is a curated collection of resources
Constraints: lst-1, lst-2, lst-3, at-emed-list-same-patient
... id SΣ 1..1 id Technische id der Ressource
... meta SΣ 0..1 Meta Metadata about the resource
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:PatientModified S 0..1 boolean Boolean der angibt, ob diese Version des Plans durch Aktionen des Patienten verändert wurde (z.B. Einträge entfernt).
URL: https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-extension-patient-modified
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier 0..* Identifier Business identifier
... status ?!SΣ 1..1 code Status des Medikationsplans. Mögliche Ausprägungen: [current | retired] Bedeutung: current: default | retired: nach Ableben des Patienten bis Ende der Aufbewahrungsfrist
Binding: ELGA List Status ValueSet (required)
... mode ?!SΣ 1..1 code Der Medikationsplan ist ein laufend gepflegtes Dokument. Fixer Wert: working.
Binding: ListMode (required): The processing mode that applies to this list.
Fixed Value: working
... title Σ 0..1 string Descriptive name for the list
Example General: Dr. Jane's Patients
... code SΣ 1..1 CodeableConcept Code der den Medikationsplan identifiziert
Binding: ExampleUseCodesForList (example): What the purpose of a list is.
Fixed Value: As shown
.... id 0..0 string Unique id for inter-element referencing
.... extension 0..0 Extension Additional content defined by implementations
.... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..0 string Unique id for inter-element referencing
..... extension 0..0 Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
..... version 0..0 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 736378000
..... display 1..1 string Representation defined by the system
Fixed Value: Medikationsplan
..... userSelected 0..0 boolean If this coding was chosen directly by the user
.... text 0..0 string Plain text representation of the concept
... subject SΣ 1..1 Reference(AT ELGA Core Patient Profil) ELGA-Teilnehmer, für den der Medikationsplan dokumentiert wird.
... date SΣ 1..1 dateTime Letzte Aktualisierung des Medikationsplans.
... source SΣ 1..1 Reference(AT ELGA Core Practitioner Profil | AT ELGA Core PractitionerRole Profil | At ELGA e-Medikation Device Fachanwendung) Ersteller des Medikationsplans und für den Inhalt verantwortlich. Device nur für initiale Erstellung durch die Fachanwendung.
... entry SC 0..* BackboneElement Medikationsplaneinträge. Die Reihenfolge der Medikationsplaneinträge ist fachlich relevant und wird durch den Ersteller durch die Reihung der Eintries festgelegt.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... flag S 1..1 CodeableConcept Kennzeichnet die Art der Änderung des Medikationsplaneintrags: [New | Unchanged | Changed | Removed] Bedeutung: New: Neuer Planeintrag wird hinzugefügt | Unchanged: Bestehender Planeintrag wird beibehalten und zur Kenntnis genommen | Changed: Bestehender Planeintrag wird geändert | Removed: Bestehender Planeintrag wird entfernt
Binding: ELGA List.entry.flag Value Set (required)
.... item S 1..1 Reference(At ELGA e-Medikation MedicationRequest Planeintrag) Referenz auf einen Medikationsplaneintrag.
... emptyReason SC 0..1 CodeableConcept Begründung, warum der Medikationsplan leer ist. Mögliche Ausprägungen: [notstarted | nilknown | unavailable] Bedeutung: notstarted: Intitalzustand - noch nie befüllt | nilknown: Patient nimmt derzeit keine Medikamente ein | unavailable: Plan ist leer weil alle Einträge entfernt wurden
Binding: ELGA List Empty Reason Value Set (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
List.language Base preferred Common Languages 📍4.0.1 FHIR Std.
List.status Base required ELGA List Status ValueSet 📦0.1.0 This IG
List.mode Base required ListMode 📍4.0.1 FHIR Std.
List.code Base example Example Use Codes for List 📍4.0.1 FHIR Std.
List.entry.flag Base required ELGA List.entry.flag Value Set 📦0.1.0 This IG
List.emptyReason Base required ELGA List Empty Reason Value Set 📦0.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
at-emed-list-same-patient error List Alle in der Liste referenzierten Patienten müssen gleich sein subject.resolve() = entry.item.resolve().ofType(MedicationRequest).subject.resolve()
dom-2 error List If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error List 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 List 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 List If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice List A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
lst-1 error List A list can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
lst-2 error List The deleted flag can only be used if the mode of the list is "changes" mode = 'changes' or entry.deleted.empty()
lst-3 error List An entry date can only be used if the mode of the list is "working" mode = 'working' or entry.date.empty()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. List C 0..* List A list is a curated collection of resources
Constraints: lst-1, lst-2, lst-3, at-emed-list-same-patient
... id SΣ 1..1 id Technische id der Ressource
... meta SΣ 0..1 Meta Metadata about the resource
... text S 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
.... extension:PatientModified S 0..1 boolean Boolean der angibt, ob diese Version des Plans durch Aktionen des Patienten verändert wurde (z.B. Einträge entfernt).
URL: https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-extension-patient-modified
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!SΣ 1..1 code Status des Medikationsplans. Mögliche Ausprägungen: [current | retired] Bedeutung: current: default | retired: nach Ableben des Patienten bis Ende der Aufbewahrungsfrist
Binding: ELGA List Status ValueSet (required)
... mode ?!SΣ 1..1 code Der Medikationsplan ist ein laufend gepflegtes Dokument. Fixer Wert: working.
Binding: ListMode (required): The processing mode that applies to this list.
Fixed Value: working
... code SΣ 1..1 CodeableConcept Code der den Medikationsplan identifiziert
Binding: ExampleUseCodesForList (example): What the purpose of a list is.
Fixed Value: As shown
.... id 0..0 string Unique id for inter-element referencing
.... extension 0..0 Extension Additional content defined by implementations
.... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..0 string Unique id for inter-element referencing
..... extension 0..0 Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
..... version 0..0 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 736378000
..... display 1..1 string Representation defined by the system
Fixed Value: Medikationsplan
..... userSelected 0..0 boolean If this coding was chosen directly by the user
.... text 0..0 string Plain text representation of the concept
... subject SΣ 1..1 Reference(AT ELGA Core Patient Profil) ELGA-Teilnehmer, für den der Medikationsplan dokumentiert wird.
... date SΣ 1..1 dateTime Letzte Aktualisierung des Medikationsplans.
... source SΣ 1..1 Reference(AT ELGA Core Practitioner Profil | AT ELGA Core PractitionerRole Profil | At ELGA e-Medikation Device Fachanwendung) Ersteller des Medikationsplans und für den Inhalt verantwortlich. Device nur für initiale Erstellung durch die Fachanwendung.
... entry SC 0..* BackboneElement Medikationsplaneinträge. Die Reihenfolge der Medikationsplaneinträge ist fachlich relevant und wird durch den Ersteller durch die Reihung der Eintries festgelegt.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... flag S 1..1 CodeableConcept Kennzeichnet die Art der Änderung des Medikationsplaneintrags: [New | Unchanged | Changed | Removed] Bedeutung: New: Neuer Planeintrag wird hinzugefügt | Unchanged: Bestehender Planeintrag wird beibehalten und zur Kenntnis genommen | Changed: Bestehender Planeintrag wird geändert | Removed: Bestehender Planeintrag wird entfernt
Binding: ELGA List.entry.flag Value Set (required)
.... item S 1..1 Reference(At ELGA e-Medikation MedicationRequest Planeintrag) Referenz auf einen Medikationsplaneintrag.
... emptyReason SC 0..1 CodeableConcept Begründung, warum der Medikationsplan leer ist. Mögliche Ausprägungen: [notstarted | nilknown | unavailable] Bedeutung: notstarted: Intitalzustand - noch nie befüllt | nilknown: Patient nimmt derzeit keine Medikamente ein | unavailable: Plan ist leer weil alle Einträge entfernt wurden
Binding: ELGA List Empty Reason Value Set (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
List.status Base required ELGA List Status ValueSet 📦0.1.0 This IG
List.mode Base required ListMode 📍4.0.1 FHIR Std.
List.code Base example Example Use Codes for List 📍4.0.1 FHIR Std.
List.entry.flag Base required ELGA List.entry.flag Value Set 📦0.1.0 This IG
List.emptyReason Base required ELGA List Empty Reason Value Set 📦0.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
at-emed-list-same-patient error List Alle in der Liste referenzierten Patienten müssen gleich sein subject.resolve() = entry.item.resolve().ofType(MedicationRequest).subject.resolve()
dom-2 error List If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error List 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 List 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 List If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice List A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
lst-1 error List A list can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
lst-2 error List The deleted flag can only be used if the mode of the list is "changes" mode = 'changes' or entry.deleted.empty()
lst-3 error List An entry date can only be used if the mode of the list is "working" mode = 'working' or entry.date.empty()

Differential View

This structure is derived from List

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. List C 0..* List A list is a curated collection of resources
Constraints: at-emed-list-same-patient
... id S 1..1 id Technische id der Ressource
... meta S 0..1 Meta Metadata about the resource
... implicitRules 0..0 A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:PatientModified S 0..1 boolean Boolean der angibt, ob diese Version des Plans durch Aktionen des Patienten verändert wurde (z.B. Einträge entfernt).
URL: https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-extension-patient-modified
... status S 1..1 code Status des Medikationsplans. Mögliche Ausprägungen: [current | retired] Bedeutung: current: default | retired: nach Ableben des Patienten bis Ende der Aufbewahrungsfrist
Binding: ELGA List Status ValueSet (required)
... mode S 1..1 code Der Medikationsplan ist ein laufend gepflegtes Dokument. Fixer Wert: working.
Fixed Value: working
... code S 1..1 CodeableConcept Code der den Medikationsplan identifiziert
Fixed Value: As shown
.... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 736378000
..... display 1..1 string Representation defined by the system
Fixed Value: Medikationsplan
... subject S 1..1 Reference(AT ELGA Core Patient Profil) ELGA-Teilnehmer, für den der Medikationsplan dokumentiert wird.
... encounter 0..0 Fachliche Begründung: TODO
... date S 1..1 dateTime Letzte Aktualisierung des Medikationsplans.
... source S 1..1 Reference(AT ELGA Core Practitioner Profil | AT ELGA Core PractitionerRole Profil | At ELGA e-Medikation Device Fachanwendung) Ersteller des Medikationsplans und für den Inhalt verantwortlich. Device nur für initiale Erstellung durch die Fachanwendung.
... orderedBy 0..0 What order the list has
... note 0..0 Fachliche Begrüundung: Auf dieser Ebene keine Freitext-Anmerkungen im Medikationsplan. Freitext ist in den jeweiligen MedicationRequests(Planeinträgen möglich)
... entry S 0..* BackboneElement Medikationsplaneinträge. Die Reihenfolge der Medikationsplaneinträge ist fachlich relevant und wird durch den Ersteller durch die Reihung der Eintries festgelegt.
.... flag S 1..1 CodeableConcept Kennzeichnet die Art der Änderung des Medikationsplaneintrags: [New | Unchanged | Changed | Removed] Bedeutung: New: Neuer Planeintrag wird hinzugefügt | Unchanged: Bestehender Planeintrag wird beibehalten und zur Kenntnis genommen | Changed: Bestehender Planeintrag wird geändert | Removed: Bestehender Planeintrag wird entfernt
Binding: ELGA List.entry.flag Value Set (required)
.... deleted 0..0 Fachliche Begründung: Keine Verwendung im Medikationsplan (da list.mode immer working).
.... date 0..0 Fachliche Begründung: Kein Datum der initialen Aufnahme des Eintrags im Medikationsplan. Das Datum ist nur im referenzierten Medikationsplaneintrag ersichtlich.
.... item S 1..1 Reference(At ELGA e-Medikation MedicationRequest Planeintrag) Referenz auf einen Medikationsplaneintrag.
... emptyReason S 0..1 CodeableConcept Begründung, warum der Medikationsplan leer ist. Mögliche Ausprägungen: [notstarted | nilknown | unavailable] Bedeutung: notstarted: Intitalzustand - noch nie befüllt | nilknown: Patient nimmt derzeit keine Medikamente ein | unavailable: Plan ist leer weil alle Einträge entfernt wurden
Binding: ELGA List Empty Reason Value Set (required)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
List.status Base required ELGA List Status ValueSet 📦0.1.0 This IG
List.entry.flag Base required ELGA List.entry.flag Value Set 📦0.1.0 This IG
List.emptyReason Base required ELGA List Empty Reason Value Set 📦0.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
at-emed-list-same-patient error List Alle in der Liste referenzierten Patienten müssen gleich sein subject.resolve() = entry.item.resolve().ofType(MedicationRequest).subject.resolve()

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. List C 0..* List A list is a curated collection of resources
Constraints: lst-1, lst-2, lst-3, at-emed-list-same-patient
... id SΣ 1..1 id Technische id der Ressource
... meta SΣ 0..1 Meta Metadata about the resource
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:PatientModified S 0..1 boolean Boolean der angibt, ob diese Version des Plans durch Aktionen des Patienten verändert wurde (z.B. Einträge entfernt).
URL: https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-extension-patient-modified
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier 0..* Identifier Business identifier
... status ?!SΣ 1..1 code Status des Medikationsplans. Mögliche Ausprägungen: [current | retired] Bedeutung: current: default | retired: nach Ableben des Patienten bis Ende der Aufbewahrungsfrist
Binding: ELGA List Status ValueSet (required)
... mode ?!SΣ 1..1 code Der Medikationsplan ist ein laufend gepflegtes Dokument. Fixer Wert: working.
Binding: ListMode (required): The processing mode that applies to this list.
Fixed Value: working
... title Σ 0..1 string Descriptive name for the list
Example General: Dr. Jane's Patients
... code SΣ 1..1 CodeableConcept Code der den Medikationsplan identifiziert
Binding: ExampleUseCodesForList (example): What the purpose of a list is.
Fixed Value: As shown
.... id 0..0 string Unique id for inter-element referencing
.... extension 0..0 Extension Additional content defined by implementations
.... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..0 string Unique id for inter-element referencing
..... extension 0..0 Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
..... version 0..0 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 736378000
..... display 1..1 string Representation defined by the system
Fixed Value: Medikationsplan
..... userSelected 0..0 boolean If this coding was chosen directly by the user
.... text 0..0 string Plain text representation of the concept
... subject SΣ 1..1 Reference(AT ELGA Core Patient Profil) ELGA-Teilnehmer, für den der Medikationsplan dokumentiert wird.
... date SΣ 1..1 dateTime Letzte Aktualisierung des Medikationsplans.
... source SΣ 1..1 Reference(AT ELGA Core Practitioner Profil | AT ELGA Core PractitionerRole Profil | At ELGA e-Medikation Device Fachanwendung) Ersteller des Medikationsplans und für den Inhalt verantwortlich. Device nur für initiale Erstellung durch die Fachanwendung.
... entry SC 0..* BackboneElement Medikationsplaneinträge. Die Reihenfolge der Medikationsplaneinträge ist fachlich relevant und wird durch den Ersteller durch die Reihung der Eintries festgelegt.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... flag S 1..1 CodeableConcept Kennzeichnet die Art der Änderung des Medikationsplaneintrags: [New | Unchanged | Changed | Removed] Bedeutung: New: Neuer Planeintrag wird hinzugefügt | Unchanged: Bestehender Planeintrag wird beibehalten und zur Kenntnis genommen | Changed: Bestehender Planeintrag wird geändert | Removed: Bestehender Planeintrag wird entfernt
Binding: ELGA List.entry.flag Value Set (required)
.... item S 1..1 Reference(At ELGA e-Medikation MedicationRequest Planeintrag) Referenz auf einen Medikationsplaneintrag.
... emptyReason SC 0..1 CodeableConcept Begründung, warum der Medikationsplan leer ist. Mögliche Ausprägungen: [notstarted | nilknown | unavailable] Bedeutung: notstarted: Intitalzustand - noch nie befüllt | nilknown: Patient nimmt derzeit keine Medikamente ein | unavailable: Plan ist leer weil alle Einträge entfernt wurden
Binding: ELGA List Empty Reason Value Set (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
List.language Base preferred Common Languages 📍4.0.1 FHIR Std.
List.status Base required ELGA List Status ValueSet 📦0.1.0 This IG
List.mode Base required ListMode 📍4.0.1 FHIR Std.
List.code Base example Example Use Codes for List 📍4.0.1 FHIR Std.
List.entry.flag Base required ELGA List.entry.flag Value Set 📦0.1.0 This IG
List.emptyReason Base required ELGA List Empty Reason Value Set 📦0.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
at-emed-list-same-patient error List Alle in der Liste referenzierten Patienten müssen gleich sein subject.resolve() = entry.item.resolve().ofType(MedicationRequest).subject.resolve()
dom-2 error List If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error List 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 List 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 List If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice List A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
lst-1 error List A list can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
lst-2 error List The deleted flag can only be used if the mode of the list is "changes" mode = 'changes' or entry.deleted.empty()
lst-3 error List An entry date can only be used if the mode of the list is "working" mode = 'working' or entry.date.empty()

 

Other representations of profile: CSV, Excel, Schematron

Notes:

Search Parameters

Historische Planversionen (_history)

_history ist kein Suchparameter, sondern eine eigene FHIR-Interaktion, die als Teil des URL-Pfads angegeben wird. Sie liefert frühere Versionen des Medikationsplans (List-Ressource). Pro Patient existiert genau eine List-Ressource. Deren Versionen bilden die gesamte Historie der Medikationsplanversionen dieses Patienten ab.

  • Alle Versionen des Plans, mit Suchparametern: [base]/List/_history?[searchparameters]
  • Alle Versionen eines Plans: [base]/List/[id]/_history
  • Eine bestimmte, bereits bekannte Version: [base]/List/[id]/_history/[vid]

Als Erweiterung des FHIR-Basisstandards können alle unten aufgeführten Suchparameter auch auf die History-Interaktion angewendet werden. Die Suche wirkt dann auf alle gespeicherten Versionen und nicht nur auf die aktuelle. Beispiel: [base]/List/_history?date=ge2026-01-01. Die Standard-History-Parameter (_since, _at, _count) bleiben zusätzlich nutzbar.

Name Type Description Expression
_id token
Technische id der Ressource
List.id
_lastUpdated date
Timestamp der letzten Änderung der Liste
List.meta.lastUpdated
_profile reference
Von der Liste deklarierte Profile zu denen sie angibt konform zu sein
List.meta.profile
code token
​List: Art der Liste (in diesem Fall: Medikationsplan)
List.code
date date
Erstellungszeitpunkt bzw. Zeitraum der Erfassung von Medikationsplanversionen
List.date
empty-reason token

Medikationsplan mit einem bestimmten Grund warum der Plan leer ist

List.emptyReason
item reference

Medikationsplan, der einen bestimmten Planeintrag beinhaltet

List.entry.item
source reference

Autor der letzten Änderung des Medikationsplans

List.source
medicationrequest-author reference
Autor eines MedicationRequest, der Teil der Liste ist
List.entry.item.resolve().ofType(MedicationRequest).requester
medicationrequest-status token
Status des MedicationRequest, der Teil der Liste ist
List.entry.item.resolve().ofType(MedicationRequest).status
medicationrequest-status-reason token
Absetzgrund (StatusReason)
List.entry.item.resolve().ofType(MedicationRequest).statusReason.ofType(CodeableConcept)
medicationrequest-effectivePeriod date
Einnahmezeitraum
List.entry.item.resolve().ofType(MedicationRequest).extension('http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod').value.ofType(Period)
medicationrequest-authoredOn date
Erstellungs-/Änderungszeitpunkt
List.entry.item.resolve().ofType(MedicationRequest).authoredOn
medicationrequest-courseOfTherapyType token
Art der Medikation (Akutmedikation oder Dauermedikation): acute|continuous
List.entry.item.resolve().ofType(MedicationRequest).courseOfTherapyType.ofType(CodeableConcept)
medicationrequest-medication-code token
Code (PZN) der enthaltenen Medication
List.entry.item.resolve().ofType(MedicationRequest).medication.resolve().ofType(Medication).code.ofType(CodeableConcept)
medicationrequest-medication-name string
Arzneimittelname der enthaltenen Medication
List.entry.item.resolve().ofType(MedicationRequest).medication.resolve().ofType(Medication).code.coding.display
medicationrequest-medication-ingredient token
Wirkstoff der enthaltenen Medication
List.entry.item.resolve().ofType(MedicationRequest).medication.resolve().ofType(Medication).ingredient.item.ofType(CodeableConcept)