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-11-18 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: doco
Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
Constraints: klgateway-adresses-must-be-home-care-condition
Goal.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
Goal.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Goal.lifecycleStatus This element is a modifier element. This element is included in summaries. 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.
Goal.category This element is included in summaries. 1..1 CodeableConcept [DK] målkategori
Binding: KLMålKategoriKoder (required)
Goal.category.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system

Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "ca552020-6ed1-4cdc-b0d4-32697f1f27ad"
}
Goal.description This element is included in summaries. 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.
Goal.description.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system

Required Pattern:
{
  "system" : "urn:oid:1.2.208.176.2.21",
  "code" : "e182c5dc-9f91-474a-92e8-f62be3d498f4"
}
Goal.subject This element is included in summaries. 1..1 Reference(CareCitizen) {b} [DK] målSubjekt
Goal.start[x] This element is included in summaries. 1..1 date When goal pursuit begins
Goal.target C 1..1 BackboneElement [DK] målSværhedsgrad
Constraints: gol-1
Goal.target.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Goal.target.measure This element is included in summaries. C 1..1 CodeableConcept [DK] målemetode
Binding: KLTypeAfObservationPåMål (required)
Goal.target.measure.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system

Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "66959f77-6e2a-4574-8423-3ff097f8b9fa"
}
Goal.target.detail[x] This element is included in summaries. C 0..1 CodeableConcept The target value to be achieved
Binding: KLFunktionsevneniveauFSIII (required)
Goal.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: doco
Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
Constraints: klgateway-adresses-must-be-home-care-condition
Goal.identifier 0..0 External Ids for this goal
Goal.lifecycleStatus 1..1 code proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
Goal.achievementStatus 0..0 in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable
Goal.category.coding 1..1 Coding Code defined by a terminology system
Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "ca552020-6ed1-4cdc-b0d4-32697f1f27ad"
}
Goal.category.coding.version 0..0 Version of the system - if relevant
Goal.category.coding.userSelected 0..0 If this coding was chosen directly by the user
Goal.category.text 0..0 Plain text representation of the concept
Goal.priority 0..0 high-priority | medium-priority | low-priority
Goal.description 1..1 CodeableConcept [DK] målbeskrivelse
Goal.description.coding 1..1 Coding Code defined by a terminology system
Required Pattern:
{
  "system" : "urn:oid:1.2.208.176.2.21",
  "code" : "e182c5dc-9f91-474a-92e8-f62be3d498f4"
}
Goal.subject 1..1 Reference(CareCitizen) {b} [DK] målSubjekt
Goal.start[x] 1..1 date When goal pursuit begins
Goal.target 1..1 BackboneElement [DK] målSværhedsgrad
Goal.target.measure 1..1 CodeableConcept [DK] målemetode
Binding: KLTypeAfObservationPåMål (required)
Goal.target.measure.coding 1..1 Coding Code defined by a terminology system
Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "66959f77-6e2a-4574-8423-3ff097f8b9fa"
}
Goal.target.measure.coding.version 0..0 Version of the system - if relevant
Goal.target.measure.coding.userSelected 0..0 If this coding was chosen directly by the user
Goal.target.measure.text 0..0 Plain text representation of the concept
Goal.target.detail[x] 0..1 CodeableConcept The target value to be achieved
Binding: KLFunktionsevneniveauFSIII (required)
Goal.statusDate 0..0 When goal status took effect
Goal.statusReason 0..0 Reason for current status
Goal.expressedBy 0..0 Who's responsible for creating Goal?
Goal.addresses 1..1 Reference(CareCondition) {b} [DK] målrelateret
Goal.note 0..0 Comments about the goal
Goal.outcomeCode 0..0 What result was achieved regarding the goal?
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: doco
Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
Constraints: klgateway-adresses-must-be-home-care-condition
Goal.id This element is included in summaries. 0..1 id Logical id of this artifact
Goal.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Goal.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
Goal.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Goal.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
Goal.contained 0..* Resource Contained, inline Resources
Goal.extension 0..* Extension Additional content defined by implementations
Goal.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Goal.lifecycleStatus This element is a modifier element. This element is included in summaries. 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.
Goal.category This element is included in summaries. 1..1 CodeableConcept [DK] målkategori
Binding: KLMålKategoriKoder (required)
Goal.category.id 0..1 string Unique id for inter-element referencing
Goal.category.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Goal.category.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system

Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "ca552020-6ed1-4cdc-b0d4-32697f1f27ad"
}
Goal.category.coding.id 0..1 string Unique id for inter-element referencing
Goal.category.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Goal.category.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Goal.category.coding.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Goal.category.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Goal.description This element is included in summaries. 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.
Goal.description.id 0..1 string Unique id for inter-element referencing
Goal.description.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Goal.description.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system

