class Tumor(mixins.LockedDatasetMixin, loggers.ModelLoggerMixin, models.Model):
Model to describe a patient's tumor in detail.
It is connected to a patient via a django.db.models.ForeignKey relation.
Class |
|
The primary tumor locations in the head and neck region. |
Method | __str__ |
Report some main characteristics. |
Method | delete |
Upon deletion, update the patient's T-stage. |
Method | save |
Before creating the database entry, determine the location of the tumor from the specified subsite and update the patient it is assigned to, to the correct T-stage. |
Constant | SUBSITE |
Undocumented |
Constant | SUBSITE |
Undocumented |
Constant | SUBSITES |
List of subsites with their ICD-10 code and respective description, grouped by location. |
Class Variable | central |
Is the tumor symmetric w.r.t. the patients mid-sagittal line? |
Class Variable | extension |
Does the tumor cross the mid-sagittal line of the patient? |
Class Variable | patient |
This defines the connection to the Patient model. |
Class Variable | stage |
'c' for 'clinical' and 'p' for 'pathological'. |
Class Variable | subsite |
The subsite is a more granular categorization by the anatomical region of the head and neck where the primary tumor occurs in. It is usually encoded using the ICD-10 codes. |
Class Variable | t |
Stage of the primary tumor. Categorized the tumor by size and infiltration of tissue types. |
Class Variable | volume |
Volume of the patient's tumor. |
Instance Variable | location |
The tumor location. |
Inherited from LockedDatasetMixin
:
Property | _must |
Infer from class if an error should be raised on save/delete. |
Before creating the database entry, determine the location of the tumor from the specified subsite and update the patient it is assigned to, to the correct T-stage.
Undocumented
Value |
|
List of subsites with their ICD-10 code and respective description, grouped by location.
Value |
|
The subsite is a more granular categorization by the anatomical region of the head and neck where the primary tumor occurs in. It is usually encoded using the ICD-10 codes.
Stage of the primary tumor. Categorized the tumor by size and infiltration of tissue types.