FHIR Implementatiegids voor de Nederlandse Kankerregistratie
1.2.2 - release

FHIR Implementatiegids voor de Nederlandse Kankerregistratie - Local Development build (v1.2.2) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: NcrEhrCondition

Official URL: http://fhir.iknl.nl/fhir/iknl-ncr-ehr-r4/StructureDefinition/ncr-ehr-condition Version: 1.2.2
Draft as of 2025-02-10 Computable Name: NcrEhrCondition

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* NlcoreProblem Problem
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: 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
dom-6: A resource should have narrative for robust management
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission
con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... clinicalStatus ?!SΣC 1..1 CodeableConcept ProblemStatus
Binding: ConditionClinicalStatusCodes (required): Use ConceptMap ProbleemStatusCodelijst_to_ConditionClinicalStatusCodes to translate terminology from the functional model to profile terminology in ValueSet ConditionClinicalStatusCodes.


ele-1: All FHIR elements must have a @value or children
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: active
.... Slices for coding ΣN 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:$this
ele-1: All FHIR elements must have a @value or children
..... coding:verificationStatusCodelist ΣN 1..1 Coding Code defined by a terminology system
Binding: VerificatieStatusCodelijst (required): In addition to a coding from this ValueSet, the corresponding coding from the FHIR base ValueSet SHALL be communicated. The ConceptMap http://nictiz.nl/fhir/ConceptMap/VerificatieStatusCodelijst-to-ConditionVerificationStatus can be used to relate these two ValueSets.


ele-1: All FHIR elements must have a @value or children
... Slices for category 1..* CodeableConcept problem-list-item | encounter-diagnosis
Slice: Unordered, Open by value:$this
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.


ele-1: All FHIR elements must have a @value or children
.... category:problemType N 0..1 CodeableConcept ProblemType
Binding: ProbleemTypeCodelijst (required): A category assigned to the condition.


ele-1: All FHIR elements must have a @value or children
.... category:ncr-ehr-category S 1..1 CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (required)
ele-1: All FHIR elements must have a @value or children
... code SΣ 1..1 CodeableConcept ProblemName
Binding: ProbleemNaamCodelijst (required): Identification of the condition or diagnosis.


ele-1: All FHIR elements must have a @value or children
.... Slices for extension Content/Rules for all slices
..... furtherSpecificationProblemName N 0..1 string Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-Problem.FurtherSpecificationProblemName
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... Slices for coding Σ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
ele-1: All FHIR elements must have a @value or children
..... coding:icd10coding Σ 1..1 Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://hl7.org/fhir/sid/icd-10-nl
...... code Σ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
... bodySite Σ 0..1 NlcoreAnatomicalLocation Location
Binding: LocatieCodelijsten (required): Codes describing anatomical locations. May include laterality.


ele-1: All FHIR elements must have a @value or children
.... Slices for extension Content/Rules for all slices
..... laterality S 0..1 CodeableConcept Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-AnatomicalLocation.Laterality
Binding: LateraliteitCodelijst (required)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... subject SΣC 1..1 Reference(NcrEhrPatient) Who has the condition?
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
... Slices for onset[x] ΣN 0..1 Estimated or actual date, date-time, or age
Slice: Unordered, Open by type:$this
ele-1: All FHIR elements must have a @value or children
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
.... onset[x]:onsetDateTime ΣN 0..1 dateTime ProblemStartDate
ele-1: All FHIR elements must have a @value or children
... Slices for abatement[x] CN 0..1 When in resolution/remission
Slice: Unordered, Open by type:$this
ele-1: All FHIR elements must have a @value or children
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
.... abatement[x]:abatementDateTime CN 0..1 dateTime ProblemEndDate
ele-1: All FHIR elements must have a @value or children
... recordedDate SΣ 1..1 dateTime Date record was first recorded
ele-1: All FHIR elements must have a @value or children
... note 0..1 Annotation Additional information about the Condition
ele-1: All FHIR elements must have a @value or children
.... text Σ 1..1 markdown Comment
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Condition.clinicalStatusrequiredPattern: active
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
from the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1
from the FHIR Standard
Condition.verificationStatus.coding:verificationStatusCodelistrequiredVerificatieStatusCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.5.1.4--20200901000000
Condition.categoryextensibleConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
from the FHIR Standard
Condition.category:problemTyperequiredProbleemTypeCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.5.1.1--20200901000000
Condition.category:ncr-ehr-categoryrequiredConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
from the FHIR Standard
Condition.coderequiredProbleemNaamCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.5.1.3--20200901000000
Condition.bodySiterequiredLocatieCodelijsten
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.121.11.11--20200901000000

Constraints

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

This structure is derived from NlcoreProblem

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition 0..* NlcoreProblem Problem
... clinicalStatus S 1..1 CodeableConcept ProblemStatus
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: active
... category 1..* CodeableConcept problem-list-item | encounter-diagnosis
... Slices for category Content/Rules for all slices
.... category:ncr-ehr-category S 1..1 CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (required)
.... Slices for coding 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:icd10coding 1..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-nl
...... code 1..1 code Symbol in syntax defined by the system
... bodySite
.... Slices for extension Content/Rules for all slices
..... extension:laterality S 0..1 ExtAnatomicalLocationLaterality Optional Extensions Element
... subject S 1..1 Reference(NcrEhrPatient) Who has the condition?
... recordedDate S 1..1 dateTime Date record was first recorded

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Condition.category:ncr-ehr-categoryrequiredConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
from the FHIR Standard
NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* NlcoreProblem Problem
con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission
con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... identifier Σ 0..* Identifier External Ids for this condition
... clinicalStatus ?!SΣC 1..1 CodeableConcept ProblemStatus
Binding: ConditionClinicalStatusCodes (required): Use ConceptMap ProbleemStatusCodelijst_to_ConditionClinicalStatusCodes to translate terminology from the functional model to profile terminology in ValueSet ConditionClinicalStatusCodes.


Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: active
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... verificationStatus ?!ΣC 0..1 CodeableConcept VerificationStatus
Binding: ConditionVerificationStatus (required): Use ConceptMap VerificatieStatusCodelijst_to_ConditionVerificationStatus to translate terminology from the functional model to profile terminology in ValueSet ConditionVerificationStatus.

.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding ΣN 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:$this
..... coding:verificationStatusCodelist ΣN 1..1 Coding Code defined by a terminology system
Binding: VerificatieStatusCodelijst (required): In addition to a coding from this ValueSet, the corresponding coding from the FHIR base ValueSet SHALL be communicated. The ConceptMap http://nictiz.nl/fhir/ConceptMap/VerificatieStatusCodelijst-to-ConditionVerificationStatus can be used to relate these two ValueSets.


.... text Σ 0..1 string Plain text representation of the concept
... Slices for category 1..* CodeableConcept problem-list-item | encounter-diagnosis
Slice: Unordered, Open by value:$this
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.


.... category:problemType N 0..1 CodeableConcept ProblemType
Binding: ProbleemTypeCodelijst (required): A category assigned to the condition.


.... category:ncr-ehr-category S 1..1 CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (required)
... severity 0..1 CodeableConcept Subjective severity of condition
Binding: Condition/DiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician.

... code SΣ 1..1 CodeableConcept ProblemName
Binding: ProbleemNaamCodelijst (required): Identification of the condition or diagnosis.

.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... furtherSpecificationProblemName N 0..1 string Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-Problem.FurtherSpecificationProblemName
.... Slices for coding Σ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:icd10coding Σ 1..1 Coding Code defined by a terminology system
...... id 0..1 string Unique id for inter-element referencing
...... 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-nl
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..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
.... text Σ 0..1 string Plain text representation of the concept
... bodySite Σ 0..1 NlcoreAnatomicalLocation Location
Binding: LocatieCodelijsten (required): Codes describing anatomical locations. May include laterality.


.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... laterality S 0..1 CodeableConcept Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-AnatomicalLocation.Laterality
Binding: LateraliteitCodelijst (required)
.... coding Σ 0..* Coding Code defined by a terminology system
.... text Σ 0..1 string Plain text representation of the concept
... subject SΣC 1..1 Reference(NcrEhrPatient) Who has the condition?
ref-1: SHALL have a contained resource if a local reference is provided
... encounter ΣC 0..1 Reference(Encounter) Encounter created as part of
ref-1: SHALL have a contained resource if a local reference is provided
... Slices for onset[x] ΣN 0..1 Estimated or actual date, date-time, or age
Slice: Unordered, Open by type:$this
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
.... onset[x]:onsetDateTime ΣN 0..1 dateTime ProblemStartDate
... Slices for abatement[x] CN 0..1 When in resolution/remission
Slice: Unordered, Open by type:$this
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
.... abatement[x]:abatementDateTime CN 0..1 dateTime ProblemEndDate
... recordedDate SΣ 1..1 dateTime Date record was first recorded
... recorder ΣC 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
ref-1: SHALL have a contained resource if a local reference is provided
... asserter ΣC 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Person who asserts this condition
ref-1: SHALL have a contained resource if a local reference is provided
... stage C 0..* BackboneElement Stage/grade, usually assessed formally
con-1: Stage SHALL have summary or assessment
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... summary C 0..1 CodeableConcept Simple summary (disease specific)
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).

.... assessment C 0..* Reference(ClinicalImpression | DiagnosticReport | Observation) Formal record of assessment
ref-1: SHALL have a contained resource if a local reference is provided
.... type 0..1 CodeableConcept Kind of staging
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).

... evidence C 0..* BackboneElement Supporting evidence
con-2: evidence SHALL have code or details
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code ΣC 0..* CodeableConcept Manifestation/symptom
Binding: ManifestationAndSymptomCodes (example): Codes that describe the manifestation or symptoms of a condition.


.... detail ΣC 0..* Reference(Resource) Supporting information found elsewhere
ref-1: SHALL have a contained resource if a local reference is provided
... note 0..1 Annotation Additional information about the Condition
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown Comment

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Condition.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Condition.clinicalStatusrequiredPattern: active
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
from the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1
from the FHIR Standard
Condition.verificationStatus.coding:verificationStatusCodelistrequiredVerificatieStatusCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.5.1.4--20200901000000
Condition.categoryextensibleConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
from the FHIR Standard
Condition.category:problemTyperequiredProbleemTypeCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.5.1.1--20200901000000
Condition.category:ncr-ehr-categoryrequiredConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
from the FHIR Standard
Condition.severitypreferredCondition/DiagnosisSeverity
http://hl7.org/fhir/ValueSet/condition-severity
from the FHIR Standard
Condition.coderequiredProbleemNaamCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.5.1.3--20200901000000
Condition.bodySiterequiredLocatieCodelijsten
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.121.11.11--20200901000000
Condition.stage.summaryexampleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
from the FHIR Standard
Condition.stage.typeexampleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
from the FHIR Standard
Condition.evidence.codeexampleManifestationAndSymptomCodes
http://hl7.org/fhir/ValueSet/manifestation-or-symptom
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
con-1errorCondition.stageStage SHALL have summary or assessment
: summary.exists() or assessment.exists()
con-2errorCondition.evidenceevidence SHALL have code or details
: code.exists() or detail.exists()
con-3best practiceConditionCondition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
: clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4errorConditionIf condition is abated, then clinicalStatus must be either inactive, resolved, or remission
: abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5errorConditionCondition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
: verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
dom-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorConditionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ref-1errorCondition.subject, Condition.encounter, Condition.recorder, Condition.asserter, Condition.stage.assessment, Condition.evidence.detailSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from NlcoreProblem

Summary

Mandatory: 9 elements
Must-Support: 6 elements
Fixed: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

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

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* NlcoreProblem Problem
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: 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
dom-6: A resource should have narrative for robust management
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission
con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... clinicalStatus ?!SΣC 1..1 CodeableConcept ProblemStatus
Binding: ConditionClinicalStatusCodes (required): Use ConceptMap ProbleemStatusCodelijst_to_ConditionClinicalStatusCodes to translate terminology from the functional model to profile terminology in ValueSet ConditionClinicalStatusCodes.


ele-1: All FHIR elements must have a @value or children
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: active
.... Slices for coding ΣN 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:$this
ele-1: All FHIR elements must have a @value or children
..... coding:verificationStatusCodelist ΣN 1..1 Coding Code defined by a terminology system
Binding: VerificatieStatusCodelijst (required): In addition to a coding from this ValueSet, the corresponding coding from the FHIR base ValueSet SHALL be communicated. The ConceptMap http://nictiz.nl/fhir/ConceptMap/VerificatieStatusCodelijst-to-ConditionVerificationStatus can be used to relate these two ValueSets.


ele-1: All FHIR elements must have a @value or children
... Slices for category 1..* CodeableConcept problem-list-item | encounter-diagnosis
Slice: Unordered, Open by value:$this
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.


ele-1: All FHIR elements must have a @value or children
.... category:problemType N 0..1 CodeableConcept ProblemType
Binding: ProbleemTypeCodelijst (required): A category assigned to the condition.


ele-1: All FHIR elements must have a @value or children
.... category:ncr-ehr-category S 1..1 CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (required)
ele-1: All FHIR elements must have a @value or children
... code SΣ 1..1 CodeableConcept ProblemName
Binding: ProbleemNaamCodelijst (required): Identification of the condition or diagnosis.


ele-1: All FHIR elements must have a @value or children
.... Slices for extension Content/Rules for all slices
..... furtherSpecificationProblemName N 0..1 string Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-Problem.FurtherSpecificationProblemName
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... Slices for coding Σ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
ele-1: All FHIR elements must have a @value or children
..... coding:icd10coding Σ 1..1 Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://hl7.org/fhir/sid/icd-10-nl
...... code Σ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
... bodySite Σ 0..1 NlcoreAnatomicalLocation Location
Binding: LocatieCodelijsten (required): Codes describing anatomical locations. May include laterality.


ele-1: All FHIR elements must have a @value or children
.... Slices for extension Content/Rules for all slices
..... laterality S 0..1 CodeableConcept Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-AnatomicalLocation.Laterality
Binding: LateraliteitCodelijst (required)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... subject SΣC 1..1 Reference(NcrEhrPatient) Who has the condition?
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
... Slices for onset[x] ΣN 0..1 Estimated or actual date, date-time, or age
Slice: Unordered, Open by type:$this
ele-1: All FHIR elements must have a @value or children
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
.... onset[x]:onsetDateTime ΣN 0..1 dateTime ProblemStartDate
ele-1: All FHIR elements must have a @value or children
... Slices for abatement[x] CN 0..1 When in resolution/remission
Slice: Unordered, Open by type:$this
ele-1: All FHIR elements must have a @value or children
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
.... abatement[x]:abatementDateTime CN 0..1 dateTime ProblemEndDate
ele-1: All FHIR elements must have a @value or children
... recordedDate SΣ 1..1 dateTime Date record was first recorded
ele-1: All FHIR elements must have a @value or children
... note 0..1 Annotation Additional information about the Condition
ele-1: All FHIR elements must have a @value or children
.... text Σ 1..1 markdown Comment
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Condition.clinicalStatusrequiredPattern: active
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
from the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1
from the FHIR Standard
Condition.verificationStatus.coding:verificationStatusCodelistrequiredVerificatieStatusCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.5.1.4--20200901000000
Condition.categoryextensibleConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
from the FHIR Standard
Condition.category:problemTyperequiredProbleemTypeCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.5.1.1--20200901000000
Condition.category:ncr-ehr-categoryrequiredConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
from the FHIR Standard
Condition.coderequiredProbleemNaamCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.5.1.3--20200901000000
Condition.bodySiterequiredLocatieCodelijsten
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.121.11.11--20200901000000

Constraints

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

Differential View

This structure is derived from NlcoreProblem

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition 0..* NlcoreProblem Problem
... clinicalStatus S 1..1 CodeableConcept ProblemStatus
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: active
... category 1..* CodeableConcept problem-list-item | encounter-diagnosis
... Slices for category Content/Rules for all slices
.... category:ncr-ehr-category S 1..1 CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (required)
.... Slices for coding 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:icd10coding 1..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-nl
...... code 1..1 code Symbol in syntax defined by the system
... bodySite
.... Slices for extension Content/Rules for all slices
..... extension:laterality S 0..1 ExtAnatomicalLocationLaterality Optional Extensions Element
... subject S 1..1 Reference(NcrEhrPatient) Who has the condition?
... recordedDate S 1..1 dateTime Date record was first recorded

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Condition.category:ncr-ehr-categoryrequiredConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
from the FHIR Standard

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* NlcoreProblem Problem
con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission
con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... identifier Σ 0..* Identifier External Ids for this condition
... clinicalStatus ?!SΣC 1..1 CodeableConcept ProblemStatus
Binding: ConditionClinicalStatusCodes (required): Use ConceptMap ProbleemStatusCodelijst_to_ConditionClinicalStatusCodes to translate terminology from the functional model to profile terminology in ValueSet ConditionClinicalStatusCodes.


Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: active
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... verificationStatus ?!ΣC 0..1 CodeableConcept VerificationStatus
Binding: ConditionVerificationStatus (required): Use ConceptMap VerificatieStatusCodelijst_to_ConditionVerificationStatus to translate terminology from the functional model to profile terminology in ValueSet ConditionVerificationStatus.

.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding ΣN 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:$this
..... coding:verificationStatusCodelist ΣN 1..1 Coding Code defined by a terminology system
Binding: VerificatieStatusCodelijst (required): In addition to a coding from this ValueSet, the corresponding coding from the FHIR base ValueSet SHALL be communicated. The ConceptMap http://nictiz.nl/fhir/ConceptMap/VerificatieStatusCodelijst-to-ConditionVerificationStatus can be used to relate these two ValueSets.


.... text Σ 0..1 string Plain text representation of the concept
... Slices for category 1..* CodeableConcept problem-list-item | encounter-diagnosis
Slice: Unordered, Open by value:$this
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.


.... category:problemType N 0..1 CodeableConcept ProblemType
Binding: ProbleemTypeCodelijst (required): A category assigned to the condition.


.... category:ncr-ehr-category S 1..1 CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (required)
... severity 0..1 CodeableConcept Subjective severity of condition
Binding: Condition/DiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician.

... code SΣ 1..1 CodeableConcept ProblemName
Binding: ProbleemNaamCodelijst (required): Identification of the condition or diagnosis.

.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... furtherSpecificationProblemName N 0..1 string Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-Problem.FurtherSpecificationProblemName
.... Slices for coding Σ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:icd10coding Σ 1..1 Coding Code defined by a terminology system
...... id 0..1 string Unique id for inter-element referencing
...... 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-nl
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..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
.... text Σ 0..1 string Plain text representation of the concept
... bodySite Σ 0..1 NlcoreAnatomicalLocation Location
Binding: LocatieCodelijsten (required): Codes describing anatomical locations. May include laterality.


.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... laterality S 0..1 CodeableConcept Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-AnatomicalLocation.Laterality
Binding: LateraliteitCodelijst (required)
.... coding Σ 0..* Coding Code defined by a terminology system
.... text Σ 0..1 string Plain text representation of the concept
... subject SΣC 1..1 Reference(NcrEhrPatient) Who has the condition?
ref-1: SHALL have a contained resource if a local reference is provided
... encounter ΣC 0..1 Reference(Encounter) Encounter created as part of
ref-1: SHALL have a contained resource if a local reference is provided
... Slices for onset[x] ΣN 0..1 Estimated or actual date, date-time, or age
Slice: Unordered, Open by type:$this
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
.... onset[x]:onsetDateTime ΣN 0..1 dateTime ProblemStartDate
... Slices for abatement[x] CN 0..1 When in resolution/remission
Slice: Unordered, Open by type:$this
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
.... abatement[x]:abatementDateTime CN 0..1 dateTime ProblemEndDate
... recordedDate SΣ 1..1 dateTime Date record was first recorded
... recorder ΣC 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
ref-1: SHALL have a contained resource if a local reference is provided
... asserter ΣC 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Person who asserts this condition
ref-1: SHALL have a contained resource if a local reference is provided
... stage C 0..* BackboneElement Stage/grade, usually assessed formally
con-1: Stage SHALL have summary or assessment
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... summary C 0..1 CodeableConcept Simple summary (disease specific)
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).

.... assessment C 0..* Reference(ClinicalImpression | DiagnosticReport | Observation) Formal record of assessment
ref-1: SHALL have a contained resource if a local reference is provided
.... type 0..1 CodeableConcept Kind of staging
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).

... evidence C 0..* BackboneElement Supporting evidence
con-2: evidence SHALL have code or details
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code ΣC 0..* CodeableConcept Manifestation/symptom
Binding: ManifestationAndSymptomCodes (example): Codes that describe the manifestation or symptoms of a condition.


.... detail ΣC 0..* Reference(Resource) Supporting information found elsewhere
ref-1: SHALL have a contained resource if a local reference is provided
... note 0..1 Annotation Additional information about the Condition
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown Comment

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Condition.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Condition.clinicalStatusrequiredPattern: active
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
from the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1
from the FHIR Standard
Condition.verificationStatus.coding:verificationStatusCodelistrequiredVerificatieStatusCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.5.1.4--20200901000000
Condition.categoryextensibleConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
from the FHIR Standard
Condition.category:problemTyperequiredProbleemTypeCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.5.1.1--20200901000000
Condition.category:ncr-ehr-categoryrequiredConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
from the FHIR Standard
Condition.severitypreferredCondition/DiagnosisSeverity
http://hl7.org/fhir/ValueSet/condition-severity
from the FHIR Standard
Condition.coderequiredProbleemNaamCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.5.1.3--20200901000000
Condition.bodySiterequiredLocatieCodelijsten
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.121.11.11--20200901000000
Condition.stage.summaryexampleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
from the FHIR Standard
Condition.stage.typeexampleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
from the FHIR Standard
Condition.evidence.codeexampleManifestationAndSymptomCodes
http://hl7.org/fhir/ValueSet/manifestation-or-symptom
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
con-1errorCondition.stageStage SHALL have summary or assessment
: summary.exists() or assessment.exists()
con-2errorCondition.evidenceevidence SHALL have code or details
: code.exists() or detail.exists()
con-3best practiceConditionCondition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
: clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4errorConditionIf condition is abated, then clinicalStatus must be either inactive, resolved, or remission
: abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5errorConditionCondition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
: verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
dom-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorConditionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ref-1errorCondition.subject, Condition.encounter, Condition.recorder, Condition.asserter, Condition.stage.assessment, Condition.evidence.detailSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from NlcoreProblem

Summary

Mandatory: 9 elements
Must-Support: 6 elements
Fixed: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

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

 

Other representations of profile: CSV, Excel, Schematron