Required Pattern:
{
  "system" : "urn:oid:1.2.208.176.2.21",
  "code" : "e182c5dc-9f91-474a-92e8-f62be3d498f4"
}
Goal.description.text This element is included in summaries. 0..1 string Plain text representation of the concept
Goal.subject This element is included in summaries. 1..1 Reference(CareCitizen) {b} [DK] målSubjekt
Goal.start[x] This element is included in summaries. 1..1 date When goal pursuit begins
Goal.target C 1..1 BackboneElement [DK] målSværhedsgrad
Constraints: gol-1
Goal.target.id 0..1 string Unique id for inter-element referencing
Goal.target.extension 0..* Extension Additional content defined by implementations
Goal.target.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Goal.target.measure This element is included in summaries. C 1..1 CodeableConcept [DK] målemetode
Binding: KLTypeAfObservationPåMål (required)
Goal.target.measure.id 0..1 string Unique id for inter-element referencing
Goal.target.measure.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Goal.target.measure.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system

Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "66959f77-6e2a-4574-8423-3ff097f8b9fa"
}
Goal.target.measure.coding.id 0..1 string Unique id for inter-element referencing
Goal.target.measure.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Goal.target.measure.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Goal.target.measure.coding.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Goal.target.measure.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Goal.target.detail[x] This element is included in summaries. C 0..1 CodeableConcept The target value to be achieved
Binding: KLFunktionsevneniveauFSIII (required)
Goal.target.due[x] This element is included in summaries. 0..1 Reach goal on or before
Goal.target.due[x].dueDate date
Goal.target.due[x].dueDuration Duration
Goal.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: doco
Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
Constraints: klgateway-adresses-must-be-home-care-condition
Goal.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
Goal.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Goal.lifecycleStatus This element is a modifier element. This element is included in summaries. 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.
Goal.category This element is included in summaries. 1..1 CodeableConcept [DK] målkategori
Binding: KLMålKategoriKoder (required)
Goal.category.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system

Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "ca552020-6ed1-4cdc-b0d4-32697f1f27ad"
}
Goal.description This element is included in summaries. 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.
Goal.description.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system

