OncoFAIR
0.1.0 - ci-build

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

Resource Profile: Tumor Pathology Event

Official URL: http://ltsi.univ-rennes.fr/StructureDefinition/tumor-pathology-event Version: 0.1.0
Draft as of 2025-05-22 Computable Name: TumorPathologyEvent

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

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
con-2: If category is problems list item, the clinicalStatus should not be unknown
con-3: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission.
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... 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://ltsi.univ-rennes.fr/StructureDefinition/dueTo-tumor-pathology-event
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:laterality S 0..1 CodeableConcept Laterality of location
URL: http://ltsi.univ-rennes.fr/StructureDefinition/laterality
Binding: Tumor Laterality Value Set (required)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:histologygrade S 0..1 (Complex) Histology of the tumor
URL: http://ltsi.univ-rennes.fr/StructureDefinition/histologygrade
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... clinicalStatus ?!ΣC 1..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved | unknown
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.


ele-1: All FHIR elements must have a @value or children
... 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.


ele-1: All FHIR elements must have a @value or children
... code SΣ 1..1 CodeableConcept Type of tumor event
Binding: Tumor Pathology Event Type Value Set (required)
ele-1: All FHIR elements must have a @value or children
... bodySite SΣ 1..1 CodeableConcept Topographic code
Binding: Topography Value Set (extensible)
ele-1: All FHIR elements must have a @value or children
... subject SΣ 1..1 Reference(OncoFAIR Patient) Who has the condition?
ele-1: All FHIR elements must have a @value or children
... Slices for onset[x] Σ 1..1 dateTime Estimated or actual date, date-time, or age
Slice: Unordered, Closed by type:$this
ele-1: All FHIR elements must have a @value or children
.... onset[x]:onsetDateTime SΣ 1..1 dateTime Start date
ele-1: All FHIR elements must have a @value or children
... Slices for abatement[x] C 0..1 dateTime When in resolution/remission
Slice: Unordered, Closed by type:$this
ele-1: All FHIR elements must have a @value or children
.... abatement[x]:abatementDateTime SC 0..1 dateTime End date
ele-1: All FHIR elements must have a @value or children
... recordedDate SΣ 1..1 dateTime Date of diagnosis
ele-1: All FHIR elements must have a @value or children
... Slices for stage C 1..* BackboneElement Stage/grade, usually assessed formally
Slice: Unordered, Open by pattern:type.coding.code
con-1: Stage SHALL have summary or assessment
ele-1: All FHIR elements must have a @value or children
.... stage:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... stage:morphology SC 1..1 BackboneElement International code of lesion / histological type / morphology of the tumoral event
con-1: Stage SHALL have summary or assessment
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... summary C 1..1 CodeableConcept Histological/ morphological code
Binding: Morphology Value Set (extensible)
ele-1: All FHIR elements must have a @value or children

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://ltsi.univ-rennes.fr/ValueSet/TumorPathologyEventType
from this IG
Condition.bodySiteextensibleTopography
http://ltsi.univ-rennes.fr/ValueSet/Topography
from this IG
Condition.stage:morphology.summaryextensibleMorphology
http://ltsi.univ-rennes.fr/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 & Constraintsdoco
.. 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://ltsi.univ-rennes.fr/StructureDefinition/dueTo-tumor-pathology-event
.... extension:laterality S 0..1 CodeableConcept Laterality of location
URL: http://ltsi.univ-rennes.fr/StructureDefinition/laterality
Binding: Tumor Laterality Value Set (required)
.... extension:histologygrade S 0..1 (Complex) Histology of the tumor
URL: http://ltsi.univ-rennes.fr/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://ltsi.univ-rennes.fr/ValueSet/TumorPathologyEventType
from this IG
Condition.bodySiteextensibleTopography
http://ltsi.univ-rennes.fr/ValueSet/Topography
from this IG
Condition.stage:morphology.summaryextensibleMorphology
http://ltsi.univ-rennes.fr/ValueSet/Morphology
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
con-2: If category is problems list item, the clinicalStatus should not be unknown
con-3: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission.
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... 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://ltsi.univ-rennes.fr/StructureDefinition/dueTo-tumor-pathology-event
.... extension:laterality S 0..1 CodeableConcept Laterality of location
URL: http://ltsi.univ-rennes.fr/StructureDefinition/laterality
Binding: Tumor Laterality Value Set (required)
.... extension:histologygrade S 0..1 (Complex) Histology of the tumor
URL: http://ltsi.univ-rennes.fr/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
con-1: Stage SHALL have summary or assessment
.... 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
con-1: Stage SHALL have summary or assessment
..... 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
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://ltsi.univ-rennes.fr/ValueSet/TumorPathologyEventType
from this IG
Condition.bodySiteextensibleTopography
http://ltsi.univ-rennes.fr/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://ltsi.univ-rennes.fr/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 & Constraintsdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
con-2: If category is problems list item, the clinicalStatus should not be unknown
con-3: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission.
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... 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://ltsi.univ-rennes.fr/StructureDefinition/dueTo-tumor-pathology-event
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:laterality S 0..1 CodeableConcept Laterality of location
URL: http://ltsi.univ-rennes.fr/StructureDefinition/laterality
Binding: Tumor Laterality Value Set (required)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:histologygrade S 0..1 (Complex) Histology of the tumor
URL: http://ltsi.univ-rennes.fr/StructureDefinition/histologygrade
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... clinicalStatus ?!ΣC 1..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved | unknown
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.


ele-1: All FHIR elements must have a @value or children
... 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.


ele-1: All FHIR elements must have a @value or children
... code SΣ 1..1 CodeableConcept Type of tumor event
Binding: Tumor Pathology Event Type Value Set (required)
ele-1: All FHIR elements must have a @value or children
... bodySite SΣ 1..1 CodeableConcept Topographic code
Binding: Topography Value Set (extensible)
ele-1: All FHIR elements must have a @value or children
... subject SΣ 1..1 Reference(OncoFAIR Patient) Who has the condition?
ele-1: All FHIR elements must have a @value or children
... Slices for onset[x] Σ 1..1 dateTime Estimated or actual date, date-time, or age
Slice: Unordered, Closed by type:$this
ele-1: All FHIR elements must have a @value or children
.... onset[x]:onsetDateTime SΣ 1..1 dateTime Start date
ele-1: All FHIR elements must have a @value or children
... Slices for abatement[x] C 0..1 dateTime When in resolution/remission
Slice: Unordered, Closed by type:$this
ele-1: All FHIR elements must have a @value or children
.... abatement[x]:abatementDateTime SC 0..1 dateTime End date
ele-1: All FHIR elements must have a @value or children
... recordedDate SΣ 1..1 dateTime Date of diagnosis
ele-1: All FHIR elements must have a @value or children
... Slices for stage C 1..* BackboneElement Stage/grade, usually assessed formally
Slice: Unordered, Open by pattern:type.coding.code
con-1: Stage SHALL have summary or assessment
ele-1: All FHIR elements must have a @value or children
.... stage:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... stage:morphology SC 1..1 BackboneElement International code of lesion / histological type / morphology of the tumoral event
con-1: Stage SHALL have summary or assessment
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... summary C 1..1 CodeableConcept Histological/ morphological code
Binding: Morphology Value Set (extensible)
ele-1: All FHIR elements must have a @value or children

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://ltsi.univ-rennes.fr/ValueSet/TumorPathologyEventType
from this IG
Condition.bodySiteextensibleTopography
http://ltsi.univ-rennes.fr/ValueSet/Topography
from this IG
Condition.stage:morphology.summaryextensibleMorphology
http://ltsi.univ-rennes.fr/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 & Constraintsdoco
.. 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://ltsi.univ-rennes.fr/StructureDefinition/dueTo-tumor-pathology-event
.... extension:laterality S 0..1 CodeableConcept Laterality of location
URL: http://ltsi.univ-rennes.fr/StructureDefinition/laterality
Binding: Tumor Laterality Value Set (required)
.... extension:histologygrade S 0..1 (Complex) Histology of the tumor
URL: http://ltsi.univ-rennes.fr/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://ltsi.univ-rennes.fr/ValueSet/TumorPathologyEventType
from this IG
Condition.bodySiteextensibleTopography
http://ltsi.univ-rennes.fr/ValueSet/Topography
from this IG
Condition.stage:morphology.summaryextensibleMorphology
http://ltsi.univ-rennes.fr/ValueSet/Morphology
from this IG

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
con-2: If category is problems list item, the clinicalStatus should not be unknown
con-3: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission.
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... 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://ltsi.univ-rennes.fr/StructureDefinition/dueTo-tumor-pathology-event
.... extension:laterality S 0..1 CodeableConcept Laterality of location
URL: http://ltsi.univ-rennes.fr/StructureDefinition/laterality
Binding: Tumor Laterality Value Set (required)
.... extension:histologygrade S 0..1 (Complex) Histology of the tumor
URL: http://ltsi.univ-rennes.fr/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
con-1: Stage SHALL have summary or assessment
.... 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
con-1: Stage SHALL have summary or assessment
..... 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
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://ltsi.univ-rennes.fr/ValueSet/TumorPathologyEventType
from this IG
Condition.bodySiteextensibleTopography
http://ltsi.univ-rennes.fr/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://ltsi.univ-rennes.fr/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