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-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:

  • 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: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier Σ 1..* Identifier External Ids for this condition
Slice: Unordered, Open by value:system
.... identifier:Diagnosis_id Σ 1..1 Identifier External Ids for this condition
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... identifier:External_Identifier Σ 0..1 Identifier External Ids for this condition
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
... category 1..1 CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
.... Slices for coding Σ 2..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:All Slices Content/Rules for all slices
..... coding:Diagnosis Σ 1..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/condition-category
...... code Σ 0..1 code Symbol in syntax defined by the system
Fixed Value: diagnosis
..... coding:Diagnosis_SubType Σ 1..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.no/fhir/condition-sub-category
...... code Σ 1..1 code Symbol in syntax defined by the system
..... coding:Diagnosis_Coding_System Σ 0..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10
...... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: ICD-10
... code Σ 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis.
.... coding Σ 1..1 Coding Code defined by a terminology system
..... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110
..... code Σ 1..1 code Diagnosekode ICD-10
... subject Σ 1..1 Reference(DIPS Condition Subject Reference) Who has the condition?
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
... encounter Σ 0..1 Reference(DIPS Condition Encounter Reference) Encounter created as part of
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... system Σ 0..1 uri The namespace for the identifier value
Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid
... asserter Σ 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: Filtersdoco
.. Condition 0..* Condition Detailed information about conditions, problems or diagnoses
... meta 0..0 Metadata about the resource
... implicitRules 0..0 A set of rules under which this content was created
... language 0..0 Language of the resource content
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... 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
... Slices for identifier 1..* Identifier External Ids for this condition
Slice: Unordered, Open by value:system
.... identifier:Diagnosis_id 1..1 Identifier External Ids for this condition
..... id 0..0 Unique id for inter-element referencing
..... use 0..0 usual | official | temp | secondary | old (If known)
..... type 0..0 Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid
..... value 1..1 string The value that is unique
..... period 0..0 Time period when id is/was valid for use
..... assigner 0..0 Organization that issued id (may be just text)
.... identifier:External_Identifier 0..1 Identifier External Ids for this condition
..... id 0..0 Unique id for inter-element referencing
..... use 0..0 usual | official | temp | secondary | old (If known)
..... type 0..0 Description of identifier
..... system 1..1 uri The namespace for the identifier value
..... value 1..1 string The value that is unique
..... period 0..0 Time period when id is/was valid for use
..... assigner 0..0 Organization that issued id (may be just text)
... clinicalStatus 0..0 active | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required)
... verificationStatus 1..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required)
.... id 0..0 Unique id for inter-element referencing
.... coding
..... id 0..0 Unique id for inter-element referencing
..... system 0..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-ver-status
..... version 0..0 Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
..... display 0..0 Representation defined by the system
..... userSelected 0..0 If this coding was chosen directly by the user
... category 1..1 CodeableConcept problem-list-item | encounter-diagnosis
.... id 0..0 Unique id for inter-element referencing
.... Slices for coding 2..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:All Slices Content/Rules for all slices
...... id 0..0 Unique id for inter-element referencing
..... coding:Diagnosis 1..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/condition-category
...... version 0..0 Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
Fixed Value: diagnosis
...... userSelected 0..0 If this coding was chosen directly by the user
..... coding:Diagnosis_SubType 1..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.no/fhir/condition-sub-category
...... version 0..0 Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
...... userSelected 0..0 If this coding was chosen directly by the user
..... coding:Diagnosis_Coding_System 0..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10
...... version 0..0 Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Required Pattern: ICD-10
...... userSelected 0..0 If this coding was chosen directly by the user
.... text 0..0 Plain text representation of the concept
... severity 0..0 Subjective severity of condition
... code 1..1 CodeableConcept Identification of the condition, problem or diagnosis
.... id 0..0 Unique id for inter-element referencing
.... coding 1..1 Coding Code defined by a terminology system
..... id 0..0 Unique id for inter-element referencing
..... system 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110
..... version 0..0 Version of the system - if relevant
..... code 1..1 code Diagnosekode ICD-10
..... userSelected 0..0 If this coding was chosen directly by the user
.... text 0..0 Plain text representation of the concept
... bodySite 0..0 Anatomical location, if relevant
... subject 1..1 Reference(DIPS Condition Subject Reference) Who has the condition?
.... id 0..0 Unique id for inter-element referencing
.... reference 1..1 string Literal reference, Relative, internal or absolute URL
.... type 0..0 Type the reference refers to (e.g. "Patient")
.... identifier 1..1 Identifier Logical reference, when literal reference is not known
..... id 0..0 Unique id for inter-element referencing
..... use 0..0 usual | official | temp | secondary | old (If known)
..... type 0..0 Description of identifier
..... system 1..1 uri The namespace for the identifier value
..... period 0..0 Time period when id is/was valid for use
..... assigner 0..0 Organization that issued id (may be just text)
... encounter 0..1 Reference(DIPS Condition Encounter Reference) Encounter created as part of
.... id 0..0 Unique id for inter-element referencing
.... type 0..0 Type the reference refers to (e.g. "Patient")
.... identifier 1..1 Identifier Logical reference, when literal reference is not known
..... id 0..0 Unique id for inter-element referencing
..... use 0..0 usual | official | temp | secondary | old (If known)
..... type 0..0 Description of identifier
..... system 0..1 uri The namespace for the identifier value
Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid
..... period 0..0 Time period when id is/was valid for use
..... assigner 0..0 Organization that issued id (may be just text)
... onset[x] 0..0 Estimated or actual date, date-time, or age
... abatement[x] 0..0 When in resolution/remission
... recorder 0..0 Who recorded the condition
... asserter 0..1 Reference(DIPS Condition Asserter Reference (PractitionerRole)) Person who asserts this condition
... stage 0..0 Stage/grade, usually assessed formally
... evidence 0..0 Supporting evidence
... note
.... id 0..0 Unique id for inter-element referencing
.... author[x] 0..0 Individual responsible for the annotation
.... 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: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
... id Σ 0..1 id Logical id of this artifact
... 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
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... 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
... Slices for identifier Σ 1..* Identifier External Ids for this condition
Slice: Unordered, Open by value:system
.... identifier:Diagnosis_id Σ 1..1 Identifier External Ids for this condition
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... identifier:External_Identifier Σ 0..1 Identifier External Ids for this condition
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
... verificationStatus ?!ΣC 1..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required)
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-ver-status
..... code Σ 1..1 code Symbol in syntax defined by the system
.... text Σ 0..1 string Plain text representation of the concept
... category 1..1 CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ 2..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:All Slices Content/Rules for all slices
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri Identity of the terminology system
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:Diagnosis Σ 1..1 Coding Code defined by a terminology system
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/condition-category
...... code Σ 0..1 code Symbol in syntax defined by the system
Fixed Value: diagnosis
...... display Σ 0..1 string Representation defined by the system
..... coding:Diagnosis_SubType Σ 1..1 Coding Code defined by a terminology system
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.no/fhir/condition-sub-category
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
..... coding:Diagnosis_Coding_System Σ 0..1 Coding Code defined by a terminology system
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10
...... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: ICD-10
...... display Σ 0..1 string Representation defined by the system
... code Σ 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis.
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 1..1 Coding Code defined by a terminology system
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110
..... code Σ 1..1 code Diagnosekode ICD-10
..... display Σ 0..1 string Representation defined by the system
... subject Σ 1..1 Reference(DIPS Condition Subject Reference) Who has the condition?
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 0..1 string The value that is unique
Example General: 123456
.... display Σ 0..1 string Text alternative for the resource
... encounter Σ 0..1 Reference(DIPS Condition Encounter Reference) Encounter created as part of
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri The namespace for the identifier value
Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid
..... value Σ 0..1 string The value that is unique
Example General: 123456
.... display Σ 0..1 string Text alternative for the resource
... recordedDate Σ 0..1 dateTime Date record was first recorded
... asserter Σ 0..1 Reference(DIPS Condition Asserter Reference (PractitionerRole)) Person who asserts this condition
... note 0..* Annotation Additional information about the Condition
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... text Σ 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: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier Σ 1..* Identifier External Ids for this condition
Slice: Unordered, Open by value:system
.... identifier:Diagnosis_id Σ 1..1 Identifier External Ids for this condition
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... identifier:External_Identifier Σ 0..1 Identifier External Ids for this condition
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
... category 1..1 CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
.... Slices for coding Σ 2..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:All Slices Content/Rules for all slices
..... coding:Diagnosis Σ 1..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/condition-category
...... code Σ 0..1 code Symbol in syntax defined by the system
Fixed Value: diagnosis
..... coding:Diagnosis_SubType Σ 1..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.no/fhir/condition-sub-category
...... code Σ 1..1 code Symbol in syntax defined by the system
..... coding:Diagnosis_Coding_System Σ 0..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10
...... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: ICD-10
... code Σ 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis.
.... coding Σ 1..1 Coding Code defined by a terminology system
..... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110
..... code Σ 1..1 code Diagnosekode ICD-10
... subject Σ 1..1 Reference(DIPS Condition Subject Reference) Who has the condition?
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
... encounter Σ 0..1 Reference(DIPS Condition Encounter Reference) Encounter created as part of
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... system Σ 0..1 uri The namespace for the identifier value
Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid
... asserter Σ 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: Filtersdoco
.. Condition 0..* Condition Detailed information about conditions, problems or diagnoses
... meta 0..0 Metadata about the resource
... implicitRules 0..0 A set of rules under which this content was created
... language 0..0 Language of the resource content
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... 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
... Slices for identifier 1..* Identifier External Ids for this condition
Slice: Unordered, Open by value:system
.... identifier:Diagnosis_id 1..1 Identifier External Ids for this condition
..... id 0..0 Unique id for inter-element referencing
..... use 0..0 usual | official | temp | secondary | old (If known)
..... type 0..0 Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid
..... value 1..1 string The value that is unique
..... period 0..0 Time period when id is/was valid for use
..... assigner 0..0 Organization that issued id (may be just text)
.... identifier:External_Identifier 0..1 Identifier External Ids for this condition
..... id 0..0 Unique id for inter-element referencing
..... use 0..0 usual | official | temp | secondary | old (If known)
..... type 0..0 Description of identifier
..... system 1..1 uri The namespace for the identifier value
..... value 1..1 string The value that is unique
..... period 0..0 Time period when id is/was valid for use
..... assigner 0..0 Organization that issued id (may be just text)
... clinicalStatus 0..0 active | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required)
... verificationStatus 1..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required)
.... id 0..0 Unique id for inter-element referencing
.... coding
..... id 0..0 Unique id for inter-element referencing
..... system 0..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-ver-status
..... version 0..0 Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
..... display 0..0 Representation defined by the system
..... userSelected 0..0 If this coding was chosen directly by the user
... category 1..1 CodeableConcept problem-list-item | encounter-diagnosis
.... id 0..0 Unique id for inter-element referencing
.... Slices for coding 2..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:All Slices Content/Rules for all slices
...... id 0..0 Unique id for inter-element referencing
..... coding:Diagnosis 1..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/condition-category
...... version 0..0 Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
Fixed Value: diagnosis
...... userSelected 0..0 If this coding was chosen directly by the user
..... coding:Diagnosis_SubType 1..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.no/fhir/condition-sub-category
...... version 0..0 Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
...... userSelected 0..0 If this coding was chosen directly by the user
..... coding:Diagnosis_Coding_System 0..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10
...... version 0..0 Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Required Pattern: ICD-10
...... userSelected 0..0 If this coding was chosen directly by the user
.... text 0..0 Plain text representation of the concept
... severity 0..0 Subjective severity of condition
... code 1..1 CodeableConcept Identification of the condition, problem or diagnosis
.... id 0..0 Unique id for inter-element referencing
.... coding 1..1 Coding Code defined by a terminology system
..... id 0..0 Unique id for inter-element referencing
..... system 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110
..... version 0..0 Version of the system - if relevant
..... code 1..1 code Diagnosekode ICD-10
..... userSelected 0..0 If this coding was chosen directly by the user
.... text 0..0 Plain text representation of the concept
... bodySite 0..0 Anatomical location, if relevant
... subject 1..1 Reference(DIPS Condition Subject Reference) Who has the condition?
.... id 0..0 Unique id for inter-element referencing
.... reference 1..1 string Literal reference, Relative, internal or absolute URL
.... type 0..0 Type the reference refers to (e.g. "Patient")
.... identifier 1..1 Identifier Logical reference, when literal reference is not known
..... id 0..0 Unique id for inter-element referencing
..... use 0..0 usual | official | temp | secondary | old (If known)
..... type 0..0 Description of identifier
..... system 1..1 uri The namespace for the identifier value
..... period 0..0 Time period when id is/was valid for use
..... assigner 0..0 Organization that issued id (may be just text)
... encounter 0..1 Reference(DIPS Condition Encounter Reference) Encounter created as part of
.... id 0..0 Unique id for inter-element referencing
.... type 0..0 Type the reference refers to (e.g. "Patient")
.... identifier 1..1 Identifier Logical reference, when literal reference is not known
..... id 0..0 Unique id for inter-element referencing
..... use 0..0 usual | official | temp | secondary | old (If known)
..... type 0..0 Description of identifier
..... system 0..1 uri The namespace for the identifier value
Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid
..... period 0..0 Time period when id is/was valid for use
..... assigner 0..0 Organization that issued id (may be just text)
... onset[x] 0..0 Estimated or actual date, date-time, or age
... abatement[x] 0..0 When in resolution/remission
... recorder 0..0 Who recorded the condition
... asserter 0..1 Reference(DIPS Condition Asserter Reference (PractitionerRole)) Person who asserts this condition
... stage 0..0 Stage/grade, usually assessed formally
... evidence 0..0 Supporting evidence
... note
.... id 0..0 Unique id for inter-element referencing
.... author[x] 0..0 Individual responsible for the annotation
.... 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: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
... id Σ 0..1 id Logical id of this artifact
... 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
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... 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
... Slices for identifier Σ 1..* Identifier External Ids for this condition
Slice: Unordered, Open by value:system
.... identifier:Diagnosis_id Σ 1..1 Identifier External Ids for this condition
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-diagnosisid
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... identifier:External_Identifier Σ 0..1 Identifier External Ids for this condition
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
... verificationStatus ?!ΣC 1..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required)
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-ver-status
..... code Σ 1..1 code Symbol in syntax defined by the system
.... text Σ 0..1 string Plain text representation of the concept
... category 1..1 CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ 2..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:All Slices Content/Rules for all slices
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri Identity of the terminology system
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:Diagnosis Σ 1..1 Coding Code defined by a terminology system
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/condition-category
...... code Σ 0..1 code Symbol in syntax defined by the system
Fixed Value: diagnosis
...... display Σ 0..1 string Representation defined by the system
..... coding:Diagnosis_SubType Σ 1..1 Coding Code defined by a terminology system
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.no/fhir/condition-sub-category
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
..... coding:Diagnosis_Coding_System Σ 0..1 Coding Code defined by a terminology system
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/sid/icd-10
...... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: ICD-10
...... display Σ 0..1 string Representation defined by the system
... code Σ 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis.
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 1..1 Coding Code defined by a terminology system
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7110
..... code Σ 1..1 code Diagnosekode ICD-10
..... display Σ 0..1 string Representation defined by the system
... subject Σ 1..1 Reference(DIPS Condition Subject Reference) Who has the condition?
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 0..1 string The value that is unique
Example General: 123456
.... display Σ 0..1 string Text alternative for the resource
... encounter Σ 0..1 Reference(DIPS Condition Encounter Reference) Encounter created as part of
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri The namespace for the identifier value
Required Pattern: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid
..... value Σ 0..1 string The value that is unique
Example General: 123456
.... display Σ 0..1 string Text alternative for the resource
... recordedDate Σ 0..1 dateTime Date record was first recorded
... asserter Σ 0..1 Reference(DIPS Condition Asserter Reference (PractitionerRole)) Person who asserts this condition
... note 0..* Annotation Additional information about the Condition
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... text Σ 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.