onconova.oncology.models.performance_status
ECOG_INTEPRETATION
module-attribute
¶
KARNOFSKY_INTEPRETATION
module-attribute
¶
PerformanceStatus
¶
Bases: BaseModel
Model representing a patient's performance status assessment, supporting both ECOG and Karnofsky scoring systems.
Attributes:
Name | Type | Description |
---|---|---|
objects |
QueryablePropertiesManager
|
Custom manager for queryable properties. |
case |
ForeignKey[PatientCase]
|
Reference to the patient case being assessed. |
date |
DateField
|
Date of the performance status assessment. |
ecog_score |
PositiveSmallIntegerField
|
ECOG Performance Status Score (0-5). |
karnofsky_score |
PositiveSmallIntegerField
|
Karnofsky Performance Status Score (0-100). |
ecog_interpretation |
SubqueryObjectProperty[ECOGPerformanceStatusInterpretation]
|
Interpretation of the ECOG score using standardized terminology. |
karnofsky_interpretation |
SubqueryObjectProperty[KarnofskyPerformanceStatusInterpretation]
|
Interpretation of the Karnofsky score using standardized terminology. |
description |
str
|
Returns a string description of the performance status based on available score. |
Constraints
Ensures at least one of ECOG or Karnofsky scores is set.
References
- Oken et al., Am. J. Clin. Oncol. 5(6):649-655, 1982.
case
class-attribute
instance-attribute
¶
date
class-attribute
instance-attribute
¶
description
property
¶
ecog_interpretation
class-attribute
instance-attribute
¶
ecog_score
class-attribute
instance-attribute
¶
karnofsky_interpretation
class-attribute
instance-attribute
¶
karnofsky_score
class-attribute
instance-attribute
¶
objects
class-attribute
instance-attribute
¶
convert_karnofsky_to_ecog()
¶
Reference¶
[1] Oken et al., Am. J. Clin. Oncol. 5(6):649-655, 1982.
Source code in onconova/oncology/models/performance_status.py
runner