Implementation Guide for FFB reporting (FFB uddatasæt)
1.0.0 - release Denmark flag

This page is part of the KLFFBReporting (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

Resource Profile: Condition

Official URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-condition Version: 1.0.0
Active as of 2023-08-27 Computable Name: KLReportingFFBCondition

Condition according to FFB

Usage:

Formal Views of Profile Content

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

This structure is derived from Condition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C0..*ConditionDetailed information about conditions, problems or diagnoses
kl-reporting-ffb-condition-1: Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes
... implicitRules 0..0
... language 0..0
... contained 0..0
.... conditionLastAssertedDate SΣ0..1dateTime[DK] tilstandSidstVurderetTid
URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate
... modifierExtension 0..0
... identifier 0..0
... clinicalStatus S1..1CodeableConcept[DK] tilstandsstatus
... verificationStatus S0..1CodeableConcept[DK] tilstandsstatus
... category 0..0
... severity S0..1CodeableConcept[DK] tilstandssværhedsgrad
Binding: KLFunktionsevneniveauFFB (required)
.... id 0..0
.... extension 0..0
.... text 0..0
... code S1..1CodeableConcept[DK] tilstandskode
Binding: KLTilstandKoderFFB (required)
.... id 0..0
.... extension 0..0
.... text 0..0
... bodySite 0..0
... subject S1..1Reference(Citizen)[DK] tilstandssubjekt
... encounter 0..0
... onset[x] 0..0
... Slices for abatement[x] 0..0
.... abatement[x]:abatementDateTime 0..0
... recordedDate S1..1dateTime[DK] tilstandsoprettelsestid
... recorder 0..0
... asserter 0..0
... stage 0..0
... evidence 0..0
... note 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Condition.severityrequiredKLSeveritiesFFB
Condition.coderequiredKLConditionCodesFFB

Constraints

IdGradePath(s)DetailsRequirements
kl-reporting-ffb-condition-1errorConditionSeverity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes
: (severity.exists() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB')) or (severity.exists().not() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB').not())
NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C0..*ConditionDetailed information about conditions, problems or diagnoses
kl-reporting-ffb-condition-1: Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Closed by value:url
.... conditionLastAssertedDate SΣ0..1dateTime[DK] tilstandSidstVurderetTid
URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate
... clinicalStatus ?!SΣC1..1CodeableConcept[DK] tilstandsstatus
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.

... verificationStatus ?!SΣC0..1CodeableConcept[DK] tilstandsstatus
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.

.... extension 0..0
... code SΣ1..1CodeableConcept[DK] tilstandskode
Binding: KLTilstandKoderFFB (required)
.... extension 0..0
... subject SΣ1..1Reference(Citizen)[DK] tilstandssubjekt
... recordedDate SΣ1..1dateTime[DK] tilstandsoprettelsestid

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
Condition.verificationStatusrequiredConditionVerificationStatus
Condition.severityrequiredKLSeveritiesFFB
Condition.coderequiredKLConditionCodesFFB

Constraints

IdGradePath(s)DetailsRequirements
con-3best practiceConditionCondition.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-4errorConditionIf 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-5errorConditionCondition.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-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf 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-4errorConditionIf 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-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
kl-reporting-ffb-condition-1errorConditionSeverity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes
: (severity.exists() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB')) or (severity.exists().not() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB').not())
NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C0..*ConditionDetailed information about conditions, problems or diagnoses
kl-reporting-ffb-condition-1: Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... text 0..1NarrativeText summary of the resource, for human interpretation
.... conditionLastAssertedDate SΣ0..1dateTime[DK] tilstandSidstVurderetTid
URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate
... clinicalStatus ?!SΣC1..1CodeableConcept[DK] tilstandsstatus
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.

... verificationStatus ?!SΣC0..1CodeableConcept[DK] tilstandsstatus
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.

... severity S0..1CodeableConcept[DK] tilstandssværhedsgrad
Binding: KLFunktionsevneniveauFFB (required)
.... extension 0..0
.... coding Σ0..*CodingCode defined by a terminology system
... code SΣ1..1CodeableConcept[DK] tilstandskode
Binding: KLTilstandKoderFFB (required)
.... extension 0..0
.... coding Σ0..*CodingCode defined by a terminology system
... subject SΣ1..1Reference(Citizen)[DK] tilstandssubjekt
... recordedDate SΣ1..1dateTime[DK] tilstandsoprettelsestid

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
Condition.verificationStatusrequiredConditionVerificationStatus
Condition.severityrequiredKLSeveritiesFFB
Condition.coderequiredKLConditionCodesFFB
Condition.stage.summaryexampleConditionStage
Condition.stage.typeexampleConditionStageType
Condition.evidence.codeexampleManifestationAndSymptomCodes

Constraints

IdGradePath(s)DetailsRequirements
con-3best practiceConditionCondition.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-4errorConditionIf 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-5errorConditionCondition.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-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf 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-4errorConditionIf 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-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
kl-reporting-ffb-condition-1errorConditionSeverity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes
: (severity.exists() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB')) or (severity.exists().not() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB').not())

This structure is derived from Condition

