OncoFAIR
0.1.0 - ci-build

This page is part of the ONCOFAIR FHIR Implementation Guide (v0.1.0: Release) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

Resource Profile: Tumor Pathology Event

Official URL: http://oncofair-ig.kereval.cloud/StructureDefinition/tumor-pathology-event Version: 0.1.0
Active as of 2025-11-17 Computable Name: TumorPathologyEvent

Tumor Pathology Event (TPE) Condition describing a tumoral event: reference to the parent TPE, laterality, morphology.

Usages:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-2, con-3
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:due-to S 0..1 Reference(Tumor Pathology Event) The parent tumoral event
URL: http://hl7.org/fhir/StructureDefinition/condition-dueTo profiled by http://oncofair-ig.kereval.cloud/StructureDefinition/dueTo-tumor-pathology-event
.... extension:laterality S 0..1 CodeableConcept Laterality of location
URL: http://oncofair-ig.kereval.cloud/StructureDefinition/laterality
Binding: Tumor Laterality Value Set (required)
.... extension:histologygrade S 0..1 (Complex) Histology of the tumor
URL: http://oncofair-ig.kereval.cloud/StructureDefinition/histologygrade
... clinicalStatus ?!ΣC 1..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved | unknown
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.
... verificationStatus ?!Σ 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
... code SΣ 1..1 CodeableConcept Type of tumor event
Binding: Tumor Pathology Event Type Value Set (required)
... bodySite SΣ 1..1 CodeableConcept Topographic code
Binding: Topography Value Set (extensible)
... subject SΣ 1..1 Reference(OncoFAIR Patient) Who has the condition?
... Slices for onset[x] Σ 1..1 dateTime Estimated or actual date, date-time, or age
Slice: Unordered, Closed by type:$this
.... onset[x]:onsetDateTime SΣ 1..1 dateTime Start date
... Slices for abatement[x] C 0..1 dateTime When in resolution/remission
Slice: Unordered, Closed by type:$this
.... abatement[x]:abatementDateTime SC 0..1 dateTime End date
... recordedDate SΣ 1..1 dateTime Date of diagnosis
... Slices for stage C 1..* BackboneElement Stage/grade, usually assessed formally
Slice: Unordered, Open by pattern:type.coding.code
Constraints: con-1
.... stage:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... stage:morphology SC 1..1 BackboneElement International code of lesion / histological type / morphology of the tumoral event
Constraints: con-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... summary C 1..1 CodeableConcept Histological/ morphological code
Binding: Morphology Value Set (extensible)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|5.0.0
From the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|5.0.0
From the FHIR Standard
Condition.coderequiredTumorPathologyEventType
http://oncofair-ig.kereval.cloud/ValueSet/TumorPathologyEventType
From this IG
Condition.bodySiteextensibleTopography
http://oncofair-ig.kereval.cloud/ValueSet/Topography
From this IG
Condition.stage:morphology.summaryextensibleMorphology
http://oncofair-ig.kereval.cloud/ValueSet/Morphology
From this IG

Constraints

