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: CareGoal

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

Describes the intended or expected functional level for a condition of a citizen.

Scope and usage

In a Danish municipality setting, Goal is used to describe all the different kinds of goals and purposes defined by FSIII.

The goal itself is described using Goal.target and Goal.description. The target describes the severity related to functioning. Goal.target.meassure is used to express the method which in this profile is fixed to the code for funktionsevneniveau.

The FHIR Goal ressource has a mandatory attribute Goal.lifecycleStatus with a binding to a status ValueSet. Use "active" for active goals, "completed" for all goals that are either reached or no longer being persued, and entered-in-error for corrrections.

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
målkategori Klasse, der udtrykker hvilket mål der er tale om. Goal.category
målSværhedsgrad En klasse, der udtrykker en tilstands mål for sværhedsgrad. Goal.target
målbeskrivelse Beskrivelse af hvad målet er. Goal.description
målSubjekt Den borger som målet er opstillet for. Goal.subject
målrelateret Den eller de Tilstande eller Oplysninger, der er relvant for målet. Goal.addresses
målemetode Den type af observationer der skal til for at følge med i dette mål. Goal.target.measure
målstatus Status for målet Goal.lifecycleStatus

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
.. Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
Constraints: klgateway-adresses-must-be-home-care-condition
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... lifecycleStatus ?!Σ 1..1 code proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
Binding: GoalLifecycleStatus (required): Codes that reflect the current state of a goal and whether the goal is still being targeted.
.... coding Σ 1..1 Coding Code defined by a terminology system

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: ca552020-6ed1-4cdc-b0d4-32697f1f27ad
..... display 0..1 string Representation defined by the system
... description Σ 1..1 CodeableConcept [DK] målbeskrivelse
Binding: SNOMEDCTClinicalFindings (example): Codes providing the details of a particular goal. This will generally be system or implementation guide-specific. In many systems, only the text element will be used.
.... coding Σ 1..1 Coding Code defined by a terminology system

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:1.2.208.176.2.21
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: e182c5dc-9f91-474a-92e8-f62be3d498f4
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
... subject Σ 1..1 Reference(CareCitizen) {b} [DK] målSubjekt
... start[x] Σ 1..1 date When goal pursuit begins
... target C 1..1 BackboneElement [DK] målSværhedsgrad
Constraints: gol-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... measure ΣC 1..1 CodeableConcept [DK] målemetode
Binding: KLTypeAfObservationPåMål (required)
..... coding Σ 1..1 Coding Code defined by a terminology system

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 66959f77-6e2a-4574-8423-3ff097f8b9fa
...... display 0..1 string Representation defined by the system
.... detail[x] ΣC 0..1 CodeableConcept The target value to be achieved
Binding: KLFunktionsevneniveauFSIII (required)
... addresses 1..1 Reference(CareCondition) {b} [DK] målrelateret

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Goal.lifecycleStatus Base required GoalLifecycleStatus 📍4.0.1 FHIR Std.
Goal.category Base required KLMålKategoriKoder 📦2.4.0 KL Terminologi v2.4
Goal.description Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.
Goal.target.measure Base required KLTypeAfObservationPåMål 📦2.4.0 KL Terminologi v2.4
Goal.target.detail[x] Base required KLFunktionsevneniveauFSIII 📦2.4.0 KL Terminologi v2.4

Constraints

Id Grade Path(s) Description Expression
dom-2 error Goal If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Goal 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 Goal 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 Goal If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Goal 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()
gol-1 error Goal.target Goal.target.measure is required if Goal.target.detail is populated (detail.exists() and measure.exists()) or detail.exists().not()
klgateway-adresses-must-be-home-care-condition error Goal The goal is only allowed to address home care conditions addresses.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare')

