PanCareSurPass Project HL7 FHIR Implementation Guide
1.0.0 - release 150

PanCareSurPass Project HL7 FHIR Implementation Guide, published by PanCareSurPass Project. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-eu/pcsp/ and changes regularly. See the Directory of published versions

Resource Profile: Condition: Primary Cancer

Official URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Condition-primaryCancer-eu-pcsp Version: 1.0.0
Active as of 2025-10-16 Computable Name: ConditionPrimaryCancerPcsp

This profile defines how to represent Primary Cancer Condition in HL7 FHIR for the purpose of the PanCareSurPass project. This profile is inspired from the mCode IG. A primary cancer condition, the original or first tumor in the body (Definition from: NCI Dictionary of Cancer Terms). Cancers that are not clearly secondary (i.e., of uncertain origin or behavior) should be documented as primary. This profile should be also used for documenting primary cancer relapses during or after FLT.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5, mutually-exclusive-predisposition
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:condition-occurredFollowing 0..* (Complex) Precedent for this Condition
URL: http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing
..... extension 0..0
..... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing"
..... value[x] 1..1 Reference(Condition: Primary Cancer) For relapses, reference to the first occurance of this tumor.
.... extension:assertedDate 0..1 dateTime Date the allergy, intolerance, condition, problem, or diagnosis or other event, situation, issue, or clinical concept was first asserted
URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
.... extension:histologyMorphologyBehavior 0..1 (Complex) Histology-Morphology-Behavior Extension
URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior
..... extension 0..0
..... url 1..1 uri "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior"
..... value[x] 1..1 CodeableConcept Value of extension
Binding: ICD-O-3 Morphology (required)
.... extension:previousStatus 0..1 CodeableConcept Previous Status
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-previousStatus
Binding: ConditionClinicalStatusCodes (required)
.... extension:relapseType 0..1 (Complex) Relapse Type
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-relapseType
..... extension 0..0
..... url 1..1 uri "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-relapseType"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: Relapse type (Local/Distant/Combined) (preferred)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... verificationStatus ?!ΣC 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
... code SΣ 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis.
.... Slices for coding SΣ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:iccc3-classification SΣ 0..1 Coding Code defined by a terminology system
Binding: ICCC-3 (required)
..... coding:exceptions Σ 0..1 Coding Code defined by a terminology system
Binding: ClassNullFlavor (3.0.0) (required)
... bodySite Σ 0..* CodeableConcept Anatomical location, if relevant
Binding: ICD-O-3 Topography (extensible)
.... Slices for extension Content/Rules for all slices
..... extension:locationQualifier 0..* CodeableConcept Body Location Qualifier
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-body-location-qualifier
Binding: Body Location Qualifier Value Set (preferred)
..... extension:lateralityQualifier 0..1 (Complex) Laterality Qualifier
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-laterality-qualifier
...... extension 0..0
...... url 1..1 uri "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-laterality-qualifier"
...... value[x] 1..1 CodeableConcept Value of extension
Binding: Laterality Qualifier Value Set (preferred): Qualifiers to specify laterality.
Additional BindingsPurpose
Laterality Qualifier Value Set candidate
... subject Σ 1..1 Reference(Patient: PCSP) Who has the condition?
... encounter Σ 0..1 Reference(Encounter | Encounter: Treatment Center) Encounter created as part of
... onset[x] SΣ 0..1 Estimated or actual date, date-time, or age
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
... stage SC 0..* BackboneElement Stage/grade, usually assessed formally
Constraints: con-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... summary C 0..1 CodeableConcept Most recent Stage Group
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).
.... assessment C 0..* Reference(Observation: Cancer Stage Group) Formal record of assessment
.... type 0..1 CodeableConcept Staging system used.
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).
... Slices for evidence C 0..* BackboneElement Supporting evidence
Slice: Unordered, Open by pattern:code.coding
Constraints: con-2
.... evidence:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... evidence:diagnosisDetails C 0..1 BackboneElement Diagnosis details
Constraints: con-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... detail ΣC 0..* Reference(Observation: Diagnosis details) Supporting information found elsewhere
.... evidence:geneticMarker C 0..1 BackboneElement Genetic Marker
Constraints: con-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... detail ΣC 0..* Reference(Observation | DocumentReference | DiagnosticReport) Supporting information found elsewhere
...... display Σ 0..1 string Text alternative for the resource (Genetic finding)
.... evidence:immunology C 0..1 BackboneElement Immunology
Constraints: con-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... detail ΣC 0..* Reference(Observation | DocumentReference | DiagnosticReport) Supporting information found elsewhere
.... evidence:predisposition C 0..1 BackboneElement Predisposition
Constraints: con-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... detail ΣC 0..* Reference(Observation: Hereditary Predisposition) Supporting information found elsewhere
.... evidence:hereditary C 0..1 BackboneElement Hereditary disease
Constraints: con-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... detail ΣC 0..* Reference(Observation: Hereditary Predisposition) Supporting information found elsewhere
... note 0..* Annotation Additional information about the Cancer Condition

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Condition.extension:histologyMorphologyBehavior.​value[x] Base required ICD-O-3 Morphology 📦1.0.0 This IG
Condition.extension:relapseType.​value[x] Base preferred Relapse type (Local/Distant/Combined) 📦1.0.0 This IG
Condition.clinicalStatus Base required Condition Clinical Status Codes 📍4.0.1 FHIR Std.
Condition.verificationStatus Base required ConditionVerificationStatus 📍4.0.1 FHIR Std.
Condition.code Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
Condition.code.coding:iccc3-classification Base required ICCC-3 📦1.0.0 This IG
Condition.code.coding:exceptions Base required ClassNullFlavor 📍3.0.0 THO v6.5
Condition.bodySite Base extensible ICD-O-3 Topography 📦1.0.0 This IG
Condition.bodySite.extension:lateralityQualifier.​value[x] Base preferred Laterality Qualifier Value Set 📦1.0.0 This IG
Condition.stage.summary Base example Condition Stage 📍4.0.1 FHIR Std.
Condition.stage.type Base example Condition Stage Type 📍4.0.1 FHIR Std.

