1.2.0 - release

KLGateway, published by KL. This guide is not an authorized publication; it is the continuous build for version 1.2.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.2.0
Active as of 2024-10-31 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

Usage:

Formal Views of Profile Content

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

This structure is derived from Observation

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation Observation
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... findingContextAtRisk 0..* Coding CareFindingContextAtRiskExtension
URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-finding-context-at-risk-extension
Binding: FSIIICareConditions (required)
... identifier 0..0
... basedOn 0..0
... status 1..1 code [DK] oplysningsstatus
... category 0..0
... 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
... encounter 0..0
... effective[x] 1..1 dateTime [DK] oplysningstid
... issued 0..0
... performer 0..0
... value[x] S 0..1 CodeableConcept Actual result
Binding: KLGatewayCareMatterOfInterestValues (required)
... dataAbsentReason 0..0
... interpretation 0..0
... note 0..0
... bodySite 0..0
... method 0..0
... specimen 0..0
... device 0..0
... referenceRange 0..0
... hasMember 0..0
... derivedFrom 0..0
... component 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Observation.code.codingrequiredFSIIICareMatterOfInterests
http://fhir.kl.dk/gateway/ValueSet/FSIIICareMatterOfInterests
from this IG
Observation.value[x]requiredKLGatewayCareMatterOfInterestValues
http://fhir.kl.dk/gateway/ValueSet/KLGatewayCareMatterOfInterestValues
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation C 0..* Observation Measurements and simple assertions
obs-6: dataAbsentReason SHALL only be present if Observation.value[x] is not present
obs-7: If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present
... 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
.... 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