IdGradePath(s)DetailsRequirements
con-1errorCondition.stage, Condition.stage:morphologyStage SHALL have summary or assessment
: summary.exists() or assessment.exists()
con-2warningConditionIf category is problems list item, the clinicalStatus should not be unknown
: category.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-category' and code='problem-list-item').exists() implies clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and code='unknown').exists().not()
con-3errorConditionIf condition is abated, then clinicalStatus must be either inactive, resolved, or remission.
: abatement.exists() implies (clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='inactive' or code='resolved' or code='remission')).exists())
dom-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorConditionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Condition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition Condition
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:due-to S 0..1 Reference(Tumor Pathology Event) The parent tumoral event
URL: http://hl7.org/fhir/StructureDefinition/condition-dueTo profiled by http://oncofair-ig.kereval.cloud/StructureDefinition/dueTo-tumor-pathology-event
.... extension:laterality S 0..1 CodeableConcept Laterality of location
URL: http://oncofair-ig.kereval.cloud/StructureDefinition/laterality
Binding: Tumor Laterality Value Set (required)
.... extension:histologygrade S 0..1 (Complex) Histology of the tumor
URL: http://oncofair-ig.kereval.cloud/StructureDefinition/histologygrade
... code S 1..1 CodeableConcept Type of tumor event
Binding: Tumor Pathology Event Type Value Set (required)
... bodySite S 1..1 CodeableConcept Topographic code
Binding: Topography Value Set (extensible)
... Slices for onset[x] 1..1 dateTime Estimated or actual date, date-time, or age
Slice: Unordered, Open by type:$this
.... onset[x]:onsetDateTime S 1..1 dateTime Start date
... Slices for abatement[x] 0..1 dateTime When in resolution/remission
Slice: Unordered, Open by type:$this
.... abatement[x]:abatementDateTime S 0..1 dateTime End date
... recordedDate S 1..1 dateTime Date of diagnosis
... Slices for stage 1..* BackboneElement Stage/grade, usually assessed formally
Slice: Unordered, Open by pattern:type.coding.code
.... stage:morphology S 1..1 BackboneElement International code of lesion / histological type / morphology of the tumoral event
..... summary 1..1 CodeableConcept Histological/ morphological code
Binding: Morphology Value Set (extensible)
..... type
...... coding
....... code 1..1 code Symbol in syntax defined by the system
Required Pattern: 116676008

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Condition.coderequiredTumorPathologyEventType
http://oncofair-ig.kereval.cloud/ValueSet/TumorPathologyEventType
From this IG
Condition.bodySiteextensibleTopography
http://oncofair-ig.kereval.cloud/ValueSet/Topography
From this IG
Condition.stage:morphology.summaryextensibleMorphology
http://oncofair-ig.kereval.cloud/ValueSet/Morphology
From this IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-2, con-3
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:due-to S 0..1 Reference(Tumor Pathology Event) The parent tumoral event
URL: http://hl7.org/fhir/StructureDefinition/condition-dueTo profiled by http://oncofair-ig.kereval.cloud/StructureDefinition/dueTo-tumor-pathology-event
.... extension:laterality S 0..1 CodeableConcept Laterality of location
URL: http://oncofair-ig.kereval.cloud/StructureDefinition/laterality
Binding: Tumor Laterality Value Set (required)
.... extension:histologygrade S 0..1 (Complex) Histology of the tumor
URL: http://oncofair-ig.kereval.cloud/StructureDefinition/histologygrade
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External Ids for this condition
... clinicalStatus ?!ΣC 1..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved | unknown
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.
... verificationStatus ?!Σ 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
... category C 0..* CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (preferred): A category assigned to the condition.
... severity 0..1 CodeableConcept Subjective severity of condition
Binding: ConditionDiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician.
... code SΣ 1..1 CodeableConcept Type of tumor event
Binding: Tumor Pathology Event Type Value Set (required)
... bodySite SΣ 1..1 CodeableConcept Topographic code
Binding: Topography Value Set (extensible)
... subject SΣ 1..1 Reference(OncoFAIR Patient) Who has the condition?
... encounter Σ 0..1 Reference(Encounter) The Encounter during which this Condition was created
... Slices for onset[x] Σ 1..1 dateTime Estimated or actual date, date-time, or age
Slice: Unordered, Closed by type:$this
.... onset[x]:onsetDateTime SΣ 1..1 dateTime Start date
... Slices for abatement[x] C 0..1 dateTime When in resolution/remission
Slice: Unordered, Closed by type:$this
.... abatement[x]:abatementDateTime SC 0..1 dateTime End date
... recordedDate SΣ 1..1 dateTime Date of diagnosis
... participant Σ 0..* BackboneElement Who or what participated in the activities related to the condition and how they were involved
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... function Σ 0..1 CodeableConcept Type of involvement
Binding: ParticipationRoleType (extensible)
.... actor Σ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) Who or what participated in the activities related to the condition
... Slices for stage C 1..* BackboneElement Stage/grade, usually assessed formally
Slice: Unordered, Open by pattern:type.coding.code
Constraints: con-1
.... stage:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... summary C 0..1 CodeableConcept Simple summary (disease specific)
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).
..... assessment C 0..* Reference(ClinicalImpression | DiagnosticReport | Observation) Formal record of assessment
..... type 0..1 CodeableConcept Kind of staging
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).
.... stage:morphology SC 1..1 BackboneElement International code of lesion / histological type / morphology of the tumoral event
Constraints: con-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... summary C 1..1 CodeableConcept Histological/ morphological code
Binding: Morphology Value Set (extensible)
..... assessment C 0..* Reference(ClinicalImpression | DiagnosticReport | Observation) Formal record of assessment
..... type 0..1 CodeableConcept Kind of staging
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
....... id 0..1 id Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 0..1 uri Identity of the terminology system
....... version Σ 0..1 string Version of the system - if relevant
....... code ΣC 1..1 code Symbol in syntax defined by the system
Required Pattern: 116676008
....... display ΣC 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
... evidence Σ 0..* CodeableReference(Resource) Supporting evidence for the verification status
Binding: SNOMEDCTClinicalFindings (example)
... note 0..* Annotation Additional information about the Condition

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Condition.languagerequiredAllLanguages(a valid code from urn:ietf:bcp:47)
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
From the FHIR Standard
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|5.0.0
From the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|5.0.0
From the FHIR Standard
Condition.categorypreferredConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
From the FHIR Standard
Condition.severitypreferredConditionDiagnosisSeverity
http://hl7.org/fhir/ValueSet/condition-severity
From the FHIR Standard
Condition.coderequiredTumorPathologyEventType
http://oncofair-ig.kereval.cloud/ValueSet/TumorPathologyEventType
From this IG
Condition.bodySiteextensibleTopography
http://oncofair-ig.kereval.cloud/ValueSet/Topography
From this IG
Condition.participant.functionextensibleParticipationRoleType
http://hl7.org/fhir/ValueSet/participation-role-type
From the FHIR Standard
Condition.stage.summaryexampleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
From the FHIR Standard
Condition.stage.typeexampleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
From the FHIR Standard
Condition.stage:morphology.summaryextensibleMorphology
http://oncofair-ig.kereval.cloud/ValueSet/Morphology
From this IG
Condition.stage:morphology.typeexampleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
From the FHIR Standard
Condition.evidenceexampleSNOMEDCTClinicalFindings
http://hl7.org/fhir/ValueSet/clinical-findings
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
con-1errorCondition.stage, Condition.stage:morphologyStage SHALL have summary or assessment
: summary.exists() or assessment.exists()
con-2warningConditionIf category is problems list item, the clinicalStatus should not be unknown
: category.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-category' and code='problem-list-item').exists() implies clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and code='unknown').exists().not()
con-3errorConditionIf condition is abated, then clinicalStatus must be either inactive, resolved, or remission.
: abatement.exists() implies (clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='inactive' or code='resolved' or code='remission')).exists())
dom-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorConditionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Condition

Summary

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

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Condition.onset[x]
  • The element 1 is sliced based on the value of Condition.abatement[x]
  • The element 1 is sliced based on the value of Condition.stage

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-2, con-3
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:due-to S 0..1 Reference(Tumor Pathology Event) The parent tumoral event
URL: http://hl7.org/fhir/StructureDefinition/condition-dueTo profiled by http://oncofair-ig.kereval.cloud/StructureDefinition/dueTo-tumor-pathology-event
.... extension:laterality S 0..1 CodeableConcept Laterality of location
URL: http://oncofair-ig.kereval.cloud/StructureDefinition/laterality
Binding: Tumor Laterality Value Set (required)
.... extension:histologygrade S 0..1 (Complex) Histology of the tumor
URL: http://oncofair-ig.kereval.cloud/StructureDefinition/histologygrade
... clinicalStatus ?!ΣC 1..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved | unknown
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.
... verificationStatus ?!Σ 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
... code SΣ 1..1 CodeableConcept Type of tumor event
Binding: Tumor Pathology Event Type Value Set (required)
... bodySite SΣ 1..1 CodeableConcept Topographic code
Binding: Topography Value Set (extensible)
... subject SΣ 1..1 Reference(OncoFAIR Patient) Who has the condition?
... Slices for onset[x] Σ 1..1 dateTime Estimated or actual date, date-time, or age
Slice: Unordered, Closed by type:$this
.... onset[x]:onsetDateTime SΣ 1..1 dateTime Start date
... Slices for abatement[x] C 0..1 dateTime When in resolution/remission
Slice: Unordered, Closed by type:$this
.... abatement[x]:abatementDateTime SC 0..1 dateTime End date
... recordedDate SΣ 1..1 dateTime Date of diagnosis
... Slices for stage C 1..* BackboneElement Stage/grade, usually assessed formally
Slice: Unordered, Open by pattern:type.coding.code
Constraints: con-1
.... stage:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... stage:morphology SC 1..1 BackboneElement International code of lesion / histological type / morphology of the tumoral event
Constraints: con-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... summary C 1..1 CodeableConcept Histological/ morphological code
Binding: Morphology Value Set (extensible)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|5.0.0
From the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|5.0.0
From the FHIR Standard
Condition.coderequiredTumorPathologyEventType
http://oncofair-ig.kereval.cloud/ValueSet/TumorPathologyEventType
From this IG
Condition.bodySiteextensibleTopography
http://oncofair-ig.kereval.cloud/ValueSet/Topography
From this IG
Condition.stage:morphology.summaryextensibleMorphology
http://oncofair-ig.kereval.cloud/ValueSet/Morphology
From this IG

Constraints

IdGradePath(s)DetailsRequirements
con-1errorCondition.stage, Condition.stage:morphologyStage SHALL have summary or assessment
: summary.exists() or assessment.exists()
con-2warningConditionIf category is problems list item, the clinicalStatus should not be unknown
: category.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-category' and code='problem-list-item').exists() implies clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and code='unknown').exists().not()
con-3errorConditionIf condition is abated, then clinicalStatus must be either inactive, resolved, or remission.
: abatement.exists() implies (clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='inactive' or code='resolved' or code='remission')).exists())
dom-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorConditionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from Condition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition Condition
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:due-to S 0..1 Reference(Tumor Pathology Event) The parent tumoral event
URL: http://hl7.org/fhir/StructureDefinition/condition-dueTo profiled by http://oncofair-ig.kereval.cloud/StructureDefinition/dueTo-tumor-pathology-event
.... extension:laterality S 0..1 CodeableConcept Laterality of location
URL: http://oncofair-ig.kereval.cloud/StructureDefinition/laterality
Binding: Tumor Laterality Value Set (required)
.... extension:histologygrade S 0..1 (Complex) Histology of the tumor
URL: http://oncofair-ig.kereval.cloud/StructureDefinition/histologygrade
... code S 1..1 CodeableConcept Type of tumor event
Binding: Tumor Pathology Event Type Value Set (required)
... bodySite S 1..1 CodeableConcept Topographic code
Binding: Topography Value Set (extensible)
... Slices for onset[x] 1..1 dateTime Estimated or actual date, date-time, or age
Slice: Unordered, Open by type:$this
.... onset[x]:onsetDateTime S 1..1 dateTime Start date
... Slices for abatement[x] 0..1 dateTime When in resolution/remission
Slice: Unordered, Open by type:$this
.... abatement[x]:abatementDateTime S 0..1 dateTime End date
... recordedDate S 1..1 dateTime Date of diagnosis
... Slices for stage 1..* BackboneElement Stage/grade, usually assessed formally
Slice: Unordered, Open by pattern:type.coding.code
.... stage:morphology S 1..1 BackboneElement International code of lesion / histological type / morphology of the tumoral event
..... summary 1..1 CodeableConcept Histological/ morphological code
Binding: Morphology Value Set (extensible)
..... type
...... coding
....... code 1..1 code Symbol in syntax defined by the system
Required Pattern: 116676008

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Condition.coderequiredTumorPathologyEventType
http://oncofair-ig.kereval.cloud/ValueSet/TumorPathologyEventType
From this IG
Condition.bodySiteextensibleTopography
http://oncofair-ig.kereval.cloud/ValueSet/Topography
From this IG
Condition.stage:morphology.summaryextensibleMorphology
http://oncofair-ig.kereval.cloud/ValueSet/Morphology
From this IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-2, con-3
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:due-to S 0..1 Reference(Tumor Pathology Event) The parent tumoral event
URL: http://hl7.org/fhir/StructureDefinition/condition-dueTo profiled by http://oncofair-ig.kereval.cloud/StructureDefinition/dueTo-tumor-pathology-event
.... extension:laterality S 0..1 CodeableConcept Laterality of location
URL: http://oncofair-ig.kereval.cloud/StructureDefinition/laterality
Binding: Tumor Laterality Value Set (required)
.... extension:histologygrade S 0..1 (Complex) Histology of the tumor
URL: http://oncofair-ig.kereval.cloud/StructureDefinition/histologygrade
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External Ids for this condition
... clinicalStatus ?!ΣC 1..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved | unknown
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.
... verificationStatus ?!Σ 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
... category C 0..* CodeableConcept problem-list-item | encounter-diagnosis
Binding: ConditionCategoryCodes (preferred): A category assigned to the condition.
... severity 0..1 CodeableConcept Subjective severity of condition
Binding: ConditionDiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician.
... code SΣ 1..1 CodeableConcept Type of tumor event
Binding: Tumor Pathology Event Type Value Set (required)
... bodySite SΣ 1..1 CodeableConcept Topographic code
Binding: Topography Value Set (extensible)
... subject SΣ 1..1 Reference(OncoFAIR Patient) Who has the condition?
... encounter Σ 0..1 Reference(Encounter) The Encounter during which this Condition was created
... Slices for onset[x] Σ 1..1 dateTime Estimated or actual date, date-time, or age
Slice: Unordered, Closed by type:$this
.... onset[x]:onsetDateTime SΣ 1..1 dateTime Start date
... Slices for abatement[x] C 0..1 dateTime When in resolution/remission
Slice: Unordered, Closed by type:$this
.... abatement[x]:abatementDateTime SC 0..1 dateTime End date
... recordedDate SΣ 1..1 dateTime Date of diagnosis
... participant Σ 0..* BackboneElement Who or what participated in the activities related to the condition and how they were involved
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... function Σ 0..1 CodeableConcept Type of involvement
Binding: ParticipationRoleType (extensible)
.... actor Σ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) Who or what participated in the activities related to the condition
... Slices for stage C 1..* BackboneElement Stage/grade, usually assessed formally
Slice: Unordered, Open by pattern:type.coding.code
Constraints: con-1
.... stage:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... summary C 0..1 CodeableConcept Simple summary (disease specific)
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).
..... assessment C 0..* Reference(ClinicalImpression | DiagnosticReport | Observation) Formal record of assessment
..... type 0..1 CodeableConcept Kind of staging
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).
.... stage:morphology SC 1..1 BackboneElement International code of lesion / histological type / morphology of the tumoral event
Constraints: con-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... summary C 1..1 CodeableConcept Histological/ morphological code
Binding: Morphology Value Set (extensible)
..... assessment C 0..* Reference(ClinicalImpression | DiagnosticReport | Observation) Formal record of assessment
..... type 0..1 CodeableConcept Kind of staging
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
....... id 0..1 id Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 0..1 uri Identity of the terminology system
....... version Σ 0..1 string Version of the system - if relevant
....... code ΣC 1..1 code Symbol in syntax defined by the system
Required Pattern: 116676008
....... display ΣC 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
... evidence Σ 0..* CodeableReference(Resource) Supporting evidence for the verification status
Binding: SNOMEDCTClinicalFindings (example)
... note 0..* Annotation Additional information about the Condition

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Condition.languagerequiredAllLanguages(a valid code from urn:ietf:bcp:47)
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
From the FHIR Standard
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|5.0.0
From the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|5.0.0
From the FHIR Standard
Condition.categorypreferredConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
From the FHIR Standard
Condition.severitypreferredConditionDiagnosisSeverity
http://hl7.org/fhir/ValueSet/condition-severity
From the FHIR Standard
Condition.coderequiredTumorPathologyEventType
http://oncofair-ig.kereval.cloud/ValueSet/TumorPathologyEventType
From this IG
Condition.bodySiteextensibleTopography
http://oncofair-ig.kereval.cloud/ValueSet/Topography
From this IG
Condition.participant.functionextensibleParticipationRoleType
http://hl7.org/fhir/ValueSet/participation-role-type
From the FHIR Standard
Condition.stage.summaryexampleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
From the FHIR Standard
Condition.stage.typeexampleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
From the FHIR Standard
Condition.stage:morphology.summaryextensibleMorphology
http://oncofair-ig.kereval.cloud/ValueSet/Morphology
From this IG
Condition.stage:morphology.typeexampleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
From the FHIR Standard
Condition.evidenceexampleSNOMEDCTClinicalFindings
http://hl7.org/fhir/ValueSet/clinical-findings
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
con-1errorCondition.stage, Condition.stage:morphologyStage SHALL have summary or assessment
: summary.exists() or assessment.exists()
con-2warningConditionIf category is problems list item, the clinicalStatus should not be unknown
: category.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-category' and code='problem-list-item').exists() implies clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and code='unknown').exists().not()
con-3errorConditionIf condition is abated, then clinicalStatus must be either inactive, resolved, or remission.
: abatement.exists() implies (clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='inactive' or code='resolved' or code='remission')).exists())
dom-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorConditionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Condition

Summary

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

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Condition.onset[x]
  • The element 1 is sliced based on the value of Condition.abatement[x]
  • The element 1 is sliced based on the value of Condition.stage

 

Other representations of profile: CSV, Excel, Schematron