DIPS Core Implementation Guide
0.1.0 - ci-build Norway

DIPS Core Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: DIPS R4 Condition

Official URL: http://dips.no/fhir/R4/StructureDefinition/DIPSR4Condition Version: 0.1.0
Draft as of 2026-11-10 Computable Name: DIPSR4Condition

Diagnosis registered on a patient in DIPS Arena. Resource ids carry the afn prefix.

The DIPS R4 Condition Profile inherits from the FHIR Condition resource; refer to it for scope and usage definitions

The profile covers diagnoses registered on a patient in DIPS Arena. A condition's resource id carries the afn prefix.

Supported interactions:

Interaction Supported
Read Yes
Search Yes
Create Yes
Delete Yes
Update No
VRead No
History No
Patch No

Delete is also supported conditionally (conditionalDelete = single), which lets a client delete a diagnosis by search criteria rather than by resource id.

Example Usage Scenarios:

The following are example usage scenarios for this profile:

Query by condition id, patient, encounter, asserting practitioner, diagnosis code or recorded date

Register a diagnosis on a patient, optionally with an ATC code and links to related or child diagnoses

Delete a diagnosis, either by its resource id or by search criteria

Usages:

  • This Profile is not used by any profiles in this Specification

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
Condition.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Condition.Slices for extension.extension:ACTCode 0..1 ?gen-e1? [CanonicalType[http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code]] Extension
URL: http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code
Condition.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Condition.Slices for identifier This element is included in summaries. 1..* Identifier External Ids for this condition
Slice: Unordered, Open by value:system
Condition.Slices for identifier.identifier:Diagnosis_id This element is included in summaries. 1..1 Identifier External Ids for this condition
Condition.Slices for identifier.identifier:Diagnosis_id.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid (no extensions allowed)
Condition.Slices for identifier.identifier:Diagnosis_id.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Condition.Slices for identifier.identifier:External_Identifier This element is included in summaries. 0..1 Identifier External Ids for this condition
Condition.Slices for identifier.identifier:External_Identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Condition.Slices for identifier.identifier:External_Identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Condition.verificationStatus This element is a modifier element. This element is included in summaries. C 1..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required)
Condition.category 1..1 CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
Condition.category.Slices for coding This element is included in summaries. 2..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Condition.category.Slices for coding.coding:All Slices Content/Rules for all slices
Condition.category.Slices for coding.coding:Diagnosis This element is included in summaries. 1..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/condition-category (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Fixed Value: diagnosis (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_SubType This element is included in summaries. 1..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis_SubType.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.no/fhir/condition-sub-category (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_SubType.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Condition.category.Slices for coding.coding:Diagnosis_Coding_System This element is included in summaries. 0..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10 (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Required Pattern: ICD-10 (extensions allowed)
Condition.code This element is included in summaries. 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis.
Condition.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Condition.code.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110 (no extensions allowed)
Condition.code.coding.code This element is included in summaries. 1..1 code Diagnosekode ICD-10
Condition.subject This element is included in summaries. 1..1 Reference(DIPS Condition Subject Reference) Who has the condition?
Condition.subject.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Condition.subject.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Condition.subject.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Condition.encounter This element is included in summaries. 0..1 Reference(DIPS Condition Encounter Reference) Encounter created as part of
Condition.encounter.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Condition.encounter.identifier.system This element is included in summaries. 0..1 uri The namespace for the identifier value
Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid (extensions allowed)
Condition.asserter This element is included in summaries. 0..1 Reference(DIPS Condition Asserter Reference (PractitionerRole)) Person who asserts this condition

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Condition.verificationStatus Base required ConditionVerificationStatus 📦4.0.1 FHIR Std.
Condition.category Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.code Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
con-3 best practice Condition Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4 error Condition If condition is abated, then clinicalStatus must be either inactive, resolved, or remission abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5 error Condition Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
dom-2 error Condition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Condition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Condition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Condition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Condition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Condition

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Condition 0..* Condition Detailed information about conditions, problems or diagnoses
Condition.meta 0..0 Metadata about the resource
Condition.implicitRules 0..0 A set of rules under which this content was created
Condition.language 0..0 Language of the resource content
Condition.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Condition.Slices for extension.extension:ACTCode 0..1 ?gen-e1? [CanonicalType[http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code]] Extension
URL: http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code
Condition.Slices for identifier 1..* Identifier External Ids for this condition
Slice: Unordered, Open by value:system
Condition.Slices for identifier.identifier:Diagnosis_id 1..1 Identifier External Ids for this condition
Condition.Slices for identifier.identifier:Diagnosis_id.id 0..0 Unique id for inter-element referencing
Condition.Slices for identifier.identifier:Diagnosis_id.use 0..0 usual | official | temp | secondary | old (If known)
Condition.Slices for identifier.identifier:Diagnosis_id.type 0..0 Description of identifier
Condition.Slices for identifier.identifier:Diagnosis_id.system 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid (no extensions allowed)
Condition.Slices for identifier.identifier:Diagnosis_id.value 1..1 string The value that is unique
Condition.Slices for identifier.identifier:Diagnosis_id.period 0..0 Time period when id is/was valid for use
Condition.Slices for identifier.identifier:Diagnosis_id.assigner 0..0 Organization that issued id (may be just text)
Condition.Slices for identifier.identifier:External_Identifier 0..1 Identifier External Ids for this condition
Condition.Slices for identifier.identifier:External_Identifier.id 0..0 Unique id for inter-element referencing
Condition.Slices for identifier.identifier:External_Identifier.use 0..0 usual | official | temp | secondary | old (If known)
Condition.Slices for identifier.identifier:External_Identifier.type 0..0 Description of identifier
Condition.Slices for identifier.identifier:External_Identifier.system 1..1 uri The namespace for the identifier value
Condition.Slices for identifier.identifier:External_Identifier.value 1..1 string The value that is unique
Condition.Slices for identifier.identifier:External_Identifier.period 0..0 Time period when id is/was valid for use
Condition.Slices for identifier.identifier:External_Identifier.assigner 0..0 Organization that issued id (may be just text)
Condition.clinicalStatus 0..0 active | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required)
Condition.verificationStatus 1..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required)
Condition.verificationStatus.id 0..0 Unique id for inter-element referencing
Condition.verificationStatus.coding
Condition.verificationStatus.coding.id 0..0 Unique id for inter-element referencing
Condition.verificationStatus.coding.system 0..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-ver-status (no extensions allowed)
Condition.verificationStatus.coding.version 0..0 Version of the system - if relevant
Condition.verificationStatus.coding.code 1..1 code Symbol in syntax defined by the system
Condition.verificationStatus.coding.display 0..0 Representation defined by the system
Condition.verificationStatus.coding.userSelected 0..0 If this coding was chosen directly by the user
Condition.category 1..1 CodeableConcept problem-list-item | encounter-diagnosis
Condition.category.id 0..0 Unique id for inter-element referencing
Condition.category.Slices for coding 2..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Condition.category.Slices for coding.coding:All Slices Content/Rules for all slices
Condition.category.Slices for coding.coding:All Slices.id 0..0 Unique id for inter-element referencing
Condition.category.Slices for coding.coding:Diagnosis 1..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis.system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/condition-category (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis.version 0..0 Version of the system - if relevant
Condition.category.Slices for coding.coding:Diagnosis.code 0..1 code Symbol in syntax defined by the system
Fixed Value: diagnosis (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis.userSelected 0..0 If this coding was chosen directly by the user
Condition.category.Slices for coding.coding:Diagnosis_SubType 1..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis_SubType.system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.no/fhir/condition-sub-category (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_SubType.version 0..0 Version of the system - if relevant
Condition.category.Slices for coding.coding:Diagnosis_SubType.code 1..1 code Symbol in syntax defined by the system
Condition.category.Slices for coding.coding:Diagnosis_SubType.userSelected 0..0 If this coding was chosen directly by the user
Condition.category.Slices for coding.coding:Diagnosis_Coding_System 0..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10 (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.version 0..0 Version of the system - if relevant
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.code 1..1 code Symbol in syntax defined by the system
Required Pattern: ICD-10 (extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.userSelected 0..0 If this coding was chosen directly by the user
Condition.category.text 0..0 Plain text representation of the concept
Condition.severity 0..0 Subjective severity of condition
Condition.code 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Condition.code.id 0..0 Unique id for inter-element referencing
Condition.code.coding 1..1 Coding Code defined by a terminology system
Condition.code.coding.id 0..0 Unique id for inter-element referencing
Condition.code.coding.system 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110 (no extensions allowed)
Condition.code.coding.version 0..0 Version of the system - if relevant
Condition.code.coding.code 1..1 code Diagnosekode ICD-10
Condition.code.coding.userSelected 0..0 If this coding was chosen directly by the user
Condition.code.text 0..0 Plain text representation of the concept
Condition.bodySite 0..0 Anatomical location, if relevant
Condition.subject 1..1 Reference(DIPS Condition Subject Reference) Who has the condition?
Condition.subject.id 0..0 Unique id for inter-element referencing
Condition.subject.reference 1..1 string Literal reference, Relative, internal or absolute URL
Condition.subject.type 0..0 Type the reference refers to (e.g. "Patient")
Condition.subject.identifier 1..1 Identifier Logical reference, when literal reference is not known
Condition.subject.identifier.id 0..0 Unique id for inter-element referencing
Condition.subject.identifier.use 0..0 usual | official | temp | secondary | old (If known)
Condition.subject.identifier.type 0..0 Description of identifier
Condition.subject.identifier.system 1..1 uri The namespace for the identifier value
Condition.subject.identifier.period 0..0 Time period when id is/was valid for use
Condition.subject.identifier.assigner 0..0 Organization that issued id (may be just text)
Condition.encounter 0..1 Reference(DIPS Condition Encounter Reference) Encounter created as part of
Condition.encounter.id 0..0 Unique id for inter-element referencing
Condition.encounter.type 0..0 Type the reference refers to (e.g. "Patient")
Condition.encounter.identifier 1..1 Identifier Logical reference, when literal reference is not known
Condition.encounter.identifier.id 0..0 Unique id for inter-element referencing
Condition.encounter.identifier.use 0..0 usual | official | temp | secondary | old (If known)
Condition.encounter.identifier.type 0..0 Description of identifier
Condition.encounter.identifier.system 0..1 uri The namespace for the identifier value
Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid (extensions allowed)
Condition.encounter.identifier.period 0..0 Time period when id is/was valid for use
Condition.encounter.identifier.assigner 0..0 Organization that issued id (may be just text)
Condition.onset[x] 0..0 Estimated or actual date, date-time, or age
Condition.abatement[x] 0..0 When in resolution/remission
Condition.recorder 0..0 Who recorded the condition
Condition.asserter 0..1 Reference(DIPS Condition Asserter Reference (PractitionerRole)) Person who asserts this condition
Condition.stage 0..0 Stage/grade, usually assessed formally
Condition.evidence 0..0 Supporting evidence
Condition.note
Condition.note.id 0..0 Unique id for inter-element referencing
Condition.note.author[x] 0..0 Individual responsible for the annotation
Condition.note.time 0..0 When the annotation was made

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Condition.verificationStatus Base required ConditionVerificationStatus 📦4.0.1 FHIR Std.
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
Condition.id This element is included in summaries. 0..1 id Logical id of this artifact
Condition.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Condition.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Condition.Slices for extension.extension:ACTCode 0..1 ?gen-e1? [CanonicalType[http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code]] Extension
URL: http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code
Condition.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Condition.Slices for identifier This element is included in summaries. 1..* Identifier External Ids for this condition
Slice: Unordered, Open by value:system
Condition.Slices for identifier.identifier:Diagnosis_id This element is included in summaries. 1..1 Identifier External Ids for this condition
Condition.Slices for identifier.identifier:Diagnosis_id.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.Slices for identifier.identifier:Diagnosis_id.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid (no extensions allowed)
Condition.Slices for identifier.identifier:Diagnosis_id.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Condition.Slices for identifier.identifier:External_Identifier This element is included in summaries. 0..1 Identifier External Ids for this condition
Condition.Slices for identifier.identifier:External_Identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.Slices for identifier.identifier:External_Identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Condition.Slices for identifier.identifier:External_Identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Condition.verificationStatus This element is a modifier element. This element is included in summaries. C 1..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required)
Condition.verificationStatus.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.verificationStatus.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
Condition.verificationStatus.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.verificationStatus.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-ver-status (no extensions allowed)
Condition.verificationStatus.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Condition.verificationStatus.text This element is included in summaries. 0..1 string Plain text representation of the concept
Condition.category 1..1 CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
Condition.category.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.category.Slices for coding This element is included in summaries. 2..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Condition.category.Slices for coding.coding:All Slices Content/Rules for all slices
Condition.category.Slices for coding.coding:All Slices.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.category.Slices for coding.coding:All Slices.system This element is included in summaries. 0..1 uri Identity of the terminology system
Condition.category.Slices for coding.coding:All Slices.version This element is included in summaries. 0..1 string Version of the system - if relevant
Condition.category.Slices for coding.coding:All Slices.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Condition.category.Slices for coding.coding:All Slices.display This element is included in summaries. 0..1 string Representation defined by the system
Condition.category.Slices for coding.coding:All Slices.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Condition.category.Slices for coding.coding:Diagnosis This element is included in summaries. 1..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis.id 0..1 string Unique id for inter-element referencing
Condition.category.Slices for coding.coding:Diagnosis.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.category.Slices for coding.coding:Diagnosis.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/condition-category (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Fixed Value: diagnosis (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis.display This element is included in summaries. 0..1 string Representation defined by the system
Condition.category.Slices for coding.coding:Diagnosis_SubType This element is included in summaries. 1..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis_SubType.id 0..1 string Unique id for inter-element referencing
Condition.category.Slices for coding.coding:Diagnosis_SubType.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.category.Slices for coding.coding:Diagnosis_SubType.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.no/fhir/condition-sub-category (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_SubType.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Condition.category.Slices for coding.coding:Diagnosis_SubType.display This element is included in summaries. 0..1 string Representation defined by the system
Condition.category.Slices for coding.coding:Diagnosis_Coding_System This element is included in summaries. 0..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.id 0..1 string Unique id for inter-element referencing
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10 (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Required Pattern: ICD-10 (extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.display This element is included in summaries. 0..1 string Representation defined by the system
Condition.code This element is included in summaries. 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis.
Condition.code.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Condition.code.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.code.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110 (no extensions allowed)
Condition.code.coding.code This element is included in summaries. 1..1 code Diagnosekode ICD-10
Condition.code.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Condition.subject This element is included in summaries. 1..1 Reference(DIPS Condition Subject Reference) Who has the condition?
Condition.subject.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.subject.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Condition.subject.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Condition.subject.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.subject.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Condition.subject.identifier.value This element is included in summaries. 0..1 string The value that is unique
Example General: 123456
Condition.subject.display This element is included in summaries. 0..1 string Text alternative for the resource
Condition.encounter This element is included in summaries. 0..1 Reference(DIPS Condition Encounter Reference) Encounter created as part of
Condition.encounter.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.encounter.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Condition.encounter.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Condition.encounter.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.encounter.identifier.system This element is included in summaries. 0..1 uri The namespace for the identifier value
Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid (extensions allowed)
Condition.encounter.identifier.value This element is included in summaries. 0..1 string The value that is unique
Example General: 123456
Condition.encounter.display This element is included in summaries. 0..1 string Text alternative for the resource
Condition.recordedDate This element is included in summaries. 0..1 dateTime Date record was first recorded
Condition.asserter This element is included in summaries. 0..1 Reference(DIPS Condition Asserter Reference (PractitionerRole)) Person who asserts this condition
Condition.note 0..* Annotation Additional information about the Condition
Condition.note.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.note.text This element is included in summaries. 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Condition.verificationStatus Base required ConditionVerificationStatus 📦4.0.1 FHIR Std.
Condition.category Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.code Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
Condition.stage.summary Base example Condition Stage 📍4.0.1 FHIR Std.
Condition.stage.type Base example Condition Stage Type 📍4.0.1 FHIR Std.
Condition.evidence.code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
con-3 best practice Condition Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4 error Condition If condition is abated, then clinicalStatus must be either inactive, resolved, or remission abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5 error Condition Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
dom-2 error Condition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Condition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Condition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Condition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Condition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Condition

Summary

Mandatory: 18 elements(6 nested mandatory elements)
Fixed: 7 elements
Prohibited: 58 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

  • Unable to summarise extension http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code (no extension found)

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Condition.identifier
  • The element 1 is sliced based on the value of Condition.category.coding

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
Condition.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Condition.Slices for extension.extension:ACTCode 0..1 ?gen-e1? [CanonicalType[http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code]] Extension
URL: http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code
Condition.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Condition.Slices for identifier This element is included in summaries. 1..* Identifier External Ids for this condition
Slice: Unordered, Open by value:system
Condition.Slices for identifier.identifier:Diagnosis_id This element is included in summaries. 1..1 Identifier External Ids for this condition
Condition.Slices for identifier.identifier:Diagnosis_id.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid (no extensions allowed)
Condition.Slices for identifier.identifier:Diagnosis_id.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Condition.Slices for identifier.identifier:External_Identifier This element is included in summaries. 0..1 Identifier External Ids for this condition
Condition.Slices for identifier.identifier:External_Identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Condition.Slices for identifier.identifier:External_Identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Condition.verificationStatus This element is a modifier element. This element is included in summaries. C 1..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required)
Condition.category 1..1 CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
Condition.category.Slices for coding This element is included in summaries. 2..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Condition.category.Slices for coding.coding:All Slices Content/Rules for all slices
Condition.category.Slices for coding.coding:Diagnosis This element is included in summaries. 1..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/condition-category (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Fixed Value: diagnosis (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_SubType This element is included in summaries. 1..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis_SubType.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.no/fhir/condition-sub-category (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_SubType.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Condition.category.Slices for coding.coding:Diagnosis_Coding_System This element is included in summaries. 0..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10 (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Required Pattern: ICD-10 (extensions allowed)
Condition.code This element is included in summaries. 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis.
Condition.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Condition.code.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110 (no extensions allowed)
Condition.code.coding.code This element is included in summaries. 1..1 code Diagnosekode ICD-10
Condition.subject This element is included in summaries. 1..1 Reference(DIPS Condition Subject Reference) Who has the condition?
Condition.subject.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Condition.subject.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Condition.subject.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Condition.encounter This element is included in summaries. 0..1 Reference(DIPS Condition Encounter Reference) Encounter created as part of
Condition.encounter.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Condition.encounter.identifier.system This element is included in summaries. 0..1 uri The namespace for the identifier value
Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid (extensions allowed)
Condition.asserter This element is included in summaries. 0..1 Reference(DIPS Condition Asserter Reference (PractitionerRole)) Person who asserts this condition

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Condition.verificationStatus Base required ConditionVerificationStatus 📦4.0.1 FHIR Std.
Condition.category Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.code Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
con-3 best practice Condition Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4 error Condition If condition is abated, then clinicalStatus must be either inactive, resolved, or remission abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5 error Condition Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
dom-2 error Condition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Condition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Condition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Condition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Condition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from Condition

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Condition 0..* Condition Detailed information about conditions, problems or diagnoses
Condition.meta 0..0 Metadata about the resource
Condition.implicitRules 0..0 A set of rules under which this content was created
Condition.language 0..0 Language of the resource content
Condition.contained 0..0 Contained, inline Resources
Condition.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Condition.Slices for extension.extension:ACTCode 0..1 ?gen-e1? [CanonicalType[http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code]] Extension
URL: http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code
Condition.Slices for identifier 1..* Identifier External Ids for this condition
Slice: Unordered, Open by value:system
Condition.Slices for identifier.identifier:Diagnosis_id 1..1 Identifier External Ids for this condition
Condition.Slices for identifier.identifier:Diagnosis_id.id 0..0 Unique id for inter-element referencing
Condition.Slices for identifier.identifier:Diagnosis_id.use 0..0 usual | official | temp | secondary | old (If known)
Condition.Slices for identifier.identifier:Diagnosis_id.type 0..0 Description of identifier
Condition.Slices for identifier.identifier:Diagnosis_id.system 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid (no extensions allowed)
Condition.Slices for identifier.identifier:Diagnosis_id.value 1..1 string The value that is unique
Condition.Slices for identifier.identifier:Diagnosis_id.period 0..0 Time period when id is/was valid for use
Condition.Slices for identifier.identifier:Diagnosis_id.assigner 0..0 Organization that issued id (may be just text)
Condition.Slices for identifier.identifier:External_Identifier 0..1 Identifier External Ids for this condition
Condition.Slices for identifier.identifier:External_Identifier.id 0..0 Unique id for inter-element referencing
Condition.Slices for identifier.identifier:External_Identifier.use 0..0 usual | official | temp | secondary | old (If known)
Condition.Slices for identifier.identifier:External_Identifier.type 0..0 Description of identifier
Condition.Slices for identifier.identifier:External_Identifier.system 1..1 uri The namespace for the identifier value
Condition.Slices for identifier.identifier:External_Identifier.value 1..1 string The value that is unique
Condition.Slices for identifier.identifier:External_Identifier.period 0..0 Time period when id is/was valid for use
Condition.Slices for identifier.identifier:External_Identifier.assigner 0..0 Organization that issued id (may be just text)
Condition.clinicalStatus 0..0 active | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required)
Condition.verificationStatus 1..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required)
Condition.verificationStatus.id 0..0 Unique id for inter-element referencing
Condition.verificationStatus.coding
Condition.verificationStatus.coding.id 0..0 Unique id for inter-element referencing
Condition.verificationStatus.coding.system 0..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-ver-status (no extensions allowed)
Condition.verificationStatus.coding.version 0..0 Version of the system - if relevant
Condition.verificationStatus.coding.code 1..1 code Symbol in syntax defined by the system
Condition.verificationStatus.coding.display 0..0 Representation defined by the system
Condition.verificationStatus.coding.userSelected 0..0 If this coding was chosen directly by the user
Condition.category 1..1 CodeableConcept problem-list-item | encounter-diagnosis
Condition.category.id 0..0 Unique id for inter-element referencing
Condition.category.Slices for coding 2..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Condition.category.Slices for coding.coding:All Slices Content/Rules for all slices
Condition.category.Slices for coding.coding:All Slices.id 0..0 Unique id for inter-element referencing
Condition.category.Slices for coding.coding:Diagnosis 1..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis.system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/condition-category (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis.version 0..0 Version of the system - if relevant
Condition.category.Slices for coding.coding:Diagnosis.code 0..1 code Symbol in syntax defined by the system
Fixed Value: diagnosis (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis.userSelected 0..0 If this coding was chosen directly by the user
Condition.category.Slices for coding.coding:Diagnosis_SubType 1..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis_SubType.system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.no/fhir/condition-sub-category (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_SubType.version 0..0 Version of the system - if relevant
Condition.category.Slices for coding.coding:Diagnosis_SubType.code 1..1 code Symbol in syntax defined by the system
Condition.category.Slices for coding.coding:Diagnosis_SubType.userSelected 0..0 If this coding was chosen directly by the user
Condition.category.Slices for coding.coding:Diagnosis_Coding_System 0..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10 (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.version 0..0 Version of the system - if relevant
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.code 1..1 code Symbol in syntax defined by the system
Required Pattern: ICD-10 (extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.userSelected 0..0 If this coding was chosen directly by the user
Condition.category.text 0..0 Plain text representation of the concept
Condition.severity 0..0 Subjective severity of condition
Condition.code 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Condition.code.id 0..0 Unique id for inter-element referencing
Condition.code.coding 1..1 Coding Code defined by a terminology system
Condition.code.coding.id 0..0 Unique id for inter-element referencing
Condition.code.coding.system 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110 (no extensions allowed)
Condition.code.coding.version 0..0 Version of the system - if relevant
Condition.code.coding.code 1..1 code Diagnosekode ICD-10
Condition.code.coding.userSelected 0..0 If this coding was chosen directly by the user
Condition.code.text 0..0 Plain text representation of the concept
Condition.bodySite 0..0 Anatomical location, if relevant
Condition.subject 1..1 Reference(DIPS Condition Subject Reference) Who has the condition?
Condition.subject.id 0..0 Unique id for inter-element referencing
Condition.subject.reference 1..1 string Literal reference, Relative, internal or absolute URL
Condition.subject.type 0..0 Type the reference refers to (e.g. "Patient")
Condition.subject.identifier 1..1 Identifier Logical reference, when literal reference is not known
Condition.subject.identifier.id 0..0 Unique id for inter-element referencing
Condition.subject.identifier.use 0..0 usual | official | temp | secondary | old (If known)
Condition.subject.identifier.type 0..0 Description of identifier
Condition.subject.identifier.system 1..1 uri The namespace for the identifier value
Condition.subject.identifier.period 0..0 Time period when id is/was valid for use
Condition.subject.identifier.assigner 0..0 Organization that issued id (may be just text)
Condition.encounter 0..1 Reference(DIPS Condition Encounter Reference) Encounter created as part of
Condition.encounter.id 0..0 Unique id for inter-element referencing
Condition.encounter.type 0..0 Type the reference refers to (e.g. "Patient")
Condition.encounter.identifier 1..1 Identifier Logical reference, when literal reference is not known
Condition.encounter.identifier.id 0..0 Unique id for inter-element referencing
Condition.encounter.identifier.use 0..0 usual | official | temp | secondary | old (If known)
Condition.encounter.identifier.type 0..0 Description of identifier
Condition.encounter.identifier.system 0..1 uri The namespace for the identifier value
Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid (extensions allowed)
Condition.encounter.identifier.period 0..0 Time period when id is/was valid for use
Condition.encounter.identifier.assigner 0..0 Organization that issued id (may be just text)
Condition.onset[x] 0..0 Estimated or actual date, date-time, or age
Condition.abatement[x] 0..0 When in resolution/remission
Condition.recorder 0..0 Who recorded the condition
Condition.asserter 0..1 Reference(DIPS Condition Asserter Reference (PractitionerRole)) Person who asserts this condition
Condition.stage 0..0 Stage/grade, usually assessed formally
Condition.evidence 0..0 Supporting evidence
Condition.note
Condition.note.id 0..0 Unique id for inter-element referencing
Condition.note.author[x] 0..0 Individual responsible for the annotation
Condition.note.time 0..0 When the annotation was made

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Condition.verificationStatus Base required ConditionVerificationStatus 📦4.0.1 FHIR Std.

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
Condition.id This element is included in summaries. 0..1 id Logical id of this artifact
Condition.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Condition.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Condition.Slices for extension.extension:ACTCode 0..1 ?gen-e1? [CanonicalType[http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code]] Extension
URL: http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code
Condition.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Condition.Slices for identifier This element is included in summaries. 1..* Identifier External Ids for this condition
Slice: Unordered, Open by value:system
Condition.Slices for identifier.identifier:Diagnosis_id This element is included in summaries. 1..1 Identifier External Ids for this condition
Condition.Slices for identifier.identifier:Diagnosis_id.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.Slices for identifier.identifier:Diagnosis_id.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid (no extensions allowed)
Condition.Slices for identifier.identifier:Diagnosis_id.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Condition.Slices for identifier.identifier:External_Identifier This element is included in summaries. 0..1 Identifier External Ids for this condition
Condition.Slices for identifier.identifier:External_Identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.Slices for identifier.identifier:External_Identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Condition.Slices for identifier.identifier:External_Identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Condition.verificationStatus This element is a modifier element. This element is included in summaries. C 1..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required)
Condition.verificationStatus.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.verificationStatus.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
Condition.verificationStatus.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.verificationStatus.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-ver-status (no extensions allowed)
Condition.verificationStatus.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Condition.verificationStatus.text This element is included in summaries. 0..1 string Plain text representation of the concept
Condition.category 1..1 CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
Condition.category.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.category.Slices for coding This element is included in summaries. 2..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Condition.category.Slices for coding.coding:All Slices Content/Rules for all slices
Condition.category.Slices for coding.coding:All Slices.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.category.Slices for coding.coding:All Slices.system This element is included in summaries. 0..1 uri Identity of the terminology system
Condition.category.Slices for coding.coding:All Slices.version This element is included in summaries. 0..1 string Version of the system - if relevant
Condition.category.Slices for coding.coding:All Slices.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Condition.category.Slices for coding.coding:All Slices.display This element is included in summaries. 0..1 string Representation defined by the system
Condition.category.Slices for coding.coding:All Slices.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Condition.category.Slices for coding.coding:Diagnosis This element is included in summaries. 1..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis.id 0..1 string Unique id for inter-element referencing
Condition.category.Slices for coding.coding:Diagnosis.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.category.Slices for coding.coding:Diagnosis.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/condition-category (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Fixed Value: diagnosis (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis.display This element is included in summaries. 0..1 string Representation defined by the system
Condition.category.Slices for coding.coding:Diagnosis_SubType This element is included in summaries. 1..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis_SubType.id 0..1 string Unique id for inter-element referencing
Condition.category.Slices for coding.coding:Diagnosis_SubType.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.category.Slices for coding.coding:Diagnosis_SubType.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.no/fhir/condition-sub-category (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_SubType.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Condition.category.Slices for coding.coding:Diagnosis_SubType.display This element is included in summaries. 0..1 string Representation defined by the system
Condition.category.Slices for coding.coding:Diagnosis_Coding_System This element is included in summaries. 0..1 Coding Code defined by a terminology system
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.id 0..1 string Unique id for inter-element referencing
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10 (no extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Required Pattern: ICD-10 (extensions allowed)
Condition.category.Slices for coding.coding:Diagnosis_Coding_System.display This element is included in summaries. 0..1 string Representation defined by the system
Condition.code This element is included in summaries. 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis.
Condition.code.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Condition.code.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.code.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110 (no extensions allowed)
Condition.code.coding.code This element is included in summaries. 1..1 code Diagnosekode ICD-10
Condition.code.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Condition.subject This element is included in summaries. 1..1 Reference(DIPS Condition Subject Reference) Who has the condition?
Condition.subject.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.subject.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Condition.subject.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Condition.subject.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.subject.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Condition.subject.identifier.value This element is included in summaries. 0..1 string The value that is unique
Example General: 123456
Condition.subject.display This element is included in summaries. 0..1 string Text alternative for the resource
Condition.encounter This element is included in summaries. 0..1 Reference(DIPS Condition Encounter Reference) Encounter created as part of
Condition.encounter.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.encounter.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Condition.encounter.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Condition.encounter.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.encounter.identifier.system This element is included in summaries. 0..1 uri The namespace for the identifier value
Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid (extensions allowed)
Condition.encounter.identifier.value This element is included in summaries. 0..1 string The value that is unique
Example General: 123456
Condition.encounter.display This element is included in summaries. 0..1 string Text alternative for the resource
Condition.recordedDate This element is included in summaries. 0..1 dateTime Date record was first recorded
Condition.asserter This element is included in summaries. 0..1 Reference(DIPS Condition Asserter Reference (PractitionerRole)) Person who asserts this condition
Condition.note 0..* Annotation Additional information about the Condition
Condition.note.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Condition.note.text This element is included in summaries. 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Condition.verificationStatus Base required ConditionVerificationStatus 📦4.0.1 FHIR Std.
Condition.category Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.code Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
Condition.stage.summary Base example Condition Stage 📍4.0.1 FHIR Std.
Condition.stage.type Base example Condition Stage Type 📍4.0.1 FHIR Std.
Condition.evidence.code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
con-3 best practice Condition Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4 error Condition If condition is abated, then clinicalStatus must be either inactive, resolved, or remission abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5 error Condition Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
dom-2 error Condition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Condition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Condition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Condition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Condition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Condition

Summary

Mandatory: 18 elements(6 nested mandatory elements)
Fixed: 7 elements
Prohibited: 58 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

  • Unable to summarise extension http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code (no extension found)

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Condition.identifier
  • The element 1 is sliced based on the value of Condition.category.coding

 

Other representations of profile: CSV, Excel, Schematron

Notes:

Read Operation:

  1. SHALL support reading Condition using its resource id:

    GET [base]/Condition/[id]

    Example:

    1. GET [base]/Condition/afn1003621

    Implementation Notes: Fetches the diagnosis that matches the given resource reference id. DIPS condition ids must match afn followed by digits; any other value is rejected with a 400 error.

Search Parameters:

At least one of patient, patient.identifier, asserter:Practitioner, asserter:Practitioner.identifier, identifier, date-recorded, encounter or code must be supplied. A search with none of them is rejected with a 400 error naming that set.

The following search parameters SHALL be supported:

  1. SHALL support searching Condition using the _id search parameter:

    GET [base]/Condition?_id=[id]

    Example:

    1. GET [base]/Condition?_id=afn1003621

    Implementation Notes: Fetches a bundle of Condition resources matching the given logical id. The afn prefix is required - the value is matched against ^afn\d+$.

  2. SHALL support searching Condition using the identifier search parameter:

    GET [base]/Condition?identifier=[system]|[value]

    Example:

    1. GET [base]/Condition?identifier=http://dips.no/fhir/namingsystem/dips-diagnosisid 1003621

    Implementation Notes: Fetches a bundle of diagnoses matching the system-qualified identifier ([how to search by token]). The DIPS diagnosis id system is http://dips.no/fhir/namingsystem/dips-diagnosisid. Any other system is matched against the external identifiers a condition was created with.

  3. SHALL support searching Condition using the patient search parameter:

    GET [base]/Condition?patient=[id]

    Example:

    1. GET [base]/Condition?patient=cdp2009672

    Implementation Notes: Fetches a bundle of all diagnoses for the patient referenced by the given logical id ([how to search by reference]).

  4. SHALL support searching Condition using the patient.identifier search parameter, where the value is the patient identifier qualified with its system:

    GET [base]/Condition?patient.identifier=[system]|[value]

    Example:

    1. GET [base]/Condition?patient.identifier=urn:oid:2.16.578.1.12.4.1.4.1 15076500565

    Implementation Notes: Fetches a bundle of all diagnoses for the patient with the given system-qualified identifier ([how to search by token]). Accepted systems are the national identity number (urn:oid:2.16.578.1.12.4.1.4.1), the D-number (urn:oid:2.16.578.1.12.4.1.4.2) and the temporary identity number, "Hjelpenummer" (urn:oid:2.16.578.1.12.4.1.4.3). A bare value with no system is accepted and treated as a national identity number. Note the parameter is declared as patient.Identifier in the CapabilityStatement, but the lookup is case-insensitive, so either spelling works.

  5. SHALL support searching Condition using the encounter search parameter:

    GET [base]/Condition?encounter=[id]

    Example:

    1. GET [base]/Condition?encounter=agy1002907

    Implementation Notes: Fetches a bundle of all diagnoses recorded on the given encounter ([how to search by reference]). Two id forms are accepted: an episode-of-care id matching ^agy\d+$, or a planned-contact id matching ^ahi\d+$. Any other value is rejected.

  6. SHALL support searching Condition using the encounter.identifier search parameter:

    GET [base]/Condition?encounter.identifier=[system]|[value]

    Example:

    1. GET [base]/Condition?encounter.identifier=http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid 1002907

    Implementation Notes: Fetches a bundle of all diagnoses on the given episode of care ([how to search by token]). The only accepted system is http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid; any other system is rejected with a 400 error.

  7. SHALL support searching Condition using the asserter:Practitioner search parameter:

    GET [base]/Condition?asserter:Practitioner=[id]

    Example:

    1. GET [base]/Condition?asserter:Practitioner=1000203

    Implementation Notes: Fetches a bundle of all diagnoses asserted by the practitioner referenced by the given logical id ([how to search by reference]).

  8. SHALL support searching Condition using the asserter:Practitioner.identifier search parameter:

    GET [base]/Condition?asserter:Practitioner.identifier=[system]|[value]

    Example:

    1. GET [base]/Condition?asserter:Practitioner.identifier=urn:oid:1.3.6.1.4.1.9038.51 LEG

    Implementation Notes: Fetches a bundle of all diagnoses asserted by the practitioner with the given system-qualified identifier ([how to search by token]). Accepted systems are the DIPS practitioner code (urn:oid:1.3.6.1.4.1.9038.51), the HPR number (urn:oid:2.16.578.1.12.4.1.4.4) and the HER-id (urn:oid:2.16.578.1.12.4.1.2). Note that the HER-id is accepted on search but has no corresponding identifier slice on the asserter reference profile.

  9. SHALL support searching Condition using the code search parameter:

    GET [base]/Condition?code=[system]|[value]

    Example:

    1. GET [base]/Condition?code=urn:oid:2.16.578.1.12.4.1.1.7110 S72.0

    Implementation Notes: Fetches a bundle of all diagnoses carrying the given diagnosis code ([how to search by token]). Accepted systems are the Volven ICD-10 OID (urn:oid:2.16.578.1.12.4.1.1.7110) and http://hl7.org/fhir/sid/icd-10. A bare numeric value with no system is interpreted as an internal DIPS code id; any other bare value is treated as an ICD-10 code. Despite being declared as type reference in the CapabilityStatement, this parameter is parsed as a token.

  10. SHALL support searching Condition using the date-recorded search parameter:

    GET [base]/Condition?date-recorded=[prefix][date]

    Example:

    1. GET [base]/Condition?date-recorded=ge2021-09-01&date-recorded=le2021-09-30

    Implementation Notes: Fetches a bundle of all diagnoses whose recordedDate falls in the given interval ([how to search by date]). The supplied prefixes are resolved into a single interval whose lower bound is applied as "greater than or equal" and whose upper bound is applied as "less than or equal", so both ends are inclusive regardless of which prefix produced them.

Create Operation:

  1. SHALL support registering a Condition on a patient:

    POST [base]/Condition

    Example:

    1. POST [base]/Condition

    Implementation Notes: The body is a Condition conforming to this profile. The ATC code extension is read back on create from the same URL it is written to on read (http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code), but the create path expects the value as a code rather than the Coding a read returns - echoing a previously-read Condition back unchanged will therefore fail. This is a known defect in the Condition module, not an intended difference.

Delete Operation:

  1. SHALL support deleting a Condition by resource id:

    DELETE [base]/Condition/[id]

    Example:

    1. DELETE [base]/Condition/afn1003621
  2. SHALL support conditionally deleting a single Condition by search criteria:

    DELETE [base]/Condition?[parameters]

    Example:

    1. DELETE [base]/Condition?subject=cdp2009672

    Implementation Notes: The CapabilityStatement declares conditionalDelete as single. Note that the conditional-delete path reads subject and subject.identifier, not the patient and patient.identifier parameters used by search.