Constraints

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

This structure is derived from Condition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: mutually-exclusive-predisposition
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:condition-occurredFollowing 0..* (Complex) Precedent for this Condition
URL: http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing
..... value[x] 1..1 Reference(Condition: Primary Cancer) For relapses, reference to the first occurance of this tumor.
.... extension:assertedDate 0..1 dateTime Date the allergy, intolerance, condition, problem, or diagnosis or other event, situation, issue, or clinical concept was first asserted
URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
.... extension:histologyMorphologyBehavior 0..1 (Complex) Histology-Morphology-Behavior Extension
URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior
..... value[x] 1..1 CodeableConcept Value of extension
Binding: ICD-O-3 Morphology (required)
.... extension:previousStatus 0..1 CodeableConcept Previous Status
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-previousStatus
Binding: ConditionClinicalStatusCodes (required)
.... extension:relapseType 0..1 (Complex) Relapse Type
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-relapseType
..... value[x] 0..1 CodeableConcept Value of extension
Binding: Relapse type (Local/Distant/Combined) (preferred)
... clinicalStatus 0..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved
Example Relapse: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"relapse"}]}
... code S 1..1 CodeableConcept Identification of the condition, problem or diagnosis
.... Slices for coding S 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:iccc3-classification S 0..1 Coding Code defined by a terminology system
Binding: ICCC-3 (required)
..... coding:exceptions 0..1 Coding Code defined by a terminology system
Binding: ClassNullFlavor (3.0.0) (required)
.... Slices for extension Content/Rules for all slices
..... extension:locationQualifier 0..* CodeableConcept Body Location Qualifier
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-body-location-qualifier
Binding: Body Location Qualifier Value Set (preferred)
..... extension:lateralityQualifier 0..1 (Complex) Laterality Qualifier
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-laterality-qualifier
...... value[x] 1..1 CodeableConcept Value of extension
Binding: Laterality Qualifier Value Set (preferred): Qualifiers to specify laterality.
Additional BindingsPurpose
Laterality Qualifier Value Set candidate
... subject 1..1 Reference(Patient: PCSP) Who has the condition?
... encounter 0..1 Reference(Encounter | Encounter: Treatment Center) Encounter created as part of
... onset[x] S 0..1 dateTime, Age, Period, Range, string Estimated or actual date, date-time, or age
... stage S 0..* BackboneElement Stage/grade, usually assessed formally
.... summary 0..1 CodeableConcept Most recent Stage Group
.... assessment 0..* Reference(Observation: Cancer Stage Group) Formal record of assessment
.... type 0..1 CodeableConcept Staging system used.
... Slices for evidence 0..* BackboneElement Supporting evidence
Slice: Unordered, Open by pattern:code.coding
.... evidence:diagnosisDetails 0..1 BackboneElement Diagnosis details
..... code
...... coding 1..* Coding Code defined by a terminology system
Required Pattern: At least the following
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 29308-4
....... display 1..1 string Representation defined by the system
Fixed Value: Diagnosis
..... detail 0..* Reference(Observation: Diagnosis details) Supporting information found elsewhere
.... evidence:geneticMarker 0..1 BackboneElement Genetic Marker
..... code
...... coding 1..* Coding Code defined by a terminology system
Required Pattern: At least the following
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 106221001
..... detail 0..* Reference(Observation | DocumentReference | DiagnosticReport) Supporting information found elsewhere
...... display 0..1 string Text alternative for the resource (Genetic finding)
.... evidence:immunology 0..1 BackboneElement Immunology
..... code
...... coding 1..* Coding Code defined by a terminology system
Required Pattern: At least the following
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 365861007
....... display 1..1 string Representation defined by the system
Fixed Value: Finding of immune status
..... detail 0..* Reference(Observation | DocumentReference | DiagnosticReport) Supporting information found elsewhere
.... evidence:predisposition 0..1 BackboneElement Predisposition
..... code
...... coding 1..* Coding Code defined by a terminology system
Required Pattern: At least the following
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 47708004
....... display 1..1 string Representation defined by the system
Fixed Value: Genetic predisposition
...... text 0..1 string Text for predisposition
..... detail 0..* Reference(Observation: Hereditary Predisposition) Supporting information found elsewhere
.... evidence:hereditary 0..1 BackboneElement Hereditary disease
..... code
...... coding 1..* Coding Code defined by a terminology system
Required Pattern: At least the following
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 32895009
....... display 1..1 string Representation defined by the system
Fixed Value: Hereditary disease
...... text 0..1 string Text for hereditary disease
..... detail 0..* Reference(Observation: Hereditary Predisposition) Supporting information found elsewhere
... note 0..* Annotation Additional information about the Cancer Condition

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Condition.extension:histologyMorphologyBehavior.​value[x] Base required ICD-O-3 Morphology 📦1.0.0 This IG
Condition.extension:relapseType.​value[x] Base preferred Relapse type (Local/Distant/Combined) 📦1.0.0 This IG
Condition.code.coding:iccc3-classification Base required ICCC-3 📦1.0.0 This IG
Condition.code.coding:exceptions Base required ClassNullFlavor 📍3.0.0 THO v6.5
Condition.bodySite Base extensible ICD-O-3 Topography 📦1.0.0 This IG
Condition.bodySite.extension:lateralityQualifier.​value[x] Base preferred Laterality Qualifier Value Set 📦1.0.0 This IG

Constraints

Id Grade Path(s) Description Expression
mutually-exclusive-predisposition error Condition Only one of Predisposition or Hereditary disease may be present evidence.code.coding.where(system = 'http://snomed.info/sct' and code = '47708004').exists() implies evidence.code.coding.where(system = 'http://snomed.info/sct' and code = '32895009').empty()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5, mutually-exclusive-predisposition
... 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
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:condition-occurredFollowing 0..* (Complex) Precedent for this Condition
URL: http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing"
..... value[x] 1..1 Reference(Condition: Primary Cancer) For relapses, reference to the first occurance of this tumor.
.... extension:assertedDate 0..1 dateTime Date the allergy, intolerance, condition, problem, or diagnosis or other event, situation, issue, or clinical concept was first asserted
URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
.... extension:histologyMorphologyBehavior 0..1 (Complex) Histology-Morphology-Behavior Extension
URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior"
..... value[x] 1..1 CodeableConcept Value of extension
Binding: ICD-O-3 Morphology (required)
.... extension:previousStatus 0..1 CodeableConcept Previous Status
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-previousStatus
Binding: ConditionClinicalStatusCodes (required)
.... extension:relapseType 0..1 (Complex) Relapse Type
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-relapseType
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-relapseType"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: Relapse type (Local/Distant/Combined) (preferred)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External Ids for this condition
... clinicalStatus ?!ΣC 0..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.
Example Relapse: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"relapse"}]}
... verificationStatus ?!ΣC 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
... category 0..* CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (extensible): 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 Identification of the condition, problem or diagnosis
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:iccc3-classification SΣ 0..1 Coding Code defined by a terminology system
Binding: ICCC-3 (required)
..... coding:exceptions Σ 0..1 Coding Code defined by a terminology system
Binding: ClassNullFlavor (3.0.0) (required)
.... text Σ 0..1 string Plain text representation of the concept
... bodySite Σ 0..* CodeableConcept Anatomical location, if relevant
Binding: ICD-O-3 Topography (extensible)
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... extension:locationQualifier 0..* CodeableConcept Body Location Qualifier
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-body-location-qualifier
Binding: Body Location Qualifier Value Set (preferred)
..... extension:lateralityQualifier 0..1 (Complex) Laterality Qualifier
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-laterality-qualifier
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..0
...... url 1..1 uri "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-laterality-qualifier"
...... value[x] 1..1 CodeableConcept Value of extension
Binding: Laterality Qualifier Value Set (preferred): Qualifiers to specify laterality.
Additional BindingsPurpose
Laterality Qualifier Value Set candidate
.... coding Σ 0..* Coding Code defined by a terminology system
.... text Σ 0..1 string Plain text representation of the concept
... subject Σ 1..1 Reference(Patient: PCSP) Who has the condition?
... encounter Σ 0..1 Reference(Encounter | Encounter: Treatment Center) Encounter created as part of
... onset[x] SΣ 0..1 Estimated or actual date, date-time, or age
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
... abatement[x] C 0..1 When in resolution/remission
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
... recordedDate Σ 0..1 dateTime Date record was first recorded
... recorder Σ 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
... asserter Σ 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Person who asserts this condition
... stage SC 0..* BackboneElement Stage/grade, usually assessed formally
Constraints: con-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... summary C 0..1 CodeableConcept Most recent Stage Group
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).
.... assessment C 0..* Reference(Observation: Cancer Stage Group) Formal record of assessment
.... type 0..1 CodeableConcept Staging system used.
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).
... Slices for evidence C 0..* BackboneElement Supporting evidence
Slice: Unordered, Open by pattern:code.coding
Constraints: con-2
.... evidence:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... 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
.... evidence:diagnosisDetails C 0..1 BackboneElement Diagnosis details
Constraints: con-2
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... 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.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... 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://loinc.org
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 29308-4
....... display 1..1 string Representation defined by the system
Fixed Value: Diagnosis
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... detail ΣC 0..* Reference(Observation: Diagnosis details) Supporting information found elsewhere
.... evidence:geneticMarker C 0..1 BackboneElement Genetic Marker
Constraints: con-2
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... 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.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... 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://snomed.info/sct
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 106221001
....... 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
..... detail ΣC 0..* Reference(Observation | DocumentReference | DiagnosticReport) Supporting information found elsewhere
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
...... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
...... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
...... display Σ 0..1 string Text alternative for the resource (Genetic finding)
.... evidence:immunology C 0..1 BackboneElement Immunology
Constraints: con-2
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... 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.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... 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://snomed.info/sct
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 365861007
....... display 1..1 string Representation defined by the system
Fixed Value: Finding of immune status
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... detail ΣC 0..* Reference(Observation | DocumentReference | DiagnosticReport) Supporting information found elsewhere
.... evidence:predisposition C 0..1 BackboneElement Predisposition
Constraints: con-2
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... 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.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... 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://snomed.info/sct
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 47708004
....... display 1..1 string Representation defined by the system
Fixed Value: Genetic predisposition
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Text for predisposition
..... detail ΣC 0..* Reference(Observation: Hereditary Predisposition) Supporting information found elsewhere
.... evidence:hereditary C 0..1 BackboneElement Hereditary disease
Constraints: con-2
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... 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.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... 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://snomed.info/sct
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 32895009
....... display 1..1 string Representation defined by the system
Fixed Value: Hereditary disease
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Text for hereditary disease
..... detail ΣC 0..* Reference(Observation: Hereditary Predisposition) Supporting information found elsewhere
... note 0..* Annotation Additional information about the Cancer Condition

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Condition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Condition.extension:histologyMorphologyBehavior.​value[x] Base required ICD-O-3 Morphology 📦1.0.0 This IG
Condition.extension:relapseType.​value[x] Base preferred Relapse type (Local/Distant/Combined) 📦1.0.0 This IG
Condition.clinicalStatus Base required Condition Clinical Status Codes 📍4.0.1 FHIR Std.
Condition.verificationStatus Base required ConditionVerificationStatus 📍4.0.1 FHIR Std.
Condition.category Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.severity Base preferred Condition/Diagnosis Severity 📍4.0.1 FHIR Std.
Condition.code Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
Condition.code.coding:iccc3-classification Base required ICCC-3 📦1.0.0 This IG
Condition.code.coding:exceptions Base required ClassNullFlavor 📍3.0.0 THO v6.5
Condition.bodySite Base extensible ICD-O-3 Topography 📦1.0.0 This IG
Condition.bodySite.extension:lateralityQualifier.​value[x] Base preferred Laterality Qualifier Value Set 📦1.0.0 This IG
Condition.stage.summary Base example Condition Stage 📍4.0.1 FHIR Std.
Condition.stage.type Base example Condition Stage Type 📍4.0.1 FHIR Std.
Condition.evidence.code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.
Condition.evidence:diagnosisDetails.​code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.
Condition.evidence:geneticMarker.​code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.
Condition.evidence:geneticMarker.​detail.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.evidence:immunology.​code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.
Condition.evidence:predisposition.​code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.
Condition.evidence:hereditary.​code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.

