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-condition | Version: 1.3.0 | |||
| Active as of 2026-07-19 | Computable Name: KLGatewayCareCondition | |||
Detailed information about conditions.
The Condition may be instatiated whenever a condition is found and registered for citizens in Danish municipalities.
Conditions are always defined by Condition.code, which may originate from FSIII.
Condition.severity.coding has as valid values the funtional level (FSIII funktionsniveau).
Condition.recordedDate is the date where the condition was first recorded, NOT the date where the problem first known to be present.
Condition.clinicalStatus should be populated with the value "active" if the citizen has the condition, and inactive if the citizen no longer have the condition. In most other use cases, Condition.verificationStatus should be "confirmed". clinicalStatus is mandatory, and it is a good idea to always provide the verificationStatus. If not populated, the condition is assumed to be "confirmed".
Conditions are related to a professional context (through its code). These are the different contexts in which codelists of conditions are formulated:
Condition.category is, in this implementation, used as a way to determine whether the condition is in focus in a professional context. In focus means that this condition is solely or partially the reason why interventions are performed in the professional context. If a condition is "in focus" Condition.category is populated with the value "problem-list-item". An empty Condition.category means that the focus have not been considered (if it is the first version of a condition). If the latter is the case, it might be difficult to determine whether a condition have been ended.
Ending a condition means that the condition falls out of focus in a professional context e.g. if the citizen moves, or another professional group takes over the care for the citizen. This does not necessarily mean that the citizen no longer has the condition. When a condition is ended, the Condition.category looses its "problem-list-item" flag. The idea is to state that from a citizen viewpoint the condition has not nessesarily changed, but in this professional context it is no longer in focus. It follows that it is valid to close a condition with Condition.clinicalStatus = active and an empty Condition.category.
Condition follow-up is documented using Condition.extension:followUpEncounter, which points to a future encounter, with Encounter.type = "opfølgning". However, the followUpEncounter-extension will be depricated in the next version of this implementation guide. In the new version, GeneralEncounter holds a reference to the Condition.
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 atributter der skal bruges til specifikation af indholdet
| FKI-attribut | Definition | FHIR |
|---|---|---|
| tilstandskode | Udtrykker hvilken klasse tilstanden tilhører. | Condition.code.coding |
| tilstandsstatus | Klasse der udtrykker en status for om tilstanden er til stede eller ej. | Condition.clinicalStatus og Condition.verificationStatus |
| tilstandsoprettelsestid | tidsangivelse for hvornår tilstanden først blev oprettet i journalen | Condition.recordedDate |
| tilstandsplanlagtOpfølgning | Kontakt, hvor det planlægges at følge op på tilstanden | Condition.extension:followUpEncounter |
| tilstandssubjekt | Den borger som har tilstanden | Condition.subject |
| tilstandsfokus | Klasse der udtrykker, om en faggruppe har tilstanden i fokus for sine indsatser | Condition.category.coding |
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..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: con-3, con-4, con-5, klgateway-severity-mandatory-in-home-care-not-allowed-in-nursing |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | Reference(CareEncounter) {b} | [DK] tilstandsplanlagtOpfølgning URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-follow-up-encounter-extension | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() |
?!SΣC | 0..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis. |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() |
S | 0..1 | CodeableConcept | problem-list-item | encounter-diagnosis Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. |
![]() ![]() ![]() |
Σ | 1..1 | Coding | [DK] tilstandsfokus |
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system Required Pattern: problem-list-item |
![]() ![]() |
0..1 | CodeableConcept | Subjective severity of condition Binding: KLFunktionsevneniveauFSIII (required) | |
![]() ![]() ![]() |
Σ | 1..1 | Coding | [DK] tilstandssværhedsgrad |
![]() ![]() |
Σ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: FSIIICareConditions (required) |
![]() ![]() ![]() |
Σ | 1..1 | Coding | [DK] FSIII tilstandskode |
![]() ![]() |
Σ | 1..1 | Reference(CareCitizen) {b} | [DK] tilstandssubjekt |
![]() ![]() |
Σ | 1..1 | dateTime | [DK] tilstandsoprettelsestid |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.clinicalStatus | Base | required | Condition Clinical Status Codes | 📍4.0.1 | FHIR Std. |
| Condition.verificationStatus | Base | required | ConditionVerificationStatus | 📍4.0.1 | FHIR Std. |
| Condition.category | Base | extensible | Condition Category Codes | 📍4.0.1 | FHIR Std. |
| Condition.severity | Base | required | KLFunktionsevneniveauFSIII | 📦2.4.0 | KL Terminologi v2.4 |
| Condition.code | Base | required | FSIIICareConditions | 📦1.3.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| con-3 | best practice | Condition | Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item |
clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
|
| con-4 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission |
abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
|
| con-5 | error | Condition | Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error |
verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
|
| dom-2 | error | Condition | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Condition | 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 | Condition | 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 | Condition | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Condition | 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()
|
| klgateway-severity-mandatory-in-home-care-not-allowed-in-nursing | error | Condition | The severity is mandatory for home care and not allowed for nursing conditions |
(severity.exists() and code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare'))
or (severity.empty() and code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesNursing'))
|
This structure is derived from Condition
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: klgateway-severity-mandatory-in-home-care-not-allowed-in-nursing |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | Reference(CareEncounter) {b} | [DK] tilstandsplanlagtOpfølgning URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-follow-up-encounter-extension | |
![]() ![]() |
0..0 | External Ids for this condition | ||
![]() ![]() |
0..1 | CodeableConcept | [DK] tilstandsstatus | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
0..0 | Representation defined by the system | ||
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() |
S | 0..1 | CodeableConcept | [DK] tilstandsstatus |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
0..0 | Representation defined by the system | ||
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() |
S | 0..1 | CodeableConcept | problem-list-item | encounter-diagnosis |
![]() ![]() ![]() |
1..1 | Coding | [DK] tilstandsfokus | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
0..1 | code | Symbol in syntax defined by the system Required Pattern: problem-list-item | |
![]() ![]() ![]() ![]() |
0..0 | Representation defined by the system | ||
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() |
0..1 | CodeableConcept | Subjective severity of condition Binding: KLFunktionsevneniveauFSIII (required) | |
![]() ![]() ![]() |
1..1 | Coding | [DK] tilstandssværhedsgrad | |
![]() ![]() |
1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: FSIIICareConditions (required) | |
![]() ![]() ![]() |
1..1 | Coding | [DK] FSIII tilstandskode | |
![]() ![]() |
0..0 | Anatomical location, if relevant | ||
![]() ![]() |
1..1 | Reference(CareCitizen) {b} | [DK] tilstandssubjekt | |
![]() ![]() |
0..0 | Encounter created as part of | ||
![]() ![]() |
0..0 | Estimated or actual date, date-time, or age | ||
![]() ![]() |
0..0 | When in resolution/remission | ||
![]() ![]() |
1..1 | dateTime | [DK] tilstandsoprettelsestid | |
![]() ![]() |
0..0 | Who recorded the condition | ||
![]() ![]() |
0..0 | Person who asserts this condition | ||
![]() ![]() |
0..0 | Stage/grade, usually assessed formally | ||
![]() ![]() |
0..0 | Supporting evidence | ||
![]() ![]() |
0..0 | Additional information about the Condition | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.severity | Base | required | KLFunktionsevneniveauFSIII | 📦2.4.0 | KL Terminologi v2.4 |
| Condition.code | Base | required | FSIIICareConditions | 📦1.3.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| klgateway-severity-mandatory-in-home-care-not-allowed-in-nursing | error | Condition | The severity is mandatory for home care and not allowed for nursing conditions |
(severity.exists() and code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare'))
or (severity.empty() and code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesNursing'))
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: con-3, con-4, con-5, klgateway-severity-mandatory-in-home-care-not-allowed-in-nursing | ||||
![]() ![]() |
Σ | 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 | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | Reference(CareEncounter) {b} | [DK] tilstandsplanlagtOpfølgning URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-follow-up-encounter-extension | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() |
?!SΣC | 0..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis. | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() |
S | 0..1 | CodeableConcept | problem-list-item | encounter-diagnosis Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. | ||||
![]() ![]() ![]() |
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 | [DK] tilstandsfokus | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system Required Pattern: problem-list-item | ||||
![]() ![]() |
0..1 | CodeableConcept | Subjective severity of condition Binding: KLFunktionsevneniveauFSIII (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 | [DK] tilstandssværhedsgrad | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: FSIIICareConditions (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 | [DK] FSIII tilstandskode | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
Σ | 1..1 | Reference(CareCitizen) {b} | [DK] tilstandssubjekt | ||||
![]() ![]() |
Σ | 1..1 | dateTime | [DK] tilstandsoprettelsestid | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Condition.clinicalStatus | Base | required | Condition Clinical Status Codes | 📍4.0.1 | FHIR Std. |
| Condition.verificationStatus | Base | required | ConditionVerificationStatus | 📍4.0.1 | FHIR Std. |
| Condition.category | Base | extensible | Condition Category Codes | 📍4.0.1 | FHIR Std. |
| Condition.severity | Base | required | KLFunktionsevneniveauFSIII | 📦2.4.0 | KL Terminologi v2.4 |
| Condition.code | Base | required | FSIIICareConditions | 📦1.3.0 | This IG |
| Condition.stage.summary | Base | example | Condition Stage | 📍4.0.1 | FHIR Std. |
| Condition.stage.type | Base | example | Condition Stage Type | 📍4.0.1 | FHIR Std. |
| Condition.evidence.code | Base | example | Manifestation and Symptom Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| con-3 | best practice | Condition | Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item |
clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
|
| con-4 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission |
abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
|
| con-5 | error | Condition | Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error |
verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
|
| dom-2 | error | Condition | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Condition | 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 | Condition | 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 | Condition | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Condition | 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()
|
| klgateway-severity-mandatory-in-home-care-not-allowed-in-nursing | error | Condition | The severity is mandatory for home care and not allowed for nursing conditions |
(severity.exists() and code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare'))
or (severity.empty() and code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesNursing'))
|
This structure is derived from Condition
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: con-3, con-4, con-5, klgateway-severity-mandatory-in-home-care-not-allowed-in-nursing |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | Reference(CareEncounter) {b} | [DK] tilstandsplanlagtOpfølgning URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-follow-up-encounter-extension | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() |
?!SΣC | 0..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis. |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() |
S | 0..1 | CodeableConcept | problem-list-item | encounter-diagnosis Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. |
![]() ![]() ![]() |
Σ | 1..1 | Coding | [DK] tilstandsfokus |
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system Required Pattern: problem-list-item |
![]() ![]() |
0..1 | CodeableConcept | Subjective severity of condition Binding: KLFunktionsevneniveauFSIII (required) | |
![]() ![]() ![]() |
Σ | 1..1 | Coding | [DK] tilstandssværhedsgrad |
![]() ![]() |
Σ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: FSIIICareConditions (required) |
![]() ![]() ![]() |
Σ | 1..1 | Coding | [DK] FSIII tilstandskode |
![]() ![]() |
Σ | 1..1 | Reference(CareCitizen) {b} | [DK] tilstandssubjekt |
![]() ![]() |
Σ | 1..1 | dateTime | [DK] tilstandsoprettelsestid |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.clinicalStatus | Base | required | Condition Clinical Status Codes | 📍4.0.1 | FHIR Std. |
| Condition.verificationStatus | Base | required | ConditionVerificationStatus | 📍4.0.1 | FHIR Std. |
| Condition.category | Base | extensible | Condition Category Codes | 📍4.0.1 | FHIR Std. |
| Condition.severity | Base | required | KLFunktionsevneniveauFSIII | 📦2.4.0 | KL Terminologi v2.4 |
| Condition.code | Base | required | FSIIICareConditions | 📦1.3.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| con-3 | best practice | Condition | Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item |
clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
|
| con-4 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission |
abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
|
| con-5 | error | Condition | Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error |
verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
|
| dom-2 | error | Condition | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Condition | 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 | Condition | 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 | Condition | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Condition | 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()
|
| klgateway-severity-mandatory-in-home-care-not-allowed-in-nursing | error | Condition | The severity is mandatory for home care and not allowed for nursing conditions |
(severity.exists() and code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare'))
or (severity.empty() and code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesNursing'))
|
Differential View
This structure is derived from Condition
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: klgateway-severity-mandatory-in-home-care-not-allowed-in-nursing |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | Reference(CareEncounter) {b} | [DK] tilstandsplanlagtOpfølgning URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-follow-up-encounter-extension | |
![]() ![]() |
0..0 | External Ids for this condition | ||
![]() ![]() |
0..1 | CodeableConcept | [DK] tilstandsstatus | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
0..0 | Representation defined by the system | ||
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() |
S | 0..1 | CodeableConcept | [DK] tilstandsstatus |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
0..0 | Representation defined by the system | ||
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() |
S | 0..1 | CodeableConcept | problem-list-item | encounter-diagnosis |
![]() ![]() ![]() |
1..1 | Coding | [DK] tilstandsfokus | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
0..1 | code | Symbol in syntax defined by the system Required Pattern: problem-list-item | |
![]() ![]() ![]() ![]() |
0..0 | Representation defined by the system | ||
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() |
0..1 | CodeableConcept | Subjective severity of condition Binding: KLFunktionsevneniveauFSIII (required) | |
![]() ![]() ![]() |
1..1 | Coding | [DK] tilstandssværhedsgrad | |
![]() ![]() |
1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: FSIIICareConditions (required) | |
![]() ![]() ![]() |
1..1 | Coding | [DK] FSIII tilstandskode | |
![]() ![]() |
0..0 | Anatomical location, if relevant | ||
![]() ![]() |
1..1 | Reference(CareCitizen) {b} | [DK] tilstandssubjekt | |
![]() ![]() |
0..0 | Encounter created as part of | ||
![]() ![]() |
0..0 | Estimated or actual date, date-time, or age | ||
![]() ![]() |
0..0 | When in resolution/remission | ||
![]() ![]() |
1..1 | dateTime | [DK] tilstandsoprettelsestid | |
![]() ![]() |
0..0 | Who recorded the condition | ||
![]() ![]() |
0..0 | Person who asserts this condition | ||
![]() ![]() |
0..0 | Stage/grade, usually assessed formally | ||
![]() ![]() |
0..0 | Supporting evidence | ||
![]() ![]() |
0..0 | Additional information about the Condition | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.severity | Base | required | KLFunktionsevneniveauFSIII | 📦2.4.0 | KL Terminologi v2.4 |
| Condition.code | Base | required | FSIIICareConditions | 📦1.3.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| klgateway-severity-mandatory-in-home-care-not-allowed-in-nursing | error | Condition | The severity is mandatory for home care and not allowed for nursing conditions |
(severity.exists() and code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare'))
or (severity.empty() and code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesNursing'))
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: con-3, con-4, con-5, klgateway-severity-mandatory-in-home-care-not-allowed-in-nursing | ||||
![]() ![]() |
Σ | 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 | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | Reference(CareEncounter) {b} | [DK] tilstandsplanlagtOpfølgning URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-follow-up-encounter-extension | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() |
?!SΣC | 0..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis. | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() |
S | 0..1 | CodeableConcept | problem-list-item | encounter-diagnosis Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. | ||||
![]() ![]() ![]() |
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 | [DK] tilstandsfokus | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system Required Pattern: problem-list-item | ||||
![]() ![]() |
0..1 | CodeableConcept | Subjective severity of condition Binding: KLFunktionsevneniveauFSIII (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 | [DK] tilstandssværhedsgrad | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: FSIIICareConditions (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 | [DK] FSIII tilstandskode | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
Σ | 1..1 | Reference(CareCitizen) {b} | [DK] tilstandssubjekt | ||||
![]() ![]() |
Σ | 1..1 | dateTime | [DK] tilstandsoprettelsestid | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Condition.clinicalStatus | Base | required | Condition Clinical Status Codes | 📍4.0.1 | FHIR Std. |
| Condition.verificationStatus | Base | required | ConditionVerificationStatus | 📍4.0.1 | FHIR Std. |
| Condition.category | Base | extensible | Condition Category Codes | 📍4.0.1 | FHIR Std. |
| Condition.severity | Base | required | KLFunktionsevneniveauFSIII | 📦2.4.0 | KL Terminologi v2.4 |
| Condition.code | Base | required | FSIIICareConditions | 📦1.3.0 | This IG |
| Condition.stage.summary | Base | example | Condition Stage | 📍4.0.1 | FHIR Std. |
| Condition.stage.type | Base | example | Condition Stage Type | 📍4.0.1 | FHIR Std. |
| Condition.evidence.code | Base | example | Manifestation and Symptom Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| con-3 | best practice | Condition | Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item |
clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
|
| con-4 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission |
abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
|
| con-5 | error | Condition | Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error |
verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
|
| dom-2 | error | Condition | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Condition | 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 | Condition | 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 | Condition | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Condition | 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()
|
| klgateway-severity-mandatory-in-home-care-not-allowed-in-nursing | error | Condition | The severity is mandatory for home care and not allowed for nursing conditions |
(severity.exists() and code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare'))
or (severity.empty() and code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesNursing'))
|
This structure is derived from Condition
Other representations of profile: CSV, Excel, Schematron