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
| 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.
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.
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
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Goal | Describes the intended objective(s) for a patient, group or organization Constraints: klgateway-adresses-must-be-home-care-condition |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ | 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. |
![]() ![]() |
Σ | 1..1 | CodeableConcept | [DK] målkategori Binding: KLMålKategoriKoder (required) |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: ca552020-6ed1-4cdc-b0d4-32697f1f27ad | |
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() |
Σ | 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. |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: urn:oid:1.2.208.176.2.21 | |
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: e182c5dc-9f91-474a-92e8-f62be3d498f4 | |
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() |
Σ | 1..1 | Reference(CareCitizen) {b} | [DK] målSubjekt |
![]() ![]() |
Σ | 1..1 | date | When goal pursuit begins |
![]() ![]() |
C | 1..1 | BackboneElement | [DK] målSværhedsgrad Constraints: gol-1 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
ΣC | 1..1 | CodeableConcept | [DK] målemetode Binding: KLTypeAfObservationPåMål (required) |
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 66959f77-6e2a-4574-8423-3ff097f8b9fa | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() |
ΣC | 0..1 | CodeableConcept | The target value to be achieved Binding: KLFunktionsevneniveauFSIII (required) |
![]() ![]() |
1..1 | Reference(CareCondition) {b} | [DK] målrelateret | |
Documentation for this format | ||||
| 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 |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Goal | Describes the intended objective(s) for a patient, group or organization Constraints: klgateway-adresses-must-be-home-care-condition |
![]() ![]() |
0..0 | External Ids for this goal | ||
![]() ![]() |
1..1 | code | proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected | |
![]() ![]() |
0..0 | in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable | ||
![]() ![]() |
1..1 | CodeableConcept | [DK] målkategori Binding: KLMålKategoriKoder (required) | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: ca552020-6ed1-4cdc-b0d4-32697f1f27ad | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() |
0..0 | high-priority | medium-priority | low-priority | ||
![]() ![]() |
1..1 | CodeableConcept | [DK] målbeskrivelse | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: urn:oid:1.2.208.176.2.21 | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: e182c5dc-9f91-474a-92e8-f62be3d498f4 | |
![]() ![]() |
1..1 | Reference(CareCitizen) {b} | [DK] målSubjekt | |
![]() ![]() |
1..1 | date | When goal pursuit begins | |
![]() ![]() |
1..1 | BackboneElement | [DK] målSværhedsgrad | |
![]() ![]() ![]() |
1..1 | CodeableConcept | [DK] målemetode Binding: KLTypeAfObservationPåMål (required) | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 66959f77-6e2a-4574-8423-3ff097f8b9fa | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() |
0..1 | CodeableConcept | The target value to be achieved Binding: KLFunktionsevneniveauFSIII (required) | |
![]() ![]() |
0..0 | When goal status took effect | ||
![]() ![]() |
0..0 | Reason for current status | ||
![]() ![]() |
0..0 | Who's responsible for creating Goal? | ||
![]() ![]() |
1..1 | Reference(CareCondition) {b} | [DK] målrelateret | |
![]() ![]() |
0..0 | Comments about the goal | ||
![]() ![]() |
0..0 | What result was achieved regarding the goal? | ||
![]() ![]() |
0..0 | Observation that resulted from goal | ||
Documentation for this format | ||||
| 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 |
| 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')
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Goal | Describes the intended objective(s) for a patient, group or organization Constraints: klgateway-adresses-must-be-home-care-condition | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
?!Σ | 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. | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | [DK] målkategori Binding: KLMålKategoriKoder (required) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: ca552020-6ed1-4cdc-b0d4-32697f1f27ad | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: urn:oid:1.2.208.176.2.21 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: e182c5dc-9f91-474a-92e8-f62be3d498f4 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
Σ | 1..1 | Reference(CareCitizen) {b} | [DK] målSubjekt | ||||
![]() ![]() |
Σ | 1..1 | date | When goal pursuit begins | ||||
![]() ![]() |
C | 1..1 | BackboneElement | [DK] målSværhedsgrad Constraints: gol-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
ΣC | 1..1 | CodeableConcept | [DK] målemetode Binding: KLTypeAfObservationPåMål (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: 66959f77-6e2a-4574-8423-3ff097f8b9fa | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() |
ΣC | 0..1 | CodeableConcept | The target value to be achieved Binding: KLFunktionsevneniveauFSIII (required) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reach goal on or before | |||||
![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() |
1..1 | Reference(CareCondition) {b} | [DK] målrelateret | |||||
Documentation for this format | ||||||||
| 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 |
| 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
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Goal | Describes the intended objective(s) for a patient, group or organization Constraints: klgateway-adresses-must-be-home-care-condition |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ | 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. |
![]() ![]() |
Σ | 1..1 | CodeableConcept | [DK] målkategori Binding: KLMålKategoriKoder (required) |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: ca552020-6ed1-4cdc-b0d4-32697f1f27ad | |
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() |
Σ | 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. |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: urn:oid:1.2.208.176.2.21 | |
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: e182c5dc-9f91-474a-92e8-f62be3d498f4 | |
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() |
Σ | 1..1 | Reference(CareCitizen) {b} | [DK] målSubjekt |
![]() ![]() |
Σ | 1..1 | date | When goal pursuit begins |
![]() ![]() |
C | 1..1 | BackboneElement | [DK] målSværhedsgrad Constraints: gol-1 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
ΣC | 1..1 | CodeableConcept | [DK] målemetode Binding: KLTypeAfObservationPåMål (required) |
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 66959f77-6e2a-4574-8423-3ff097f8b9fa | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() |
ΣC | 0..1 | CodeableConcept | The target value to be achieved Binding: KLFunktionsevneniveauFSIII (required) |
![]() ![]() |
1..1 | Reference(CareCondition) {b} | [DK] målrelateret | |
Documentation for this format | ||||
| 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 |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Goal | Describes the intended objective(s) for a patient, group or organization Constraints: klgateway-adresses-must-be-home-care-condition |
![]() ![]() |
0..0 | External Ids for this goal | ||
![]() ![]() |
1..1 | code | proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected | |
![]() ![]() |
0..0 | in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable | ||
![]() ![]() |
1..1 | CodeableConcept | [DK] målkategori Binding: KLMålKategoriKoder (required) | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: ca552020-6ed1-4cdc-b0d4-32697f1f27ad | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() |
0..0 | high-priority | medium-priority | low-priority | ||
![]() ![]() |
1..1 | CodeableConcept | [DK] målbeskrivelse | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: urn:oid:1.2.208.176.2.21 | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: e182c5dc-9f91-474a-92e8-f62be3d498f4 | |
![]() ![]() |
1..1 | Reference(CareCitizen) {b} | [DK] målSubjekt | |
![]() ![]() |
1..1 | date | When goal pursuit begins | |
![]() ![]() |
1..1 | BackboneElement | [DK] målSværhedsgrad | |
![]() ![]() ![]() |
1..1 | CodeableConcept | [DK] målemetode Binding: KLTypeAfObservationPåMål (required) | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 66959f77-6e2a-4574-8423-3ff097f8b9fa | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() |
0..1 | CodeableConcept | The target value to be achieved Binding: KLFunktionsevneniveauFSIII (required) | |
![]() ![]() |
0..0 | When goal status took effect | ||
![]() ![]() |
0..0 | Reason for current status | ||
![]() ![]() |
0..0 | Who's responsible for creating Goal? | ||
![]() ![]() |
1..1 | Reference(CareCondition) {b} | [DK] målrelateret | |
![]() ![]() |
0..0 | Comments about the goal | ||
![]() ![]() |
0..0 | What result was achieved regarding the goal? | ||
![]() ![]() |
0..0 | Observation that resulted from goal | ||
Documentation for this format | ||||
| 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 |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Goal | Describes the intended objective(s) for a patient, group or organization Constraints: klgateway-adresses-must-be-home-care-condition | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
?!Σ | 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. | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | [DK] målkategori Binding: KLMålKategoriKoder (required) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: ca552020-6ed1-4cdc-b0d4-32697f1f27ad | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: urn:oid:1.2.208.176.2.21 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: e182c5dc-9f91-474a-92e8-f62be3d498f4 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
Σ | 1..1 | Reference(CareCitizen) {b} | [DK] målSubjekt | ||||
![]() ![]() |
Σ | 1..1 | date | When goal pursuit begins | ||||
![]() ![]() |
C | 1..1 | BackboneElement | [DK] målSværhedsgrad Constraints: gol-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
ΣC | 1..1 | CodeableConcept | [DK] målemetode Binding: KLTypeAfObservationPåMål (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: 66959f77-6e2a-4574-8423-3ff097f8b9fa | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() |
ΣC | 0..1 | CodeableConcept | The target value to be achieved Binding: KLFunktionsevneniveauFSIII (required) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reach goal on or before | |||||
![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() |
1..1 | Reference(CareCondition) {b} | [DK] målrelateret | |||||
Documentation for this format | ||||||||
| 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 |
| 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
Other representations of profile: CSV, Excel, Schematron