ERA FHIR specification
1.0.0 - draft
ERA FHIR specification - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListList | Version: 1.0.0 | |||
| Draft as of 2026-10-28 | Computable Name: MedicationListList | |||
The MedicationListList profile is used with Kanta medication list. Source
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | List | A list is a curated collection of resources Constraints: lst-1, lst-2, lst-3 |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListList (no extensions allowed) | |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | (Complex) | The identifier of the medicine in use and part identifier of medicine continuum URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum | |
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | The identifier of the drug in use | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "medicineId" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | The identifier of the drug in use | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | The identifier of the drug in use Example General: 123456 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Part identifier of medicine continuum | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "medicineIdPart" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | positiveInt | Part identifier of medicine continuum | |
![]() ![]() ![]() ![]() |
1..1 | uri | "http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum" | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
1..1 | code | current | retired | entered-in-error Binding: ListStatus (required): The current state of the list. Fixed Value: current (no extensions allowed) | |
![]() ![]() |
1..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this list. Fixed Value: working (no extensions allowed) | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| List.extension:continuum.extension:medicineId.value[x].use | Base | required | IdentifierUse | 📍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. |
| 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()
|
This structure is derived from List
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | List | A list is a curated collection of resources | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListList (no extensions allowed) | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | (Complex) | The identifier of the medicine in use and part identifier of medicine continuum URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum | |
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | The identifier of the drug in use | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Part identifier of medicine continuum | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Status information 'Latest' | ||
![]() ![]() |
0..0 | Business identifier | ||
![]() ![]() |
1..1 | code | current | retired | entered-in-error Fixed Value: current (no extensions allowed) | |
![]() ![]() |
1..1 | code | working | snapshot | changes Fixed Value: working (no extensions allowed) | |
![]() ![]() |
0..0 | Descriptive name for the list | ||
![]() ![]() |
0..0 | What the purpose of this list is | ||
![]() ![]() |
0..0 | If all resources have the same subject | ||
![]() ![]() |
0..0 | Context in which list created | ||
![]() ![]() |
0..0 | When the list was prepared | ||
![]() ![]() |
0..0 | Who and/or what defined the list contents (aka Author) | ||
![]() ![]() |
0..0 | What order the list has | ||
![]() ![]() |
0..0 | Comments about the list | ||
![]() ![]() |
||||
![]() ![]() ![]() |
1..1 | Reference(Resource) | Reference to a resource instance to which the List is connected to | |
![]() ![]() |
0..0 | Why list is empty | ||
Documentation for this format | ||||
| 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 | ||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
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 | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListList (no extensions allowed) | |||||
![]() ![]() ![]() |
0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||
![]() ![]() ![]() |
0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
1..1 | (Complex) | The identifier of the medicine in use and part identifier of medicine continuum URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | The identifier of the drug in use | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "medicineId" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | The identifier of the drug in use | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | The identifier of the drug in use Example General: 123456 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Part identifier of medicine continuum | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "medicineIdPart" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | positiveInt | Part identifier of medicine continuum | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum" | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..1 | code | current | retired | entered-in-error Binding: ListStatus (required): The current state of the list. Fixed Value: current (no extensions allowed) | |||||
![]() ![]() |
1..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this list. Fixed Value: working (no extensions allowed) | |||||
![]() ![]() |
C | 0..* | BackboneElement | Entries in the list | ||||
![]() ![]() ![]() |
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. | |||||
![]() ![]() ![]() |
C | 0..1 | boolean | If this item is actually marked as deleted | ||||
![]() ![]() ![]() |
0..1 | dateTime | When item added to list | |||||
![]() ![]() ![]() |
1..1 | Reference(Resource) | Reference to a resource instance to which the List is connected to | |||||
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.extension:continuum.extension:medicineId.value[x].use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| List.extension:continuum.extension:medicineId.value[x].type | Base | extensible | IdentifierType | 📍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.entry.flag | Base | example | Patient Medicine Change Types | 📍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()
|
This structure is derived from List
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 |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListList (no extensions allowed) | |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | (Complex) | The identifier of the medicine in use and part identifier of medicine continuum URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum | |
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | The identifier of the drug in use | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "medicineId" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | The identifier of the drug in use | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | The identifier of the drug in use Example General: 123456 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Part identifier of medicine continuum | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "medicineIdPart" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | positiveInt | Part identifier of medicine continuum | |
![]() ![]() ![]() ![]() |
1..1 | uri | "http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum" | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
1..1 | code | current | retired | entered-in-error Binding: ListStatus (required): The current state of the list. Fixed Value: current (no extensions allowed) | |
![]() ![]() |
1..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this list. Fixed Value: working (no extensions allowed) | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| List.extension:continuum.extension:medicineId.value[x].use | Base | required | IdentifierUse | 📍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. |
| 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()
|
Differential View
This structure is derived from List
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | List | A list is a curated collection of resources | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListList (no extensions allowed) | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | (Complex) | The identifier of the medicine in use and part identifier of medicine continuum URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum | |
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | The identifier of the drug in use | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Part identifier of medicine continuum | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Status information 'Latest' | ||
![]() ![]() |
0..0 | Business identifier | ||
![]() ![]() |
1..1 | code | current | retired | entered-in-error Fixed Value: current (no extensions allowed) | |
![]() ![]() |
1..1 | code | working | snapshot | changes Fixed Value: working (no extensions allowed) | |
![]() ![]() |
0..0 | Descriptive name for the list | ||
![]() ![]() |
0..0 | What the purpose of this list is | ||
![]() ![]() |
0..0 | If all resources have the same subject | ||
![]() ![]() |
0..0 | Context in which list created | ||
![]() ![]() |
0..0 | When the list was prepared | ||
![]() ![]() |
0..0 | Who and/or what defined the list contents (aka Author) | ||
![]() ![]() |
0..0 | What order the list has | ||
![]() ![]() |
0..0 | Comments about the list | ||
![]() ![]() |
||||
![]() ![]() ![]() |
1..1 | Reference(Resource) | Reference to a resource instance to which the List is connected to | |
![]() ![]() |
0..0 | Why list is empty | ||
Documentation for this format | ||||
Snapshot 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 | ||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
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 | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListList (no extensions allowed) | |||||
![]() ![]() ![]() |
0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||
![]() ![]() ![]() |
0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
1..1 | (Complex) | The identifier of the medicine in use and part identifier of medicine continuum URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | The identifier of the drug in use | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "medicineId" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | The identifier of the drug in use | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | The identifier of the drug in use Example General: 123456 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Part identifier of medicine continuum | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "medicineIdPart" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | positiveInt | Part identifier of medicine continuum | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum" | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..1 | code | current | retired | entered-in-error Binding: ListStatus (required): The current state of the list. Fixed Value: current (no extensions allowed) | |||||
![]() ![]() |
1..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this list. Fixed Value: working (no extensions allowed) | |||||
![]() ![]() |
C | 0..* | BackboneElement | Entries in the list | ||||
![]() ![]() ![]() |
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. | |||||
![]() ![]() ![]() |
C | 0..1 | boolean | If this item is actually marked as deleted | ||||
![]() ![]() ![]() |
0..1 | dateTime | When item added to list | |||||
![]() ![]() ![]() |
1..1 | Reference(Resource) | Reference to a resource instance to which the List is connected to | |||||
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.extension:continuum.extension:medicineId.value[x].use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| List.extension:continuum.extension:medicineId.value[x].type | Base | extensible | IdentifierType | 📍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.entry.flag | Base | example | Patient Medicine Change Types | 📍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()
|
This structure is derived from List
Other representations of profile: CSV, Excel, Schematron