Summary

Mandatory: 3 elements
Must-Support: 7 elements
Prohibited: 22 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Condition.abatement[x] is sliced based on the value of type:$this

Differential View

This structure is derived from Condition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C0..*ConditionDetailed information about conditions, problems or diagnoses
kl-reporting-ffb-condition-1: Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes
... implicitRules 0..0
... language 0..0
... contained 0..0
.... conditionLastAssertedDate SΣ0..1dateTime[DK] tilstandSidstVurderetTid
URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate
... modifierExtension 0..0
... identifier 0..0
... clinicalStatus S1..1CodeableConcept[DK] tilstandsstatus
... verificationStatus S0..1CodeableConcept[DK] tilstandsstatus
... category 0..0
... severity S0..1CodeableConcept[DK] tilstandssværhedsgrad
Binding: KLFunktionsevneniveauFFB (required)
.... id 0..0
.... extension 0..0
.... text 0..0
... code S1..1CodeableConcept[DK] tilstandskode
Binding: KLTilstandKoderFFB (required)
.... id 0..0
.... extension 0..0
.... text 0..0
... bodySite 0..0
... subject S1..1Reference(Citizen)[DK] tilstandssubjekt
... encounter 0..0
... onset[x] 0..0
... Slices for abatement[x] 0..0
.... abatement[x]:abatementDateTime 0..0
... recordedDate S1..1dateTime[DK] tilstandsoprettelsestid
... recorder 0..0
... asserter 0..0
... stage 0..0
... evidence 0..0
... note 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Condition.severityrequiredKLSeveritiesFFB
Condition.coderequiredKLConditionCodesFFB

Constraints

IdGradePath(s)DetailsRequirements
kl-reporting-ffb-condition-1errorConditionSeverity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes
: (severity.exists() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB')) or (severity.exists().not() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB').not())

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C0..*ConditionDetailed information about conditions, problems or diagnoses
kl-reporting-ffb-condition-1: Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Closed by value:url
.... conditionLastAssertedDate SΣ0..1dateTime[DK] tilstandSidstVurderetTid
URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate
... clinicalStatus ?!SΣC1..1CodeableConcept[DK] tilstandsstatus
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.

... verificationStatus ?!SΣC0..1CodeableConcept[DK] tilstandsstatus
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.

.... extension 0..0
... code SΣ1..1CodeableConcept[DK] tilstandskode
Binding: KLTilstandKoderFFB (required)
.... extension 0..0
... subject SΣ1..1Reference(Citizen)[DK] tilstandssubjekt
... recordedDate SΣ1..1dateTime[DK] tilstandsoprettelsestid

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
Condition.verificationStatusrequiredConditionVerificationStatus
Condition.severityrequiredKLSeveritiesFFB
Condition.coderequiredKLConditionCodesFFB

Constraints

IdGradePath(s)DetailsRequirements
con-3best practiceConditionCondition.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-4errorConditionIf 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-5errorConditionCondition.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-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf 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-4errorConditionIf 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-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
kl-reporting-ffb-condition-1errorConditionSeverity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes
: (severity.exists() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB')) or (severity.exists().not() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB').not())

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C0..*ConditionDetailed information about conditions, problems or diagnoses
kl-reporting-ffb-condition-1: Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... text 0..1NarrativeText summary of the resource, for human interpretation
.... conditionLastAssertedDate SΣ0..1dateTime[DK] tilstandSidstVurderetTid
URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate
... clinicalStatus ?!SΣC1..1CodeableConcept[DK] tilstandsstatus
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.

... verificationStatus ?!SΣC0..1CodeableConcept[DK] tilstandsstatus
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.

... severity S0..1CodeableConcept[DK] tilstandssværhedsgrad
Binding: KLFunktionsevneniveauFFB (required)
.... extension 0..0
.... coding Σ0..*CodingCode defined by a terminology system
... code SΣ1..1CodeableConcept[DK] tilstandskode
Binding: KLTilstandKoderFFB (required)
.... extension 0..0
.... coding Σ0..*CodingCode defined by a terminology system
... subject SΣ1..1Reference(Citizen)[DK] tilstandssubjekt
... recordedDate SΣ1..1dateTime[DK] tilstandsoprettelsestid

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
Condition.verificationStatusrequiredConditionVerificationStatus
Condition.severityrequiredKLSeveritiesFFB
Condition.coderequiredKLConditionCodesFFB
Condition.stage.summaryexampleConditionStage
Condition.stage.typeexampleConditionStageType
Condition.evidence.codeexampleManifestationAndSymptomCodes

Constraints

IdGradePath(s)DetailsRequirements
con-3best practiceConditionCondition.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-4errorConditionIf 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-5errorConditionCondition.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-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf 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-4errorConditionIf 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-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
kl-reporting-ffb-condition-1errorConditionSeverity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes
: (severity.exists() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB')) or (severity.exists().not() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB').not())

This structure is derived from Condition

Summary

Mandatory: 3 elements
Must-Support: 7 elements
Prohibited: 22 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Condition.abatement[x] is sliced based on the value of type:$this

 

Other representations of profile: CSV, Excel, Schematron