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

Resource Profile: MedicationListList

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:

  • CapabilityStatements using this Profile: ERA Capability Statement
  • This Profile is not used by any profiles in this Specification

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
List C 0..* List A list is a curated collection of resources
Constraints: lst-1, lst-2, lst-3
List.meta This element is included in summaries. 0..1 Meta Metadata about the resource
List.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListList (no extensions allowed)
List.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
List.Slices for extension 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
List.Slices for extension.extension:continuum 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
List.Slices for extension.extension:continuum.Slices for extension 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
List.Slices for extension.extension:continuum.Slices for extension Content/Rules for all slices
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId 1..1 Extension The identifier of the drug in use
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.url 1..1 uri "medicineId"
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x] 1..1 Identifier The identifier of the drug in use
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986 (no extensions allowed)
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].value This element is included in summaries. 1..1 string The identifier of the drug in use
Example General: 123456
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart 1..1 Extension Part identifier of medicine continuum
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart.url 1..1 uri "medicineIdPart"
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart.value[x] 1..1 positiveInt Part identifier of medicine continuum
List.Slices for extension.extension:continuum.url 1..1 uri "http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum"
List.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
List.status This element is a modifier element. This element is included in summaries. 1..1 code current | retired | entered-in-error
Binding: ListStatus (required): The current state of the list.
Fixed Value: current (no extensions allowed)
List.mode This element is a modifier element. This element is included in summaries. 1..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this list.
Fixed Value: working (no extensions allowed)

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
List 0..* List A list is a curated collection of resources
List.meta 0..1 Meta Metadata about the resource
List.meta.profile 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListList (no extensions allowed)
List.Slices for extension 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
List.Slices for extension.extension:continuum 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
List.Slices for extension.extension:continuum.Slices for extension 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
List.Slices for extension.extension:continuum.Slices for extension Content/Rules for all slices
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId 1..1 Extension The identifier of the drug in use
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart 1..1 Extension Part identifier of medicine continuum
List.Slices for extension.extension:continuum.Slices for extension.extension:newest 0..0 Status information 'Latest'
List.identifier 0..0 Business identifier
List.mode 1..1 code working | snapshot | changes
Fixed Value: working (no extensions allowed)
List.title 0..0 Descriptive name for the list
List.code 0..0 What the purpose of this list is
List.subject 0..0 If all resources have the same subject
List.encounter 0..0 Context in which list created
List.date 0..0 When the list was prepared
List.source 0..0 Who and/or what defined the list contents (aka Author)
List.orderedBy 0..0 What order the list has
List.note 0..0 Comments about the list
List.entry
List.entry.item 1..1 Reference(Resource) Reference to a resource instance to which the List is connected to
List.emptyReason 0..0 Why list is empty

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
List C 0..* List A list is a curated collection of resources
Constraints: lst-1, lst-2, lst-3
List.id This element is included in summaries. 0..1 id Logical id of this artifact
List.meta This element is included in summaries. 0..1 Meta Metadata about the resource
List.meta.id 0..1 string Unique id for inter-element referencing
List.meta.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
List.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
List.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
List.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
List.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListList (no extensions allowed)
List.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
List.meta.tag This element is included in summaries. 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".
List.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
List.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
List.text 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
List.contained 0..* Resource Contained, inline Resources
List.Slices for extension 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
List.Slices for extension.extension:continuum 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
List.Slices for extension.extension:continuum.id 0..1 string Unique id for inter-element referencing
List.Slices for extension.extension:continuum.Slices for extension 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
List.Slices for extension.extension:continuum.Slices for extension Content/Rules for all slices
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId 1..1 Extension The identifier of the drug in use
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.id 0..1 string Unique id for inter-element referencing
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.url 1..1 uri "medicineId"
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x] 1..1 Identifier The identifier of the drug in use
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].id 0..1 string Unique id for inter-element referencing
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].type This element is included in summaries. 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.
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986 (no extensions allowed)
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].value This element is included in summaries. 1..1 string The identifier of the drug in use
Example General: 123456
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart 1..1 Extension Part identifier of medicine continuum
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart.id 0..1 string Unique id for inter-element referencing
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart.url 1..1 uri "medicineIdPart"
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart.value[x] 1..1 positiveInt Part identifier of medicine continuum
List.Slices for extension.extension:continuum.url 1..1 uri "http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum"
List.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
List.status This element is a modifier element. This element is included in summaries. 1..1 code current | retired | entered-in-error
Binding: ListStatus (required): The current state of the list.
Fixed Value: current (no extensions allowed)
List.mode This element is a modifier element. This element is included in summaries. 1..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this list.
Fixed Value: working (no extensions allowed)
List.entry C 0..* BackboneElement Entries in the list
List.entry.id 0..1 string Unique id for inter-element referencing
List.entry.extension 0..* Extension Additional content defined by implementations
List.entry.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
List.entry.flag 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.
List.entry.deleted This element is a modifier element. C 0..1 boolean If this item is actually marked as deleted
List.entry.date 0..1 dateTime When item added to list
List.entry.item 1..1 Reference(Resource) Reference to a resource instance to which the List is connected to

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

Summary

Mandatory: 4 elements(1 nested mandatory element)
Fixed: 3 elements
Prohibited: 11 elements

Extensions

