1.2.0 - release

This page is part of the KL Gateway (v1.2.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Resource Profile: CareGoal

Official URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-goal Version: 1.2.0
Active as of 2024-10-31 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

Usage:

Formal Views of Profile Content

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

This structure is derived from Goal

NameFlagsCard.TypeDescription & Constraintsdoco
.. Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
klgateway-adresses-must-be-home-care-condition: The goal is only allowed to address home care conditions
... identifier 0..0
... lifecycleStatus 1..1 code proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
... achievementStatus 0..0
.... 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
..... userSelected 0..0
.... text 0..0
... priority 0..0
... 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
...... userSelected 0..0
..... text 0..0
.... detail[x] 0..1 CodeableConcept The target value to be achieved
Binding: KLFunktionsevneniveauFSIII (required)
... statusDate 0..0
... statusReason 0..0
... expressedBy 0..0
... addresses 1..1 Reference(CareCondition) {b} [DK] målrelateret
... note 0..0
... outcomeCode 0..0
... outcomeReference 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Goal.categoryrequiredKLGoalTypeCodes
http://fhir.kl.dk/term/ValueSet/KLGoalTypeCodes
Goal.target.measurerequiredKLTargetMeasureCodes
http://fhir.kl.dk/term/ValueSet/KLTargetMeasureCodes
Goal.target.detail[x]requiredKLSeveritiesFSIII
http://fhir.kl.dk/term/ValueSet/KLSeveritiesFSIII

Constraints

IdGradePath(s)DetailsRequirements
klgateway-adresses-must-be-home-care-conditionerrorGoalThe goal is only allowed to address home care conditions
: addresses.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare')
NameFlagsCard.TypeDescription & Constraintsdoco
.. Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
klgateway-adresses-must-be-home-care-condition: The goal is only allowed to address home care conditions
... 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
..... 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
... 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
..... 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 C 1..1 BackboneElement [DK] målSværhedsgrad
gol-1: Goal.target.measure is required if Goal.target.detail is populated
.... 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
...... 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
.... 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

PathConformanceValueSetURI
Goal.lifecycleStatusrequiredGoalLifecycleStatus
http://hl7.org/fhir/ValueSet/goal-status|4.0.1
from the FHIR Standard
Goal.categoryrequiredKLGoalTypeCodes
http://fhir.kl.dk/term/ValueSet/KLGoalTypeCodes
Goal.descriptionexampleSNOMEDCTClinicalFindings
http://hl7.org/fhir/ValueSet/clinical-findings
from the FHIR Standard
Goal.target.measurerequiredKLTargetMeasureCodes
http://fhir.kl.dk/term/ValueSet/KLTargetMeasureCodes
Goal.target.detail[x]requiredKLSeveritiesFSIII
http://fhir.kl.dk/term/ValueSet/KLSeveritiesFSIII

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorGoalIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorGoalIf 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-4errorGoalIf 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-5errorGoalIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceGoalA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
gol-1errorGoal.targetGoal.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-conditionerrorGoalThe goal is only allowed to address home care conditions
: addresses.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare')
NameFlagsCard.TypeDescription & Constraintsdoco
.. Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
klgateway-adresses-must-be-home-care-condition: The goal is only allowed to address home care conditions
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... 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
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes
..... version 0..1 string Version of the system - if relevant
..... 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
..... userSelected 0..1 boolean If this coding was chosen directly by the user
..... 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
..... code Σ 0..1 code Symbol in syntax defined by the system
..... 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
gol-1: Goal.target.measure is required if Goal.target.detail is populated
.... 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
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes
...... version 0..1 string Version of the system - if relevant
...... 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
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... 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
...... code Σ 0..1 code Symbol in syntax defined by the system
...... 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

PathConformanceValueSetURI
Goal.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Goal.lifecycleStatusrequiredGoalLifecycleStatus
http://hl7.org/fhir/ValueSet/goal-status|4.0.1
from the FHIR Standard
Goal.categoryrequiredKLGoalTypeCodes
http://fhir.kl.dk/term/ValueSet/KLGoalTypeCodes
Goal.descriptionexampleSNOMEDCTClinicalFindings
http://hl7.org/fhir/ValueSet/clinical-findings
from the FHIR Standard
Goal.target.measurerequiredKLTargetMeasureCodes
http://fhir.kl.dk/term/ValueSet/KLTargetMeasureCodes
Goal.target.detail[x]requiredKLSeveritiesFSIII
http://fhir.kl.dk/term/ValueSet/KLSeveritiesFSIII

Constraints

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

Differential View

This structure is derived from Goal

NameFlagsCard.TypeDescription & Constraintsdoco
.. Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
klgateway-adresses-must-be-home-care-condition: The goal is only allowed to address home care conditions
... identifier 0..0
... lifecycleStatus 1..1 code proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
... achievementStatus 0..0
.... 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
..... userSelected 0..0
.... text 0..0
... priority 0..0
... 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
...... userSelected 0..0
..... text 0..0
.... detail[x] 0..1 CodeableConcept The target value to be achieved
Binding: KLFunktionsevneniveauFSIII (required)
... statusDate 0..0
... statusReason 0..0
... expressedBy 0..0
... addresses 1..1 Reference(CareCondition) {b} [DK] målrelateret
... note 0..0
... outcomeCode 0..0
... outcomeReference 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Goal.categoryrequiredKLGoalTypeCodes
http://fhir.kl.dk/term/ValueSet/KLGoalTypeCodes
Goal.target.measurerequiredKLTargetMeasureCodes
http://fhir.kl.dk/term/ValueSet/KLTargetMeasureCodes
Goal.target.detail[x]requiredKLSeveritiesFSIII
http://fhir.kl.dk/term/ValueSet/KLSeveritiesFSIII

Constraints

IdGradePath(s)DetailsRequirements
klgateway-adresses-must-be-home-care-conditionerrorGoalThe goal is only allowed to address home care conditions
: addresses.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare')

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
klgateway-adresses-must-be-home-care-condition: The goal is only allowed to address home care conditions
... 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
..... 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
... 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
..... 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 C 1..1 BackboneElement [DK] målSværhedsgrad
gol-1: Goal.target.measure is required if Goal.target.detail is populated
.... 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
...... 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
.... 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

PathConformanceValueSetURI
Goal.lifecycleStatusrequiredGoalLifecycleStatus
http://hl7.org/fhir/ValueSet/goal-status|4.0.1
from the FHIR Standard
Goal.categoryrequiredKLGoalTypeCodes
http://fhir.kl.dk/term/ValueSet/KLGoalTypeCodes
Goal.descriptionexampleSNOMEDCTClinicalFindings
http://hl7.org/fhir/ValueSet/clinical-findings
from the FHIR Standard
Goal.target.measurerequiredKLTargetMeasureCodes
http://fhir.kl.dk/term/ValueSet/KLTargetMeasureCodes
Goal.target.detail[x]requiredKLSeveritiesFSIII
http://fhir.kl.dk/term/ValueSet/KLSeveritiesFSIII

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorGoalIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorGoalIf 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-4errorGoalIf 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-5errorGoalIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceGoalA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
gol-1errorGoal.targetGoal.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-conditionerrorGoalThe 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 & Constraintsdoco
.. Goal C 0..* Goal Describes the intended objective(s) for a patient, group or organization
klgateway-adresses-must-be-home-care-condition: The goal is only allowed to address home care conditions
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... 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
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes
..... version 0..1 string Version of the system - if relevant
..... 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
..... userSelected 0..1 boolean If this coding was chosen directly by the user
..... 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
..... code Σ 0..1 code Symbol in syntax defined by the system
..... 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
gol-1: Goal.target.measure is required if Goal.target.detail is populated
.... 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
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.kl.dk/term/CodeSystem/CareSocialCodes
...... version 0..1 string Version of the system - if relevant
...... 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
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... 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
...... code Σ 0..1 code Symbol in syntax defined by the system
...... 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

PathConformanceValueSetURI
Goal.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Goal.lifecycleStatusrequiredGoalLifecycleStatus
http://hl7.org/fhir/ValueSet/goal-status|4.0.1
from the FHIR Standard
Goal.categoryrequiredKLGoalTypeCodes
http://fhir.kl.dk/term/ValueSet/KLGoalTypeCodes
Goal.descriptionexampleSNOMEDCTClinicalFindings
http://hl7.org/fhir/ValueSet/clinical-findings
from the FHIR Standard
Goal.target.measurerequiredKLTargetMeasureCodes
http://fhir.kl.dk/term/ValueSet/KLTargetMeasureCodes
Goal.target.detail[x]requiredKLSeveritiesFSIII
http://fhir.kl.dk/term/ValueSet/KLSeveritiesFSIII

Constraints

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