This structure is derived from Goal

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
Constraints: klgateway-adresses-must-be-home-care-condition
... identifier 0..0 External Ids for this goal
... lifecycleStatus 1..1 code proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
... achievementStatus 0..0 in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable
.... coding 1..1 Coding Code defined by a terminology system
Required Pattern: At least the following
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: ca552020-6ed1-4cdc-b0d4-32697f1f27ad
..... version 0..0 Version of the system - if relevant
..... userSelected 0..0 If this coding was chosen directly by the user
.... text 0..0 Plain text representation of the concept
... priority 0..0 high-priority | medium-priority | low-priority
... description 1..1 CodeableConcept [DK] målbeskrivelse
.... coding 1..1 Coding Code defined by a terminology system
Required Pattern: At least the following
..... system 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:1.2.208.176.2.21
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: e182c5dc-9f91-474a-92e8-f62be3d498f4
... subject 1..1 Reference(CareCitizen) {b} [DK] målSubjekt
... start[x] 1..1 date When goal pursuit begins
... target 1..1 BackboneElement [DK] målSværhedsgrad
.... measure 1..1 CodeableConcept [DK] målemetode
Binding: KLTypeAfObservationPåMål (required)
..... coding 1..1 Coding Code defined by a terminology system
Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 66959f77-6e2a-4574-8423-3ff097f8b9fa
...... version 0..0 Version of the system - if relevant
...... userSelected 0..0 If this coding was chosen directly by the user
..... text 0..0 Plain text representation of the concept
.... detail[x] 0..1 CodeableConcept The target value to be achieved
Binding: KLFunktionsevneniveauFSIII (required)
... statusDate 0..0 When goal status took effect
... statusReason 0..0 Reason for current status
... expressedBy 0..0 Who's responsible for creating Goal?
... addresses 1..1 Reference(CareCondition) {b} [DK] målrelateret
... note 0..0 Comments about the goal
... outcomeCode 0..0 What result was achieved regarding the goal?
... outcomeReference 0..0 Observation that resulted from goal

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Goal.category Base required KLMålKategoriKoder 📦2.4.0 KL Terminologi v2.4
Goal.target.measure Base required KLTypeAfObservationPåMål 📦2.4.0 KL Terminologi v2.4
Goal.target.detail[x] Base required KLFunktionsevneniveauFSIII 📦2.4.0 KL Terminologi v2.4

Constraints

Id Grade Path(s) Description Expression
klgateway-adresses-must-be-home-care-condition error Goal The goal is only allowed to address home care conditions addresses.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
Constraints: klgateway-adresses-must-be-home-care-condition
... 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
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... lifecycleStatus ?!Σ 1..1 code proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
Binding: GoalLifecycleStatus (required): Codes that reflect the current state of a goal and whether the goal is still being targeted.
... category Σ 1..1 CodeableConcept [DK] målkategori
Binding: KLMålKategoriKoder (required)
.... 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

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri Identity of the terminology system
Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes
..... code Σ 0..1 code Symbol in syntax defined by the system
Fixed Value: ca552020-6ed1-4cdc-b0d4-32697f1f27ad
..... display Σ 0..1 string Representation defined by the system
... description Σ 1..1 CodeableConcept [DK] målbeskrivelse
Binding: SNOMEDCTClinicalFindings (example): Codes providing the details of a particular goal. This will generally be system or implementation guide-specific. In many systems, only the text element will be used.
.... 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

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:1.2.208.176.2.21
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: e182c5dc-9f91-474a-92e8-f62be3d498f4
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... subject Σ 1..1 Reference(CareCitizen) {b} [DK] målSubjekt
... start[x] Σ 1..1 date When goal pursuit begins
... target C 1..1 BackboneElement [DK] målSværhedsgrad
Constraints: gol-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... measure ΣC 1..1 CodeableConcept [DK] målemetode
Binding: KLTypeAfObservationPåMål (required)
..... 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

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri Identity of the terminology system
Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes
...... code Σ 0..1 code Symbol in syntax defined by the system
Fixed Value: 66959f77-6e2a-4574-8423-3ff097f8b9fa
...... display Σ 0..1 string Representation defined by the system
.... detail[x] ΣC 0..1 CodeableConcept The target value to be achieved
Binding: KLFunktionsevneniveauFSIII (required)
.... due[x] Σ 0..1 Reach goal on or before
..... dueDate date
..... dueDuration Duration
... addresses 1..1 Reference(CareCondition) {b} [DK] målrelateret

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Goal.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Goal.lifecycleStatus Base required GoalLifecycleStatus 📍4.0.1 FHIR Std.
Goal.category Base required KLMålKategoriKoder 📦2.4.0 KL Terminologi v2.4
Goal.description Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.
Goal.target.measure Base required KLTypeAfObservationPåMål 📦2.4.0 KL Terminologi v2.4
Goal.target.detail[x] Base required KLFunktionsevneniveauFSIII 📦2.4.0 KL Terminologi v2.4

