Onconova Implementation Guide
0.2.0 - ci-build
Onconova Implementation Guide - Local Development build (v0.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://onconova.github.io/fhir/StructureDefinition/onconova-primary-cancer-condition | Version: 0.2.0 | |||
| Active as of 2026-03-18 | Computable Name: OnconovaPrimaryCancerCondition | |||
A profile that records the primary cancer condition, the original or first neoplasm 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.
It constrains the mCODE PrimaryCancerCondition profile to constrain the terminologies of the cancer topography and morphology extensions to use exclusively ICD-O-3 codes.
Local and regional recurrences are indicated using the clinicalStatus and clinicalStatus.extension to denote that the condition is a recurrence of a previous condition, and to specify the type of recurrence (local or regional).
Conformance:
Condition resources representing a primary or recurrent neoplastic entity in the scope of Onconova SHALL conform to this profile. Any resource intended to conform to this profile SHOULD populate meta.profile accordingly.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | PrimaryCancerCondition | Detailed information about conditions, problems or diagnoses Constraints: con-3, con-4, con-5, o-con-1, o-con-2, o-con-req-1, o-con-req-2, o-con-req-3, o-con-req-4 | ||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||
![]() ![]() |
S | 1..* | Extension | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() |
SO | 0..1 | dateTime | Date the condition was first asserted URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
| ||||||
![]() ![]() ![]() |
SO | 1..1 | (Complex) | Histology-Morphology-Behavior Extension URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior
| ||||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior" | |||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value of extension Binding: ICD-O-3 Morphology Behavior Value Set (required) | |||||||
![]() ![]() ![]() |
SO | 0..1 | CodeableConcept | Histological Differentiation URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-histological-differentiation Binding: ICD-O-3 Differentiations Value Set (required)
| ||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||
![]() ![]() |
?!SΣC | 0..1 | CodeableConcept | (USCDI) active | recurrence | relapse | inactive | remission | resolved Binding: ConditionClinicalStatusCodes (required) | ||||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||||
![]() ![]() ![]() ![]() |
O | 0..1 | CodeableConcept | Primary Cancer Recurrence Type URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-primary-cancer-recurrence-type Binding: Recurrence Types Value Set (required)
| ||||||
![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(Primary Cancer Condition Profile) | Primary Cancer Recurrence Of URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-primary-cancer-recurrence-of
| ||||||
![]() ![]() |
?!SΣC | 0..1 | CodeableConcept | Not used in this profile Binding: ConditionVerificationStatus (required) | ||||||
![]() ![]() |
S | 1..* | CodeableConcept | (USCDI) category codes Slice: Unordered, Open by pattern:$this Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. | ||||||
![]() ![]() ![]() |
S | 1..* | CodeableConcept | (USCDI) problem-list-item | health-concern Binding: US Core Problem or Health Concern (required): Note that other codes are permitted, see Required Bindings When Slicing by Value Sets | ||||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | (USCDI) USCDI Health Status/Assessments Data Class Binding: US Core Screening Assessment Condition Category (required): Note that other codes are permitted, see Required Bindings When Slicing by Value Sets | ||||||
![]() ![]() |
0..1 | CodeableConcept | Not used in this profile Binding: Condition/DiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician. | |||||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | (USCDI) Identification of the condition, problem or diagnosis Binding: Primary Cancer Disorder Value Set (extensible) Required Pattern: At least the following | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 363346000 | |||||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Malignant neoplastic disease | |||||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||||
![]() ![]() |
SOΣ | 1..1 | CodeableConcept | Anatomical location, if relevant Binding: ICD-O-3 Topographies Value Set (required)
| ||||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||||
![]() ![]() ![]() ![]() |
S | 0..* | CodeableConcept | Not used in this profile URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier Binding: Body Location Qualifier Value Set (required) | ||||||
![]() ![]() ![]() ![]() |
SO | 0..1 | CodeableConcept | Laterality Qualifier Extension URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-laterality-qualifier Binding: Laterality Qualifier Value Set (required)
| ||||||
![]() ![]() |
SOΣ | 1..1 | Reference(Cancer Patient Profile) | (USCDI) Who has the condition?
| ||||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Not used in this profile | ||||||
![]() ![]() |
SΣ | 0..1 | (USCDI) Estimated or actual date, date-time, or age | |||||||
![]() ![]() ![]() |
dateTime S | |||||||||
![]() ![]() ![]() |
Age | |||||||||
![]() ![]() ![]() |
Period | |||||||||
![]() ![]() ![]() |
Range | |||||||||
![]() ![]() ![]() |
string | |||||||||
![]() ![]() |
SC | 0..1 | (USCDI) When in resolution/remission | |||||||
![]() ![]() ![]() |
dateTime S | |||||||||
![]() ![]() ![]() |
Age | |||||||||
![]() ![]() ![]() |
Period | |||||||||
![]() ![]() ![]() |
Range | |||||||||
![]() ![]() ![]() |
string | |||||||||
![]() ![]() |
SΣ | 0..1 | dateTime | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Not used in this profile | ||||||
![]() ![]() |
SC | 0..* | BackboneElement | Not used in this profile Constraints: con-1 | ||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
SC | 0..* | Reference(Cancer Stage Profile) | Formal record of assessment | ||||||
![]() ![]() |
C | 0..* | BackboneElement | Not used in this profile Constraints: con-2 | ||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
Documentation for this format | ||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.extension:histologyMorphologyBehavior.value[x] | Base | required | ICD-O-3 Morphology Behavior Value Set | 📦0.2.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.category:us-core | Base | required | US Core Problem or Health Concern | 📦6.1.0 | US Core v6.1 |
| Condition.category:screening-assessment | Base | required | US Core Screening Assessment Condition Category | 📦6.1.0 | US Core v6.1 |
| Condition.severity | Base | preferred | Condition/Diagnosis Severity | 📦4.0.1 | FHIR Std. |
| Condition.code | Base | extensible | Primary Cancer Disorder Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0 |
| Condition.bodySite | Base | required | ICD-O-3 Topographies Value Set | 📦0.2.0 | This IG |
| 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 | 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()
|
| o-con-1 | error | Condition | If clinicalStatus is 'recurrence', the recurrenceOf extension must be provided. |
clinicalStatus.exists() and clinicalStatus.coding.code = 'recurrence' implies extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-of').exists()
|
| o-con-2 | error | Condition | If clinicalStatus is 'recurrence', the type of recurrence must be provided. |
clinicalStatus.exists() and clinicalStatus.coding.code = 'recurrence' implies clinicalStatus.extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-type').exists()
|
| o-con-req-1 | error | Condition | The subject element is required and must be provided. |
subject.exists()
|
| o-con-req-2 | error | Condition | The assertedDate extension is required and must be provided. |
extension('http://hl7.org/fhir/StructureDefinition/condition-assertedDate').exists()
|
| o-con-req-3 | error | Condition | The bodySite element is required and must be provided. |
bodySite.exists() and bodySite.coding.exists()
|
| o-con-req-4 | error | Condition | The histologyMorphologyBehavior extension is required and must be provided. |
extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior').exists()
|
This structure is derived from PrimaryCancerCondition
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.extension:histologyMorphologyBehavior.value[x] | Base | required | ICD-O-3 Morphology Behavior Value Set | 📦0.2.0 | This IG |
| Condition.bodySite | Base | required | ICD-O-3 Topographies Value Set | 📦0.2.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| o-con-1 | error | Condition | If clinicalStatus is 'recurrence', the recurrenceOf extension must be provided. |
clinicalStatus.exists() and clinicalStatus.coding.code = 'recurrence' implies extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-of').exists()
|
| o-con-2 | error | Condition | If clinicalStatus is 'recurrence', the type of recurrence must be provided. |
clinicalStatus.exists() and clinicalStatus.coding.code = 'recurrence' implies clinicalStatus.extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-type').exists()
|
| o-con-req-1 | error | Condition | The subject element is required and must be provided. |
subject.exists()
|
| o-con-req-2 | error | Condition | The assertedDate extension is required and must be provided. |
extension('http://hl7.org/fhir/StructureDefinition/condition-assertedDate').exists()
|
| o-con-req-3 | error | Condition | The bodySite element is required and must be provided. |
bodySite.exists() and bodySite.coding.exists()
|
| o-con-req-4 | error | Condition | The histologyMorphologyBehavior extension is required and must be provided. |
extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior').exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | PrimaryCancerCondition | Detailed information about conditions, problems or diagnoses Constraints: con-3, con-4, con-5, o-con-1, o-con-2, o-con-req-1, o-con-req-2, o-con-req-3, o-con-req-4 | ||||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||||
![]() ![]() |
S | 1..* | Extension | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() |
SO | 0..1 | dateTime | Date the condition was first asserted URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
| ||||||
![]() ![]() ![]() |
SO | 1..1 | (Complex) | Histology-Morphology-Behavior Extension URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior
| ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior" | |||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value of extension Binding: ICD-O-3 Morphology Behavior Value Set (required) | |||||||
![]() ![]() ![]() |
SO | 0..1 | CodeableConcept | Histological Differentiation URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-histological-differentiation Binding: ICD-O-3 Differentiations Value Set (required)
| ||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||
![]() ![]() |
Σ | 0..* | Identifier | External Ids for this condition | ||||||
![]() ![]() |
?!SΣC | 0..1 | CodeableConcept | (USCDI) active | recurrence | relapse | inactive | remission | resolved Binding: ConditionClinicalStatusCodes (required) | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() |
O | 0..1 | CodeableConcept | Primary Cancer Recurrence Type URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-primary-cancer-recurrence-type Binding: Recurrence Types Value Set (required)
| ||||||
![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(Primary Cancer Condition Profile) | Primary Cancer Recurrence Of URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-primary-cancer-recurrence-of
| ||||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||||
![]() ![]() |
?!SΣC | 0..1 | CodeableConcept | Not used in this profile Binding: ConditionVerificationStatus (required) | ||||||
![]() ![]() |
S | 1..* | CodeableConcept | (USCDI) category codes Slice: Unordered, Open by pattern:$this Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. | ||||||
![]() ![]() ![]() |
S | 1..* | CodeableConcept | (USCDI) problem-list-item | health-concern Binding: US Core Problem or Health Concern (required): Note that other codes are permitted, see Required Bindings When Slicing by Value Sets | ||||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | (USCDI) USCDI Health Status/Assessments Data Class Binding: US Core Screening Assessment Condition Category (required): Note that other codes are permitted, see Required Bindings When Slicing by Value Sets | ||||||
![]() ![]() |
0..1 | CodeableConcept | Not used in this profile Binding: Condition/DiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician. | |||||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | (USCDI) Identification of the condition, problem or diagnosis Binding: Primary Cancer Disorder Value Set (extensible) Required Pattern: At least the following | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 363346000 | |||||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Malignant neoplastic disease | |||||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||||
![]() ![]() |
SOΣ | 1..1 | CodeableConcept | Anatomical location, if relevant Binding: ICD-O-3 Topographies Value Set (required)
| ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() |
S | 0..* | CodeableConcept | Not used in this profile URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier Binding: Body Location Qualifier Value Set (required) | ||||||
![]() ![]() ![]() ![]() |
SO | 0..1 | CodeableConcept | Laterality Qualifier Extension URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-laterality-qualifier Binding: Laterality Qualifier Value Set (required)
| ||||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||||
![]() ![]() |
SOΣ | 1..1 | Reference(Cancer Patient Profile) | (USCDI) Who has the condition?
| ||||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Not used in this profile | ||||||
![]() ![]() |
SΣ | 0..1 | (USCDI) Estimated or actual date, date-time, or age | |||||||
![]() ![]() ![]() |
dateTime S | |||||||||
![]() ![]() ![]() |
Age | |||||||||
![]() ![]() ![]() |
Period | |||||||||
![]() ![]() ![]() |
Range | |||||||||
![]() ![]() ![]() |
string | |||||||||
![]() ![]() |
SC | 0..1 | (USCDI) When in resolution/remission | |||||||
![]() ![]() ![]() |
dateTime S | |||||||||
![]() ![]() ![]() |
Age | |||||||||
![]() ![]() ![]() |
Period | |||||||||
![]() ![]() ![]() |
Range | |||||||||
![]() ![]() ![]() |
string | |||||||||
![]() ![]() |
SΣ | 0..1 | dateTime | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Not used in this profile | ||||||
![]() ![]() |
SC | 0..* | BackboneElement | Not used in this profile Constraints: con-1 | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Stage at time of last staging. Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages). | ||||||
![]() ![]() ![]() |
SC | 0..* | Reference(Cancer Stage Profile) | Formal record of assessment | ||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | The type of stage Staging system or method used. Binding: Cancer Staging Method Value Set (extensible) | |||||||
![]() ![]() |
C | 0..* | BackboneElement | Not used in this profile Constraints: con-2 | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
ΣC | 0..* | CodeableConcept | Manifestation/symptom Binding: Cancer Disease Status Evidence Type Value Set (required) | ||||||
![]() ![]() ![]() |
ΣC | 0..* | Reference(Resource) | Supporting information found elsewhere | ||||||
![]() ![]() |
0..* | Annotation | Additional information about the Condition | |||||||
Documentation for this format | ||||||||||
| 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 Behavior Value Set | 📦0.2.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.category:us-core | Base | required | US Core Problem or Health Concern | 📦6.1.0 | US Core v6.1 |
| Condition.category:screening-assessment | Base | required | US Core Screening Assessment Condition Category | 📦6.1.0 | US Core v6.1 |
| Condition.severity | Base | preferred | Condition/Diagnosis Severity | 📦4.0.1 | FHIR Std. |
| Condition.code | Base | extensible | Primary Cancer Disorder Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0 |
| Condition.bodySite | Base | required | ICD-O-3 Topographies Value Set | 📦0.2.0 | This IG |
| Condition.stage.summary | Base | example | Condition Stage | 📦4.0.1 | FHIR Std. |
| Condition.stage.type | Base | extensible | Cancer Staging Method Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0 |
| Condition.evidence.code | Base | required | Cancer Disease Status Evidence Type Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0 |
| 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 | 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()
|
| o-con-1 | error | Condition | If clinicalStatus is 'recurrence', the recurrenceOf extension must be provided. |
clinicalStatus.exists() and clinicalStatus.coding.code = 'recurrence' implies extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-of').exists()
|
| o-con-2 | error | Condition | If clinicalStatus is 'recurrence', the type of recurrence must be provided. |
clinicalStatus.exists() and clinicalStatus.coding.code = 'recurrence' implies clinicalStatus.extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-type').exists()
|
| o-con-req-1 | error | Condition | The subject element is required and must be provided. |
subject.exists()
|
| o-con-req-2 | error | Condition | The assertedDate extension is required and must be provided. |
extension('http://hl7.org/fhir/StructureDefinition/condition-assertedDate').exists()
|
| o-con-req-3 | error | Condition | The bodySite element is required and must be provided. |
bodySite.exists() and bodySite.coding.exists()
|
| o-con-req-4 | error | Condition | The histologyMorphologyBehavior extension is required and must be provided. |
extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior').exists()
|
This structure is derived from PrimaryCancerCondition
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | PrimaryCancerCondition | Detailed information about conditions, problems or diagnoses Constraints: con-3, con-4, con-5, o-con-1, o-con-2, o-con-req-1, o-con-req-2, o-con-req-3, o-con-req-4 | ||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||
![]() ![]() |
S | 1..* | Extension | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() |
SO | 0..1 | dateTime | Date the condition was first asserted URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
| ||||||
![]() ![]() ![]() |
SO | 1..1 | (Complex) | Histology-Morphology-Behavior Extension URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior
| ||||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior" | |||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value of extension Binding: ICD-O-3 Morphology Behavior Value Set (required) | |||||||
![]() ![]() ![]() |
SO | 0..1 | CodeableConcept | Histological Differentiation URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-histological-differentiation Binding: ICD-O-3 Differentiations Value Set (required)
| ||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||
![]() ![]() |
?!SΣC | 0..1 | CodeableConcept | (USCDI) active | recurrence | relapse | inactive | remission | resolved Binding: ConditionClinicalStatusCodes (required) | ||||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||||
![]() ![]() ![]() ![]() |
O | 0..1 | CodeableConcept | Primary Cancer Recurrence Type URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-primary-cancer-recurrence-type Binding: Recurrence Types Value Set (required)
| ||||||
![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(Primary Cancer Condition Profile) | Primary Cancer Recurrence Of URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-primary-cancer-recurrence-of
| ||||||
![]() ![]() |
?!SΣC | 0..1 | CodeableConcept | Not used in this profile Binding: ConditionVerificationStatus (required) | ||||||
![]() ![]() |
S | 1..* | CodeableConcept | (USCDI) category codes Slice: Unordered, Open by pattern:$this Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. | ||||||
![]() ![]() ![]() |
S | 1..* | CodeableConcept | (USCDI) problem-list-item | health-concern Binding: US Core Problem or Health Concern (required): Note that other codes are permitted, see Required Bindings When Slicing by Value Sets | ||||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | (USCDI) USCDI Health Status/Assessments Data Class Binding: US Core Screening Assessment Condition Category (required): Note that other codes are permitted, see Required Bindings When Slicing by Value Sets | ||||||
![]() ![]() |
0..1 | CodeableConcept | Not used in this profile Binding: Condition/DiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician. | |||||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | (USCDI) Identification of the condition, problem or diagnosis Binding: Primary Cancer Disorder Value Set (extensible) Required Pattern: At least the following | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 363346000 | |||||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Malignant neoplastic disease | |||||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||||
![]() ![]() |
SOΣ | 1..1 | CodeableConcept | Anatomical location, if relevant Binding: ICD-O-3 Topographies Value Set (required)
| ||||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||||
![]() ![]() ![]() ![]() |
S | 0..* | CodeableConcept | Not used in this profile URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier Binding: Body Location Qualifier Value Set (required) | ||||||
![]() ![]() ![]() ![]() |
SO | 0..1 | CodeableConcept | Laterality Qualifier Extension URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-laterality-qualifier Binding: Laterality Qualifier Value Set (required)
| ||||||
![]() ![]() |
SOΣ | 1..1 | Reference(Cancer Patient Profile) | (USCDI) Who has the condition?
| ||||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Not used in this profile | ||||||
![]() ![]() |
SΣ | 0..1 | (USCDI) Estimated or actual date, date-time, or age | |||||||
![]() ![]() ![]() |
dateTime S | |||||||||
![]() ![]() ![]() |
Age | |||||||||
![]() ![]() ![]() |
Period | |||||||||
![]() ![]() ![]() |
Range | |||||||||
![]() ![]() ![]() |
string | |||||||||
![]() ![]() |
SC | 0..1 | (USCDI) When in resolution/remission | |||||||
![]() ![]() ![]() |
dateTime S | |||||||||
![]() ![]() ![]() |
Age | |||||||||
![]() ![]() ![]() |
Period | |||||||||
![]() ![]() ![]() |
Range | |||||||||
![]() ![]() ![]() |
string | |||||||||
![]() ![]() |
SΣ | 0..1 | dateTime | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Not used in this profile | ||||||
![]() ![]() |
SC | 0..* | BackboneElement | Not used in this profile Constraints: con-1 | ||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
SC | 0..* | Reference(Cancer Stage Profile) | Formal record of assessment | ||||||
![]() ![]() |
C | 0..* | BackboneElement | Not used in this profile Constraints: con-2 | ||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
Documentation for this format | ||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.extension:histologyMorphologyBehavior.value[x] | Base | required | ICD-O-3 Morphology Behavior Value Set | 📦0.2.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.category:us-core | Base | required | US Core Problem or Health Concern | 📦6.1.0 | US Core v6.1 |
| Condition.category:screening-assessment | Base | required | US Core Screening Assessment Condition Category | 📦6.1.0 | US Core v6.1 |
| Condition.severity | Base | preferred | Condition/Diagnosis Severity | 📦4.0.1 | FHIR Std. |
| Condition.code | Base | extensible | Primary Cancer Disorder Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0 |
| Condition.bodySite | Base | required | ICD-O-3 Topographies Value Set | 📦0.2.0 | This IG |
| 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 | 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()
|
| o-con-1 | error | Condition | If clinicalStatus is 'recurrence', the recurrenceOf extension must be provided. |
clinicalStatus.exists() and clinicalStatus.coding.code = 'recurrence' implies extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-of').exists()
|
| o-con-2 | error | Condition | If clinicalStatus is 'recurrence', the type of recurrence must be provided. |
clinicalStatus.exists() and clinicalStatus.coding.code = 'recurrence' implies clinicalStatus.extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-type').exists()
|
| o-con-req-1 | error | Condition | The subject element is required and must be provided. |
subject.exists()
|
| o-con-req-2 | error | Condition | The assertedDate extension is required and must be provided. |
extension('http://hl7.org/fhir/StructureDefinition/condition-assertedDate').exists()
|
| o-con-req-3 | error | Condition | The bodySite element is required and must be provided. |
bodySite.exists() and bodySite.coding.exists()
|
| o-con-req-4 | error | Condition | The histologyMorphologyBehavior extension is required and must be provided. |
extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior').exists()
|
Differential View
This structure is derived from PrimaryCancerCondition
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | PrimaryCancerCondition | Detailed information about conditions, problems or diagnoses Constraints: o-con-1, o-con-2, o-con-req-1, o-con-req-2, o-con-req-3, o-con-req-4 | ||||||
![]() ![]() |
1..* | Extension | Extension | |||||||
![]() ![]() |
Content/Rules for all slices | |||||||||
![]() ![]() ![]() |
O | 0..1 | ConditionAssertedDate(5.2.0) | Date the condition was first asserted
| ||||||
![]() ![]() ![]() |
O | 1..1 | HistologyMorphologyBehavior | Histology-Morphology-Behavior Extension
| ||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value of extension Binding: ICD-O-3 Morphology Behavior Value Set (required) | |||||||
![]() ![]() ![]() |
SO | 0..1 | CodeableConcept | Histological Differentiation URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-histological-differentiation Binding: ICD-O-3 Differentiations Value Set (required)
| ||||||
![]() ![]() |
||||||||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||||
![]() ![]() ![]() ![]() |
O | 0..1 | CodeableConcept | Primary Cancer Recurrence Type URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-primary-cancer-recurrence-type Binding: Recurrence Types Value Set (required)
| ||||||
![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(Primary Cancer Condition Profile) | Primary Cancer Recurrence Of URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-primary-cancer-recurrence-of
| ||||||
![]() ![]() |
0..1 | CodeableConcept | Not used in this profile | |||||||
![]() ![]() |
0..1 | CodeableConcept | Not used in this profile | |||||||
![]() ![]() |
1..1 | CodeableConcept | (USCDI) Identification of the condition, problem or diagnosis Required Pattern: At least the following | |||||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct | |||||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 363346000 | |||||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Malignant neoplastic disease | |||||||
![]() ![]() |
O | 1..1 | CodeableConcept | Anatomical location, if relevant Binding: ICD-O-3 Topographies Value Set (required)
| ||||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||||
![]() ![]() ![]() ![]() |
0..* | BodyLocationQualifier | Not used in this profile | |||||||
![]() ![]() ![]() ![]() |
O | 0..1 | LateralityQualifier | Laterality Qualifier Extension
| ||||||
![]() ![]() |
O | 1..1 | Reference(Cancer Patient Profile) | (USCDI) Who has the condition?
| ||||||
![]() ![]() |
0..1 | Reference(Encounter) | Not used in this profile | |||||||
![]() ![]() |
0..1 | dateTime | Not used in this profile | |||||||
![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Not used in this profile | |||||||
![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Not used in this profile | |||||||
![]() ![]() |
0..* | BackboneElement | Not used in this profile | |||||||
![]() ![]() |
0..* | BackboneElement | Not used in this profile | |||||||
Documentation for this format | ||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.extension:histologyMorphologyBehavior.value[x] | Base | required | ICD-O-3 Morphology Behavior Value Set | 📦0.2.0 | This IG |
| Condition.bodySite | Base | required | ICD-O-3 Topographies Value Set | 📦0.2.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| o-con-1 | error | Condition | If clinicalStatus is 'recurrence', the recurrenceOf extension must be provided. |
clinicalStatus.exists() and clinicalStatus.coding.code = 'recurrence' implies extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-of').exists()
|
| o-con-2 | error | Condition | If clinicalStatus is 'recurrence', the type of recurrence must be provided. |
clinicalStatus.exists() and clinicalStatus.coding.code = 'recurrence' implies clinicalStatus.extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-type').exists()
|
| o-con-req-1 | error | Condition | The subject element is required and must be provided. |
subject.exists()
|
| o-con-req-2 | error | Condition | The assertedDate extension is required and must be provided. |
extension('http://hl7.org/fhir/StructureDefinition/condition-assertedDate').exists()
|
| o-con-req-3 | error | Condition | The bodySite element is required and must be provided. |
bodySite.exists() and bodySite.coding.exists()
|
| o-con-req-4 | error | Condition | The histologyMorphologyBehavior extension is required and must be provided. |
extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior').exists()
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | PrimaryCancerCondition | Detailed information about conditions, problems or diagnoses Constraints: con-3, con-4, con-5, o-con-1, o-con-2, o-con-req-1, o-con-req-2, o-con-req-3, o-con-req-4 | ||||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||||
![]() ![]() |
S | 1..* | Extension | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() |
SO | 0..1 | dateTime | Date the condition was first asserted URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
| ||||||
![]() ![]() ![]() |
SO | 1..1 | (Complex) | Histology-Morphology-Behavior Extension URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior
| ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior" | |||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value of extension Binding: ICD-O-3 Morphology Behavior Value Set (required) | |||||||
![]() ![]() ![]() |
SO | 0..1 | CodeableConcept | Histological Differentiation URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-histological-differentiation Binding: ICD-O-3 Differentiations Value Set (required)
| ||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||
![]() ![]() |
Σ | 0..* | Identifier | External Ids for this condition | ||||||
![]() ![]() |
?!SΣC | 0..1 | CodeableConcept | (USCDI) active | recurrence | relapse | inactive | remission | resolved Binding: ConditionClinicalStatusCodes (required) | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() |
O | 0..1 | CodeableConcept | Primary Cancer Recurrence Type URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-primary-cancer-recurrence-type Binding: Recurrence Types Value Set (required)
| ||||||
![]() ![]() ![]() ![]() |
SO | 0..1 | Reference(Primary Cancer Condition Profile) | Primary Cancer Recurrence Of URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-primary-cancer-recurrence-of
| ||||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||||
![]() ![]() |
?!SΣC | 0..1 | CodeableConcept | Not used in this profile Binding: ConditionVerificationStatus (required) | ||||||
![]() ![]() |
S | 1..* | CodeableConcept | (USCDI) category codes Slice: Unordered, Open by pattern:$this Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. | ||||||
![]() ![]() ![]() |
S | 1..* | CodeableConcept | (USCDI) problem-list-item | health-concern Binding: US Core Problem or Health Concern (required): Note that other codes are permitted, see Required Bindings When Slicing by Value Sets | ||||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | (USCDI) USCDI Health Status/Assessments Data Class Binding: US Core Screening Assessment Condition Category (required): Note that other codes are permitted, see Required Bindings When Slicing by Value Sets | ||||||
![]() ![]() |
0..1 | CodeableConcept | Not used in this profile Binding: Condition/DiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician. | |||||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | (USCDI) Identification of the condition, problem or diagnosis Binding: Primary Cancer Disorder Value Set (extensible) Required Pattern: At least the following | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 363346000 | |||||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Malignant neoplastic disease | |||||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||||
![]() ![]() |
SOΣ | 1..1 | CodeableConcept | Anatomical location, if relevant Binding: ICD-O-3 Topographies Value Set (required)
| ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() ![]() |
S | 0..* | CodeableConcept | Not used in this profile URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier Binding: Body Location Qualifier Value Set (required) | ||||||
![]() ![]() ![]() ![]() |
SO | 0..1 | CodeableConcept | Laterality Qualifier Extension URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-laterality-qualifier Binding: Laterality Qualifier Value Set (required)
| ||||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||||
![]() ![]() |
SOΣ | 1..1 | Reference(Cancer Patient Profile) | (USCDI) Who has the condition?
| ||||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Not used in this profile | ||||||
![]() ![]() |
SΣ | 0..1 | (USCDI) Estimated or actual date, date-time, or age | |||||||
![]() ![]() ![]() |
dateTime S | |||||||||
![]() ![]() ![]() |
Age | |||||||||
![]() ![]() ![]() |
Period | |||||||||
![]() ![]() ![]() |
Range | |||||||||
![]() ![]() ![]() |
string | |||||||||
![]() ![]() |
SC | 0..1 | (USCDI) When in resolution/remission | |||||||
![]() ![]() ![]() |
dateTime S | |||||||||
![]() ![]() ![]() |
Age | |||||||||
![]() ![]() ![]() |
Period | |||||||||
![]() ![]() ![]() |
Range | |||||||||
![]() ![]() ![]() |
string | |||||||||
![]() ![]() |
SΣ | 0..1 | dateTime | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Not used in this profile | ||||||
![]() ![]() |
SC | 0..* | BackboneElement | Not used in this profile Constraints: con-1 | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Stage at time of last staging. Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages). | ||||||
![]() ![]() ![]() |
SC | 0..* | Reference(Cancer Stage Profile) | Formal record of assessment | ||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | The type of stage Staging system or method used. Binding: Cancer Staging Method Value Set (extensible) | |||||||
![]() ![]() |
C | 0..* | BackboneElement | Not used in this profile Constraints: con-2 | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
ΣC | 0..* | CodeableConcept | Manifestation/symptom Binding: Cancer Disease Status Evidence Type Value Set (required) | ||||||
![]() ![]() ![]() |
ΣC | 0..* | Reference(Resource) | Supporting information found elsewhere | ||||||
![]() ![]() |
0..* | Annotation | Additional information about the Condition | |||||||
Documentation for this format | ||||||||||
| 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 Behavior Value Set | 📦0.2.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.category:us-core | Base | required | US Core Problem or Health Concern | 📦6.1.0 | US Core v6.1 |
| Condition.category:screening-assessment | Base | required | US Core Screening Assessment Condition Category | 📦6.1.0 | US Core v6.1 |
| Condition.severity | Base | preferred | Condition/Diagnosis Severity | 📦4.0.1 | FHIR Std. |
| Condition.code | Base | extensible | Primary Cancer Disorder Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0 |
| Condition.bodySite | Base | required | ICD-O-3 Topographies Value Set | 📦0.2.0 | This IG |
| Condition.stage.summary | Base | example | Condition Stage | 📦4.0.1 | FHIR Std. |
| Condition.stage.type | Base | extensible | Cancer Staging Method Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0 |
| Condition.evidence.code | Base | required | Cancer Disease Status Evidence Type Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0 |
| 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 | 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()
|
| o-con-1 | error | Condition | If clinicalStatus is 'recurrence', the recurrenceOf extension must be provided. |
clinicalStatus.exists() and clinicalStatus.coding.code = 'recurrence' implies extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-of').exists()
|
| o-con-2 | error | Condition | If clinicalStatus is 'recurrence', the type of recurrence must be provided. |
clinicalStatus.exists() and clinicalStatus.coding.code = 'recurrence' implies clinicalStatus.extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-type').exists()
|
| o-con-req-1 | error | Condition | The subject element is required and must be provided. |
subject.exists()
|
| o-con-req-2 | error | Condition | The assertedDate extension is required and must be provided. |
extension('http://hl7.org/fhir/StructureDefinition/condition-assertedDate').exists()
|
| o-con-req-3 | error | Condition | The bodySite element is required and must be provided. |
bodySite.exists() and bodySite.coding.exists()
|
| o-con-req-4 | error | Condition | The histologyMorphologyBehavior extension is required and must be provided. |
extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior').exists()
|
This structure is derived from PrimaryCancerCondition
Other representations of profile: CSV, Excel, Schematron