1.3.0 - release

KLGateway, published by KL. This guide is not an authorized publication; it is the continuous build for version 1.3.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7dk/kl-gateway/ and changes regularly. See the Directory of published versions

Resource Profile: CareMatterOfInterestObservation

Official URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-matter-of-interest-observation Version: 1.3.0
Active as of 2026-07-19 Computable Name: KLGatewayCareMatterOfInterestObservation

Matter or area of interest in relation to the care of the citizen.

Scope and usage

The MatterOfInterestObservation is used in Danish Municipalities, and may be instantiated whenever information about the citizen is recorded, under the headings defined by Areas (FSIII områder). For each heading, a new instance of MatterOfInterestObservation is used.

It is allowed to add a finding to represent the context at risk (tilstandskode) if this is documented as part of the matters of interest. Use the findingContextAtRisk extension for this.

Notice that the status-attribute is mandatory. For normal use, just set to "final", if data is missing or another problem has occured, follow the FHIR guidance to populate the field correctly. In case of a correction use entered-in-error.

When a matter of interest is no longer in focus the values is set to B6 "Ikke relevant", otherwise the value shall not be set.

Conversions between Danish information model and FHIR-profile

Nedenstående tabel oversætter mellem de attributter der er defineret i den fælleskommunale informationsmodel (FKI), definerer kort den enkelte attribut på dansk og specificerer hvilke af FHIR-profilens attributter der skal bruges til specifikation af indholdet

