Skip to content

onconova.oncology.models.tumor_marker

ANALYTES_DATA module-attribute

AnalyteDetails

Bases: BaseModel

Represents details about a tumor marker analyte.

Attributes:

Name Type Description
acronym str

The acronym or short name for the analyte.

display str

The display name or description of the analyte.

valueTypes List[AnalyteResultType]

List of possible result types for the analyte.

acronym instance-attribute

display instance-attribute

valueTypes instance-attribute

AnalyteResultType

Bases: Enum

Enum representing the various types of analyte results that can be reported for tumor markers.

Members

mass_concentration: Quantitative measurement of mass per unit volume (e.g., ng/mL). arbitary_concentration: Measurement based on arbitrary units, often used when no standard exists. substance_concentration: Quantitative measurement of substance amount per unit volume (e.g., mol/L). multiple_of_median: Value expressed as a multiple of the median value in a reference population. fraction: Proportion or percentage of a particular analyte present. presence: Indicates the presence or absence of the analyte. combined_positive_score: Composite score reflecting combined positivity of multiple markers. immmune_cells_score: Score representing the presence or activity of immune cells. tumor_proportion_score: Score indicating the proportion of tumor cells expressing a marker. immunohistochemical_score: Score derived from immunohistochemical staining results. nuclear_expression_status: Status indicating expression of a marker in the cell nucleus.

arbitary_concentration class-attribute instance-attribute

combined_positive_score class-attribute instance-attribute

fraction class-attribute instance-attribute

immmune_cells_score class-attribute instance-attribute

immunohistochemical_score class-attribute instance-attribute

mass_concentration class-attribute instance-attribute

multiple_of_median class-attribute instance-attribute

nuclear_expression_status class-attribute instance-attribute

presence class-attribute instance-attribute

substance_concentration class-attribute instance-attribute

tumor_proportion_score class-attribute instance-attribute

TumorMarker

Bases: BaseModel

Represents a tumor marker result associated with a patient case.

Attributes:

Name Type Description
case ForeignKey[PatientCase]

Reference to the related patient case.

date DateField

Date when the tumor marker was analyzed.

related_entities ManyToManyField[NeoplasticEntity]

Neoplastic entities related to the tumor marker analysis.

analyte CodedConceptField[TumorMarkerAnalyte]

The chemical or biological substance/agent analyzed.

mass_concentration MeasurementField[MassConcentration]

Mass concentration of the analyte (optional).

arbitrary_concentration MeasurementField[ArbitraryConcentration]

Arbitrary concentration of the analyte (optional).

substance_concentration MeasurementField[SubstanceConcentration]

Substance concentration of the analyte (optional).

fraction MeasurementField[Fraction]

Analyte fraction (optional).

multiple_of_median MeasurementField[MultipleOfMedian]

Multiples of the median analyte (optional).

tumor_proportion_score CharField[TumorMarkerTumorProportionScoreChoices]

Tumor proportion score (TPS) for PD-L1 expression (optional).

immune_cell_score CharField[TumorMarkerImmuneCellScoreChoices]

Immune cell score (ICS) for PD-L1 positive immune cells (optional).

combined_positive_score MeasurementField[Fraction]

Combined positive score (CPS) for PD-L1 (optional).

immunohistochemical_score CharField[TumorMarkerImmunohistochemicalScoreChoices]

Immunohistochemical score for analyte-positive cells (optional).

presence CharField[TumorMarkerPresenceChoices]

Indicates if the analyte tested positive or negative (optional).

nuclear_expression_status CharField[TumorMarkerNuclearExpressionStatusChoices]

Status of nuclear expression of the analyte (optional).

value str

Returns a string representation of the first available value among the measurement and score fields.

description str

Returns a human-readable description combining the analyte and its value.

Constraints

Ensures at least one value field is set for each tumor marker instance.

analyte class-attribute instance-attribute

arbitrary_concentration class-attribute instance-attribute

case class-attribute instance-attribute

combined_positive_score class-attribute instance-attribute

date class-attribute instance-attribute

description property

fraction class-attribute instance-attribute

immune_cell_score class-attribute instance-attribute

immunohistochemical_score class-attribute instance-attribute

mass_concentration class-attribute instance-attribute

multiple_of_median class-attribute instance-attribute

nuclear_expression_status class-attribute instance-attribute

presence class-attribute instance-attribute

related_entities class-attribute instance-attribute

substance_concentration class-attribute instance-attribute

tumor_proportion_score class-attribute instance-attribute

value property

Meta

constraints class-attribute instance-attribute

TumorMarkerImmuneCellScoreChoices

Bases: TextChoices

Enumeration representing immune cell scores for tumor markers.

Attributes:

Name Type Description
IC0

Immune cell score 0.

IC1

Immune cell score 1.

IC2

Immune cell score 2.

IC3

Immune cell score 3.

IC0 class-attribute instance-attribute

IC1 class-attribute instance-attribute

IC2 class-attribute instance-attribute

IC3 class-attribute instance-attribute

TumorMarkerImmunohistochemicalScoreChoices

Bases: TextChoices

An enumeration representing possible immunohistochemical scoring values for tumor markers.

Attributes:

Name Type Description
ZERO str

Score of "0", indicating no detectable staining.

ONE str

Score of "1+", indicating weak staining.

TWO str

Score of "2+", indicating moderate staining.

THREE str

Score of "3+", indicating strong staining.

INDETERMINATE str

Score of "indeterminate", indicating that the result cannot be determined.

INDETERMINATE class-attribute instance-attribute

ONE class-attribute instance-attribute

THREE class-attribute instance-attribute

TWO class-attribute instance-attribute

ZERO class-attribute instance-attribute

TumorMarkerNuclearExpressionStatusChoices

Bases: TextChoices

An enumeration representing the status of nuclear expression for a tumor marker.

Attributes:

Name Type Description
INTACT str

Indicates that nuclear expression is intact.

LOSS str

Indicates a loss of nuclear expression.

INDETERMINATE str

Indicates that the nuclear expression status is indeterminate.

INDETERMINATE class-attribute instance-attribute

INTACT class-attribute instance-attribute

LOSS class-attribute instance-attribute

TumorMarkerPresenceChoices

Bases: TextChoices

An enumeration representing the possible presence states of an analyte in a tumor marker test.

Attributes:

Name Type Description
POSITIVE

Indicates the analyte is present.

NEGATIVE

Indicates the analyte is absent.

INDETERMINATE

Indicates the presence of the analyte could not be determined.

INDETERMINATE class-attribute instance-attribute

NEGATIVE class-attribute instance-attribute

POSITIVE class-attribute instance-attribute

TumorMarkerTumorProportionScoreChoices

Bases: TextChoices

An enumeration representing tumor proportion score categories.

Attributes:

Name Type Description
TP0

Tumor proportion score 0.

TC1

Tumor proportion score 1.

TC2

Tumor proportion score 2.

TC3

Tumor proportion score 3.

TC1 class-attribute instance-attribute

TC2 class-attribute instance-attribute

TC3 class-attribute instance-attribute

TP0 class-attribute instance-attribute

runner