Constraints

Id Grade Path(s) Description Expression
dom-2 error Goal If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Goal 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 Goal 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 Goal If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Goal 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()
gol-1 error Goal.target Goal.target.measure is required if Goal.target.detail is populated (detail.exists() and measure.exists()) or detail.exists().not()
klgateway-adresses-must-be-home-care-condition error Goal The goal is only allowed to address home care conditions addresses.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare')

This structure is derived from Goal

Summary

Mandatory: 8 elements
Prohibited: 15 elements

Structures

This structure refers to these other structures:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
Constraints: klgateway-adresses-must-be-home-care-condition
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... lifecycleStatus ?!Σ 1..1 code proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
Binding: GoalLifecycleStatus (required): Codes that reflect the current state of a goal and whether the goal is still being targeted.
.... coding Σ 1..1 Coding Code defined by a terminology system

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: ca552020-6ed1-4cdc-b0d4-32697f1f27ad
..... display 0..1 string Representation defined by the system
... description Σ 1..1 CodeableConcept [DK] målbeskrivelse
Binding: SNOMEDCTClinicalFindings (example): Codes providing the details of a particular goal. This will generally be system or implementation guide-specific. In many systems, only the text element will be used.
.... coding Σ 1..1 Coding Code defined by a terminology system

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:1.2.208.176.2.21
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: e182c5dc-9f91-474a-92e8-f62be3d498f4
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
... subject Σ 1..1 Reference(CareCitizen) {b} [DK] målSubjekt
... start[x] Σ 1..1 date When goal pursuit begins
... target C 1..1 BackboneElement [DK] målSværhedsgrad
Constraints: gol-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... measure ΣC 1..1 CodeableConcept [DK] målemetode
Binding: KLTypeAfObservationPåMål (required)
..... coding Σ 1..1 Coding Code defined by a terminology system

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 66959f77-6e2a-4574-8423-3ff097f8b9fa
...... display 0..1 string Representation defined by the system
.... detail[x] ΣC 0..1 CodeableConcept The target value to be achieved
Binding: KLFunktionsevneniveauFSIII (required)
... addresses 1..1 Reference(CareCondition) {b} [DK] målrelateret

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Goal.lifecycleStatus Base required GoalLifecycleStatus 📍4.0.1 FHIR Std.
Goal.category Base required KLMålKategoriKoder 📦2.4.0 KL Terminologi v2.4
Goal.description Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.
Goal.target.measure Base required KLTypeAfObservationPåMål 📦2.4.0 KL Terminologi v2.4
Goal.target.detail[x] Base required KLFunktionsevneniveauFSIII 📦2.4.0 KL Terminologi v2.4

Constraints

Id Grade Path(s) Description Expression
dom-2 error Goal If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Goal 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 Goal 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 Goal If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Goal 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()
gol-1 error Goal.target Goal.target.measure is required if Goal.target.detail is populated (detail.exists() and measure.exists()) or detail.exists().not()
klgateway-adresses-must-be-home-care-condition error Goal The goal is only allowed to address home care conditions addresses.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare')

Differential View

This structure is derived from Goal

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
Constraints: klgateway-adresses-must-be-home-care-condition
... identifier 0..0 External Ids for this goal
... lifecycleStatus 1..1 code proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
... achievementStatus 0..0 in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable
.... coding 1..1 Coding Code defined by a terminology system
Required Pattern: At least the following
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: ca552020-6ed1-4cdc-b0d4-32697f1f27ad
..... version 0..0 Version of the system - if relevant
..... userSelected 0..0 If this coding was chosen directly by the user
.... text 0..0 Plain text representation of the concept
... priority 0..0 high-priority | medium-priority | low-priority
... description 1..1 CodeableConcept [DK] målbeskrivelse
.... coding 1..1 Coding Code defined by a terminology system
Required Pattern: At least the following
..... system 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:1.2.208.176.2.21
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: e182c5dc-9f91-474a-92e8-f62be3d498f4
... subject 1..1 Reference(CareCitizen) {b} [DK] målSubjekt
... start[x] 1..1 date When goal pursuit begins
... target 1..1 BackboneElement [DK] målSværhedsgrad
.... measure 1..1 CodeableConcept [DK] målemetode
Binding: KLTypeAfObservationPåMål (required)
..... coding 1..1 Coding Code defined by a terminology system
Required Pattern: At least the following
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 66959f77-6e2a-4574-8423-3ff097f8b9fa
...... version 0..0 Version of the system - if relevant
...... userSelected 0..0 If this coding was chosen directly by the user
..... text 0..0 Plain text representation of the concept
.... detail[x] 0..1 CodeableConcept The target value to be achieved
Binding: KLFunktionsevneniveauFSIII (required)
... statusDate 0..0 When goal status took effect
... statusReason 0..0 Reason for current status
... expressedBy 0..0 Who's responsible for creating Goal?
... addresses 1..1 Reference(CareCondition) {b} [DK] målrelateret
... note 0..0 Comments about the goal
... outcomeCode 0..0 What result was achieved regarding the goal?
... outcomeReference 0..0 Observation that resulted from goal

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Goal.category Base required KLMålKategoriKoder 📦2.4.0 KL Terminologi v2.4
Goal.target.measure Base required KLTypeAfObservationPåMål 📦2.4.0 KL Terminologi v2.4
Goal.target.detail[x] Base required KLFunktionsevneniveauFSIII 📦2.4.0 KL Terminologi v2.4