Required Pattern:
{
  "system" : "urn:oid:1.2.208.176.2.21",
  "code" : "e182c5dc-9f91-474a-92e8-f62be3d498f4"
}
Goal.subject This element is included in summaries. 1..1 Reference(CareCitizen) {b} [DK] målSubjekt
Goal.start[x] This element is included in summaries. 1..1 date When goal pursuit begins
Goal.target C 1..1 BackboneElement [DK] målSværhedsgrad
Constraints: gol-1
Goal.target.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Goal.target.measure This element is included in summaries. C 1..1 CodeableConcept [DK] målemetode
Binding: KLTypeAfObservationPåMål (required)
Goal.target.measure.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system

Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "66959f77-6e2a-4574-8423-3ff097f8b9fa"
}
Goal.target.detail[x] This element is included in summaries. C 0..1 CodeableConcept The target value to be achieved
Binding: KLFunktionsevneniveauFSIII (required)
Goal.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: doco
Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
Constraints: klgateway-adresses-must-be-home-care-condition
Goal.identifier 0..0 External Ids for this goal
Goal.lifecycleStatus 1..1 code proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
Goal.achievementStatus 0..0 in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable
Goal.category 1..1 CodeableConcept [DK] målkategori
Binding: KLMålKategoriKoder (required)
Goal.category.coding 1..1 Coding Code defined by a terminology system
Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "ca552020-6ed1-4cdc-b0d4-32697f1f27ad"
}
Goal.category.coding.version 0..0 Version of the system - if relevant
Goal.category.coding.userSelected 0..0 If this coding was chosen directly by the user
Goal.category.text 0..0 Plain text representation of the concept
Goal.priority 0..0 high-priority | medium-priority | low-priority
Goal.description 1..1 CodeableConcept [DK] målbeskrivelse
Goal.description.coding 1..1 Coding Code defined by a terminology system
Required Pattern:
{
  "system" : "urn:oid:1.2.208.176.2.21",
  "code" : "e182c5dc-9f91-474a-92e8-f62be3d498f4"
}
Goal.subject 1..1 Reference(CareCitizen) {b} [DK] målSubjekt
Goal.start[x] 1..1 date When goal pursuit begins
Goal.target 1..1 BackboneElement [DK] målSværhedsgrad
Goal.target.measure 1..1 CodeableConcept [DK] målemetode
Binding: KLTypeAfObservationPåMål (required)
Goal.target.measure.coding 1..1 Coding Code defined by a terminology system
Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "66959f77-6e2a-4574-8423-3ff097f8b9fa"
}
Goal.target.measure.coding.version 0..0 Version of the system - if relevant
Goal.target.measure.coding.userSelected 0..0 If this coding was chosen directly by the user
Goal.target.measure.text 0..0 Plain text representation of the concept
Goal.target.detail[x] 0..1 CodeableConcept The target value to be achieved
Binding: KLFunktionsevneniveauFSIII (required)
Goal.statusDate 0..0 When goal status took effect
Goal.statusReason 0..0 Reason for current status
Goal.expressedBy 0..0 Who's responsible for creating Goal?
Goal.addresses 1..1 Reference(CareCondition) {b} [DK] målrelateret
Goal.note 0..0 Comments about the goal
Goal.outcomeCode 0..0 What result was achieved regarding the goal?
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: doco
Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
Constraints: klgateway-adresses-must-be-home-care-condition
Goal.id This element is included in summaries. 0..1 id Logical id of this artifact
Goal.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Goal.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
Goal.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Goal.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
Goal.contained 0..* Resource Contained, inline Resources
Goal.extension 0..* Extension Additional content defined by implementations
Goal.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Goal.lifecycleStatus This element is a modifier element. This element is included in summaries. 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.
Goal.category This element is included in summaries. 1..1 CodeableConcept [DK] målkategori
Binding: KLMålKategoriKoder (required)
Goal.category.id 0..1 string Unique id for inter-element referencing
Goal.category.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Goal.category.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system

Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "ca552020-6ed1-4cdc-b0d4-32697f1f27ad"
}
Goal.category.coding.id 0..1 string Unique id for inter-element referencing
Goal.category.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Goal.category.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Goal.category.coding.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Goal.category.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Goal.description This element is included in summaries. 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.
Goal.description.id 0..1 string Unique id for inter-element referencing
Goal.description.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Goal.description.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system

Required Pattern:
{
  "system" : "urn:oid:1.2.208.176.2.21",
  "code" : "e182c5dc-9f91-474a-92e8-f62be3d498f4"
}
Goal.description.text This element is included in summaries. 0..1 string Plain text representation of the concept
Goal.subject This element is included in summaries. 1..1 Reference(CareCitizen) {b} [DK] målSubjekt
Goal.start[x] This element is included in summaries. 1..1 date When goal pursuit begins
Goal.target C 1..1 BackboneElement [DK] målSværhedsgrad
Constraints: gol-1
Goal.target.id 0..1 string Unique id for inter-element referencing
Goal.target.extension 0..* Extension Additional content defined by implementations
Goal.target.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Goal.target.measure This element is included in summaries. C 1..1 CodeableConcept [DK] målemetode
Binding: KLTypeAfObservationPåMål (required)
Goal.target.measure.id 0..1 string Unique id for inter-element referencing
Goal.target.measure.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Goal.target.measure.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system

Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "66959f77-6e2a-4574-8423-3ff097f8b9fa"
}
Goal.target.measure.coding.id 0..1 string Unique id for inter-element referencing
Goal.target.measure.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Goal.target.measure.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Goal.target.measure.coding.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Goal.target.measure.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Goal.target.detail[x] This element is included in summaries. C 0..1 CodeableConcept The target value to be achieved
Binding: KLFunktionsevneniveauFSIII (required)
Goal.target.due[x] This element is included in summaries. 0..1 Reach goal on or before
Goal.target.due[x].dueDate date
Goal.target.due[x].dueDuration Duration
Goal.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