1.0.0 - Release
This page is part of the KLGatewayPrevention (v1.0.0: Release) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Official URL: http://fhir.kl.dk/prevention/StructureDefinition/klgateway-119-condition | Version: 1.0.0 | |||
Active as of 2023-09-28 | Computable Name: KLGateway119Condition |
Detailed information about condition relating to §119 care pathways
A klgateway-119-condition is reported as long as a condition is true and active, for a living citizen that recieves §119 prevention/health promotion interventions in Danish municipalities.
Conditions are always defined by Condition.code, which originates from FSIII. Only conditions related to Prevention SUL §119 (FSIII) are allowed.
Condition.recordedDate is the date where the condition was first recorded, NOT the date where the problem was 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 has the condition. Condition.verificationStatus should be able to ditiguish between ‘confirmed’ and ‘entered-in-error’. clinicalStatus is mandatory, and it is a good idea to always provide the verificationStatus. If not populated, the verificationStatus is assumed to be “confirmed”.
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).
Ending a condition have two meanings. The first is that the citizen no longer has the condition e.g. a weight-problem is no longer there. In this case, Condition.clinicalStatus=inactive. The second meaning of “ended” is 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. In this case, the Condition.category looses its “problem-list-item” flag. The idea is to state that from a citizen viewpoint the condition has not changed, but in this professional context it is no longer in focus.
To sum up, A condition should be reported to Kl-gateway in the first report after it first occurs in the record. The condition should be reported again if it changes. In this implementation, it changes under two circumstances:
Condition.subject holds a reference to the citizen.
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 specificere 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 |
tilstandsoprettelsestid | Tidsangivelse for hvornår tilstanden først blev oprettet i journalen | Condition.recordedDate |
tilstandsstatus | Klasse der udtrykker en status for om tilstanden er til stede eller ej. | Condition.clinicalStatus og Condition.verificationStatus |
tilstandsfokus | Klasse der udtrykker, om en faggruppe har tilstanden i fokus for sine indsatser | Condition.category.coding |
tilstandssubjekt | Den borger som har tilstanden | Condition.subject |
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Condition
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Condition | Condition | |||
identifier | 0..0 | |||
clinicalStatus | 1..1 | CodeableConcept | [DK] tilstandsstatus | |
coding | 1..1 | Coding | Code defined by a terminology system | |
version | 0..0 | |||
display | 0..0 | |||
userSelected | 0..0 | |||
text | 0..0 | |||
verificationStatus | S | 0..1 | CodeableConcept | [DK] tilstandsstatus |
coding | 1..1 | Coding | Code defined by a terminology system | |
version | 0..0 | |||
display | 0..0 | |||
userSelected | 0..0 | |||
text | 0..0 | |||
category | S | 0..1 | CodeableConcept | problem-list-item | encounter-diagnosis |
coding | 1..1 | Coding | [DK] tilstandsfokus | |
version | 0..0 | |||
code | 0..1 | code | Symbol in syntax defined by the system Required Pattern: problem-list-item | |
display | 0..0 | |||
userSelected | 0..0 | |||
text | 0..0 | |||
severity | 0..0 | |||
code | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: KLTilstandKoderForebyggelse (required) | |
coding | 1..1 | Coding | [DK] §119 tilstandskode | |
bodySite | 0..0 | |||
subject | 1..1 | Reference(KLGateway119Citizen) {b} | [DK] tilstandssubjekt | |
encounter | 0..0 | |||
onset[x] | 0..0 | |||
abatement[x] | 0..0 | |||
recordedDate | 1..1 | dateTime | [DK] tilstandsoprettelsestid | |
recorder | 0..0 | |||
asserter | 0..0 | |||
stage | 0..0 | |||
evidence | 0..0 | |||
note | 0..0 | |||
Documentation for this format |
Path | Conformance | ValueSet |
Condition.code | required | KLConditionCodesPrevention |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Condition | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
clinicalStatus | ?!ΣC | 1..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. |
coding | Σ | 1..1 | Coding | Code defined by a terminology system |
verificationStatus | ?!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. |
coding | Σ | 1..1 | Coding | Code defined by a terminology system |
category | S | 0..1 | CodeableConcept | problem-list-item | encounter-diagnosis Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. |
coding | Σ | 1..1 | Coding | [DK] tilstandsfokus |
code | Σ | 0..1 | code | Symbol in syntax defined by the system Required Pattern: problem-list-item |
code | Σ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: KLTilstandKoderForebyggelse (required) |
coding | Σ | 1..1 | Coding | [DK] §119 tilstandskode |
subject | Σ | 1..1 | Reference(KLGateway119Citizen) {b} | [DK] tilstandssubjekt |
recordedDate | Σ | 1..1 | dateTime | [DK] tilstandsoprettelsestid |
Documentation for this format |
Path | Conformance | ValueSet |
Condition.clinicalStatus | required | ConditionClinicalStatusCodes |
Condition.verificationStatus | required | ConditionVerificationStatus |
Condition.category | extensible | ConditionCategoryCodes |
Condition.code | required | KLConditionCodesPrevention |
Id | Grade | Path(s) | Details | Requirements |
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() |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Condition | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses | ||||
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 | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
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 | ||||
clinicalStatus | ?!ΣC | 1..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. | ||||
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 | ||||
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 | ||||
verificationStatus | ?!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. | ||||
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 | ||||
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 | ||||
category | S | 0..1 | CodeableConcept | problem-list-item | encounter-diagnosis Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. | ||||
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 | [DK] tilstandsfokus | ||||
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 Required Pattern: problem-list-item | ||||
code | Σ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: KLTilstandKoderForebyggelse (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 | [DK] §119 tilstandskode | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
subject | Σ | 1..1 | Reference(KLGateway119Citizen) {b} | [DK] tilstandssubjekt | ||||
recordedDate | Σ | 1..1 | dateTime | [DK] tilstandsoprettelsestid | ||||
Documentation for this format |
Path | Conformance | ValueSet | ||||
Condition.language | preferred | CommonLanguages
| ||||
Condition.clinicalStatus | required | ConditionClinicalStatusCodes | ||||
Condition.verificationStatus | required | ConditionVerificationStatus | ||||
Condition.category | extensible | ConditionCategoryCodes | ||||
Condition.code | required | KLConditionCodesPrevention | ||||
Condition.stage.summary | example | ConditionStage | ||||
Condition.stage.type | example | ConditionStageType | ||||
Condition.evidence.code | example | ManifestationAndSymptomCodes |
Id | Grade | Path(s) | Details | Requirements |
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() |
This structure is derived from Condition
Differential View
This structure is derived from Condition
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Condition | Condition | |||
identifier | 0..0 | |||
clinicalStatus | 1..1 | CodeableConcept | [DK] tilstandsstatus | |
coding | 1..1 | Coding | Code defined by a terminology system | |
version | 0..0 | |||
display | 0..0 | |||
userSelected | 0..0 | |||
text | 0..0 | |||
verificationStatus | S | 0..1 | CodeableConcept | [DK] tilstandsstatus |
coding | 1..1 | Coding | Code defined by a terminology system | |
version | 0..0 | |||
display | 0..0 | |||
userSelected | 0..0 | |||
text | 0..0 | |||
category | S | 0..1 | CodeableConcept | problem-list-item | encounter-diagnosis |
coding | 1..1 | Coding | [DK] tilstandsfokus | |
version | 0..0 | |||
code | 0..1 | code | Symbol in syntax defined by the system Required Pattern: problem-list-item | |
display | 0..0 | |||
userSelected | 0..0 | |||
text | 0..0 | |||
severity | 0..0 | |||
code | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: KLTilstandKoderForebyggelse (required) | |
coding | 1..1 | Coding | [DK] §119 tilstandskode | |
bodySite | 0..0 | |||
subject | 1..1 | Reference(KLGateway119Citizen) {b} | [DK] tilstandssubjekt | |
encounter | 0..0 | |||
onset[x] | 0..0 | |||
abatement[x] | 0..0 | |||
recordedDate | 1..1 | dateTime | [DK] tilstandsoprettelsestid | |
recorder | 0..0 | |||
asserter | 0..0 | |||
stage | 0..0 | |||
evidence | 0..0 | |||
note | 0..0 | |||
Documentation for this format |
Path | Conformance | ValueSet |
Condition.code | required | KLConditionCodesPrevention |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Condition | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
clinicalStatus | ?!ΣC | 1..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. |
coding | Σ | 1..1 | Coding | Code defined by a terminology system |
verificationStatus | ?!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. |
coding | Σ | 1..1 | Coding | Code defined by a terminology system |
category | S | 0..1 | CodeableConcept | problem-list-item | encounter-diagnosis Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. |
coding | Σ | 1..1 | Coding | [DK] tilstandsfokus |
code | Σ | 0..1 | code | Symbol in syntax defined by the system Required Pattern: problem-list-item |
code | Σ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: KLTilstandKoderForebyggelse (required) |
coding | Σ | 1..1 | Coding | [DK] §119 tilstandskode |
subject | Σ | 1..1 | Reference(KLGateway119Citizen) {b} | [DK] tilstandssubjekt |
recordedDate | Σ | 1..1 | dateTime | [DK] tilstandsoprettelsestid |
Documentation for this format |
Path | Conformance | ValueSet |
Condition.clinicalStatus | required | ConditionClinicalStatusCodes |
Condition.verificationStatus | required | ConditionVerificationStatus |
Condition.category | extensible | ConditionCategoryCodes |
Condition.code | required | KLConditionCodesPrevention |
Id | Grade | Path(s) | Details | Requirements |
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() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Condition | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses | ||||
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 | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
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 | ||||
clinicalStatus | ?!ΣC | 1..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. | ||||
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 | ||||
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 | ||||
verificationStatus | ?!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. | ||||
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 | ||||
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 | ||||
category | S | 0..1 | CodeableConcept | problem-list-item | encounter-diagnosis Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. | ||||
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 | [DK] tilstandsfokus | ||||
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 Required Pattern: problem-list-item | ||||
code | Σ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: KLTilstandKoderForebyggelse (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 | [DK] §119 tilstandskode | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
subject | Σ | 1..1 | Reference(KLGateway119Citizen) {b} | [DK] tilstandssubjekt | ||||
recordedDate | Σ | 1..1 | dateTime | [DK] tilstandsoprettelsestid | ||||
Documentation for this format |
Path | Conformance | ValueSet | ||||
Condition.language | preferred | CommonLanguages
| ||||
Condition.clinicalStatus | required | ConditionClinicalStatusCodes | ||||
Condition.verificationStatus | required | ConditionVerificationStatus | ||||
Condition.category | extensible | ConditionCategoryCodes | ||||
Condition.code | required | KLConditionCodesPrevention | ||||
Condition.stage.summary | example | ConditionStage | ||||
Condition.stage.type | example | ConditionStageType | ||||
Condition.evidence.code | example | ManifestationAndSymptomCodes |
Id | Grade | Path(s) | Details | Requirements |
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() |
This structure is derived from Condition
Other representations of profile: CSV, Excel, Schematron