MII IG Medikation
2027.0.0-ballot -
Germany
MII IG Medikation - Downloaded Version 2027.0.0-ballot See the Directory of published versions
| Official URL: https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/medikationsliste | Version: 2027.0.0-ballot | |||
| Active as of 2024-11-13 | Computable Name: MII_PR_Medikation_Medikationsliste | |||
List of discrete medications e.g. for documentation of admission or discharge medication.
The List resource is a flat collection of resources and offers functions for managing that collection. Here the resource serves as a collection of the medications a patient is taking at a particular point in time — on admission or at discharge, for example. To that end it references MedicationStatement resources.
The purpose and context of the list are stated via List.code. One coding is always set to the code medications from the system http://terminology.hl7.org/CodeSystem/list-example-use-codes. The second coding determines the context in which the medication list is maintained: admission medication, discharge medication, or medication during the inpatient stay. For these contexts the codes come from the IHE XDS Fallkontext system (http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung); the permitted codes are listed in the value set MII VS Medikation Fallkontext.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots, and their representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | List | A list is a curated collection of resources Constraints: lst-1, lst-2, lst-3, medication-list-context-1, medication-list-context-2 |
![]() ![]() |
SΣ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
SΣ | 0..1 | uri | Identifies where the resource comes from |
![]() ![]() ![]() |
SΣ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
S | 0..* | Identifier | Business identifier |
![]() ![]() |
?!SΣ | 1..1 | code | Status Binding: ListStatus (required): The current state of the list. |
![]() ![]() |
?!SΣ | 1..1 | code | Modus Binding: ListMode (required): The processing mode that applies to this list. |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Code Binding: ExampleUseCodesForList (example): What the purpose of a list is. |
![]() ![]() ![]() |
SΣ | 2..* | Coding | Code defined by a terminology system Slice: Unordered, Open by pattern:$this |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Medikationsliste Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/list-example-use-codes |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: medications |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Kontext der Medikationsliste Binding: MII VS Medikation Fallkontext (required) Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | uri | Identity of the terminology system Fixed Value: http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Symbol in syntax defined by the system |
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | If all resources have the same subject |
![]() ![]() |
S | 0..1 | Reference(Encounter) | Fall oder Kontakt |
![]() ![]() |
SΣ | 0..1 | dateTime | Datum |
![]() ![]() |
SC | 0..* | BackboneElement | Eintrag |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 1..1 | Reference(MII PR Medikation MedicationStatement) | Actual entry |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| List.status | Base | required | ListStatus | 📍4.0.1 | FHIR Std. |
| 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.code.coding:contextCode | Base | required | MII VS Medikation Fallkontext | 📦2027.0.0-ballot | This IG |
| Id | Grade | Path(s) | Description | Expression |
| 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()
|
| medication-list-context-1 | error | List | Wenn der Kontext Aufnahme, Entlassung oder ambulanter Kontakt ist, soll der mode 'snapshot' sein. |
List.code.coding.where(system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E210' or system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E230' or system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E100').exists() implies List.mode='snapshot'
|
| medication-list-context-2 | error | List | Wenn der Kontext stationärer Aufenthalt ist, soll der mode 'working' sein. |
List.code.coding.where(system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E200').exists() implies List.mode='working'
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | List | A list is a curated collection of resources Constraints: medication-list-context-1, medication-list-context-2 |
![]() ![]() |
S | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
S | 0..1 | uri | Identifies where the resource comes from |
![]() ![]() ![]() |
S | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to |
![]() ![]() |
S | 0..* | Identifier | Business identifier |
![]() ![]() |
S | 1..1 | code | Status |
![]() ![]() |
S | 1..1 | code | Modus |
![]() ![]() |
S | 0..1 | CodeableConcept | Code |
![]() ![]() ![]() |
S | 2..* | Coding | Code defined by a terminology system Slice: Unordered, Open by pattern:$this |
![]() ![]() ![]() ![]() |
S | 1..1 | Coding | Medikationsliste Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/list-example-use-codes |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | code | Symbol in syntax defined by the system Fixed Value: medications |
![]() ![]() ![]() ![]() |
S | 1..1 | Coding | Kontext der Medikationsliste Binding: MII VS Medikation Fallkontext (required) Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | uri | Identity of the terminology system Fixed Value: http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | code | Symbol in syntax defined by the system |
![]() ![]() |
S | 1..1 | Reference(Patient) | If all resources have the same subject |
![]() ![]() |
S | 0..1 | Reference(Encounter) | Fall oder Kontakt |
![]() ![]() |
S | 0..1 | dateTime | Datum |
![]() ![]() |
S | 0..* | BackboneElement | Eintrag |
![]() ![]() ![]() |
0..0 | Status/Workflow information about this item | ||
![]() ![]() ![]() |
0..0 | If this item is actually marked as deleted | ||
![]() ![]() ![]() |
S | 1..1 | Reference(MII PR Medikation MedicationStatement) | Actual entry |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| List.code.coding:contextCode | Base | required | MII VS Medikation Fallkontext | 📦2027.0.0-ballot | This IG |
| Id | Grade | Path(s) | Description | Expression |
| medication-list-context-1 | error | List | Wenn der Kontext Aufnahme, Entlassung oder ambulanter Kontakt ist, soll der mode 'snapshot' sein. |
List.code.coding.where(system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E210' or system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E230' or system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E100').exists() implies List.mode='snapshot'
|
| medication-list-context-2 | error | List | Wenn der Kontext stationärer Aufenthalt ist, soll der mode 'working' sein. |
List.code.coding.where(system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E200').exists() implies List.mode='working'
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | List | A list is a curated collection of resources Constraints: lst-1, lst-2, lst-3, medication-list-context-1, medication-list-context-2 | ||||
![]() ![]() |
Σ | 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 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
SΣ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
SΣ | 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 | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
S | 0..* | Identifier | Business identifier | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Status Binding: ListStatus (required): The current state of the list. | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Modus Binding: ListMode (required): The processing mode that applies to this list. | ||||
![]() ![]() |
Σ | 0..1 | string | Descriptive name for the list Example General: Dr. Jane's Patients | ||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Code Binding: ExampleUseCodesForList (example): What the purpose of a list is. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 2..* | Coding | Code defined by a terminology system Slice: Unordered, Open by pattern:$this | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Medikationsliste Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/list-example-use-codes | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: medications | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Kontext der Medikationsliste Binding: MII VS Medikation Fallkontext (required) Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | uri | Identity of the terminology system Fixed Value: http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | If all resources have the same subject | ||||
![]() ![]() |
S | 0..1 | Reference(Encounter) | Fall oder Kontakt | ||||
![]() ![]() |
SΣ | 0..1 | dateTime | Datum | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | Device) | Who and/or what defined the list contents (aka Author) | ||||
![]() ![]() |
0..1 | CodeableConcept | What order the list has Binding: ListOrderCodes (preferred): What order applies to the items in a list. | |||||
![]() ![]() |
0..* | Annotation | Comments about the list | |||||
![]() ![]() |
SC | 0..* | BackboneElement | Eintrag | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | dateTime | When item added to list | |||||
![]() ![]() ![]() |
S | 1..1 | Reference(MII PR Medikation MedicationStatement) | Actual entry | ||||
![]() ![]() |
C | 0..1 | CodeableConcept | Why list is empty Binding: ListEmptyReasons (preferred): If a list is empty, why it is empty. | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| List.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| List.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| List.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| List.status | Base | required | ListStatus | 📍4.0.1 | FHIR Std. |
| 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.code.coding:contextCode | Base | required | MII VS Medikation Fallkontext | 📦2027.0.0-ballot | This IG |
| List.orderedBy | Base | preferred | List Order Codes | 📍4.0.1 | FHIR Std. |
| List.emptyReason | Base | preferred | List Empty Reasons | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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()
|
| medication-list-context-1 | error | List | Wenn der Kontext Aufnahme, Entlassung oder ambulanter Kontakt ist, soll der mode 'snapshot' sein. |
List.code.coding.where(system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E210' or system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E230' or system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E100').exists() implies List.mode='snapshot'
|
| medication-list-context-2 | error | List | Wenn der Kontext stationärer Aufenthalt ist, soll der mode 'working' sein. |
List.code.coding.where(system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E200').exists() implies List.mode='working'
|
Summary
Mandatory: 1 element(2 nested mandatory elements)
Must-Support: 19 elements
Prohibited: 2 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | List | A list is a curated collection of resources Constraints: lst-1, lst-2, lst-3, medication-list-context-1, medication-list-context-2 |
![]() ![]() |
SΣ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
SΣ | 0..1 | uri | Identifies where the resource comes from |
![]() ![]() ![]() |
SΣ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
S | 0..* | Identifier | Business identifier |
![]() ![]() |
?!SΣ | 1..1 | code | Status Binding: ListStatus (required): The current state of the list. |
![]() ![]() |
?!SΣ | 1..1 | code | Modus Binding: ListMode (required): The processing mode that applies to this list. |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Code Binding: ExampleUseCodesForList (example): What the purpose of a list is. |
![]() ![]() ![]() |
SΣ | 2..* | Coding | Code defined by a terminology system Slice: Unordered, Open by pattern:$this |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Medikationsliste Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/list-example-use-codes |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: medications |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Kontext der Medikationsliste Binding: MII VS Medikation Fallkontext (required) Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | uri | Identity of the terminology system Fixed Value: http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Symbol in syntax defined by the system |
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | If all resources have the same subject |
![]() ![]() |
S | 0..1 | Reference(Encounter) | Fall oder Kontakt |
![]() ![]() |
SΣ | 0..1 | dateTime | Datum |
![]() ![]() |
SC | 0..* | BackboneElement | Eintrag |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 1..1 | Reference(MII PR Medikation MedicationStatement) | Actual entry |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| List.status | Base | required | ListStatus | 📍4.0.1 | FHIR Std. |
| 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.code.coding:contextCode | Base | required | MII VS Medikation Fallkontext | 📦2027.0.0-ballot | This IG |
| Id | Grade | Path(s) | Description | Expression |
| 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()
|
| medication-list-context-1 | error | List | Wenn der Kontext Aufnahme, Entlassung oder ambulanter Kontakt ist, soll der mode 'snapshot' sein. |
List.code.coding.where(system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E210' or system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E230' or system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E100').exists() implies List.mode='snapshot'
|
| medication-list-context-2 | error | List | Wenn der Kontext stationärer Aufenthalt ist, soll der mode 'working' sein. |
List.code.coding.where(system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E200').exists() implies List.mode='working'
|
Differential View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | List | A list is a curated collection of resources Constraints: medication-list-context-1, medication-list-context-2 |
![]() ![]() |
S | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
S | 0..1 | uri | Identifies where the resource comes from |
![]() ![]() ![]() |
S | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to |
![]() ![]() |
S | 0..* | Identifier | Business identifier |
![]() ![]() |
S | 1..1 | code | Status |
![]() ![]() |
S | 1..1 | code | Modus |
![]() ![]() |
S | 0..1 | CodeableConcept | Code |
![]() ![]() ![]() |
S | 2..* | Coding | Code defined by a terminology system Slice: Unordered, Open by pattern:$this |
![]() ![]() ![]() ![]() |
S | 1..1 | Coding | Medikationsliste Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/list-example-use-codes |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | code | Symbol in syntax defined by the system Fixed Value: medications |
![]() ![]() ![]() ![]() |
S | 1..1 | Coding | Kontext der Medikationsliste Binding: MII VS Medikation Fallkontext (required) Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | uri | Identity of the terminology system Fixed Value: http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | code | Symbol in syntax defined by the system |
![]() ![]() |
S | 1..1 | Reference(Patient) | If all resources have the same subject |
![]() ![]() |
S | 0..1 | Reference(Encounter) | Fall oder Kontakt |
![]() ![]() |
S | 0..1 | dateTime | Datum |
![]() ![]() |
S | 0..* | BackboneElement | Eintrag |
![]() ![]() ![]() |
0..0 | Status/Workflow information about this item | ||
![]() ![]() ![]() |
0..0 | If this item is actually marked as deleted | ||
![]() ![]() ![]() |
S | 1..1 | Reference(MII PR Medikation MedicationStatement) | Actual entry |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| List.code.coding:contextCode | Base | required | MII VS Medikation Fallkontext | 📦2027.0.0-ballot | This IG |
| Id | Grade | Path(s) | Description | Expression |
| medication-list-context-1 | error | List | Wenn der Kontext Aufnahme, Entlassung oder ambulanter Kontakt ist, soll der mode 'snapshot' sein. |
List.code.coding.where(system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E210' or system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E230' or system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E100').exists() implies List.mode='snapshot'
|
| medication-list-context-2 | error | List | Wenn der Kontext stationärer Aufenthalt ist, soll der mode 'working' sein. |
List.code.coding.where(system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E200').exists() implies List.mode='working'
|
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | List | A list is a curated collection of resources Constraints: lst-1, lst-2, lst-3, medication-list-context-1, medication-list-context-2 | ||||
![]() ![]() |
Σ | 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 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
SΣ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
SΣ | 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 | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
S | 0..* | Identifier | Business identifier | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Status Binding: ListStatus (required): The current state of the list. | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Modus Binding: ListMode (required): The processing mode that applies to this list. | ||||
![]() ![]() |
Σ | 0..1 | string | Descriptive name for the list Example General: Dr. Jane's Patients | ||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Code Binding: ExampleUseCodesForList (example): What the purpose of a list is. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 2..* | Coding | Code defined by a terminology system Slice: Unordered, Open by pattern:$this | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Medikationsliste Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/list-example-use-codes | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: medications | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Kontext der Medikationsliste Binding: MII VS Medikation Fallkontext (required) Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | uri | Identity of the terminology system Fixed Value: http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | If all resources have the same subject | ||||
![]() ![]() |
S | 0..1 | Reference(Encounter) | Fall oder Kontakt | ||||
![]() ![]() |
SΣ | 0..1 | dateTime | Datum | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | Device) | Who and/or what defined the list contents (aka Author) | ||||
![]() ![]() |
0..1 | CodeableConcept | What order the list has Binding: ListOrderCodes (preferred): What order applies to the items in a list. | |||||
![]() ![]() |
0..* | Annotation | Comments about the list | |||||
![]() ![]() |
SC | 0..* | BackboneElement | Eintrag | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | dateTime | When item added to list | |||||
![]() ![]() ![]() |
S | 1..1 | Reference(MII PR Medikation MedicationStatement) | Actual entry | ||||
![]() ![]() |
C | 0..1 | CodeableConcept | Why list is empty Binding: ListEmptyReasons (preferred): If a list is empty, why it is empty. | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| List.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| List.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| List.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| List.status | Base | required | ListStatus | 📍4.0.1 | FHIR Std. |
| 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.code.coding:contextCode | Base | required | MII VS Medikation Fallkontext | 📦2027.0.0-ballot | This IG |
| List.orderedBy | Base | preferred | List Order Codes | 📍4.0.1 | FHIR Std. |
| List.emptyReason | Base | preferred | List Empty Reasons | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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()
|
| medication-list-context-1 | error | List | Wenn der Kontext Aufnahme, Entlassung oder ambulanter Kontakt ist, soll der mode 'snapshot' sein. |
List.code.coding.where(system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E210' or system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E230' or system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E100').exists() implies List.mode='snapshot'
|
| medication-list-context-2 | error | List | Wenn der Kontext stationärer Aufenthalt ist, soll der mode 'working' sein. |
List.code.coding.where(system='http://ihe-d.de/CodeSystems/FallkontextBeiDokumentenerstellung' and code='E200').exists() implies List.mode='working'
|
Summary
Mandatory: 1 element(2 nested mandatory elements)
Must-Support: 19 elements
Prohibited: 2 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron