Implementation Guide for FFB messaging (FFB udvekslingsdatasæt)
1.0.0 - release Denmark flag

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

Resource Profile: Diagnosis

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:

Formal Views of Profile Content

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

This structure is derived from KLCommonCareSocialCondition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition 0..*KLCommonCareSocialConditionDetailed information about conditions, problems or diagnoses
... clinicalStatus S1..1CodeableConcept[DK] tilstandsstatus
... code S1..1CodeableConceptIdentification of the condition, problem or diagnosis
.... coding 0..*Coding[DK] tilstandskode
..... system 0..1uriIdentity of the terminology system
.... coding:diagnosis 0..1Coding[DK] tilstandskode
.... text S0..1string[DK] tilstandsvurdering
... subject S1..1Reference(Citizen)[DK] tilstandssubjekt

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C0..*KLCommonCareSocialConditionDetailed information about conditions, problems or diagnoses
... implicitRules ?!Σ0..1uriA 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..1CodeableConcept, 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..1uri"http://hl7.org/fhir/StructureDefinition/condition-dueTo"
.... value[x] 1..1Reference(Condition | FocusCondition)Value of extension
... conditionLastAssertedDate Σ0..1dateTime[DK] tilstandSidstVurderetTid
URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... clinicalStatus ?!SΣC1..1CodeableConcept[DK] tilstandsstatus
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.

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

... code SΣ1..1CodeableConceptIdentification 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..1uriIdentity of the terminology system
..... coding:FSIIIConditionCode Σ0..1Coding[DK] FSIII tilstandskode
Binding: KLTilstandKoderFSIII (required)
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: urn:oid:1.2.208.176.2.21
..... coding:FFBConditionCode Σ0..1Coding[DK] FFB undertemakode
Binding: KLTilstandKoderFFB (required)
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: urn:oid:1.2.208.176.2.22
..... coding:SCTConditionCode Σ0..1Coding[DK] SNOMED CT tilstandskode
Binding: Condition/Problem/DiagnosisCodes (required)
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: http://snomed.info/sct
..... coding:diagnosis Σ0..1Coding[DK] tilstandskode
.... text SΣ0..1string[DK] tilstandsvurdering
... subject SΣ1..1Reference(Citizen)[DK] tilstandssubjekt

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
Condition.verificationStatusrequiredConditionVerificationStatus
Condition.codeexampleCondition/Problem/DiagnosisCodes
Condition.code.coding:FSIIIConditionCoderequiredKLConditionCodesFSIII
Condition.code.coding:FFBConditionCoderequiredKLConditionCodesFFB
Condition.code.coding:SCTConditionCoderequiredCondition/Problem/DiagnosisCodes

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()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C0..*KLCommonCareSocialConditionDetailed information about conditions, problems or diagnoses
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... eventHistory Σ0..*Reference(Provenance)[DK] tilstandsændringshistorie
URL: http://fhir.kl.dk/core/StructureDefinition/ExtEventHist
... dueTo Σ0..1CodeableConcept, 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..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/StructureDefinition/condition-dueTo"
.... value[x] 1..1Reference(Condition | FocusCondition)Value of extension
... followUpEncounter Σ0..1Reference(Encounter)[DK] tilstandsplanlagtOpfølgning
URL: http://fhir.kl.dk/core/StructureDefinition/FollowUpEncounter
... conditionLastAssertedDate Σ0..1dateTime[DK] tilstandSidstVurderetTid
URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierExternal Ids for this condition
... clinicalStatus ?!SΣC1..1CodeableConcept[DK] tilstandsstatus
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.

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

... category 0..*CodeableConceptproblem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.


.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..*Coding[DK] tilstandsfokus
.... text Σ0..1stringPlain text representation of the concept
... severity 0..1CodeableConceptSubjective severity of condition
Binding: KLSværhedgrader (required)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..*Coding[DK] tilstandssværhedsgrad
.... text Σ0..1stringPlain text representation of the concept
... code SΣ1..1CodeableConceptIdentification of the condition, problem or diagnosis
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis.

.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional 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..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ0..1uriIdentity of the terminology system
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ0..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... coding:FSIIIConditionCode Σ0..1Coding[DK] FSIII tilstandskode
Binding: KLTilstandKoderFSIII (required)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: urn:oid:1.2.208.176.2.21
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ0..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... coding:FFBConditionCode Σ0..1Coding[DK] FFB undertemakode
Binding: KLTilstandKoderFFB (required)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: urn:oid:1.2.208.176.2.22
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ0..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... coding:SCTConditionCode Σ0..1Coding[DK] SNOMED CT tilstandskode
Binding: Condition/Problem/DiagnosisCodes (required)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: http://snomed.info/sct
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ0..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... coding:diagnosis Σ0..1Coding[DK] tilstandskode
.... text SΣ0..1string[DK] tilstandsvurdering
... bodySite Σ0..*CodeableConceptAnatomical location, if relevant
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.


... subject SΣ1..1Reference(Citizen)[DK] tilstandssubjekt
... encounter Σ0..1Reference(Encounter)Encounter created as part of
... onset[x] Σ0..1Estimated or actual date, date-time, or age
.... onsetDateTimedateTime
.... onsetAgeAge
.... onsetPeriodPeriod
.... onsetRangeRange
.... onsetStringstring
... abatement[x] C0..1dateTime[DK] tilstandsafslutningstid
... recordedDate Σ0..1dateTime[DK] tilstandsoprettelsestid
... recorder Σ0..1Reference(Practitioner | PractitionerRole | Patient | RelatedPerson)Who recorded the condition
... asserter Σ0..1Reference(Practioner)[DK] tilstandsansvarlig
... stage C0..*BackboneElementStage/grade, usually assessed formally
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... summary C0..1CodeableConceptSimple summary (disease specific)
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).

.... assessment C0..*Reference(ClinicalImpression | DiagnosticReport | Observation)Formal record of assessment
.... type 0..1CodeableConceptKind of staging
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).

... evidence C0..*BackboneElementSupporting evidence
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code ΣC0..*CodeableConceptManifestation/symptom
Binding: ManifestationAndSymptomCodes (example): Codes that describe the manifestation or symptoms of a condition.


.... detail ΣC0..*Reference(MatterOfInterest | FollowUp)[DK] tilstandsevidens (herunder tilstandOplysning og tilstandOpfølgningsresultat)
... note 0..*AnnotationAdditional information about the Condition
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... matterOfInterestInformer 0..1CodeableConcept[DK] tilstandsInformant
URL: http://fhir.kl.dk/core/StructureDefinition/MatterOfInterestInformer
Binding: KLKildeTilOplysningFFB (required)
.... author[x] Σ0..1Reference(Practioner)Individual responsible for the annotation
.... time Σ0..1dateTimeWhen the annotation was made
.... text Σ1..1markdown[DK] tilstandFagligtNotat

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Condition.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
Condition.verificationStatusrequiredConditionVerificationStatus
Condition.categoryextensibleConditionCategoryCodes
Condition.severityrequiredKLSeverities
Condition.codeexampleCondition/Problem/DiagnosisCodes
Condition.code.coding:FSIIIConditionCoderequiredKLConditionCodesFSIII
Condition.code.coding:FFBConditionCoderequiredKLConditionCodesFFB
Condition.code.coding:SCTConditionCoderequiredCondition/Problem/DiagnosisCodes
Condition.bodySiteexampleSNOMEDCTBodyStructures
Condition.stage.summaryexampleConditionStage
Condition.stage.typeexampleConditionStageType
Condition.evidence.codeexampleManifestationAndSymptomCodes

Constraints

IdGradePath(s)DetailsRequirements
con-1errorCondition.stageStage SHALL have summary or assessment
: summary.exists() or assessment.exists()
con-2errorCondition.evidenceevidence SHALL have code or details
: code.exists() or detail.exists()
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()

This structure is derived from KLCommonCareSocialCondition

Summary

Must-Support: 4 elements

Structures

This structure refers to these other structures:

Differential View

This structure is derived from KLCommonCareSocialCondition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition 0..*KLCommonCareSocialConditionDetailed information about conditions, problems or diagnoses
... clinicalStatus S1..1CodeableConcept[DK] tilstandsstatus
... code S1..1CodeableConceptIdentification of the condition, problem or diagnosis
.... coding 0..*Coding[DK] tilstandskode
..... system 0..1uriIdentity of the terminology system
.... coding:diagnosis 0..1Coding[DK] tilstandskode
.... text S0..1string[DK] tilstandsvurdering
... subject S1..1Reference(Citizen)[DK] tilstandssubjekt

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C0..*KLCommonCareSocialConditionDetailed information about conditions, problems or diagnoses
... implicitRules ?!Σ0..1uriA 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..1CodeableConcept, 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..1uri"http://hl7.org/fhir/StructureDefinition/condition-dueTo"
.... value[x] 1..1Reference(Condition | FocusCondition)Value of extension
... conditionLastAssertedDate Σ0..1dateTime[DK] tilstandSidstVurderetTid
URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... clinicalStatus ?!SΣC1..1CodeableConcept[DK] tilstandsstatus
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.

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

... code SΣ1..1CodeableConceptIdentification 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..1uriIdentity of the terminology system
..... coding:FSIIIConditionCode Σ0..1Coding[DK] FSIII tilstandskode
Binding: KLTilstandKoderFSIII (required)
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: urn:oid:1.2.208.176.2.21
..... coding:FFBConditionCode Σ0..1Coding[DK] FFB undertemakode
Binding: KLTilstandKoderFFB (required)
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: urn:oid:1.2.208.176.2.22
..... coding:SCTConditionCode Σ0..1Coding[DK] SNOMED CT tilstandskode
Binding: Condition/Problem/DiagnosisCodes (required)
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: http://snomed.info/sct
..... coding:diagnosis Σ0..1Coding[DK] tilstandskode
.... text SΣ0..1string[DK] tilstandsvurdering
... subject SΣ1..1Reference(Citizen)[DK] tilstandssubjekt

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
Condition.verificationStatusrequiredConditionVerificationStatus
Condition.codeexampleCondition/Problem/DiagnosisCodes
Condition.code.coding:FSIIIConditionCoderequiredKLConditionCodesFSIII
Condition.code.coding:FFBConditionCoderequiredKLConditionCodesFFB
Condition.code.coding:SCTConditionCoderequiredCondition/Problem/DiagnosisCodes

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()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C0..*KLCommonCareSocialConditionDetailed information about conditions, problems or diagnoses
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... eventHistory Σ0..*Reference(Provenance)[DK] tilstandsændringshistorie
URL: http://fhir.kl.dk/core/StructureDefinition/ExtEventHist
... dueTo Σ0..1CodeableConcept, 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..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/StructureDefinition/condition-dueTo"
.... value[x] 1..1Reference(Condition | FocusCondition)Value of extension
... followUpEncounter Σ0..1Reference(Encounter)[DK] tilstandsplanlagtOpfølgning
URL: http://fhir.kl.dk/core/StructureDefinition/FollowUpEncounter
... conditionLastAssertedDate Σ0..1dateTime[DK] tilstandSidstVurderetTid
URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierExternal Ids for this condition
... clinicalStatus ?!SΣC1..1CodeableConcept[DK] tilstandsstatus
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.

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

... category 0..*CodeableConceptproblem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.


.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..*Coding[DK] tilstandsfokus
.... text Σ0..1stringPlain text representation of the concept
... severity 0..1CodeableConceptSubjective severity of condition
Binding: KLSværhedgrader (required)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..*Coding[DK] tilstandssværhedsgrad
.... text Σ0..1stringPlain text representation of the concept
... code SΣ1..1CodeableConceptIdentification of the condition, problem or diagnosis
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis.

.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional 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..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ0..1uriIdentity of the terminology system
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ0..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... coding:FSIIIConditionCode Σ0..1Coding[DK] FSIII tilstandskode
Binding: KLTilstandKoderFSIII (required)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: urn:oid:1.2.208.176.2.21
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ0..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... coding:FFBConditionCode Σ0..1Coding[DK] FFB undertemakode
Binding: KLTilstandKoderFFB (required)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: urn:oid:1.2.208.176.2.22
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ0..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... coding:SCTConditionCode Σ0..1Coding[DK] SNOMED CT tilstandskode
Binding: Condition/Problem/DiagnosisCodes (required)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: http://snomed.info/sct
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ0..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... coding:diagnosis Σ0..1Coding[DK] tilstandskode
.... text SΣ0..1string[DK] tilstandsvurdering
... bodySite Σ0..*CodeableConceptAnatomical location, if relevant
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.


... subject SΣ1..1Reference(Citizen)[DK] tilstandssubjekt
... encounter Σ0..1Reference(Encounter)Encounter created as part of
... onset[x] Σ0..1Estimated or actual date, date-time, or age
.... onsetDateTimedateTime
.... onsetAgeAge
.... onsetPeriodPeriod
.... onsetRangeRange
.... onsetStringstring
... abatement[x] C0..1dateTime[DK] tilstandsafslutningstid
... recordedDate Σ0..1dateTime[DK] tilstandsoprettelsestid
... recorder Σ0..1Reference(Practitioner | PractitionerRole | Patient | RelatedPerson)Who recorded the condition
... asserter Σ0..1Reference(Practioner)[DK] tilstandsansvarlig
... stage C0..*BackboneElementStage/grade, usually assessed formally
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... summary C0..1CodeableConceptSimple summary (disease specific)
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).

.... assessment C0..*Reference(ClinicalImpression | DiagnosticReport | Observation)Formal record of assessment
.... type 0..1CodeableConceptKind of staging
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).

... evidence C0..*BackboneElementSupporting evidence
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code ΣC0..*CodeableConceptManifestation/symptom
Binding: ManifestationAndSymptomCodes (example): Codes that describe the manifestation or symptoms of a condition.


.... detail ΣC0..*Reference(MatterOfInterest | FollowUp)[DK] tilstandsevidens (herunder tilstandOplysning og tilstandOpfølgningsresultat)
... note 0..*AnnotationAdditional information about the Condition
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... matterOfInterestInformer 0..1CodeableConcept[DK] tilstandsInformant
URL: http://fhir.kl.dk/core/StructureDefinition/MatterOfInterestInformer
Binding: KLKildeTilOplysningFFB (required)
.... author[x] Σ0..1Reference(Practioner)Individual responsible for the annotation
.... time Σ0..1dateTimeWhen the annotation was made
.... text Σ1..1markdown[DK] tilstandFagligtNotat

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Condition.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
Condition.verificationStatusrequiredConditionVerificationStatus
Condition.categoryextensibleConditionCategoryCodes
Condition.severityrequiredKLSeverities
Condition.codeexampleCondition/Problem/DiagnosisCodes
Condition.code.coding:FSIIIConditionCoderequiredKLConditionCodesFSIII
Condition.code.coding:FFBConditionCoderequiredKLConditionCodesFFB
Condition.code.coding:SCTConditionCoderequiredCondition/Problem/DiagnosisCodes
Condition.bodySiteexampleSNOMEDCTBodyStructures
Condition.stage.summaryexampleConditionStage
Condition.stage.typeexampleConditionStageType
Condition.evidence.codeexampleManifestationAndSymptomCodes

Constraints

IdGradePath(s)DetailsRequirements
con-1errorCondition.stageStage SHALL have summary or assessment
: summary.exists() or assessment.exists()
con-2errorCondition.evidenceevidence SHALL have code or details
: code.exists() or detail.exists()
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()

This structure is derived from KLCommonCareSocialCondition

Summary

Must-Support: 4 elements

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel, Schematron