Constraints

Id Grade Path(s) Description Expression
klgateway-adresses-must-be-home-care-condition error Goal The goal is only allowed to address home care conditions addresses.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare')

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
Constraints: klgateway-adresses-must-be-home-care-condition
... 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
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... lifecycleStatus ?!Σ 1..1 code proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
Binding: GoalLifecycleStatus (required): Codes that reflect the current state of a goal and whether the goal is still being targeted.
... category Σ 1..1 CodeableConcept [DK] målkategori
Binding: KLMålKategoriKoder (required)
.... 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

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri Identity of the terminology system
Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes
..... code Σ 0..1 code Symbol in syntax defined by the system
Fixed Value: ca552020-6ed1-4cdc-b0d4-32697f1f27ad
..... display Σ 0..1 string Representation defined by the system
... description Σ 1..1 CodeableConcept [DK] målbeskrivelse
Binding: SNOMEDCTClinicalFindings (example): Codes providing the details of a particular goal. This will generally be system or implementation guide-specific. In many systems, only the text element will be used.
.... 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

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:1.2.208.176.2.21
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: e182c5dc-9f91-474a-92e8-f62be3d498f4
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... subject Σ 1..1 Reference(CareCitizen) {b} [DK] målSubjekt
... start[x] Σ 1..1 date When goal pursuit begins
... target C 1..1 BackboneElement [DK] målSværhedsgrad
Constraints: gol-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... measure ΣC 1..1 CodeableConcept [DK] målemetode
Binding: KLTypeAfObservationPåMål (required)
..... 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

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri Identity of the terminology system
Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes
...... code Σ 0..1 code Symbol in syntax defined by the system
Fixed Value: 66959f77-6e2a-4574-8423-3ff097f8b9fa
...... display Σ 0..1 string Representation defined by the system
.... detail[x] ΣC 0..1 CodeableConcept The target value to be achieved
Binding: KLFunktionsevneniveauFSIII (required)
.... due[x] Σ 0..1 Reach goal on or before
..... dueDate date
..... dueDuration Duration
... addresses 1..1 Reference(CareCondition) {b} [DK] målrelateret

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Goal.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Goal.lifecycleStatus Base required GoalLifecycleStatus 📍4.0.1 FHIR Std.
Goal.category Base required KLMålKategoriKoder 📦2.4.0 KL Terminologi v2.4
Goal.description Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.
Goal.target.measure Base required KLTypeAfObservationPåMål 📦2.4.0 KL Terminologi v2.4
Goal.target.detail[x] Base required KLFunktionsevneniveauFSIII 📦2.4.0 KL Terminologi v2.4

Constraints

Id Grade Path(s) Description Expression
dom-2 error Goal If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Goal 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 Goal 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 Goal If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Goal 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()
gol-1 error Goal.target Goal.target.measure is required if Goal.target.detail is populated (detail.exists() and measure.exists()) or detail.exists().not()
klgateway-adresses-must-be-home-care-condition error Goal The goal is only allowed to address home care conditions addresses.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare')

This structure is derived from Goal

Summary

Mandatory: 8 elements
Prohibited: 15 elements

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel, Schematron