Constraints

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

This structure is derived from Condition

Summary

Mandatory: 1 element(5 nested mandatory elements)
Must-Support: 5 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

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

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5, mutually-exclusive-predisposition
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:condition-occurredFollowing 0..* (Complex) Precedent for this Condition
URL: http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing
..... extension 0..0
..... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing"
..... value[x] 1..1 Reference(Condition: Primary Cancer) For relapses, reference to the first occurance of this tumor.
.... extension:assertedDate 0..1 dateTime Date the allergy, intolerance, condition, problem, or diagnosis or other event, situation, issue, or clinical concept was first asserted
URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
.... extension:histologyMorphologyBehavior 0..1 (Complex) Histology-Morphology-Behavior Extension
URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior
..... extension 0..0
..... url 1..1 uri "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior"
..... value[x] 1..1 CodeableConcept Value of extension
Binding: ICD-O-3 Morphology (required)
.... extension:previousStatus 0..1 CodeableConcept Previous Status
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-previousStatus
Binding: ConditionClinicalStatusCodes (required)
.... extension:relapseType 0..1 (Complex) Relapse Type
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-relapseType
..... extension 0..0
..... url 1..1 uri "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-relapseType"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: Relapse type (Local/Distant/Combined) (preferred)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... verificationStatus ?!ΣC 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
... code SΣ 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis.
.... Slices for coding SΣ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:iccc3-classification SΣ 0..1 Coding Code defined by a terminology system
Binding: ICCC-3 (required)
..... coding:exceptions Σ 0..1 Coding Code defined by a terminology system
Binding: ClassNullFlavor (3.0.0) (required)
... bodySite Σ 0..* CodeableConcept Anatomical location, if relevant
Binding: ICD-O-3 Topography (extensible)
.... Slices for extension Content/Rules for all slices
..... extension:locationQualifier 0..* CodeableConcept Body Location Qualifier
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-body-location-qualifier
Binding: Body Location Qualifier Value Set (preferred)
..... extension:lateralityQualifier 0..1 (Complex) Laterality Qualifier
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-laterality-qualifier
...... extension 0..0
...... url 1..1 uri "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-laterality-qualifier"
...... value[x] 1..1 CodeableConcept Value of extension
Binding: Laterality Qualifier Value Set (preferred): Qualifiers to specify laterality.
Additional BindingsPurpose
Laterality Qualifier Value Set candidate
... subject Σ 1..1 Reference(Patient: PCSP) Who has the condition?
... encounter Σ 0..1 Reference(Encounter | Encounter: Treatment Center) Encounter created as part of
... onset[x] SΣ 0..1 Estimated or actual date, date-time, or age
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
... stage SC 0..* BackboneElement Stage/grade, usually assessed formally
Constraints: con-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... summary C 0..1 CodeableConcept Most recent Stage Group
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).
.... assessment C 0..* Reference(Observation: Cancer Stage Group) Formal record of assessment
.... type 0..1 CodeableConcept Staging system used.
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).
... Slices for evidence C 0..* BackboneElement Supporting evidence
Slice: Unordered, Open by pattern:code.coding
Constraints: con-2
.... evidence:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... evidence:diagnosisDetails C 0..1 BackboneElement Diagnosis details
Constraints: con-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... detail ΣC 0..* Reference(Observation: Diagnosis details) Supporting information found elsewhere
.... evidence:geneticMarker C 0..1 BackboneElement Genetic Marker
Constraints: con-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... detail ΣC 0..* Reference(Observation | DocumentReference | DiagnosticReport) Supporting information found elsewhere
...... display Σ 0..1 string Text alternative for the resource (Genetic finding)
.... evidence:immunology C 0..1 BackboneElement Immunology
Constraints: con-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... detail ΣC 0..* Reference(Observation | DocumentReference | DiagnosticReport) Supporting information found elsewhere
.... evidence:predisposition C 0..1 BackboneElement Predisposition
Constraints: con-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... detail ΣC 0..* Reference(Observation: Hereditary Predisposition) Supporting information found elsewhere
.... evidence:hereditary C 0..1 BackboneElement Hereditary disease
Constraints: con-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... detail ΣC 0..* Reference(Observation: Hereditary Predisposition) Supporting information found elsewhere
... note 0..* Annotation Additional information about the Cancer Condition

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Condition.extension:histologyMorphologyBehavior.​value[x] Base required ICD-O-3 Morphology 📦1.0.0 This IG
Condition.extension:relapseType.​value[x] Base preferred Relapse type (Local/Distant/Combined) 📦1.0.0 This IG
Condition.clinicalStatus Base required Condition Clinical Status Codes 📍4.0.1 FHIR Std.
Condition.verificationStatus Base required ConditionVerificationStatus 📍4.0.1 FHIR Std.
Condition.code Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
Condition.code.coding:iccc3-classification Base required ICCC-3 📦1.0.0 This IG
Condition.code.coding:exceptions Base required ClassNullFlavor 📍3.0.0 THO v6.5
Condition.bodySite Base extensible ICD-O-3 Topography 📦1.0.0 This IG
Condition.bodySite.extension:lateralityQualifier.​value[x] Base preferred Laterality Qualifier Value Set 📦1.0.0 This IG
Condition.stage.summary Base example Condition Stage 📍4.0.1 FHIR Std.
Condition.stage.type Base example Condition Stage Type 📍4.0.1 FHIR Std.

Constraints

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

Differential View

This structure is derived from Condition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: mutually-exclusive-predisposition
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:condition-occurredFollowing 0..* (Complex) Precedent for this Condition
URL: http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing
..... value[x] 1..1 Reference(Condition: Primary Cancer) For relapses, reference to the first occurance of this tumor.
.... extension:assertedDate 0..1 dateTime Date the allergy, intolerance, condition, problem, or diagnosis or other event, situation, issue, or clinical concept was first asserted
URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
.... extension:histologyMorphologyBehavior 0..1 (Complex) Histology-Morphology-Behavior Extension
URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior
..... value[x] 1..1 CodeableConcept Value of extension
Binding: ICD-O-3 Morphology (required)
.... extension:previousStatus 0..1 CodeableConcept Previous Status
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-previousStatus
Binding: ConditionClinicalStatusCodes (required)
.... extension:relapseType 0..1 (Complex) Relapse Type
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-relapseType
..... value[x] 0..1 CodeableConcept Value of extension
Binding: Relapse type (Local/Distant/Combined) (preferred)
... clinicalStatus 0..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved
Example Relapse: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"relapse"}]}
... code S 1..1 CodeableConcept Identification of the condition, problem or diagnosis
.... Slices for coding S 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:iccc3-classification S 0..1 Coding Code defined by a terminology system
Binding: ICCC-3 (required)
..... coding:exceptions 0..1 Coding Code defined by a terminology system
Binding: ClassNullFlavor (3.0.0) (required)
.... Slices for extension Content/Rules for all slices
..... extension:locationQualifier 0..* CodeableConcept Body Location Qualifier
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-body-location-qualifier
Binding: Body Location Qualifier Value Set (preferred)
..... extension:lateralityQualifier 0..1 (Complex) Laterality Qualifier
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-laterality-qualifier
...... value[x] 1..1 CodeableConcept Value of extension
Binding: Laterality Qualifier Value Set (preferred): Qualifiers to specify laterality.
Additional BindingsPurpose
Laterality Qualifier Value Set candidate
... subject 1..1 Reference(Patient: PCSP) Who has the condition?
... encounter 0..1 Reference(Encounter | Encounter: Treatment Center) Encounter created as part of
... onset[x] S 0..1 dateTime, Age, Period, Range, string Estimated or actual date, date-time, or age
... stage S 0..* BackboneElement Stage/grade, usually assessed formally
.... summary 0..1 CodeableConcept Most recent Stage Group
.... assessment 0..* Reference(Observation: Cancer Stage Group) Formal record of assessment
.... type 0..1 CodeableConcept Staging system used.
... Slices for evidence 0..* BackboneElement Supporting evidence
Slice: Unordered, Open by pattern:code.coding
.... evidence:diagnosisDetails 0..1 BackboneElement Diagnosis details
..... code
...... coding 1..* Coding Code defined by a terminology system
Required Pattern: At least the following
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 29308-4
....... display 1..1 string Representation defined by the system
Fixed Value: Diagnosis
..... detail 0..* Reference(Observation: Diagnosis details) Supporting information found elsewhere
.... evidence:geneticMarker 0..1 BackboneElement Genetic Marker
..... code
...... coding 1..* Coding Code defined by a terminology system
Required Pattern: At least the following
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 106221001
..... detail 0..* Reference(Observation | DocumentReference | DiagnosticReport) Supporting information found elsewhere
...... display 0..1 string Text alternative for the resource (Genetic finding)
.... evidence:immunology 0..1 BackboneElement Immunology
..... code
...... coding 1..* Coding Code defined by a terminology system
Required Pattern: At least the following
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 365861007
....... display 1..1 string Representation defined by the system
Fixed Value: Finding of immune status
..... detail 0..* Reference(Observation | DocumentReference | DiagnosticReport) Supporting information found elsewhere
.... evidence:predisposition 0..1 BackboneElement Predisposition
..... code
...... coding 1..* Coding Code defined by a terminology system
Required Pattern: At least the following
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 47708004
....... display 1..1 string Representation defined by the system
Fixed Value: Genetic predisposition
...... text 0..1 string Text for predisposition
..... detail 0..* Reference(Observation: Hereditary Predisposition) Supporting information found elsewhere
.... evidence:hereditary 0..1 BackboneElement Hereditary disease
..... code
...... coding 1..* Coding Code defined by a terminology system
Required Pattern: At least the following
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 32895009
....... display 1..1 string Representation defined by the system
Fixed Value: Hereditary disease
...... text 0..1 string Text for hereditary disease
..... detail 0..* Reference(Observation: Hereditary Predisposition) Supporting information found elsewhere
... note 0..* Annotation Additional information about the Cancer Condition

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Condition.extension:histologyMorphologyBehavior.​value[x] Base required ICD-O-3 Morphology 📦1.0.0 This IG
Condition.extension:relapseType.​value[x] Base preferred Relapse type (Local/Distant/Combined) 📦1.0.0 This IG
Condition.code.coding:iccc3-classification Base required ICCC-3 📦1.0.0 This IG
Condition.code.coding:exceptions Base required ClassNullFlavor 📍3.0.0 THO v6.5
Condition.bodySite Base extensible ICD-O-3 Topography 📦1.0.0 This IG
Condition.bodySite.extension:lateralityQualifier.​value[x] Base preferred Laterality Qualifier Value Set 📦1.0.0 This IG

Constraints

Id Grade Path(s) Description Expression
mutually-exclusive-predisposition error Condition Only one of Predisposition or Hereditary disease may be present evidence.code.coding.where(system = 'http://snomed.info/sct' and code = '47708004').exists() implies evidence.code.coding.where(system = 'http://snomed.info/sct' and code = '32895009').empty()

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5, mutually-exclusive-predisposition
... 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
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:condition-occurredFollowing 0..* (Complex) Precedent for this Condition
URL: http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing"
..... value[x] 1..1 Reference(Condition: Primary Cancer) For relapses, reference to the first occurance of this tumor.
.... extension:assertedDate 0..1 dateTime Date the allergy, intolerance, condition, problem, or diagnosis or other event, situation, issue, or clinical concept was first asserted
URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
.... extension:histologyMorphologyBehavior 0..1 (Complex) Histology-Morphology-Behavior Extension
URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior"
..... value[x] 1..1 CodeableConcept Value of extension
Binding: ICD-O-3 Morphology (required)
.... extension:previousStatus 0..1 CodeableConcept Previous Status
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-previousStatus
Binding: ConditionClinicalStatusCodes (required)
.... extension:relapseType 0..1 (Complex) Relapse Type
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-relapseType
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-relapseType"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: Relapse type (Local/Distant/Combined) (preferred)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External Ids for this condition
... clinicalStatus ?!ΣC 0..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.
Example Relapse: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"relapse"}]}
... verificationStatus ?!ΣC 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
... category 0..* CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (extensible): 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 Identification of the condition, problem or diagnosis
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:iccc3-classification SΣ 0..1 Coding Code defined by a terminology system
Binding: ICCC-3 (required)
..... coding:exceptions Σ 0..1 Coding Code defined by a terminology system
Binding: ClassNullFlavor (3.0.0) (required)
.... text Σ 0..1 string Plain text representation of the concept
... bodySite Σ 0..* CodeableConcept Anatomical location, if relevant
Binding: ICD-O-3 Topography (extensible)
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... extension:locationQualifier 0..* CodeableConcept Body Location Qualifier
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-body-location-qualifier
Binding: Body Location Qualifier Value Set (preferred)
..... extension:lateralityQualifier 0..1 (Complex) Laterality Qualifier
URL: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-laterality-qualifier
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..0
...... url 1..1 uri "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-laterality-qualifier"
...... value[x] 1..1 CodeableConcept Value of extension
Binding: Laterality Qualifier Value Set (preferred): Qualifiers to specify laterality.
Additional BindingsPurpose
Laterality Qualifier Value Set candidate
.... coding Σ 0..* Coding Code defined by a terminology system
.... text Σ 0..1 string Plain text representation of the concept
... subject Σ 1..1 Reference(Patient: PCSP) Who has the condition?
... encounter Σ 0..1 Reference(Encounter | Encounter: Treatment Center) Encounter created as part of
... onset[x] SΣ 0..1 Estimated or actual date, date-time, or age
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
... abatement[x] C 0..1 When in resolution/remission
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
... recordedDate Σ 0..1 dateTime Date record was first recorded
... recorder Σ 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
... asserter Σ 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Person who asserts this condition
... stage SC 0..* BackboneElement Stage/grade, usually assessed formally
Constraints: con-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... summary C 0..1 CodeableConcept Most recent Stage Group
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).
.... assessment C 0..* Reference(Observation: Cancer Stage Group) Formal record of assessment
.... type 0..1 CodeableConcept Staging system used.
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).
... Slices for evidence C 0..* BackboneElement Supporting evidence
Slice: Unordered, Open by pattern:code.coding
Constraints: con-2
.... evidence:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... 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
.... evidence:diagnosisDetails C 0..1 BackboneElement Diagnosis details
Constraints: con-2
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... 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.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... 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://loinc.org
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 29308-4
....... display 1..1 string Representation defined by the system
Fixed Value: Diagnosis
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... detail ΣC 0..* Reference(Observation: Diagnosis details) Supporting information found elsewhere
.... evidence:geneticMarker C 0..1 BackboneElement Genetic Marker
Constraints: con-2
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... 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.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... 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://snomed.info/sct
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 106221001
....... 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
..... detail ΣC 0..* Reference(Observation | DocumentReference | DiagnosticReport) Supporting information found elsewhere
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
...... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
...... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
...... display Σ 0..1 string Text alternative for the resource (Genetic finding)
.... evidence:immunology C 0..1 BackboneElement Immunology
Constraints: con-2
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... 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.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... 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://snomed.info/sct
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 365861007
....... display 1..1 string Representation defined by the system
Fixed Value: Finding of immune status
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... detail ΣC 0..* Reference(Observation | DocumentReference | DiagnosticReport) Supporting information found elsewhere
.... evidence:predisposition C 0..1 BackboneElement Predisposition
Constraints: con-2
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... 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.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... 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://snomed.info/sct
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 47708004
....... display 1..1 string Representation defined by the system
Fixed Value: Genetic predisposition
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Text for predisposition
..... detail ΣC 0..* Reference(Observation: Hereditary Predisposition) Supporting information found elsewhere
.... evidence:hereditary C 0..1 BackboneElement Hereditary disease
Constraints: con-2
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... 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.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... 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://snomed.info/sct
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 32895009
....... display 1..1 string Representation defined by the system
Fixed Value: Hereditary disease
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Text for hereditary disease
..... detail ΣC 0..* Reference(Observation: Hereditary Predisposition) Supporting information found elsewhere
... note 0..* Annotation Additional information about the Cancer Condition

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Condition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Condition.extension:histologyMorphologyBehavior.​value[x] Base required ICD-O-3 Morphology 📦1.0.0 This IG
Condition.extension:relapseType.​value[x] Base preferred Relapse type (Local/Distant/Combined) 📦1.0.0 This IG
Condition.clinicalStatus Base required Condition Clinical Status Codes 📍4.0.1 FHIR Std.
Condition.verificationStatus Base required ConditionVerificationStatus 📍4.0.1 FHIR Std.
Condition.category Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.severity Base preferred Condition/Diagnosis Severity 📍4.0.1 FHIR Std.
Condition.code Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
Condition.code.coding:iccc3-classification Base required ICCC-3 📦1.0.0 This IG
Condition.code.coding:exceptions Base required ClassNullFlavor 📍3.0.0 THO v6.5
Condition.bodySite Base extensible ICD-O-3 Topography 📦1.0.0 This IG
Condition.bodySite.extension:lateralityQualifier.​value[x] Base preferred Laterality Qualifier Value Set 📦1.0.0 This IG
Condition.stage.summary Base example Condition Stage 📍4.0.1 FHIR Std.
Condition.stage.type Base example Condition Stage Type 📍4.0.1 FHIR Std.
Condition.evidence.code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.
Condition.evidence:diagnosisDetails.​code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.
Condition.evidence:geneticMarker.​code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.
Condition.evidence:geneticMarker.​detail.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.evidence:immunology.​code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.
Condition.evidence:predisposition.​code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.
Condition.evidence:hereditary.​code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.

Constraints

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

This structure is derived from Condition

Summary

Mandatory: 1 element(5 nested mandatory elements)
Must-Support: 5 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

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

 

Other representations of profile: CSV, Excel, Schematron