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 2025-10-17 | 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.
This profile can be used to represent the Onconova neoplastic entities of relationship primary
, local_recurrence
, and regional_recurrence
. Local and regional recurrences are indicated using extensions to denote that the condition is a recurrence of a previous condition, and to specify the type of recurrence (local or regional). For example, a local recurrence would be represented as a PrimaryCancerCondition with:
{
clinicalStatus: {
coding: [
{
system: "http://snomed.info/sct",
code: "recurrence",
display: "Recurrence"
}
],
},
_clinicalStatus {
extension: [
{
url: "http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-type",
valueCodeableConcept: {
coding: [
{
system: "http://snomed.info/sct",
code: "255470001",
display: "Local (qualifier value)"
}
]
}
}
]
},
}
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(4.0.0) | 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 Constraints: ext-1 |
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | (USCDI) Date the condition was first asserted URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate Constraints: ext-1 |
![]() ![]() ![]() ![]() |
S | 1..1 | (Complex) | Histology-Morphology-Behavior Extension URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior Constraints: ext-1 |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value of extension Binding: ICDO3MorphologyBehavior (0.2.0) (required) | |
![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Primary Cancer Condition Profile(4.0.0)) | Recurrence Of URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-of Constraints: ext-1 |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() ![]() |
?!SΣC | 0..1 | CodeableConcept | (USCDI) active | recurrence | relapse | inactive | remission | resolved Binding: ConditionClinicalStatusCodes (required) |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Recurrence Type URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-type Binding: RecurrenceTypeVS (0.2.0) (required) Constraints: ext-1 | |
![]() ![]() ![]() |
?!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: USCoreProblemOrHealthConcern (6.1.0) (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: USCoreScreeningAssessmentConditionCategory (6.1.0) (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: PrimaryCancerDisorderVS (4.0.0) (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 | |
![]() ![]() ![]() |
SΣ | 1..* | CodeableConcept | Anatomical location, if relevant Binding: ICDO3Topography (0.2.0) (required) |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..* | CodeableConcept | General location qualifier (excluding laterality) for this bodySite URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier Binding: Body Location Qualifier Value Set (required) Constraints: ext-1 |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Laterality qualifier for this bodySite URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-laterality-qualifier Binding: Laterality Qualifier Value Set (required) Constraints: ext-1 |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Cancer Patient Profile(0.2.0)) | (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 Constraints: ext-1 |
![]() ![]() ![]() ![]() |
SC | 0..* | Reference(Cancer Stage Profile(4.0.0)) | 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 Constraints: ext-1 |
![]() |
Path | Status | Usage | ValueSet | Version | Source |
Condition.extension:histologyMorphologyBehavior.value[x] | Base | required | ICD-O-3 Morphology Behavior | 📍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 Topography | 📍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 | Condition.implicitRules, Condition.extension, Condition.extension:assertedDate, Condition.extension:histologyMorphologyBehavior, Condition.extension:histologyMorphologyBehavior.value[x], Condition.extension:recurrenceOf, Condition.modifierExtension, Condition.clinicalStatus, Condition.clinicalStatus.extension:recurrenceType, Condition.verificationStatus, Condition.category, Condition.category:us-core, Condition.category:screening-assessment, Condition.severity, Condition.code, Condition.bodySite, Condition.bodySite.extension:locationQualifier, Condition.bodySite.extension:lateralityQualifier, Condition.subject, Condition.encounter, Condition.onset[x], Condition.abatement[x], Condition.recordedDate, Condition.recorder, Condition.asserter, Condition.stage, Condition.stage.modifierExtension, Condition.stage.assessment, Condition.evidence, Condition.evidence.modifierExtension | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
ext-1 | error | Condition.extension, Condition.extension:assertedDate, Condition.extension:histologyMorphologyBehavior, Condition.extension:recurrenceOf, Condition.modifierExtension, Condition.clinicalStatus.extension:recurrenceType, Condition.bodySite.extension:locationQualifier, Condition.bodySite.extension:lateralityQualifier, Condition.stage.modifierExtension, Condition.evidence.modifierExtension | 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() and subject.resolve().is(Patient)
|
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
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | PrimaryCancerCondition(4.0.0) | Detailed information about conditions, problems or diagnoses |
![]() ![]() ![]() |
1..* | Extension | Extension | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
1..1 | HistologyMorphologyBehavior(4.0.0) | Histology-Morphology-Behavior Extension | |
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value of extension Binding: ICDO3MorphologyBehavior (0.2.0) (required) | |
![]() ![]() ![]() ![]() |
0..1 | Reference(Primary Cancer Condition Profile(4.0.0)) | Recurrence Of URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-of | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Recurrence Type URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-type Binding: RecurrenceTypeVS (0.2.0) (required) | |
![]() ![]() ![]() |
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 | |
![]() ![]() ![]() |
1..* | CodeableConcept | Anatomical location, if relevant Binding: ICDO3Topography (0.2.0) (required) | |
![]() ![]() ![]() |
1..1 | Reference(Cancer Patient Profile(0.2.0)) | (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 | |
![]() |
Path | Status | Usage | ValueSet | Version | Source |
Condition.extension:histologyMorphologyBehavior.value[x] | Base | required | ICD-O-3 Morphology Behavior | 📍0.2.0 | This IG |
Condition.bodySite | Base | required | ICD-O-3 Topography | 📍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() and subject.resolve().is(Patient)
|
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(4.0.0) | 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 Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | (USCDI) Date the condition was first asserted URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | (Complex) | Histology-Morphology-Behavior Extension URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior" | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value of extension Binding: ICDO3MorphologyBehavior (0.2.0) (required) | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Primary Cancer Condition Profile(4.0.0)) | Recurrence Of URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-of Constraints: ext-1 | ||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 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 Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Recurrence Type URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-type Binding: RecurrenceTypeVS (0.2.0) (required) Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
Σ | 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: USCoreProblemOrHealthConcern (6.1.0) (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: USCoreScreeningAssessmentConditionCategory (6.1.0) (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: PrimaryCancerDisorderVS (4.0.0) (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 | |||||
![]() ![]() ![]() |
SΣ | 1..* | CodeableConcept | Anatomical location, if relevant Binding: ICDO3Topography (0.2.0) (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
S | 0..* | CodeableConcept | General location qualifier (excluding laterality) for this bodySite URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier Binding: Body Location Qualifier Value Set (required) Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Laterality qualifier for this bodySite URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-laterality-qualifier Binding: Laterality Qualifier Value Set (required) Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Cancer Patient Profile(0.2.0)) | (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 Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
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(4.0.0)) | Formal record of assessment | ||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | The type of stage Staging system or method used. Binding: CancerStagingMethodVS (4.0.0) (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 Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..* | CodeableConcept | Manifestation/symptom Binding: CancerDiseaseStatusEvidenceTypeVS (4.0.0) (required) | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..* | Reference(Resource) | Supporting information found elsewhere | ||||
![]() ![]() ![]() |
0..* | Annotation | Additional information about the Condition | |||||
![]() |
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 | Condition.meta, Condition.implicitRules, Condition.language, Condition.text, Condition.extension, Condition.extension:assertedDate, Condition.extension:histologyMorphologyBehavior, Condition.extension:histologyMorphologyBehavior.value[x], Condition.extension:recurrenceOf, Condition.modifierExtension, Condition.identifier, Condition.clinicalStatus, Condition.clinicalStatus.extension, Condition.clinicalStatus.extension:recurrenceType, Condition.clinicalStatus.coding, Condition.clinicalStatus.text, Condition.verificationStatus, Condition.category, Condition.category:us-core, Condition.category:screening-assessment, Condition.severity, Condition.code, Condition.bodySite, Condition.bodySite.extension, Condition.bodySite.extension:locationQualifier, Condition.bodySite.extension:lateralityQualifier, Condition.bodySite.coding, Condition.bodySite.text, Condition.subject, Condition.encounter, Condition.onset[x], Condition.abatement[x], Condition.recordedDate, Condition.recorder, Condition.asserter, Condition.stage, Condition.stage.extension, Condition.stage.modifierExtension, Condition.stage.summary, Condition.stage.assessment, Condition.stage.type, Condition.evidence, Condition.evidence.extension, Condition.evidence.modifierExtension, Condition.evidence.code, Condition.evidence.detail, Condition.note | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
ext-1 | error | Condition.extension, Condition.extension:assertedDate, Condition.extension:histologyMorphologyBehavior, Condition.extension:recurrenceOf, Condition.modifierExtension, Condition.clinicalStatus.extension, Condition.clinicalStatus.extension:recurrenceType, Condition.bodySite.extension, Condition.bodySite.extension:locationQualifier, Condition.bodySite.extension:lateralityQualifier, Condition.stage.extension, Condition.stage.modifierExtension, Condition.evidence.extension, Condition.evidence.modifierExtension | 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() and subject.resolve().is(Patient)
|
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(4.0.0) | 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 Constraints: ext-1 |
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | (USCDI) Date the condition was first asserted URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate Constraints: ext-1 |
![]() ![]() ![]() ![]() |
S | 1..1 | (Complex) | Histology-Morphology-Behavior Extension URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior Constraints: ext-1 |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value of extension Binding: ICDO3MorphologyBehavior (0.2.0) (required) | |
![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Primary Cancer Condition Profile(4.0.0)) | Recurrence Of URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-of Constraints: ext-1 |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() ![]() |
?!SΣC | 0..1 | CodeableConcept | (USCDI) active | recurrence | relapse | inactive | remission | resolved Binding: ConditionClinicalStatusCodes (required) |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Recurrence Type URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-type Binding: RecurrenceTypeVS (0.2.0) (required) Constraints: ext-1 | |
![]() ![]() ![]() |
?!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: USCoreProblemOrHealthConcern (6.1.0) (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: USCoreScreeningAssessmentConditionCategory (6.1.0) (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: PrimaryCancerDisorderVS (4.0.0) (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 | |
![]() ![]() ![]() |
SΣ | 1..* | CodeableConcept | Anatomical location, if relevant Binding: ICDO3Topography (0.2.0) (required) |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..* | CodeableConcept | General location qualifier (excluding laterality) for this bodySite URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier Binding: Body Location Qualifier Value Set (required) Constraints: ext-1 |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Laterality qualifier for this bodySite URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-laterality-qualifier Binding: Laterality Qualifier Value Set (required) Constraints: ext-1 |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Cancer Patient Profile(0.2.0)) | (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 Constraints: ext-1 |
![]() ![]() ![]() ![]() |
SC | 0..* | Reference(Cancer Stage Profile(4.0.0)) | 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 Constraints: ext-1 |
![]() |
Path | Status | Usage | ValueSet | Version | Source |
Condition.extension:histologyMorphologyBehavior.value[x] | Base | required | ICD-O-3 Morphology Behavior | 📍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 Topography | 📍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 | Condition.implicitRules, Condition.extension, Condition.extension:assertedDate, Condition.extension:histologyMorphologyBehavior, Condition.extension:histologyMorphologyBehavior.value[x], Condition.extension:recurrenceOf, Condition.modifierExtension, Condition.clinicalStatus, Condition.clinicalStatus.extension:recurrenceType, Condition.verificationStatus, Condition.category, Condition.category:us-core, Condition.category:screening-assessment, Condition.severity, Condition.code, Condition.bodySite, Condition.bodySite.extension:locationQualifier, Condition.bodySite.extension:lateralityQualifier, Condition.subject, Condition.encounter, Condition.onset[x], Condition.abatement[x], Condition.recordedDate, Condition.recorder, Condition.asserter, Condition.stage, Condition.stage.modifierExtension, Condition.stage.assessment, Condition.evidence, Condition.evidence.modifierExtension | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
ext-1 | error | Condition.extension, Condition.extension:assertedDate, Condition.extension:histologyMorphologyBehavior, Condition.extension:recurrenceOf, Condition.modifierExtension, Condition.clinicalStatus.extension:recurrenceType, Condition.bodySite.extension:locationQualifier, Condition.bodySite.extension:lateralityQualifier, Condition.stage.modifierExtension, Condition.evidence.modifierExtension | 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() and subject.resolve().is(Patient)
|
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(4.0.0) | Detailed information about conditions, problems or diagnoses |
![]() ![]() ![]() |
1..* | Extension | Extension | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
1..1 | HistologyMorphologyBehavior(4.0.0) | Histology-Morphology-Behavior Extension | |
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value of extension Binding: ICDO3MorphologyBehavior (0.2.0) (required) | |
![]() ![]() ![]() ![]() |
0..1 | Reference(Primary Cancer Condition Profile(4.0.0)) | Recurrence Of URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-of | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Recurrence Type URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-type Binding: RecurrenceTypeVS (0.2.0) (required) | |
![]() ![]() ![]() |
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 | |
![]() ![]() ![]() |
1..* | CodeableConcept | Anatomical location, if relevant Binding: ICDO3Topography (0.2.0) (required) | |
![]() ![]() ![]() |
1..1 | Reference(Cancer Patient Profile(0.2.0)) | (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 | |
![]() |
Path | Status | Usage | ValueSet | Version | Source |
Condition.extension:histologyMorphologyBehavior.value[x] | Base | required | ICD-O-3 Morphology Behavior | 📍0.2.0 | This IG |
Condition.bodySite | Base | required | ICD-O-3 Topography | 📍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() and subject.resolve().is(Patient)
|
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(4.0.0) | 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 Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | (USCDI) Date the condition was first asserted URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | (Complex) | Histology-Morphology-Behavior Extension URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior" | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value of extension Binding: ICDO3MorphologyBehavior (0.2.0) (required) | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Primary Cancer Condition Profile(4.0.0)) | Recurrence Of URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-of Constraints: ext-1 | ||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 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 Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Recurrence Type URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-recurrence-type Binding: RecurrenceTypeVS (0.2.0) (required) Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
Σ | 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: USCoreProblemOrHealthConcern (6.1.0) (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: USCoreScreeningAssessmentConditionCategory (6.1.0) (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: PrimaryCancerDisorderVS (4.0.0) (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 | |||||
![]() ![]() ![]() |
SΣ | 1..* | CodeableConcept | Anatomical location, if relevant Binding: ICDO3Topography (0.2.0) (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
S | 0..* | CodeableConcept | General location qualifier (excluding laterality) for this bodySite URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier Binding: Body Location Qualifier Value Set (required) Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Laterality qualifier for this bodySite URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-laterality-qualifier Binding: Laterality Qualifier Value Set (required) Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Cancer Patient Profile(0.2.0)) | (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 Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
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(4.0.0)) | Formal record of assessment | ||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | The type of stage Staging system or method used. Binding: CancerStagingMethodVS (4.0.0) (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 Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..* | CodeableConcept | Manifestation/symptom Binding: CancerDiseaseStatusEvidenceTypeVS (4.0.0) (required) | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..* | Reference(Resource) | Supporting information found elsewhere | ||||
![]() ![]() ![]() |
0..* | Annotation | Additional information about the Condition | |||||
![]() |
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 | Condition.meta, Condition.implicitRules, Condition.language, Condition.text, Condition.extension, Condition.extension:assertedDate, Condition.extension:histologyMorphologyBehavior, Condition.extension:histologyMorphologyBehavior.value[x], Condition.extension:recurrenceOf, Condition.modifierExtension, Condition.identifier, Condition.clinicalStatus, Condition.clinicalStatus.extension, Condition.clinicalStatus.extension:recurrenceType, Condition.clinicalStatus.coding, Condition.clinicalStatus.text, Condition.verificationStatus, Condition.category, Condition.category:us-core, Condition.category:screening-assessment, Condition.severity, Condition.code, Condition.bodySite, Condition.bodySite.extension, Condition.bodySite.extension:locationQualifier, Condition.bodySite.extension:lateralityQualifier, Condition.bodySite.coding, Condition.bodySite.text, Condition.subject, Condition.encounter, Condition.onset[x], Condition.abatement[x], Condition.recordedDate, Condition.recorder, Condition.asserter, Condition.stage, Condition.stage.extension, Condition.stage.modifierExtension, Condition.stage.summary, Condition.stage.assessment, Condition.stage.type, Condition.evidence, Condition.evidence.extension, Condition.evidence.modifierExtension, Condition.evidence.code, Condition.evidence.detail, Condition.note | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
ext-1 | error | Condition.extension, Condition.extension:assertedDate, Condition.extension:histologyMorphologyBehavior, Condition.extension:recurrenceOf, Condition.modifierExtension, Condition.clinicalStatus.extension, Condition.clinicalStatus.extension:recurrenceType, Condition.bodySite.extension, Condition.bodySite.extension:locationQualifier, Condition.bodySite.extension:lateralityQualifier, Condition.stage.extension, Condition.stage.modifierExtension, Condition.evidence.extension, Condition.evidence.modifierExtension | 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() and subject.resolve().is(Patient)
|
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