PLUGIN
0.1.0-ci - ci-build NL

PLUGIN - Local Development build (v0.1.0-ci) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Condition

Official URL: https://plugin.healthcare/fhir/StructureDefinition/plugin-condition Version: 0.1.0-ci
Draft as of 2024-11-05 Computable Name: PluginCondition

Copyright/Legal: Used by permission of the PLUGIN team, all rights reserved Creative Commons License

Condition as used within PLUGIN.

Condition represents diagnoses as recorded in the EHR. This includes diagnoses from both clinical (e.g. problem list) or financial (e.g. DBCs) workflows. They are coded with with either a code from ICD10-NL (which includes ICD-O-3.2, see ICD-10 NL) or the DHD DiagnoseThesaurus.

Condition.stage EPIC levert in Condition.stage (in sommige gevallen?) het tumorstadium mee "text": "cT4, cN0, cM0". Dit is bruikbaar, maar niet gestandaardiseerd. De summary wordt verder beschreven in Observations m.b.v. Condition.stage.assessment. Hier hebben we echter nog geen voorbeelden van.

TODO:

  • Voor AIOC is het nodig het registrerend specialisme te kunnen achterhalen. Dit zou kunnen via recorder of asserter. Beide attributen verwijzen naar PractitionerRole, wat net niet helemaal overeenkomt met specialisme, maar wel een attribuut PractionerRole.specialty heeft.
  • Formaliseren hoe TNM wordt vastgelegd (binnen Condition.stage).

Usage:

  • This Resource Profile is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

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

This structure is derived from NlcoreProblem

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition 0..* NlcoreProblem Problem
... verificationStatus 0..1 CodeableConcept VerificationStatus
Binding: Actieve diagnoses (required)
... code S 1..1 CodeableConcept ProblemName
.... Slices for coding C 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
plugin-condition-1: code SHALL at least contain a code from ICD-10 or the DHD diagnosethesaurus
..... coding:dhd_dx_th 0..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
Required Pattern: https://plugin.healthcare/fhir/CodeSystem/dhd-dx-thesaurus
...... code 1..1 code Symbol in syntax defined by the system
..... coding:icd10 0..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
Required Pattern: 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
... recordedDate S 1..1 dateTime Date record was first recorded
... recorder S 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
... asserter S 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Person who asserts this condition

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Condition.verificationStatusrequiredPluginActiveConditions
https://plugin.healthcare/fhir/ValueSet/plugin-active-conditions-vs
from this IG

Constraints

IdGradePath(s)DetailsRequirements
plugin-condition-1errorCondition.code.codingcode SHALL at least contain a code from ICD-10 or the DHD diagnosethesaurus
: code.coding[dhd_dx_th].exists() or code.coding[icd10].exists()
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
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... clinicalStatus ?!ΣC 0..1 CodeableConcept ProblemStatus
Binding: ConditionClinicalStatusCodes (required): Use ConceptMap ProbleemStatusCodelijst_to_ConditionClinicalStatusCodes to translate terminology from the functional model to profile terminology in ValueSet ConditionClinicalStatusCodes.

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


... Slices for category N 0..* 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.


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

.... 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
.... Slices for coding ΣC 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
plugin-condition-1: code SHALL at least contain a code from ICD-10 or the DHD diagnosethesaurus
..... coding:dhd_dx_th Σ 0..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: https://plugin.healthcare/fhir/CodeSystem/dhd-dx-thesaurus
...... code Σ 1..1 code Symbol in syntax defined by the system
..... coding:icd10 Σ 0..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://hl7.org/fhir/sid/icd-10-nl
...... code Σ 1..1 code Symbol in syntax defined by the system
... bodySite Σ 0..1 NlcoreAnatomicalLocation Location
Binding: LocatieCodelijsten (required): Codes describing anatomical locations. May include laterality.


.... 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)
... subject ΣC 1..1 Reference(Patient | Group | nl core Patient) Who has the condition?
ref-1: SHALL have a contained resource if a local reference is provided
... encounter SΣ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 SΣ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 SΣ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
... note 0..1 Annotation Additional information about the Condition
.... text Σ 1..1 markdown Comment

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
from the FHIR Standard
Condition.verificationStatusrequiredPluginActiveConditions
https://plugin.healthcare/fhir/ValueSet/plugin-active-conditions-vs
from this IG
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.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()
plugin-condition-1errorCondition.code.codingcode SHALL at least contain a code from ICD-10 or the DHD diagnosethesaurus
: code.coding[dhd_dx_th].exists() or code.coding[icd10].exists()
ref-1errorCondition.subject, Condition.encounter, Condition.recorder, Condition.asserterSHALL 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'))
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 ?!ΣC 0..1 CodeableConcept ProblemStatus
Binding: ConditionClinicalStatusCodes (required): Use ConceptMap ProbleemStatusCodelijst_to_ConditionClinicalStatusCodes to translate terminology from the functional model to profile terminology in ValueSet ConditionClinicalStatusCodes.

... verificationStatus ?!ΣC 0..1 CodeableConcept VerificationStatus
Binding: Actieve diagnoses (required)
.... 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 N 0..* 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.


... 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 ΣC 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
plugin-condition-1: code SHALL at least contain a code from ICD-10 or the DHD diagnosethesaurus
..... coding:dhd_dx_th Σ 0..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
Required Pattern: https://plugin.healthcare/fhir/CodeSystem/dhd-dx-thesaurus
...... 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
..... coding:icd10 Σ 0..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
Required Pattern: 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 ΣC 1..1 Reference(Patient | Group | nl core Patient) Who has the condition?
ref-1: SHALL have a contained resource if a local reference is provided
... encounter SΣ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 SΣ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 SΣ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

PathConformanceValueSetURI
Condition.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
from the FHIR Standard
Condition.verificationStatusrequiredPluginActiveConditions
https://plugin.healthcare/fhir/ValueSet/plugin-active-conditions-vs
from this IG
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.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()
plugin-condition-1errorCondition.code.codingcode SHALL at least contain a code from ICD-10 or the DHD diagnosethesaurus
: code.coding[dhd_dx_th].exists() or code.coding[icd10].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: 3 elements(4 nested mandatory elements)
Must-Support: 6 elements

Slices

This structure defines the following Slices:

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

Differential View

This structure is derived from NlcoreProblem

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition 0..* NlcoreProblem Problem
... verificationStatus 0..1 CodeableConcept VerificationStatus
Binding: Actieve diagnoses (required)
... code S 1..1 CodeableConcept ProblemName
.... Slices for coding C 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
plugin-condition-1: code SHALL at least contain a code from ICD-10 or the DHD diagnosethesaurus
..... coding:dhd_dx_th 0..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
Required Pattern: https://plugin.healthcare/fhir/CodeSystem/dhd-dx-thesaurus
...... code 1..1 code Symbol in syntax defined by the system
..... coding:icd10 0..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
Required Pattern: 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
... recordedDate S 1..1 dateTime Date record was first recorded
... recorder S 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
... asserter S 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Person who asserts this condition

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Condition.verificationStatusrequiredPluginActiveConditions
https://plugin.healthcare/fhir/ValueSet/plugin-active-conditions-vs
from this IG

Constraints

IdGradePath(s)DetailsRequirements
plugin-condition-1errorCondition.code.codingcode SHALL at least contain a code from ICD-10 or the DHD diagnosethesaurus
: code.coding[dhd_dx_th].exists() or code.coding[icd10].exists()

Key Elements 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
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... clinicalStatus ?!ΣC 0..1 CodeableConcept ProblemStatus
Binding: ConditionClinicalStatusCodes (required): Use ConceptMap ProbleemStatusCodelijst_to_ConditionClinicalStatusCodes to translate terminology from the functional model to profile terminology in ValueSet ConditionClinicalStatusCodes.

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


... Slices for category N 0..* 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.


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

.... 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
.... Slices for coding ΣC 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
plugin-condition-1: code SHALL at least contain a code from ICD-10 or the DHD diagnosethesaurus
..... coding:dhd_dx_th Σ 0..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: https://plugin.healthcare/fhir/CodeSystem/dhd-dx-thesaurus
...... code Σ 1..1 code Symbol in syntax defined by the system
..... coding:icd10 Σ 0..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://hl7.org/fhir/sid/icd-10-nl
...... code Σ 1..1 code Symbol in syntax defined by the system
... bodySite Σ 0..1 NlcoreAnatomicalLocation Location
Binding: LocatieCodelijsten (required): Codes describing anatomical locations. May include laterality.


.... 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)
... subject ΣC 1..1 Reference(Patient | Group | nl core Patient) Who has the condition?
ref-1: SHALL have a contained resource if a local reference is provided
... encounter SΣ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 SΣ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 SΣ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
... note 0..1 Annotation Additional information about the Condition
.... text Σ 1..1 markdown Comment

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
from the FHIR Standard
Condition.verificationStatusrequiredPluginActiveConditions
https://plugin.healthcare/fhir/ValueSet/plugin-active-conditions-vs
from this IG
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.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()
plugin-condition-1errorCondition.code.codingcode SHALL at least contain a code from ICD-10 or the DHD diagnosethesaurus
: code.coding[dhd_dx_th].exists() or code.coding[icd10].exists()
ref-1errorCondition.subject, Condition.encounter, Condition.recorder, Condition.asserterSHALL 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'))

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 ?!ΣC 0..1 CodeableConcept ProblemStatus
Binding: ConditionClinicalStatusCodes (required): Use ConceptMap ProbleemStatusCodelijst_to_ConditionClinicalStatusCodes to translate terminology from the functional model to profile terminology in ValueSet ConditionClinicalStatusCodes.

... verificationStatus ?!ΣC 0..1 CodeableConcept VerificationStatus
Binding: Actieve diagnoses (required)
.... 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 N 0..* 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.


... 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 ΣC 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
plugin-condition-1: code SHALL at least contain a code from ICD-10 or the DHD diagnosethesaurus
..... coding:dhd_dx_th Σ 0..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
Required Pattern: https://plugin.healthcare/fhir/CodeSystem/dhd-dx-thesaurus
...... 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
..... coding:icd10 Σ 0..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
Required Pattern: 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 ΣC 1..1 Reference(Patient | Group | nl core Patient) Who has the condition?
ref-1: SHALL have a contained resource if a local reference is provided
... encounter SΣ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 SΣ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 SΣ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

PathConformanceValueSetURI
Condition.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
from the FHIR Standard
Condition.verificationStatusrequiredPluginActiveConditions
https://plugin.healthcare/fhir/ValueSet/plugin-active-conditions-vs
from this IG
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.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()
plugin-condition-1errorCondition.code.codingcode SHALL at least contain a code from ICD-10 or the DHD diagnosethesaurus
: code.coding[dhd_dx_th].exists() or code.coding[icd10].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: 3 elements(4 nested mandatory elements)
Must-Support: 6 elements

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