Medication Scheme Implementation Guide
1.0.0 - draft
Medication Scheme Implementation Guide, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/ig-ee-medication-scheme/ and changes regularly. See the Directory of published versions
Official URL: https://fhir.ee/StructureDefinition/ee-tis-medication-list | Version: 1.0.0 | |||
Draft as of 2024-01-19 | Computable Name: EETISMedicationList |
Ravimiskeem. This profile gathers patient's medications in one list for better overview of the whole medication scheme
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | List | Medication scheme. List of patient's medication. dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management lst-1: A list can only have an emptyReason if it is empty |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
0..1 | boolean | Consent with medication interactions. URL: https://fhir.ee/StructureDefinition/ee-tis-consent-with-interactions ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
?!Σ | 1..1 | code | current | retired | entered-in-error Binding: ListStatus (required): The current state of the list. ele-1: All FHIR elements must have a @value or children Fixed Value: current |
![]() ![]() ![]() |
?!Σ | 1..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this list. ele-1: All FHIR elements must have a @value or children Fixed Value: snapshot |
![]() ![]() ![]() |
Σ | 0..1 | string | Medication Scheme ele-1: All FHIR elements must have a @value or children Example General: Dr. Jane's Patients |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Ravimiskeem Binding: ExampleUseCodesForList (example): What the purpose of a list is. ele-1: All FHIR elements must have a @value or children Fixed Value: As shown |
![]() ![]() ![]() ![]() |
0..0 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Fixed Value: (complex) | |
![]() ![]() ![]() ![]() ![]() |
0..0 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/list-example-use-codes | |
![]() ![]() ![]() ![]() ![]() |
0..0 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: medications | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Medication List | |
![]() ![]() ![]() ![]() ![]() |
0..0 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() |
1..1 | string | Plain text representation of the concept Fixed Value: Medication List | |
![]() ![]() ![]() |
Σ | 1..1 | Reference(EE MPI Patient Verified) | If all resources have the same subject(s) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | Reference(EETISPractitioner | EETISPractitionerRole) | Who and/or what defined the list contents (aka Author) ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet / Code | URI |
List.status | required | Fixed Value: currenthttp://hl7.org/fhir/ValueSet/list-status|5.0.0 from the FHIR Standard | |
List.mode | required | Fixed Value: snapshothttp://hl7.org/fhir/ValueSet/list-mode|5.0.0 from the FHIR Standard | |
List.code | example | Fixed Value: "Medication List"http://hl7.org/fhir/ValueSet/list-example-codes from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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() |
This structure is derived from List
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | List | Medication scheme. List of patient's medication. | |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | boolean | Consent with medication interactions. URL: https://fhir.ee/StructureDefinition/ee-tis-consent-with-interactions | |
![]() ![]() ![]() |
1..1 | code | current | retired | entered-in-error Fixed Value: current | |
![]() ![]() ![]() |
1..1 | code | working | snapshot | changes Fixed Value: snapshot | |
![]() ![]() ![]() |
0..1 | string | Medication Scheme | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Ravimiskeem Fixed Value: As shown | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Fixed Value: (complex) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/list-example-use-codes | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: medications | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Medication List | |
![]() ![]() ![]() ![]() |
1..1 | string | Plain text representation of the concept Fixed Value: Medication List | |
![]() ![]() ![]() |
1..1 | Reference(EE MPI Patient Verified) | If all resources have the same subject(s) | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Reference(EETISPractitioner | EETISPractitionerRole) | Who and/or what defined the list contents (aka Author) | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..1 | dateTime | When entry flag is unchanged entry date does not change. When entry flag is something else than ´unchanged´ the entry date is also changed | |
![]() ![]() ![]() ![]() |
1..1 | Reference(EETISMedicationStatement) | Actual entry | |
![]() ![]() ![]() |
0..0 | |||
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | List | Medication scheme. List of patient's medication. lst-1: A list can only have an emptyReason if it is empty | ||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | Consent with medication interactions. URL: https://fhir.ee/StructureDefinition/ee-tis-consent-with-interactions | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
0..* | Identifier | Business identifier | |||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | current | retired | entered-in-error Binding: ListStatus (required): The current state of the list. Fixed Value: current | ||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this list. Fixed Value: snapshot | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Medication Scheme Example General: Dr. Jane's Patients | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Ravimiskeem Binding: ExampleUseCodesForList (example): What the purpose of a list is. Fixed Value: As shown | ||||
![]() ![]() ![]() ![]() |
0..0 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/list-example-use-codes | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: medications | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Medication List | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Plain text representation of the concept Fixed Value: Medication List | |||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(EE MPI Patient Verified) | If all resources have the same subject(s) | ||||
![]() ![]() ![]() |
Σ | 0..1 | dateTime | When the list was prepared | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(EETISPractitioner | EETISPractitionerRole) | 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 | |||||
![]() ![]() ![]() |
C | 0..* | BackboneElement | Entries in the list This repeating element order: Order has no meaning unless specifically asserted by List.orderedBy, in which case the List SHALL be interpreted as being ordered as specified by List.orderedBy. | ||||
![]() ![]() ![]() ![]() |
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 | CodeableConcept | Status/Workflow information about this item Binding: PatientMedicineChangeTypes (example): Codes that provide further information about the reason and meaning of the item in the list. | |||||
![]() ![]() ![]() ![]() |
0..1 | dateTime | When entry flag is unchanged entry date does not change. When entry flag is something else than ´unchanged´ the entry date is also changed | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(EETISMedicationStatement) | Actual entry | |||||
![]() |
Path | Conformance | ValueSet / Code | URI |
List.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
List.status | required | Fixed Value: currenthttp://hl7.org/fhir/ValueSet/list-status|5.0.0 from the FHIR Standard | |
List.mode | required | Fixed Value: snapshothttp://hl7.org/fhir/ValueSet/list-mode|5.0.0 from the FHIR Standard | |
List.code | example | Fixed Value: "Medication List"http://hl7.org/fhir/ValueSet/list-example-codes from the FHIR Standard | |
List.orderedBy | preferred | ListOrderCodeshttp://hl7.org/fhir/ValueSet/list-order from the FHIR Standard | |
List.entry.flag | example | PatientMedicineChangeTypeshttp://hl7.org/fhir/ValueSet/list-item-flag from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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() |
This structure is derived from List
Summary
Mandatory: 2 elements
Fixed: 3 elements
Prohibited: 3 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | List | Medication scheme. List of patient's medication. dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management lst-1: A list can only have an emptyReason if it is empty |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
0..1 | boolean | Consent with medication interactions. URL: https://fhir.ee/StructureDefinition/ee-tis-consent-with-interactions ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
?!Σ | 1..1 | code | current | retired | entered-in-error Binding: ListStatus (required): The current state of the list. ele-1: All FHIR elements must have a @value or children Fixed Value: current |
![]() ![]() ![]() |
?!Σ | 1..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this list. ele-1: All FHIR elements must have a @value or children Fixed Value: snapshot |
![]() ![]() ![]() |
Σ | 0..1 | string | Medication Scheme ele-1: All FHIR elements must have a @value or children Example General: Dr. Jane's Patients |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Ravimiskeem Binding: ExampleUseCodesForList (example): What the purpose of a list is. ele-1: All FHIR elements must have a @value or children Fixed Value: As shown |
![]() ![]() ![]() ![]() |
0..0 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Fixed Value: (complex) | |
![]() ![]() ![]() ![]() ![]() |
0..0 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/list-example-use-codes | |
![]() ![]() ![]() ![]() ![]() |
0..0 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: medications | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Medication List | |
![]() ![]() ![]() ![]() ![]() |
0..0 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() |
1..1 | string | Plain text representation of the concept Fixed Value: Medication List | |
![]() ![]() ![]() |
Σ | 1..1 | Reference(EE MPI Patient Verified) | If all resources have the same subject(s) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | Reference(EETISPractitioner | EETISPractitionerRole) | Who and/or what defined the list contents (aka Author) ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet / Code | URI |
List.status | required | Fixed Value: currenthttp://hl7.org/fhir/ValueSet/list-status|5.0.0 from the FHIR Standard | |
List.mode | required | Fixed Value: snapshothttp://hl7.org/fhir/ValueSet/list-mode|5.0.0 from the FHIR Standard | |
List.code | example | Fixed Value: "Medication List"http://hl7.org/fhir/ValueSet/list-example-codes from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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() |
Differential View
This structure is derived from List
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | List | Medication scheme. List of patient's medication. | |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | boolean | Consent with medication interactions. URL: https://fhir.ee/StructureDefinition/ee-tis-consent-with-interactions | |
![]() ![]() ![]() |
1..1 | code | current | retired | entered-in-error Fixed Value: current | |
![]() ![]() ![]() |
1..1 | code | working | snapshot | changes Fixed Value: snapshot | |
![]() ![]() ![]() |
0..1 | string | Medication Scheme | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Ravimiskeem Fixed Value: As shown | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Fixed Value: (complex) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/list-example-use-codes | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: medications | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Medication List | |
![]() ![]() ![]() ![]() |
1..1 | string | Plain text representation of the concept Fixed Value: Medication List | |
![]() ![]() ![]() |
1..1 | Reference(EE MPI Patient Verified) | If all resources have the same subject(s) | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Reference(EETISPractitioner | EETISPractitionerRole) | Who and/or what defined the list contents (aka Author) | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..1 | dateTime | When entry flag is unchanged entry date does not change. When entry flag is something else than ´unchanged´ the entry date is also changed | |
![]() ![]() ![]() ![]() |
1..1 | Reference(EETISMedicationStatement) | Actual entry | |
![]() ![]() ![]() |
0..0 | |||
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | List | Medication scheme. List of patient's medication. lst-1: A list can only have an emptyReason if it is empty | ||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | Consent with medication interactions. URL: https://fhir.ee/StructureDefinition/ee-tis-consent-with-interactions | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
0..* | Identifier | Business identifier | |||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | current | retired | entered-in-error Binding: ListStatus (required): The current state of the list. Fixed Value: current | ||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this list. Fixed Value: snapshot | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Medication Scheme Example General: Dr. Jane's Patients | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Ravimiskeem Binding: ExampleUseCodesForList (example): What the purpose of a list is. Fixed Value: As shown | ||||
![]() ![]() ![]() ![]() |
0..0 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/list-example-use-codes | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: medications | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Medication List | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Plain text representation of the concept Fixed Value: Medication List | |||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(EE MPI Patient Verified) | If all resources have the same subject(s) | ||||
![]() ![]() ![]() |
Σ | 0..1 | dateTime | When the list was prepared | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(EETISPractitioner | EETISPractitionerRole) | 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 | |||||
![]() ![]() ![]() |
C | 0..* | BackboneElement | Entries in the list This repeating element order: Order has no meaning unless specifically asserted by List.orderedBy, in which case the List SHALL be interpreted as being ordered as specified by List.orderedBy. | ||||
![]() ![]() ![]() ![]() |
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 | CodeableConcept | Status/Workflow information about this item Binding: PatientMedicineChangeTypes (example): Codes that provide further information about the reason and meaning of the item in the list. | |||||
![]() ![]() ![]() ![]() |
0..1 | dateTime | When entry flag is unchanged entry date does not change. When entry flag is something else than ´unchanged´ the entry date is also changed | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(EETISMedicationStatement) | Actual entry | |||||
![]() |
Path | Conformance | ValueSet / Code | URI |
List.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
List.status | required | Fixed Value: currenthttp://hl7.org/fhir/ValueSet/list-status|5.0.0 from the FHIR Standard | |
List.mode | required | Fixed Value: snapshothttp://hl7.org/fhir/ValueSet/list-mode|5.0.0 from the FHIR Standard | |
List.code | example | Fixed Value: "Medication List"http://hl7.org/fhir/ValueSet/list-example-codes from the FHIR Standard | |
List.orderedBy | preferred | ListOrderCodeshttp://hl7.org/fhir/ValueSet/list-order from the FHIR Standard | |
List.entry.flag | example | PatientMedicineChangeTypeshttp://hl7.org/fhir/ValueSet/list-item-flag from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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() |
This structure is derived from List
Summary
Mandatory: 2 elements
Fixed: 3 elements
Prohibited: 3 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron