onconova.oncology.models.treatment_response
TreatmentResponse
¶
Bases: BaseModel
Represents a clinical assessment of a patient's response to treatment.
Attributes:
Name | Type | Description |
---|---|---|
case |
ForeignKey[PatientCase]
|
The patient case associated with this treatment response. |
date |
DateField
|
The date when the treatment response was assessed. |
assessed_entities |
ManyToManyField[NeoplasticEntity]
|
Neoplastic entities evaluated for treatment response. |
recist |
CodedConceptField[CancerTreatmentResponse]
|
RECIST classification of the treatment response. |
recist_interpreted |
BooleanField
|
Indicates if the RECIST value was interpreted or taken directly from the radiology report. |
methodology |
CodedConceptField[CancerTreatmentResponseObservationMethod]
|
Method used to assess and classify the treatment response. |
assessed_bodysites |
CodedConceptField[ObservationBodySite]
|
Anatomical locations assessed to determine the treatment response. |
description |
str
|
Returns a human-readable description of the treatment response, including RECIST classification and assessment methodology. |
assessed_bodysites
class-attribute
instance-attribute
¶
assessed_entities
class-attribute
instance-attribute
¶
case
class-attribute
instance-attribute
¶
date
class-attribute
instance-attribute
¶
description
property
¶
methodology
class-attribute
instance-attribute
¶
recist
class-attribute
instance-attribute
¶
recist_interpreted
class-attribute
instance-attribute
¶
assign_therapy_line()
¶
Assigns therapy lines to the current case and refreshes the instance from the database.
This method imports the TherapyLine
model and calls its assign_therapy_lines
method,
passing the current case as an argument. After assignment, it refreshes the instance
from the database to ensure updated data is loaded.
Returns:
Type | Description |
---|---|
Self
|
The updated instance after refreshing from the database. |