PathConformanceValueSetURI
Observation.statusrequiredObservationStatus
http://hl7.org/fhir/ValueSet/observation-status|4.0.1
from the FHIR Standard
Observation.codeexampleLOINCCodes (a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
from the FHIR Standard
Observation.code.codingrequiredFSIIICareMatterOfInterests
http://fhir.kl.dk/gateway/ValueSet/FSIIICareMatterOfInterests
from this IG
Observation.value[x]requiredKLGatewayCareMatterOfInterestValues
http://fhir.kl.dk/gateway/ValueSet/KLGatewayCareMatterOfInterestValues
from this IG
Observation.component.codeexampleLOINCCodes (a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorObservationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorObservationIf 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-4errorObservationIf 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-5errorObservationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceObservationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
obs-6errorObservationdataAbsentReason SHALL only be present if Observation.value[x] is not present
: dataAbsentReason.empty() or value.empty()
obs-7errorObservationIf 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()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation C 0..* Observation Measurements and simple assertions
obs-6: dataAbsentReason SHALL only be present if Observation.value[x] is not present
obs-7: If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present
... 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... 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

PathConformanceValueSetURI
Observation.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Observation.statusrequiredObservationStatus
http://hl7.org/fhir/ValueSet/observation-status|4.0.1
from the FHIR Standard
Observation.codeexampleLOINCCodes (a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
from the FHIR Standard
Observation.code.codingrequiredFSIIICareMatterOfInterests
http://fhir.kl.dk/gateway/ValueSet/FSIIICareMatterOfInterests
from this IG
Observation.value[x]requiredKLGatewayCareMatterOfInterestValues
http://fhir.kl.dk/gateway/ValueSet/KLGatewayCareMatterOfInterestValues
from this IG
Observation.referenceRange.typepreferredObservationReferenceRangeMeaningCodes
http://hl7.org/fhir/ValueSet/referencerange-meaning
from the FHIR Standard
Observation.referenceRange.appliesToexampleObservationReferenceRangeAppliesToCodes
http://hl7.org/fhir/ValueSet/referencerange-appliesto
from the FHIR Standard
Observation.component.codeexampleLOINCCodes (a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
from the FHIR Standard
Observation.component.dataAbsentReasonextensibleDataAbsentReason
http://hl7.org/fhir/ValueSet/data-absent-reason
from the FHIR Standard
Observation.component.interpretationextensibleObservationInterpretationCodes
http://hl7.org/fhir/ValueSet/observation-interpretation
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorObservationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorObservationIf 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-4errorObservationIf 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-5errorObservationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceObservationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
obs-6errorObservationdataAbsentReason SHALL only be present if Observation.value[x] is not present
: dataAbsentReason.empty() or value.empty()
obs-7errorObservationIf 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:

Differential View

This structure is derived from Observation

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation Observation
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... findingContextAtRisk 0..* Coding CareFindingContextAtRiskExtension
URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-finding-context-at-risk-extension
Binding: FSIIICareConditions (required)
... identifier 0..0
... basedOn 0..0
... status 1..1 code [DK] oplysningsstatus
... category 0..0
... 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
... encounter 0..0
... effective[x] 1..1 dateTime [DK] oplysningstid
... issued 0..0
... performer 0..0
... value[x] S 0..1 CodeableConcept Actual result
Binding: KLGatewayCareMatterOfInterestValues (required)
... dataAbsentReason 0..0
... interpretation 0..0
... note 0..0
... bodySite 0..0
... method 0..0
... specimen 0..0
... device 0..0
... referenceRange 0..0
... hasMember 0..0
... derivedFrom 0..0
... component 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Observation.code.codingrequiredFSIIICareMatterOfInterests
http://fhir.kl.dk/gateway/ValueSet/FSIIICareMatterOfInterests
from this IG
Observation.value[x]requiredKLGatewayCareMatterOfInterestValues
http://fhir.kl.dk/gateway/ValueSet/KLGatewayCareMatterOfInterestValues
from this IG

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation C 0..* Observation Measurements and simple assertions
obs-6: dataAbsentReason SHALL only be present if Observation.value[x] is not present
obs-7: If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present
... 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
.... 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

PathConformanceValueSetURI
Observation.statusrequiredObservationStatus
http://hl7.org/fhir/ValueSet/observation-status|4.0.1
from the FHIR Standard
Observation.codeexampleLOINCCodes (a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
from the FHIR Standard
Observation.code.codingrequiredFSIIICareMatterOfInterests
http://fhir.kl.dk/gateway/ValueSet/FSIIICareMatterOfInterests
from this IG
Observation.value[x]requiredKLGatewayCareMatterOfInterestValues
http://fhir.kl.dk/gateway/ValueSet/KLGatewayCareMatterOfInterestValues
from this IG
Observation.component.codeexampleLOINCCodes (a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorObservationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorObservationIf 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-4errorObservationIf 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-5errorObservationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceObservationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
obs-6errorObservationdataAbsentReason SHALL only be present if Observation.value[x] is not present
: dataAbsentReason.empty() or value.empty()
obs-7errorObservationIf 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()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation C 0..* Observation Measurements and simple assertions
obs-6: dataAbsentReason SHALL only be present if Observation.value[x] is not present
obs-7: If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present
... 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... 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

PathConformanceValueSetURI
Observation.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Observation.statusrequiredObservationStatus
http://hl7.org/fhir/ValueSet/observation-status|4.0.1
from the FHIR Standard
Observation.codeexampleLOINCCodes (a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
from the FHIR Standard
Observation.code.codingrequiredFSIIICareMatterOfInterests
http://fhir.kl.dk/gateway/ValueSet/FSIIICareMatterOfInterests
from this IG
Observation.value[x]requiredKLGatewayCareMatterOfInterestValues
http://fhir.kl.dk/gateway/ValueSet/KLGatewayCareMatterOfInterestValues
from this IG
Observation.referenceRange.typepreferredObservationReferenceRangeMeaningCodes
http://hl7.org/fhir/ValueSet/referencerange-meaning
from the FHIR Standard
Observation.referenceRange.appliesToexampleObservationReferenceRangeAppliesToCodes
http://hl7.org/fhir/ValueSet/referencerange-appliesto
from the FHIR Standard
Observation.component.codeexampleLOINCCodes (a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
from the FHIR Standard
Observation.component.dataAbsentReasonextensibleDataAbsentReason
http://hl7.org/fhir/ValueSet/data-absent-reason
from the FHIR Standard
Observation.component.interpretationextensibleObservationInterpretationCodes
http://hl7.org/fhir/ValueSet/observation-interpretation
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorObservationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorObservationIf 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-4errorObservationIf 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-5errorObservationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceObservationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
obs-6errorObservationdataAbsentReason SHALL only be present if Observation.value[x] is not present
: dataAbsentReason.empty() or value.empty()
obs-7errorObservationIf 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