Implementation Guide for FFB messaging (FFB udvekslingsdatasæt)
1.0.0 - release
This page is part of the KLFFBMessaging (v1.0.0: Release) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions
Official URL: http://fhir.kl.dk/ffbmessaging/StructureDefinition/kl-messaging-ffb-disgnosis | Version: 1.0.0 | |||
Active as of 2023-08-27 | Computable Name: KLMessagingFFBDiagnosis |
A diagnosis of the citizen
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from KLCommonCareSocialCondition
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Condition | 0..* | KLCommonCareSocialCondition | Detailed information about conditions, problems or diagnoses | |
clinicalStatus | S | 1..1 | CodeableConcept | [DK] tilstandsstatus |
code | S | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis |
coding | 0..* | Coding | [DK] tilstandskode | |
system | 0..1 | uri | Identity of the terminology system | |
coding:diagnosis | 0..1 | Coding | [DK] tilstandskode | |
text | S | 0..1 | string | [DK] tilstandsvurdering |
subject | S | 1..1 | Reference(Citizen) | [DK] tilstandssubjekt |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Condition | C | 0..* | KLCommonCareSocialCondition | Detailed information about conditions, problems or diagnoses |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
eventHistory | Σ | 0..* | Reference(Provenance) | [DK] tilstandsændringshistorie URL: http://fhir.kl.dk/core/StructureDefinition/ExtEventHist |
dueTo | Σ | 0..1 | CodeableConcept, Reference(Condition | Procedure | MedicationAdministration | Immunization | MedicationStatement) | [DK] tilstandsårsag URL: http://hl7.org/fhir/StructureDefinition/condition-dueTo Binding: ConditionCauseCodes (example): Codes that describe causes of patient conditions; e.g. Surgical mishap, escalation of a previous condition, etc. |
extension | 0..0 | |||
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/condition-dueTo" | |
value[x] | 1..1 | Reference(Condition | FocusCondition) | Value of extension | |
followUpEncounter | Σ | 0..1 | Reference(Encounter) | [DK] tilstandsplanlagtOpfølgning URL: http://fhir.kl.dk/core/StructureDefinition/FollowUpEncounter |
conditionLastAssertedDate | Σ | 0..1 | dateTime | [DK] tilstandSidstVurderetTid URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
clinicalStatus | ?!SΣC | 1..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. |
verificationStatus | ?!ΣC | 0..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis. |
code | SΣ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis. |
Slices for coding | Σ | 0..* | Coding | [DK] tilstandskode Slice: Unordered, Open by value:system |
coding:All Slices | Content/Rules for all slices | |||
system | Σ | 0..1 | uri | Identity of the terminology system |
coding:FSIIIConditionCode | Σ | 0..1 | Coding | [DK] FSIII tilstandskode Binding: KLTilstandKoderFSIII (required) |
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.176.2.21 |
coding:FFBConditionCode | Σ | 0..1 | Coding | [DK] FFB undertemakode Binding: KLTilstandKoderFFB (required) |
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.176.2.22 |
coding:SCTConditionCode | Σ | 0..1 | Coding | [DK] SNOMED CT tilstandskode Binding: Condition/Problem/DiagnosisCodes (required) |
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: http://snomed.info/sct |
coding:diagnosis | Σ | 0..1 | Coding | [DK] tilstandskode |
text | SΣ | 0..1 | string | [DK] tilstandsvurdering |
subject | SΣ | 1..1 | Reference(Citizen) | [DK] tilstandssubjekt |
Documentation for this format |
Path | Conformance | ValueSet |
Condition.clinicalStatus | required | ConditionClinicalStatusCodes |
Condition.verificationStatus | required | ConditionVerificationStatus |
Condition.code | example | Condition/Problem/DiagnosisCodes |
Condition.code.coding:FSIIIConditionCode | required | KLConditionCodesFSIII |
Condition.code.coding:FFBConditionCode | required | KLConditionCodesFFB |
Condition.code.coding:SCTConditionCode | required | Condition/Problem/DiagnosisCodes |
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..* | KLCommonCareSocialCondition | 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 | |||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
eventHistory | Σ | 0..* | Reference(Provenance) | [DK] tilstandsændringshistorie URL: http://fhir.kl.dk/core/StructureDefinition/ExtEventHist | ||||
dueTo | Σ | 0..1 | CodeableConcept, Reference(Condition | Procedure | MedicationAdministration | Immunization | MedicationStatement) | [DK] tilstandsårsag URL: http://hl7.org/fhir/StructureDefinition/condition-dueTo Binding: ConditionCauseCodes (example): Codes that describe causes of patient conditions; e.g. Surgical mishap, escalation of a previous condition, etc. | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..0 | |||||||
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/condition-dueTo" | |||||
value[x] | 1..1 | Reference(Condition | FocusCondition) | Value of extension | |||||
followUpEncounter | Σ | 0..1 | Reference(Encounter) | [DK] tilstandsplanlagtOpfølgning URL: http://fhir.kl.dk/core/StructureDefinition/FollowUpEncounter | ||||
conditionLastAssertedDate | Σ | 0..1 | dateTime | [DK] tilstandSidstVurderetTid URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate | ||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..* | Identifier | External Ids for this condition | ||||
clinicalStatus | ?!SΣC | 1..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. | ||||
verificationStatus | ?!ΣC | 0..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis. | ||||
category | 0..* | 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 | Σ | 0..* | Coding | [DK] tilstandsfokus | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
severity | 0..1 | CodeableConcept | Subjective severity of condition Binding: KLSværhedgrader (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 | Σ | 0..* | Coding | [DK] tilstandssværhedsgrad | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
code | SΣ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: Condition/Problem/DiagnosisCodes (example): Identification 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 | |||||
Slices for coding | Σ | 0..* | Coding | [DK] tilstandskode Slice: Unordered, Open by value:system | ||||
coding:All Slices | Content/Rules for all slices | |||||||
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 | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
coding:FSIIIConditionCode | Σ | 0..1 | Coding | [DK] FSIII tilstandskode Binding: KLTilstandKoderFSIII (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 | |||||
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.176.2.21 | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
coding:FFBConditionCode | Σ | 0..1 | Coding | [DK] FFB undertemakode Binding: KLTilstandKoderFFB (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 | |||||
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.176.2.22 | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
coding:SCTConditionCode | Σ | 0..1 | Coding | [DK] SNOMED CT tilstandskode Binding: Condition/Problem/DiagnosisCodes (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 | |||||
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: http://snomed.info/sct | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
coding:diagnosis | Σ | 0..1 | Coding | [DK] tilstandskode | ||||
text | SΣ | 0..1 | string | [DK] tilstandsvurdering | ||||
bodySite | Σ | 0..* | CodeableConcept | Anatomical location, if relevant Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. | ||||
subject | SΣ | 1..1 | Reference(Citizen) | [DK] tilstandssubjekt | ||||
encounter | Σ | 0..1 | Reference(Encounter) | Encounter created as part of | ||||
onset[x] | Σ | 0..1 | Estimated or actual date, date-time, or age | |||||
onsetDateTime | dateTime | |||||||
onsetAge | Age | |||||||
onsetPeriod | Period | |||||||
onsetRange | Range | |||||||
onsetString | string | |||||||
abatement[x] | C | 0..1 | dateTime | [DK] tilstandsafslutningstid | ||||
recordedDate | Σ | 0..1 | dateTime | [DK] tilstandsoprettelsestid | ||||
recorder | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Who recorded the condition | ||||
asserter | Σ | 0..1 | Reference(Practioner) | [DK] tilstandsansvarlig | ||||
stage | C | 0..* | BackboneElement | Stage/grade, usually assessed formally | ||||
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 | ||||
summary | C | 0..1 | CodeableConcept | Simple summary (disease specific) Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages). | ||||
assessment | C | 0..* | Reference(ClinicalImpression | DiagnosticReport | Observation) | Formal record of assessment | ||||
type | 0..1 | CodeableConcept | Kind of staging Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological). | |||||
evidence | C | 0..* | BackboneElement | Supporting evidence | ||||
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 | ||||
code | ΣC | 0..* | CodeableConcept | Manifestation/symptom Binding: ManifestationAndSymptomCodes (example): Codes that describe the manifestation or symptoms of a condition. | ||||
detail | ΣC | 0..* | Reference(MatterOfInterest | FollowUp) | [DK] tilstandsevidens (herunder tilstandOplysning og tilstandOpfølgningsresultat) | ||||
note | 0..* | Annotation | Additional information about the Condition | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
matterOfInterestInformer | 0..1 | CodeableConcept | [DK] tilstandsInformant URL: http://fhir.kl.dk/core/StructureDefinition/MatterOfInterestInformer Binding: KLKildeTilOplysningFFB (required) | |||||
author[x] | Σ | 0..1 | Reference(Practioner) | Individual responsible for the annotation | ||||
time | Σ | 0..1 | dateTime | When the annotation was made | ||||
text | Σ | 1..1 | markdown | [DK] tilstandFagligtNotat | ||||
Documentation for this format |
Path | Conformance | ValueSet | ||||
Condition.language | preferred | CommonLanguages
| ||||
Condition.clinicalStatus | required | ConditionClinicalStatusCodes | ||||
Condition.verificationStatus | required | ConditionVerificationStatus | ||||
Condition.category | extensible | ConditionCategoryCodes | ||||
Condition.severity | required | KLSeverities | ||||
Condition.code | example | Condition/Problem/DiagnosisCodes | ||||
Condition.code.coding:FSIIIConditionCode | required | KLConditionCodesFSIII | ||||
Condition.code.coding:FFBConditionCode | required | KLConditionCodesFFB | ||||
Condition.code.coding:SCTConditionCode | required | Condition/Problem/DiagnosisCodes | ||||
Condition.bodySite | example | SNOMEDCTBodyStructures | ||||
Condition.stage.summary | example | ConditionStage | ||||
Condition.stage.type | example | ConditionStageType | ||||
Condition.evidence.code | example | ManifestationAndSymptomCodes |
Id | Grade | Path(s) | Details | Requirements |
con-1 | error | Condition.stage | Stage SHALL have summary or assessment : summary.exists() or assessment.exists() | |
con-2 | error | Condition.evidence | evidence SHALL have code or details : code.exists() or detail.exists() | |
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 KLCommonCareSocialCondition
Differential View
This structure is derived from KLCommonCareSocialCondition
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Condition | 0..* | KLCommonCareSocialCondition | Detailed information about conditions, problems or diagnoses | |
clinicalStatus | S | 1..1 | CodeableConcept | [DK] tilstandsstatus |
code | S | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis |
coding | 0..* | Coding | [DK] tilstandskode | |
system | 0..1 | uri | Identity of the terminology system | |
coding:diagnosis | 0..1 | Coding | [DK] tilstandskode | |
text | S | 0..1 | string | [DK] tilstandsvurdering |
subject | S | 1..1 | Reference(Citizen) | [DK] tilstandssubjekt |
Documentation for this format |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Condition | C | 0..* | KLCommonCareSocialCondition | Detailed information about conditions, problems or diagnoses |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
eventHistory | Σ | 0..* | Reference(Provenance) | [DK] tilstandsændringshistorie URL: http://fhir.kl.dk/core/StructureDefinition/ExtEventHist |
dueTo | Σ | 0..1 | CodeableConcept, Reference(Condition | Procedure | MedicationAdministration | Immunization | MedicationStatement) | [DK] tilstandsårsag URL: http://hl7.org/fhir/StructureDefinition/condition-dueTo Binding: ConditionCauseCodes (example): Codes that describe causes of patient conditions; e.g. Surgical mishap, escalation of a previous condition, etc. |
extension | 0..0 | |||
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/condition-dueTo" | |
value[x] | 1..1 | Reference(Condition | FocusCondition) | Value of extension | |
followUpEncounter | Σ | 0..1 | Reference(Encounter) | [DK] tilstandsplanlagtOpfølgning URL: http://fhir.kl.dk/core/StructureDefinition/FollowUpEncounter |
conditionLastAssertedDate | Σ | 0..1 | dateTime | [DK] tilstandSidstVurderetTid URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
clinicalStatus | ?!SΣC | 1..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. |
verificationStatus | ?!ΣC | 0..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis. |
code | SΣ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis. |
Slices for coding | Σ | 0..* | Coding | [DK] tilstandskode Slice: Unordered, Open by value:system |
coding:All Slices | Content/Rules for all slices | |||
system | Σ | 0..1 | uri | Identity of the terminology system |
coding:FSIIIConditionCode | Σ | 0..1 | Coding | [DK] FSIII tilstandskode Binding: KLTilstandKoderFSIII (required) |
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.176.2.21 |
coding:FFBConditionCode | Σ | 0..1 | Coding | [DK] FFB undertemakode Binding: KLTilstandKoderFFB (required) |
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.176.2.22 |
coding:SCTConditionCode | Σ | 0..1 | Coding | [DK] SNOMED CT tilstandskode Binding: Condition/Problem/DiagnosisCodes (required) |
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: http://snomed.info/sct |
coding:diagnosis | Σ | 0..1 | Coding | [DK] tilstandskode |
text | SΣ | 0..1 | string | [DK] tilstandsvurdering |
subject | SΣ | 1..1 | Reference(Citizen) | [DK] tilstandssubjekt |
Documentation for this format |
Path | Conformance | ValueSet |
Condition.clinicalStatus | required | ConditionClinicalStatusCodes |
Condition.verificationStatus | required | ConditionVerificationStatus |
Condition.code | example | Condition/Problem/DiagnosisCodes |
Condition.code.coding:FSIIIConditionCode | required | KLConditionCodesFSIII |
Condition.code.coding:FFBConditionCode | required | KLConditionCodesFFB |
Condition.code.coding:SCTConditionCode | required | Condition/Problem/DiagnosisCodes |
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..* | KLCommonCareSocialCondition | 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 | |||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
eventHistory | Σ | 0..* | Reference(Provenance) | [DK] tilstandsændringshistorie URL: http://fhir.kl.dk/core/StructureDefinition/ExtEventHist | ||||
dueTo | Σ | 0..1 | CodeableConcept, Reference(Condition | Procedure | MedicationAdministration | Immunization | MedicationStatement) | [DK] tilstandsårsag URL: http://hl7.org/fhir/StructureDefinition/condition-dueTo Binding: ConditionCauseCodes (example): Codes that describe causes of patient conditions; e.g. Surgical mishap, escalation of a previous condition, etc. | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..0 | |||||||
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/condition-dueTo" | |||||
value[x] | 1..1 | Reference(Condition | FocusCondition) | Value of extension | |||||
followUpEncounter | Σ | 0..1 | Reference(Encounter) | [DK] tilstandsplanlagtOpfølgning URL: http://fhir.kl.dk/core/StructureDefinition/FollowUpEncounter | ||||
conditionLastAssertedDate | Σ | 0..1 | dateTime | [DK] tilstandSidstVurderetTid URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate | ||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..* | Identifier | External Ids for this condition | ||||
clinicalStatus | ?!SΣC | 1..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. | ||||
verificationStatus | ?!ΣC | 0..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis. | ||||
category | 0..* | 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 | Σ | 0..* | Coding | [DK] tilstandsfokus | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
severity | 0..1 | CodeableConcept | Subjective severity of condition Binding: KLSværhedgrader (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 | Σ | 0..* | Coding | [DK] tilstandssværhedsgrad | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
code | SΣ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: Condition/Problem/DiagnosisCodes (example): Identification 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 | |||||
Slices for coding | Σ | 0..* | Coding | [DK] tilstandskode Slice: Unordered, Open by value:system | ||||
coding:All Slices | Content/Rules for all slices | |||||||
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 | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
coding:FSIIIConditionCode | Σ | 0..1 | Coding | [DK] FSIII tilstandskode Binding: KLTilstandKoderFSIII (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 | |||||
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.176.2.21 | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
coding:FFBConditionCode | Σ | 0..1 | Coding | [DK] FFB undertemakode Binding: KLTilstandKoderFFB (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 | |||||
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.176.2.22 | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
coding:SCTConditionCode | Σ | 0..1 | Coding | [DK] SNOMED CT tilstandskode Binding: Condition/Problem/DiagnosisCodes (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 | |||||
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: http://snomed.info/sct | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
coding:diagnosis | Σ | 0..1 | Coding | [DK] tilstandskode | ||||
text | SΣ | 0..1 | string | [DK] tilstandsvurdering | ||||
bodySite | Σ | 0..* | CodeableConcept | Anatomical location, if relevant Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. | ||||
subject | SΣ | 1..1 | Reference(Citizen) | [DK] tilstandssubjekt | ||||
encounter | Σ | 0..1 | Reference(Encounter) | Encounter created as part of | ||||
onset[x] | Σ | 0..1 | Estimated or actual date, date-time, or age | |||||
onsetDateTime | dateTime | |||||||
onsetAge | Age | |||||||
onsetPeriod | Period | |||||||
onsetRange | Range | |||||||
onsetString | string | |||||||
abatement[x] | C | 0..1 | dateTime | [DK] tilstandsafslutningstid | ||||
recordedDate | Σ | 0..1 | dateTime | [DK] tilstandsoprettelsestid | ||||
recorder | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Who recorded the condition | ||||
asserter | Σ | 0..1 | Reference(Practioner) | [DK] tilstandsansvarlig | ||||
stage | C | 0..* | BackboneElement | Stage/grade, usually assessed formally | ||||
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 | ||||
summary | C | 0..1 | CodeableConcept | Simple summary (disease specific) Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages). | ||||
assessment | C | 0..* | Reference(ClinicalImpression | DiagnosticReport | Observation) | Formal record of assessment | ||||
type | 0..1 | CodeableConcept | Kind of staging Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological). | |||||
evidence | C | 0..* | BackboneElement | Supporting evidence | ||||
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 | ||||
code | ΣC | 0..* | CodeableConcept | Manifestation/symptom Binding: ManifestationAndSymptomCodes (example): Codes that describe the manifestation or symptoms of a condition. | ||||
detail | ΣC | 0..* | Reference(MatterOfInterest | FollowUp) | [DK] tilstandsevidens (herunder tilstandOplysning og tilstandOpfølgningsresultat) | ||||
note | 0..* | Annotation | Additional information about the Condition | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
matterOfInterestInformer | 0..1 | CodeableConcept | [DK] tilstandsInformant URL: http://fhir.kl.dk/core/StructureDefinition/MatterOfInterestInformer Binding: KLKildeTilOplysningFFB (required) | |||||
author[x] | Σ | 0..1 | Reference(Practioner) | Individual responsible for the annotation | ||||
time | Σ | 0..1 | dateTime | When the annotation was made | ||||
text | Σ | 1..1 | markdown | [DK] tilstandFagligtNotat | ||||
Documentation for this format |
Path | Conformance | ValueSet | ||||
Condition.language | preferred | CommonLanguages
| ||||
Condition.clinicalStatus | required | ConditionClinicalStatusCodes | ||||
Condition.verificationStatus | required | ConditionVerificationStatus | ||||
Condition.category | extensible | ConditionCategoryCodes | ||||
Condition.severity | required | KLSeverities | ||||
Condition.code | example | Condition/Problem/DiagnosisCodes | ||||
Condition.code.coding:FSIIIConditionCode | required | KLConditionCodesFSIII | ||||
Condition.code.coding:FFBConditionCode | required | KLConditionCodesFFB | ||||
Condition.code.coding:SCTConditionCode | required | Condition/Problem/DiagnosisCodes | ||||
Condition.bodySite | example | SNOMEDCTBodyStructures | ||||
Condition.stage.summary | example | ConditionStage | ||||
Condition.stage.type | example | ConditionStageType | ||||
Condition.evidence.code | example | ManifestationAndSymptomCodes |
Id | Grade | Path(s) | Details | Requirements |
con-1 | error | Condition.stage | Stage SHALL have summary or assessment : summary.exists() or assessment.exists() | |
con-2 | error | Condition.evidence | evidence SHALL have code or details : code.exists() or detail.exists() | |
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 KLCommonCareSocialCondition
Other representations of profile: CSV, Excel, Schematron