This structure refers to these extensions:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
List C 0..* List A list is a curated collection of resources
Constraints: lst-1, lst-2, lst-3
List.meta This element is included in summaries. 0..1 Meta Metadata about the resource
List.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListList (no extensions allowed)
List.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
List.Slices for extension 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
List.Slices for extension.extension:continuum 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
List.Slices for extension.extension:continuum.Slices for extension 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
List.Slices for extension.extension:continuum.Slices for extension Content/Rules for all slices
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId 1..1 Extension The identifier of the drug in use
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.url 1..1 uri "medicineId"
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x] 1..1 Identifier The identifier of the drug in use
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986 (no extensions allowed)
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].value This element is included in summaries. 1..1 string The identifier of the drug in use
Example General: 123456
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart 1..1 Extension Part identifier of medicine continuum
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart.url 1..1 uri "medicineIdPart"
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart.value[x] 1..1 positiveInt Part identifier of medicine continuum
List.Slices for extension.extension:continuum.url 1..1 uri "http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum"
List.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
List.status This element is a modifier element. This element is included in summaries. 1..1 code current | retired | entered-in-error
Binding: ListStatus (required): The current state of the list.
Fixed Value: current (no extensions allowed)
List.mode This element is a modifier element. This element is included in summaries. 1..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this list.
Fixed Value: working (no extensions allowed)

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
List 0..* List A list is a curated collection of resources
List.meta 0..1 Meta Metadata about the resource
List.meta.profile 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListList (no extensions allowed)
List.Slices for extension 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
List.Slices for extension.extension:continuum 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
List.Slices for extension.extension:continuum.Slices for extension 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
List.Slices for extension.extension:continuum.Slices for extension Content/Rules for all slices
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId 1..1 Extension The identifier of the drug in use
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart 1..1 Extension Part identifier of medicine continuum
List.Slices for extension.extension:continuum.Slices for extension.extension:newest 0..0 Status information 'Latest'
List.identifier 0..0 Business identifier
List.status 1..1 code current | retired | entered-in-error
Fixed Value: current (no extensions allowed)
List.mode 1..1 code working | snapshot | changes
Fixed Value: working (no extensions allowed)
List.title 0..0 Descriptive name for the list
List.code 0..0 What the purpose of this list is
List.subject 0..0 If all resources have the same subject
List.encounter 0..0 Context in which list created
List.date 0..0 When the list was prepared
List.source 0..0 Who and/or what defined the list contents (aka Author)
List.orderedBy 0..0 What order the list has
List.note 0..0 Comments about the list
List.entry
List.entry.item 1..1 Reference(Resource) Reference to a resource instance to which the List is connected to
List.emptyReason 0..0 Why list is empty

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
List C 0..* List A list is a curated collection of resources
Constraints: lst-1, lst-2, lst-3
List.id This element is included in summaries. 0..1 id Logical id of this artifact
List.meta This element is included in summaries. 0..1 Meta Metadata about the resource
List.meta.id 0..1 string Unique id for inter-element referencing
List.meta.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
List.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
List.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
List.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
List.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListList (no extensions allowed)
List.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
List.meta.tag This element is included in summaries. 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".
List.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
List.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
List.text 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
List.contained 0..* Resource Contained, inline Resources
List.Slices for extension 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
List.Slices for extension.extension:continuum 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
List.Slices for extension.extension:continuum.id 0..1 string Unique id for inter-element referencing
List.Slices for extension.extension:continuum.Slices for extension 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
List.Slices for extension.extension:continuum.Slices for extension Content/Rules for all slices
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId 1..1 Extension The identifier of the drug in use
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.id 0..1 string Unique id for inter-element referencing
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.url 1..1 uri "medicineId"
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x] 1..1 Identifier The identifier of the drug in use
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].id 0..1 string Unique id for inter-element referencing
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].type This element is included in summaries. 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.
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986 (no extensions allowed)
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].value This element is included in summaries. 1..1 string The identifier of the drug in use
Example General: 123456
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineId.value[x].assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart 1..1 Extension Part identifier of medicine continuum
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart.id 0..1 string Unique id for inter-element referencing
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart.url 1..1 uri "medicineIdPart"
List.Slices for extension.extension:continuum.Slices for extension.extension:medicineIdPart.value[x] 1..1 positiveInt Part identifier of medicine continuum
List.Slices for extension.extension:continuum.url 1..1 uri "http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum"
List.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
List.status This element is a modifier element. This element is included in summaries. 1..1 code current | retired | entered-in-error
Binding: ListStatus (required): The current state of the list.
Fixed Value: current (no extensions allowed)
List.mode This element is a modifier element. This element is included in summaries. 1..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this list.
Fixed Value: working (no extensions allowed)
List.entry C 0..* BackboneElement Entries in the list
List.entry.id 0..1 string Unique id for inter-element referencing
List.entry.extension 0..* Extension Additional content defined by implementations
List.entry.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
List.entry.flag 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.
List.entry.deleted This element is a modifier element. C 0..1 boolean If this item is actually marked as deleted
List.entry.date 0..1 dateTime When item added to list
List.entry.item 1..1 Reference(Resource) Reference to a resource instance to which the List is connected to

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

Summary

Mandatory: 4 elements(1 nested mandatory element)
Fixed: 3 elements
Prohibited: 11 elements

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron