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
| Official URL: http://dips.no/fhir/R4/StructureDefinition/DIPSR4Condition | Version: 0.1.0 | |||
| Draft as of 2026-09-29 | 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:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: con-3, con-4, con-5 |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code]] | Extension URL: http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 1..* | Identifier | External Ids for this condition Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
Σ | 1..1 | Identifier | External Ids for this condition |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | External Ids for this condition |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
?!ΣC | 1..1 | CodeableConcept | unconfirmed | provisional | differential | confirmed | refuted | entered-in-error Binding: ConditionVerificationStatus (required) |
![]() ![]() |
1..1 | CodeableConcept | problem-list-item | encounter-diagnosis Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. | |
![]() ![]() ![]() |
Σ | 2..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/condition-category |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: diagnosis |
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.no/fhir/condition-sub-category |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/sid/icd-10 |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system Required Pattern: ICD-10 |
![]() ![]() |
Σ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis. |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110 |
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Diagnosekode ICD-10 |
![]() ![]() |
Σ | 1..1 | Reference(DIPS Condition Subject Reference) | Who has the condition? |
![]() ![]() ![]() |
ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() |
Σ | 0..1 | Reference(DIPS Condition Encounter Reference) | Encounter created as part of |
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid |
![]() ![]() |
Σ | 0..1 | Reference(DIPS Condition Asserter Reference (PractitionerRole)) | Person who asserts this condition |
Documentation for this format | ||||
| 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. |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Condition | Detailed information about conditions, problems or diagnoses | |
![]() ![]() |
0..0 | Metadata about the resource | ||
![]() ![]() |
0..0 | A set of rules under which this content was created | ||
![]() ![]() |
0..0 | Language of the resource content | ||
![]() ![]() |
0..0 | Contained, inline Resources | ||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code]] | Extension URL: http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code | |
![]() ![]() |
1..* | Identifier | External Ids for this condition Slice: Unordered, Open by value:system | |
![]() ![]() ![]() |
1..1 | Identifier | External Ids for this condition | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..0 | usual | official | temp | secondary | old (If known) | ||
![]() ![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() ![]() |
0..1 | Identifier | External Ids for this condition | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..0 | usual | official | temp | secondary | old (If known) | ||
![]() ![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() |
0..0 | active | recurrence | relapse | inactive | remission | resolved Binding: ConditionClinicalStatusCodes (required) | ||
![]() ![]() |
1..1 | CodeableConcept | unconfirmed | provisional | differential | confirmed | refuted | entered-in-error Binding: ConditionVerificationStatus (required) | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-ver-status | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() ![]() |
0..0 | Representation defined by the system | ||
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() |
1..1 | CodeableConcept | problem-list-item | encounter-diagnosis | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
2..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/condition-category | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Symbol in syntax defined by the system Fixed Value: diagnosis | |
![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.no/fhir/condition-sub-category | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() |
0..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/sid/icd-10 | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Required Pattern: ICD-10 | |
![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() |
0..0 | Subjective severity of condition | ||
![]() ![]() |
1..1 | CodeableConcept | Identification of the condition, problem or diagnosis | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110 | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
1..1 | code | Diagnosekode ICD-10 | |
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() |
0..0 | Anatomical location, if relevant | ||
![]() ![]() |
1..1 | Reference(DIPS Condition Subject Reference) | Who has the condition? | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
1..1 | string | Literal reference, Relative, internal or absolute URL | |
![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() |
1..1 | Identifier | Logical reference, when literal reference is not known | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..0 | usual | official | temp | secondary | old (If known) | ||
![]() ![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() |
0..1 | Reference(DIPS Condition Encounter Reference) | Encounter created as part of | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() |
1..1 | Identifier | Logical reference, when literal reference is not known | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..0 | usual | official | temp | secondary | old (If known) | ||
![]() ![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() ![]() |
0..1 | uri | The namespace for the identifier value Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid | |
![]() ![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() |
0..0 | Estimated or actual date, date-time, or age | ||
![]() ![]() |
0..0 | When in resolution/remission | ||
![]() ![]() |
0..0 | Who recorded the condition | ||
![]() ![]() |
0..1 | Reference(DIPS Condition Asserter Reference (PractitionerRole)) | Person who asserts this condition | |
![]() ![]() |
0..0 | Stage/grade, usually assessed formally | ||
![]() ![]() |
0..0 | Supporting evidence | ||
![]() ![]() |
||||
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
0..0 | Individual responsible for the annotation | ||
![]() ![]() ![]() |
0..0 | When the annotation was made | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.verificationStatus | Base | required | ConditionVerificationStatus | 📦4.0.1 | FHIR Std. |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: con-3, con-4, con-5 |
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() |
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 | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code]] | Extension URL: http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 1..* | Identifier | External Ids for this condition Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
Σ | 1..1 | Identifier | External Ids for this condition |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | External Ids for this condition |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
?!ΣC | 1..1 | CodeableConcept | unconfirmed | provisional | differential | confirmed | refuted | entered-in-error Binding: ConditionVerificationStatus (required) |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-ver-status |
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept |
![]() ![]() |
1..1 | CodeableConcept | problem-list-item | encounter-diagnosis Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 2..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user |
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/condition-category |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: diagnosis |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system |
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.no/fhir/condition-sub-category |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/sid/icd-10 |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system Required Pattern: ICD-10 |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system |
![]() ![]() |
Σ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis. |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110 |
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Diagnosekode ICD-10 |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system |
![]() ![]() |
Σ | 1..1 | Reference(DIPS Condition Subject Reference) | Who has the condition? |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource |
![]() ![]() |
Σ | 0..1 | Reference(DIPS Condition Encounter Reference) | Encounter created as part of |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource |
![]() ![]() |
Σ | 0..1 | dateTime | Date record was first recorded |
![]() ![]() |
Σ | 0..1 | Reference(DIPS Condition Asserter Reference (PractitionerRole)) | Person who asserts this condition |
![]() ![]() |
0..* | Annotation | Additional information about the Condition | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation - text content (as markdown) |
Documentation for this format | ||||
| 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. |
| 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:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: con-3, con-4, con-5 |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code]] | Extension URL: http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 1..* | Identifier | External Ids for this condition Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
Σ | 1..1 | Identifier | External Ids for this condition |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | External Ids for this condition |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
?!ΣC | 1..1 | CodeableConcept | unconfirmed | provisional | differential | confirmed | refuted | entered-in-error Binding: ConditionVerificationStatus (required) |
![]() ![]() |
1..1 | CodeableConcept | problem-list-item | encounter-diagnosis Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. | |
![]() ![]() ![]() |
Σ | 2..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/condition-category |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: diagnosis |
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.no/fhir/condition-sub-category |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/sid/icd-10 |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system Required Pattern: ICD-10 |
![]() ![]() |
Σ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis. |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110 |
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Diagnosekode ICD-10 |
![]() ![]() |
Σ | 1..1 | Reference(DIPS Condition Subject Reference) | Who has the condition? |
![]() ![]() ![]() |
ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() |
Σ | 0..1 | Reference(DIPS Condition Encounter Reference) | Encounter created as part of |
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid |
![]() ![]() |
Σ | 0..1 | Reference(DIPS Condition Asserter Reference (PractitionerRole)) | Person who asserts this condition |
Documentation for this format | ||||
| 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. |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Condition | Detailed information about conditions, problems or diagnoses | |
![]() ![]() |
0..0 | Metadata about the resource | ||
![]() ![]() |
0..0 | A set of rules under which this content was created | ||
![]() ![]() |
0..0 | Language of the resource content | ||
![]() ![]() |
0..0 | Contained, inline Resources | ||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code]] | Extension URL: http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code | |
![]() ![]() |
1..* | Identifier | External Ids for this condition Slice: Unordered, Open by value:system | |
![]() ![]() ![]() |
1..1 | Identifier | External Ids for this condition | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..0 | usual | official | temp | secondary | old (If known) | ||
![]() ![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() ![]() |
0..1 | Identifier | External Ids for this condition | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..0 | usual | official | temp | secondary | old (If known) | ||
![]() ![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() |
0..0 | active | recurrence | relapse | inactive | remission | resolved Binding: ConditionClinicalStatusCodes (required) | ||
![]() ![]() |
1..1 | CodeableConcept | unconfirmed | provisional | differential | confirmed | refuted | entered-in-error Binding: ConditionVerificationStatus (required) | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-ver-status | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() ![]() |
0..0 | Representation defined by the system | ||
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() |
1..1 | CodeableConcept | problem-list-item | encounter-diagnosis | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
2..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/condition-category | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Symbol in syntax defined by the system Fixed Value: diagnosis | |
![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.no/fhir/condition-sub-category | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() |
0..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/sid/icd-10 | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Required Pattern: ICD-10 | |
![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() |
0..0 | Subjective severity of condition | ||
![]() ![]() |
1..1 | CodeableConcept | Identification of the condition, problem or diagnosis | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110 | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
1..1 | code | Diagnosekode ICD-10 | |
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() |
0..0 | Anatomical location, if relevant | ||
![]() ![]() |
1..1 | Reference(DIPS Condition Subject Reference) | Who has the condition? | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
1..1 | string | Literal reference, Relative, internal or absolute URL | |
![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() |
1..1 | Identifier | Logical reference, when literal reference is not known | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..0 | usual | official | temp | secondary | old (If known) | ||
![]() ![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() |
0..1 | Reference(DIPS Condition Encounter Reference) | Encounter created as part of | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() |
1..1 | Identifier | Logical reference, when literal reference is not known | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..0 | usual | official | temp | secondary | old (If known) | ||
![]() ![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() ![]() |
0..1 | uri | The namespace for the identifier value Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid | |
![]() ![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() |
0..0 | Estimated or actual date, date-time, or age | ||
![]() ![]() |
0..0 | When in resolution/remission | ||
![]() ![]() |
0..0 | Who recorded the condition | ||
![]() ![]() |
0..1 | Reference(DIPS Condition Asserter Reference (PractitionerRole)) | Person who asserts this condition | |
![]() ![]() |
0..0 | Stage/grade, usually assessed formally | ||
![]() ![]() |
0..0 | Supporting evidence | ||
![]() ![]() |
||||
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
0..0 | Individual responsible for the annotation | ||
![]() ![]() ![]() |
0..0 | When the annotation was made | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.verificationStatus | Base | required | ConditionVerificationStatus | 📦4.0.1 | FHIR Std. |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: con-3, con-4, con-5 |
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() |
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 | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code]] | Extension URL: http://hl7.no/Fhir/Profile/Diagnosis#ATC-Code | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 1..* | Identifier | External Ids for this condition Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
Σ | 1..1 | Identifier | External Ids for this condition |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | External Ids for this condition |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
?!ΣC | 1..1 | CodeableConcept | unconfirmed | provisional | differential | confirmed | refuted | entered-in-error Binding: ConditionVerificationStatus (required) |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-ver-status |
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept |
![]() ![]() |
1..1 | CodeableConcept | problem-list-item | encounter-diagnosis Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 2..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user |
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/condition-category |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: diagnosis |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system |
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.no/fhir/condition-sub-category |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/sid/icd-10 |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system Required Pattern: ICD-10 |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system |
![]() ![]() |
Σ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis. |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110 |
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Diagnosekode ICD-10 |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system |
![]() ![]() |
Σ | 1..1 | Reference(DIPS Condition Subject Reference) | Who has the condition? |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource |
![]() ![]() |
Σ | 0..1 | Reference(DIPS Condition Encounter Reference) | Encounter created as part of |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource |
![]() ![]() |
Σ | 0..1 | dateTime | Date record was first recorded |
![]() ![]() |
Σ | 0..1 | Reference(DIPS Condition Asserter Reference (PractitionerRole)) | Person who asserts this condition |
![]() ![]() |
0..* | Annotation | Additional information about the Condition | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation - text content (as markdown) |
Documentation for this format | ||||
| 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. |
| 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:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron
Read Operation:
SHALL support reading Condition using its resource id:
GET [base]/Condition/[id]
Example:
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:
SHALL support searching Condition using the _id search parameter:
GET [base]/Condition?_id=[id]
Example:
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+$.
SHALL support searching Condition using the identifier search parameter:
GET [base]/Condition?identifier=[system]|[value]
Example:
| 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.
SHALL support searching Condition using the patient search parameter:
GET [base]/Condition?patient=[id]
Example:
Implementation Notes: Fetches a bundle of all diagnoses for the patient referenced by the given logical id ([how to search by reference]).
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:
| 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.
SHALL support searching Condition using the encounter search parameter:
GET [base]/Condition?encounter=[id]
Example:
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.
SHALL support searching Condition using the encounter.identifier search parameter:
GET [base]/Condition?encounter.identifier=[system]|[value]
Example:
| 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.
SHALL support searching Condition using the asserter:Practitioner search parameter:
GET [base]/Condition?asserter:Practitioner=[id]
Example:
Implementation Notes: Fetches a bundle of all diagnoses asserted by the practitioner referenced by the given logical id ([how to search by reference]).
SHALL support searching Condition using the asserter:Practitioner.identifier search parameter:
GET [base]/Condition?asserter:Practitioner.identifier=[system]|[value]
Example:
| 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.
SHALL support searching Condition using the code search parameter:
GET [base]/Condition?code=[system]|[value]
Example:
| 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.
SHALL support searching Condition using the date-recorded search parameter:
GET [base]/Condition?date-recorded=[prefix][date]
Example:
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:
SHALL support registering a Condition on a patient:
POST [base]/Condition
Example:
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:
SHALL support deleting a Condition by resource id:
DELETE [base]/Condition/[id]
Example:
SHALL support conditionally deleting a single Condition by search criteria:
DELETE [base]/Condition?[parameters]
Example:
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.