FKI-attribut Definition FHIR
oplysningskode Klasse der udtrykker, hvilket fagligt emneområde, oplysningen tilhører. Observation.code.coding
oplysningssværhedsgrad Sværhedsgraden af de udfordringer som indhentede informationer observationer og vurderinger har belyst, organiseret under faglige emneområder Observation.valueCodeableConcept.coding
oplysningssubjekt Den borger som oplysningen omhandler Observation.subject
oplysningstid Det tidspunkt hvor oplysningen er vurderet. Observation.effectiveDateTime
oplysningsstatus Klasse der udtrykker, hvor i sin proces, oplysningen er. Observation.status
tilstandskode Klasse der udtrykker en tilstand som er kontekst for det faglige emneområde. Observation.extension:contextAtRisk

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation C 0..* Observation Measurements and simple assertions
Constraints: obs-6, obs-7
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:findingContextAtRisk 0..* Coding CareFindingContextAtRiskExtension
URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-finding-context-at-risk-extension
Binding: FSIIICareConditions (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... code Σ 1..1 CodeableConcept [DK] oplysningskode
Binding: LOINCCodes (example): Codes identifying names of simple observations.
.... coding Σ 1..1 Coding Code defined by a terminology system
Binding: FSIIICareMatterOfInterests (required)
... subject Σ 0..1 Reference(CareCitizen) {b} [DK] oplysningssubjekt
... effective[x] Σ 1..1 dateTime [DK] oplysningstid
... value[x] SΣC 0..1 CodeableConcept Actual result
Binding: KLGatewayCareMatterOfInterestValues (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Observation.status Base required ObservationStatus 📍4.0.1 FHIR Std.
Observation.code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.code.coding Base required FSIIICareMatterOfInterests 📦1.3.0 This IG
Observation.value[x] Base required KLGatewayCareMatterOfInterestValues 📦1.3.0 This IG
Observation.component.​code Base example LOINC Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Observation If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Observation 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 Observation 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 Observation If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Observation 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()
obs-6 error Observation dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Observation If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()

This structure is derived from Observation

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation 0..* Observation Measurements and simple assertions
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:findingContextAtRisk 0..* Coding CareFindingContextAtRiskExtension
URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-finding-context-at-risk-extension
Binding: FSIIICareConditions (required)
... identifier 0..0 Business Identifier for observation
... basedOn 0..0 Fulfills plan, proposal or order
... status 1..1 code [DK] oplysningsstatus
... category 0..0 Classification of type of observation
... code 1..1 CodeableConcept [DK] oplysningskode
.... coding 1..1 Coding Code defined by a terminology system
Binding: FSIIICareMatterOfInterests (required)
... subject 0..1 Reference(CareCitizen) {b} [DK] oplysningssubjekt
... focus 0..0 What the observation is about, when it is not about the subject of record
... encounter 0..0 Healthcare event during which this observation is made
... effective[x] 1..1 dateTime [DK] oplysningstid
... issued 0..0 Date/Time this version was made available
... performer 0..0 Who is responsible for the observation
... value[x] S 0..1 CodeableConcept Actual result
Binding: KLGatewayCareMatterOfInterestValues (required)
... dataAbsentReason 0..0 Why the result is missing
... interpretation 0..0 High, low, normal, etc.
... note 0..0 Comments about the observation
... bodySite 0..0 Observed body part
... method 0..0 How it was done
... specimen 0..0 Specimen used for this observation
... device 0..0 (Measurement) Device
... referenceRange 0..0 Provides guide for interpretation
... hasMember 0..0 Related resource that belongs to the Observation group
... derivedFrom 0..0 Related measurements the observation is made from
... component 0..0 Component results

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Observation.code.coding Base required FSIIICareMatterOfInterests 📦1.3.0 This IG
Observation.value[x] Base required KLGatewayCareMatterOfInterestValues 📦1.3.0 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation C 0..* Observation Measurements and simple assertions
Constraints: obs-6, obs-7
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:findingContextAtRisk 0..* Coding CareFindingContextAtRiskExtension
URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-finding-context-at-risk-extension
Binding: FSIIICareConditions (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!Σ 1..1 code [DK] oplysningsstatus
Binding: ObservationStatus (required): Codes providing the status of an observation.
... code Σ 1..1 CodeableConcept [DK] oplysningskode
Binding: LOINCCodes (example): Codes identifying names of simple observations.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 1..1 Coding Code defined by a terminology system
Binding: FSIIICareMatterOfInterests (required)
.... text Σ 0..1 string Plain text representation of the concept
... subject Σ 0..1 Reference(CareCitizen) {b} [DK] oplysningssubjekt
... effective[x] Σ 1..1 dateTime [DK] oplysningstid
... value[x] SΣC 0..1 CodeableConcept Actual result
Binding: KLGatewayCareMatterOfInterestValues (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Observation.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Observation.status Base required ObservationStatus 📍4.0.1 FHIR Std.
Observation.code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.code.coding Base required FSIIICareMatterOfInterests 📦1.3.0 This IG
Observation.value[x] Base required KLGatewayCareMatterOfInterestValues 📦1.3.0 This IG
Observation.referenceRange.​type Base preferred Observation Reference Range Meaning Codes 📍4.0.1 FHIR Std.
Observation.referenceRange.​appliesTo Base example Observation Reference Range Applies To Codes 📍4.0.1 FHIR Std.
Observation.component.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component.​dataAbsentReason Base extensible DataAbsentReason 📍4.0.1 FHIR Std.
Observation.component.​interpretation Base extensible Observation Interpretation Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Observation If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Observation 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 Observation 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 Observation If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Observation 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()
obs-6 error Observation dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Observation If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()

This structure is derived from Observation

Summary

Mandatory: 2 elements
Must-Support: 1 element
Prohibited: 19 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation C 0..* Observation Measurements and simple assertions
Constraints: obs-6, obs-7
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:findingContextAtRisk 0..* Coding CareFindingContextAtRiskExtension
URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-finding-context-at-risk-extension
Binding: FSIIICareConditions (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... code Σ 1..1 CodeableConcept [DK] oplysningskode
Binding: LOINCCodes (example): Codes identifying names of simple observations.
.... coding Σ 1..1 Coding Code defined by a terminology system
Binding: FSIIICareMatterOfInterests (required)
... subject Σ 0..1 Reference(CareCitizen) {b} [DK] oplysningssubjekt
... effective[x] Σ 1..1 dateTime [DK] oplysningstid
... value[x] SΣC 0..1 CodeableConcept Actual result
Binding: KLGatewayCareMatterOfInterestValues (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Observation.status Base required ObservationStatus 📍4.0.1 FHIR Std.
Observation.code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.code.coding Base required FSIIICareMatterOfInterests 📦1.3.0 This IG
Observation.value[x] Base required KLGatewayCareMatterOfInterestValues 📦1.3.0 This IG
Observation.component.​code Base example LOINC Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Observation If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Observation 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 Observation 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 Observation If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Observation 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()
obs-6 error Observation dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Observation If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()

Differential View

This structure is derived from Observation

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation 0..* Observation Measurements and simple assertions
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:findingContextAtRisk 0..* Coding CareFindingContextAtRiskExtension
URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-finding-context-at-risk-extension
Binding: FSIIICareConditions (required)
... identifier 0..0 Business Identifier for observation
... basedOn 0..0 Fulfills plan, proposal or order
... status 1..1 code [DK] oplysningsstatus
... category 0..0 Classification of type of observation
... code 1..1 CodeableConcept [DK] oplysningskode
.... coding 1..1 Coding Code defined by a terminology system
Binding: FSIIICareMatterOfInterests (required)
... subject 0..1 Reference(CareCitizen) {b} [DK] oplysningssubjekt
... focus 0..0 What the observation is about, when it is not about the subject of record
... encounter 0..0 Healthcare event during which this observation is made
... effective[x] 1..1 dateTime [DK] oplysningstid
... issued 0..0 Date/Time this version was made available
... performer 0..0 Who is responsible for the observation
... value[x] S 0..1 CodeableConcept Actual result
Binding: KLGatewayCareMatterOfInterestValues (required)
... dataAbsentReason 0..0 Why the result is missing
... interpretation 0..0 High, low, normal, etc.
... note 0..0 Comments about the observation
... bodySite 0..0 Observed body part
... method 0..0 How it was done
... specimen 0..0 Specimen used for this observation
... device 0..0 (Measurement) Device
... referenceRange 0..0 Provides guide for interpretation
... hasMember 0..0 Related resource that belongs to the Observation group
... derivedFrom 0..0 Related measurements the observation is made from
... component 0..0 Component results

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Observation.code.coding Base required FSIIICareMatterOfInterests 📦1.3.0 This IG
Observation.value[x] Base required KLGatewayCareMatterOfInterestValues 📦1.3.0 This IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation C 0..* Observation Measurements and simple assertions
Constraints: obs-6, obs-7
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:findingContextAtRisk 0..* Coding CareFindingContextAtRiskExtension
URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-finding-context-at-risk-extension
Binding: FSIIICareConditions (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!Σ 1..1 code [DK] oplysningsstatus
Binding: ObservationStatus (required): Codes providing the status of an observation.
... code Σ 1..1 CodeableConcept [DK] oplysningskode
Binding: LOINCCodes (example): Codes identifying names of simple observations.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 1..1 Coding Code defined by a terminology system
Binding: FSIIICareMatterOfInterests (required)
.... text Σ 0..1 string Plain text representation of the concept
... subject Σ 0..1 Reference(CareCitizen) {b} [DK] oplysningssubjekt
... effective[x] Σ 1..1 dateTime [DK] oplysningstid
... value[x] SΣC 0..1 CodeableConcept Actual result
Binding: KLGatewayCareMatterOfInterestValues (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Observation.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Observation.status Base required ObservationStatus 📍4.0.1 FHIR Std.
Observation.code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.code.coding Base required FSIIICareMatterOfInterests 📦1.3.0 This IG
Observation.value[x] Base required KLGatewayCareMatterOfInterestValues 📦1.3.0 This IG
Observation.referenceRange.​type Base preferred Observation Reference Range Meaning Codes 📍4.0.1 FHIR Std.
Observation.referenceRange.​appliesTo Base example Observation Reference Range Applies To Codes 📍4.0.1 FHIR Std.
Observation.component.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component.​dataAbsentReason Base extensible DataAbsentReason 📍4.0.1 FHIR Std.
Observation.component.​interpretation Base extensible Observation Interpretation Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Observation If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Observation 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 Observation 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 Observation If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Observation 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()
obs-6 error Observation dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Observation If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()

This structure is derived from Observation

Summary

Mandatory: 2 elements
Must-Support: 1 element
Prohibited: 19 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron