onconova.oncology.models.systemic_therapy
SystemicTherapy
¶
Bases: BaseModel
Represents a systemic therapy administered to a patient within an oncology context.
Attributes:
Name | Type | Description |
---|---|---|
objects |
QueryablePropertiesManager
|
Custom manager for querying properties. |
case |
ForeignKey[PatientCase]
|
Reference to the patient case receiving the therapy. |
period |
DateRangeField
|
Clinically relevant period during which the therapy was administered. |
duration |
AnnotationProperty
|
Duration of treatment, calculated from the period. |
targeted_entities |
ManyToManyField[NeoplasticEntity]
|
Neoplastic entities targeted by the therapy. |
cycles |
PositiveIntegerField
|
Total number of treatment cycles during the period. |
intent |
CharField
|
Treatment intent (curative or palliative). |
adjunctive_role |
CodedConceptField[AdjunctiveRole]
|
Role of adjunctive therapy, if applicable. |
is_adjunctive |
GeneratedField
|
Indicates if the therapy is adjunctive. |
termination_reason |
CodedConceptField[TerminationReason]
|
Reason for termination of the therapy. |
therapy_line |
ForeignKey[TherapyLine]
|
Therapy line assignment for the systemic therapy. |
drug_combination |
AnnotationProperty
|
String representation of the drug combination used. |
drugs |
list
|
List of drugs used in the therapy. |
description |
str
|
Human-readable description of the therapy, including line and drugs. |
adjunctive_role
class-attribute
instance-attribute
¶
case
class-attribute
instance-attribute
¶
cycles
class-attribute
instance-attribute
¶
description
property
¶
drug_combination
class-attribute
instance-attribute
¶
drugs
property
¶
duration
class-attribute
instance-attribute
¶
intent
class-attribute
instance-attribute
¶
is_adjunctive
class-attribute
instance-attribute
¶
objects
class-attribute
instance-attribute
¶
period
class-attribute
instance-attribute
¶
targeted_entities
class-attribute
instance-attribute
¶
termination_reason
class-attribute
instance-attribute
¶
therapy_line
class-attribute
instance-attribute
¶
SystemicTherapyIntentChoices
¶
SystemicTherapyMedication
¶
Bases: BaseModel
Represents a medication administered as part of a systemic therapy regimen.
Attributes:
Name | Type | Description |
---|---|---|
systemic_therapy |
ForeignKey[SystemicTherapy]
|
Reference to the associated SystemicTherapy instance. |
drug |
CodedConceptField[AntineoplasticAgent]
|
The antineoplastic drug/medication administered to the patient. |
route |
CodedConceptField[DosageRoute]
|
The route of drug administration (optional). |
used_offlabel |
BooleanField
|
Indicates if the medication was used off-label at the time of administration (optional). |
within_soc |
BooleanField
|
Indicates if the medication was within standard of care (SOC) at the time of administration (optional). |
dosage_mass_concentration |
MeasurementField[MassConcentration]
|
Dosage expressed in mass concentration (optional). |
dosage_mass |
MeasurementField[Mass]
|
Dosage expressed as a fixed mass (optional). |
dosage_volume |
MeasurementField[Volume]
|
Dosage expressed in volume (optional). |
dosage_mass_surface |
MeasurementField[MassSurfaceArea]
|
Dosage expressed in mass per body surface area (optional). |
dosage_rate_mass_concentration |
MeasurementField[MassConcentration]
|
Dosage rate expressed in mass concentration per time (optional). |
dosage_rate_mass |
MeasurementField[Mass]
|
Dosage rate expressed as a fixed mass per time (optional). |
dosage_rate_volume |
MeasurementField[Volume]
|
Dosage rate expressed in volume per time (optional). |
dosage_rate_mass_surface |
MeasurementField[MassSurfaceArea]
|
Dosage rate expressed in mass per body surface area per time (optional). |
description |
str
|
Returns a string representation of the drug. |