Skip to content

onconova.terminology.models

AdjunctiveTherapyRole

Bases: CodedConcept

Represents adjunctive therapy roles as coded concepts, including additional extension concepts.

Attributes:

Name Type Description
valueset str

URL of the value set for adjunctive therapy roles.

extension_concepts list

List of additional coded concepts for extension.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Cleans up the display string by removing keywords such as 'therapy', 'care', 'treatment', 'drug', and 'antineoplastic'.

extension_concepts class-attribute instance-attribute

valueset class-attribute instance-attribute

AdministrativeGender

Bases: CodedConcept

Represents a coded concept for administrative gender.

Attributes:

Name Type Description
valueset str

The URI for the administrative gender ValueSet.

valueset class-attribute instance-attribute

AdverseEventMitigationDrug

Bases: CodedConcept

valueset class-attribute instance-attribute

AdverseEventMitigationManagement

Bases: CodedConcept

valueset class-attribute instance-attribute

AdverseEventMitigationProcedure

Bases: CodedConcept

valueset class-attribute instance-attribute

AdverseEventMitigationTreatmentAdjustment

Bases: CodedConcept

valueset class-attribute instance-attribute

AdverseEventTerm

Bases: CodedConcept

Represents a coded concept for adverse event terms.

AlcoholConsumptionFrequency

Bases: CodedConcept

Represents the frequency of alcohol consumption as a coded concept.

This class uses the LOINC valueset "https://loinc.org/LL2179-1/" to standardize the representation of alcohol consumption frequency. The display string for each concept is post-processed to use title case formatting.

Attributes:

Name Type Description
valueset str

URL of the LOINC valueset for alcohol consumption frequency.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Converts the display string to title case.

valueset class-attribute instance-attribute

AminoAcidChangeType

Bases: CodedConcept

Represents a coded concept for amino acid change types.

Attributes:

Name Type Description
valueset str

The URI for the amino acid change type ValueSet.

valueset class-attribute instance-attribute

AntineoplasticAgent

Bases: CodedConcept

Represents a coded concept for antineoplastic agents.

Attributes:

Name Type Description
therapy_category CharField

Classification of therapy.

therapy_category class-attribute instance-attribute

TherapyCategory

Bases: TextChoices

ANTIMETASTATIC_THERAPY class-attribute instance-attribute

CHEMOTHERAPY class-attribute instance-attribute

HORMONE_THERAPY class-attribute instance-attribute

IMMUNOTHERAPY class-attribute instance-attribute

METABOLIC_THERAPY class-attribute instance-attribute

RADIOPHARMACEUTICAL_THERAPY class-attribute instance-attribute

TARGETED_THERAPY class-attribute instance-attribute

UNCLASSIFIED class-attribute instance-attribute

BinetStage

Bases: CodedConcept

Represents the Binet staging system for chronic lymphocytic leukemia (CLL).

Attributes:

Name Type Description
valueset str

URL of the FHIR ValueSet for Binet stages.

valueset class-attribute instance-attribute

BirthSex

Bases: CodedConcept

Represents the birth sex of a patient as a coded concept.

Attributes:

Name Type Description
valueset str

The URI of the HL7 FHIR ValueSet for administrative gender.

valueset class-attribute instance-attribute

BodyLocationQualifier

Bases: CodedConcept

Represents a coded concept for body location qualifier.

Attributes:

Name Type Description
valueset str

The URI for the body location qualifier ValueSet.

valueset class-attribute instance-attribute

BreslowDepthStage

Bases: CodedConcept

Represents the Breslow Depth Stage coded concept for melanoma staging.

Attributes:

Name Type Description
valueset str

The canonical URL of the Breslow Depth Stage ValueSet.

valueset class-attribute instance-attribute

CancerMorphology

Bases: CodedConcept

Represents a coded concept for cancer morphology based on ICD-O-3.

Attributes:

Name Type Description
codesystem str

The URI for the ICD-O-3 morphology code system.

codesystem class-attribute instance-attribute

CancerMorphologyMetastatic

Bases: CancerMorphology

Proxy model for metastatic cancer morphology (codes ending with /6).

Attributes:

Name Type Description
objects Manager

Custom manager to filter metastatic morphologies.

objects class-attribute instance-attribute

Meta

proxy class-attribute instance-attribute

QuerysetManager

Bases: Manager

get_queryset()

Source code in onconova/terminology/models.py
def get_queryset(self):
    return super().get_queryset().filter(code__endswith="/6")

CancerMorphologyPrimary

Bases: CancerMorphology

Proxy model for primary cancer morphology (codes ending with /3).

Attributes:

Name Type Description
objects Manager

Custom manager to filter primary morphologies.

objects class-attribute instance-attribute

Meta

proxy class-attribute instance-attribute

QuerysetManager

Bases: Manager

get_queryset()

Source code in onconova/terminology/models.py
def get_queryset(self):
    return super().get_queryset().filter(code__endswith="/3")

CancerRiskAssessmentClassification

Bases: CodedConcept

valueset class-attribute instance-attribute

CancerRiskAssessmentMethod

Bases: CodedConcept

valueset class-attribute instance-attribute

CancerTopography

Bases: CodedConcept

Represents a coded concept for cancer topography based on ICD-O-3.

Attributes:

Name Type Description
codesystem str

The URI for the ICD-O-3 topography code system.

codesystem class-attribute instance-attribute

CancerTopographyGroup

Bases: CancerTopography

Proxy model for cancer topography groups, excluding codes containing a period.

Attributes:

Name Type Description
objects Manager

Custom manager to filter topography groups.

objects class-attribute instance-attribute

Meta

proxy class-attribute instance-attribute

QuerysetManager

Bases: Manager

get_queryset()

Source code in onconova/terminology/models.py
def get_queryset(self):
    return super().get_queryset().exclude(code__contains=".")

CancerTreatmentResponse

Bases: CodedConcept

Represents a coded concept for cancer treatment response.

Attributes:

Name Type Description
valueset str

The URI for the cancer treatment response ValueSet.

valueset class-attribute instance-attribute

CancerTreatmentResponseObservationMethod

Bases: CodedConcept

Represents a coded concept for cancer treatment response observation methods.

Attributes:

Name Type Description
valueset str

URL of the ValueSet defining valid observation methods.

extension_concepts list

List of additional coded concepts, such as 'No information available'.

Inherits from

CodedConcept

extension_concepts class-attribute instance-attribute

valueset class-attribute instance-attribute

CauseOfDeath

Bases: CodedConcept

Represents a coded concept for the cause of death.

Attributes:

Name Type Description
valueset str

URL referencing the FHIR ValueSet containing valid causes of death.

Inherits from

CodedConcept: Base class for coded terminology concepts.

valueset class-attribute instance-attribute

ChromosomeIdentifier

Bases: CodedConcept

Represents a coded concept for chromosome identifiers.

Attributes:

Name Type Description
valueset str

The URI for the chromosome identifier ValueSet.

valueset class-attribute instance-attribute

ClarkLevel

Bases: CodedConcept

Represents the Clark Level coded concept for melanoma staging.

Attributes:

Name Type Description
valueset str

The URL of the HL7 FHIR ValueSet for Clark Level values, used to standardize the representation of Clark Level in clinical data.

valueset class-attribute instance-attribute

ClinOrPathModifier

Bases: CodedConcept

Represents a clinical or pathological modifier coded concept for staging information.

Attributes:

Name Type Description
valueset str

The URL of the HL7 FHIR value set for clinical or pathological modifiers.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Removes the substring "staging (qualifier value)" from the provided display string.

valueset class-attribute instance-attribute

CodedConcept

Bases: BaseModel

Abstract Django model representing a coded concept from a terminology system.

Attributes:

Name Type Description
code CharField

The code as defined in the code system.

display CharField

Human-readable representation defined by the system.

system CharField

Canonical URL of the code system.

version CharField

Version of the code system.

synonyms ArrayField[CharField]

List of synonyms for the concept.

parent ForeignKey[CodedConcept]

Reference to a parent concept (self-referential).

definition TextField

Optional detailed definition of the concept.

properties JSONField

Additional properties as a JSON object.

valueset str

Class variable for the associated value set (to be defined in subclasses).

codesystem str

Class variable for the associated code system (to be defined in subclasses).

extension_concepts list

List of extension concepts.

Constraints:

- unique_together: Ensures uniqueness for code and system pairs.

code class-attribute instance-attribute

codesystem class-attribute

definition class-attribute instance-attribute

display class-attribute instance-attribute

extension_concepts class-attribute instance-attribute

parent class-attribute instance-attribute

properties class-attribute instance-attribute

synonyms class-attribute instance-attribute

system class-attribute instance-attribute

valueset class-attribute

version class-attribute instance-attribute

Meta

abstract class-attribute instance-attribute

unique_together class-attribute instance-attribute

__str__()

Source code in onconova/terminology/models.py
def __str__(self):
    if self.display:
        return self.display
    else:
        return f"{self.__class__.__name__}: {self.code}"

DnaChangeType

Bases: CodedConcept

valueset class-attribute instance-attribute

DosageRoute

Bases: CodedConcept

Represents a coded concept for dosage route.

Attributes:

Name Type Description
valueset str

The URI for the route codes ValueSet.

valueset class-attribute instance-attribute

ECOGPerformanceStatusInterpretation

Bases: CodedConcept

Represents a coded concept for ECOG performance status interpretation.

Attributes:

Name Type Description
valueset str

The URI for the ECOG performance status ValueSet.

valueset class-attribute instance-attribute

ExpectedDrugAction

Bases: CodedConcept

Represents a coded concept for expected drug actions.

Attributes:

Name Type Description
valueset str

The URI for the expected drug action ValueSet.

valueset class-attribute instance-attribute

ExposureAgent

Bases: CodedConcept

Represents a coded concept for exposure agents.

Attributes:

Name Type Description
valueset str

The URI for the exposure agents ValueSet.

valueset class-attribute instance-attribute

FIGOStage

Bases: CodedConcept

Represents a FIGO stage coded concept for oncology terminology.

Attributes:

Name Type Description
valueset str

The URL of the HL7 FHIR ValueSet defining valid FIGO stage codes.

valueset class-attribute instance-attribute

FIGOStagingMethod

Bases: CodedConcept

Represents the FIGO Staging Method as a coded concept.

Attributes:

Name Type Description
valueset str

The canonical URL for the FIGO staging method ValueSet.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Post-processes the display string by replacing 'Federation of Gynecology and Obstetrics' with 'FIGO' and removing ' (tumor staging)' for concise representation.

valueset class-attribute instance-attribute

FamilyMemberType

Bases: CodedConcept

Represents a coded concept for family member types based on the HL7 v3 FamilyMember ValueSet.

Attributes:

Name Type Description
valueset str

The URI for the HL7 v3 FamilyMember ValueSet.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Post-processes the display string for a concept by converting it to title case.

valueset class-attribute instance-attribute

GenderIdentity

Bases: CodedConcept

Represents a coded concept for gender identity.

Attributes:

Name Type Description
valueset str

The URI for the gender identity ValueSet.

valueset class-attribute instance-attribute

Gene

Bases: CodedConcept

Represents a coded concept for genes.

Attributes:

Name Type Description
valueset str

The URI for the HGNC gene ValueSet.

valueset class-attribute instance-attribute

GeneExon

Bases: BaseModel

Represents an exon of a gene.

Attributes:

Name Type Description
gene ForeignKey

Reference to the associated gene.

name AnnotationProperty

Name of the exon.

rank IntegerField

Rank of the exon.

coding_dna_region IntegerRangeField

Coding DNA region.

coding_genomic_region IntegerRangeField

Coding genomic region.

coding_dna_region class-attribute instance-attribute

coding_genomic_region class-attribute instance-attribute

gene class-attribute instance-attribute

name class-attribute instance-attribute

objects class-attribute instance-attribute

rank class-attribute instance-attribute

GeneticVariantSource

Bases: CodedConcept

Represents a coded concept for genetic variant sources.

Attributes:

Name Type Description
valueset str

The URI for the genetic variant source ValueSet.

valueset class-attribute instance-attribute

GenomicCoordinateSystem

Bases: CodedConcept

Represents a coded concept for genomic coordinate systems.

Attributes:

Name Type Description
valueset str

The URI for the genomic coordinate system ValueSet.

valueset class-attribute instance-attribute

GleasonGradeGroupStage

Bases: CodedConcept

Represents the Gleason Grade Group Stage as a coded concept.

Attributes:

Name Type Description
valueset str

The URI of the HL7 FHIR mCODE value set for Gleason Grade Group.

valueset class-attribute instance-attribute

HistologyDifferentiation

Bases: CodedConcept

Represents a coded concept for histology differentiation.

Attributes:

Name Type Description
codesystem str

The URI for the ICD-O-3 differentiation code system.

codesystem class-attribute instance-attribute

ICD10Condition

Bases: CodedConcept

Represents a coded concept for ICD-10 conditions.

Attributes:

Name Type Description
valueset str

The URI for the ICD-10 ValueSet.

valueset class-attribute instance-attribute

KarnofskyPerformanceStatusInterpretation

Bases: CodedConcept

Represents a coded concept for Karnofsky performance status interpretation.

Attributes:

Name Type Description
valueset str

The URI for the Karnofsky performance status ValueSet.

valueset class-attribute instance-attribute

LateralityQualifier

Bases: CodedConcept

Represents a laterality qualifier concept, typically used in medical coding to specify the side (left, right, bilateral) of a body part or condition.

Attributes:

Name Type Description
valueset str

The URL of the HL7 FHIR value set for laterality qualifiers.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Removes the suffix " (qualifier value)" from the concept display string for cleaner presentation.

valueset class-attribute instance-attribute

LymphomaStage

Bases: CodedConcept

Represents a coded concept for lymphoma staging based on the mCODE value set.

Attributes:

Name Type Description
valueset str

The URL of the HL7 FHIR mCODE value set for lymphoma stage values.

valueset class-attribute instance-attribute

LymphomaStageValueModifier

Bases: CodedConcept

Represents a modifier for lymphoma stage values using coded concepts.

Attributes:

Name Type Description
valueset str

The URI of the value set defining valid lymphoma stage value modifiers.

valueset class-attribute instance-attribute

LymphomaStagingMethod

Bases: CodedConcept

Represents a coded concept for lymphoma staging methods.

Attributes:

Name Type Description
valueset str

The URI of the HL7 FHIR mCODE value set for lymphoma staging methods.

valueset class-attribute instance-attribute

MicrosatelliteInstabilityState

Bases: CodedConcept

Represents a coded concept for microsatellite instability state.

Attributes:

Name Type Description
valueset str

The URI for the microsatellite instability state ValueSet.

valueset class-attribute instance-attribute

MolecularConsequence

Bases: CodedConcept

Represents a molecular consequence concept, inheriting from CodedConcept.

Attributes:

Name Type Description
valueset str

URL of the HL7 FHIR molecular consequence value set.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Post-processes the display string by replacing underscores with spaces and capitalizing it.

valueset class-attribute instance-attribute

MolecularTumorBoardRecommendation

Bases: TumorBoardRecommendation

A proxy model for TumorBoardRecommendation that restricts queryset to specific molecular codes.

This model uses a custom manager to filter recommendations to those with codes "LA14020-4", "LA14021-2", or "LA14022-0", representing molecular tumor board recommendations.

Attributes:

Name Type Description
objects MolecularTumorBoardRecommendationManager

Custom manager that filters recommendations by code.

Meta

proxy (bool): Indicates that this is a proxy model and does not create a new database table.

objects class-attribute instance-attribute

Meta

proxy class-attribute instance-attribute

MolecularTumorBoardRecommendationManager

Bases: Manager

get_queryset()

Source code in onconova/terminology/models.py
def get_queryset(self):
    return (
        super()
        .get_queryset()
        .filter(code__in=["LA14020-4", "LA14021-2", "LA14022-0"])
    )

MyelomaISSStage

Bases: CodedConcept

Represents the International Staging System (ISS) stage for multiple myeloma.

Attributes:

Name Type Description
valueset str

The canonical URL of the value set defining valid ISS stage codes.

valueset class-attribute instance-attribute

MyelomaRISSStage

Bases: CodedConcept

Represents the Revised International Staging System (RISS) stage for multiple myeloma.

Attributes:

Name Type Description
valueset str

The canonical URL of the value set defining valid RISS stage codes.

valueset class-attribute instance-attribute

NeuroblastomaINRGSSStage

Bases: CodedConcept

Represents the INRGSS stage for neuroblastoma as a coded concept.

Attributes:

Name Type Description
valueset str

The URL of the FHIR ValueSet defining valid INRGSS stage codes for neuroblastoma.

valueset class-attribute instance-attribute

NeuroblastomaINSSStage

Bases: CodedConcept

Represents a coded concept for the International Neuroblastoma Staging System (INSS) stage.

Attributes:

Name Type Description
valueset str

The canonical URL for the HL7 FHIR ValueSet defining valid INSS stage codes.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Post-processes the display string by replacing 'International neuroblastoma staging system' with 'IN' for concise representation.

valueset class-attribute instance-attribute

ObservationBodySite

Bases: CodedConcept

Represents a coded concept for the body site of an observation.

Attributes:

Name Type Description
valueset str

URL pointing to the FHIR ValueSet that defines the allowed body site codes for observations.

valueset class-attribute instance-attribute

ProcedureOutcome

Bases: CodedConcept

Represents a coded concept for procedure outcome.

Attributes:

Name Type Description
valueset str

The URI for the procedure outcome ValueSet.

valueset class-attribute instance-attribute

Race

Bases: CodedConcept

Represents a coded concept for race categories based on the HL7 FHIR US Core OMB race value set.

Attributes:

Name Type Description
valueset str

The URI of the HL7 FHIR US Core OMB race category value set.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Post-processes the display string for a race concept by converting it to title case.

valueset class-attribute instance-attribute

RadiotherapyModality

Bases: CodedConcept

Represents a coded concept for radiotherapy modality.

Attributes:

Name Type Description
valueset str

The URL of the radiotherapy modality value set.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Removes the " (procedure)" suffix from the display name of the concept.

valueset class-attribute instance-attribute

RadiotherapyTechnique

Bases: CodedConcept

Represents a coded concept for a radiotherapy technique.

Attributes:

Name Type Description
valueset str

The canonical URL for the radiotherapy technique value set, as defined by HL7 FHIR mCODE.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Removes the suffix " (procedure)" from the concept display string.

valueset class-attribute instance-attribute

RadiotherapyTreatmentLocation

Bases: CodedConcept

Represents a coded concept for radiotherapy treatment location.

Attributes:

Name Type Description
valueset str

The URI for the radiotherapy treatment location ValueSet.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Removes the suffix " (body structure)" from the display string for improved readability.

valueset class-attribute instance-attribute

RadiotherapyTreatmentLocationQualifier

Bases: CodedConcept

Represents a coded concept for radiotherapy treatment location qualifier.

Attributes:

Name Type Description
valueset str

The URI for the radiotherapy treatment location qualifier ValueSet.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Removes the suffix " (qualifier value)" from the display string for improved readability.

valueset class-attribute instance-attribute

RadiotherapyVolumeType

Bases: CodedConcept

Represents a coded concept for radiotherapy volume types.

Attributes:

Name Type Description
valueset str

The canonical URL of the mCODE radiotherapy volume type ValueSet.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Removes the suffix " (observable entity)" from the display string for improved readability.

valueset class-attribute instance-attribute

RaiStage

Bases: CodedConcept

Represents the Rai staging system for chronic lymphocytic leukemia (CLL) as a coded concept.

Attributes:

Name Type Description
valueset str

The URL of the HL7 FHIR ValueSet defining valid Rai stage codes.

valueset class-attribute instance-attribute

RaiStagingMethod

Bases: CodedConcept

Represents the Rai Staging Method as a coded concept for cancer staging.

Attributes:

Name Type Description
valueset str

The URL of the HL7 FHIR ValueSet for Rai staging method.

valueset class-attribute instance-attribute

RecreationalDrug

Bases: CodedConcept

Represents a coded concept for recreational drugs.

Attributes:

Name Type Description
valueset str

The URI for the recreational drugs ValueSet.

valueset class-attribute instance-attribute

ReferenceGenomeBuild

Bases: CodedConcept

Represents a coded concept for reference genome builds.

Attributes:

Name Type Description
valueset str

The URI for the reference genome build ValueSet.

valueset class-attribute instance-attribute

RhabdomyosarcomaClinicalGroup

Bases: CodedConcept

Represents a coded concept for the clinical group classification of Rhabdomyosarcoma.

Attributes:

Name Type Description
valueset str

The canonical URL of the FHIR ValueSet for rhabdomyosarcoma clinical group values.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Processes the display string to extract and format the clinical group label as 'Group '.

valueset class-attribute instance-attribute

SmokingStatus

Bases: CodedConcept

Represents a coded concept for a patient's smoking status, using a predefined ValueSet.

Attributes:

Name Type Description
valueset str

URL to the ValueSet defining possible smoking status codes.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Removes the substring " (finding)" from the concept display string.

valueset class-attribute instance-attribute

StructuralVariantAnalysisMethod

Bases: CodedConcept

Represents a coded concept for structural variant analysis methods.

Attributes:

Name Type Description
valueset str

The URI for the structural variant analysis method ValueSet.

valueset class-attribute instance-attribute

SurgicalProcedure

Bases: CodedConcept

Represents a coded concept for surgical procedures.

Attributes:

Name Type Description
valueset str

The URI for the surgical procedures ValueSet.

valueset class-attribute instance-attribute

TNMDistantMetastasesCategory

Bases: CodedConcept

Represents a coded concept for TNM distant metastases category.

Attributes:

Name Type Description
valueset str

The URI for the TNM distant metastases category ValueSet.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Cleans and formats the display string for TNM distant metastases category.

valueset class-attribute instance-attribute

TNMDistantMetastasesStagingType

Bases: CodedConcept

Represents a coded concept for TNM distant metastases staging type.

Attributes:

Name Type Description
valueset str

The URI for the TNM distant metastases staging type ValueSet.

valueset class-attribute instance-attribute

TNMGradeCategory

Bases: CodedConcept

Represents a coded concept for TNM grade category.

Attributes:

Name Type Description
valueset str

The URI for the TNM grade category ValueSet.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Cleans and formats the display string for TNM grade category.

valueset class-attribute instance-attribute

TNMLymphaticInvasionCategory

Bases: CodedConcept

Represents a coded concept for TNM lymphatic invasion category.

Attributes:

Name Type Description
valueset str

The URI for the TNM lymphatic invasion category ValueSet.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Cleans and formats the display string for TNM lymphatic invasion category.

valueset class-attribute instance-attribute

TNMPerineuralInvasionCategory

Bases: CodedConcept

Represents a coded concept for TNM perineural invasion category.

Attributes:

Name Type Description
valueset str

The URI for the TNM perineural invasion category ValueSet.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Converts display string to Pn0 or Pn1 for perineural invasion status.

valueset class-attribute instance-attribute

TNMPrimaryTumorCategory

Bases: CodedConcept

Represents a coded concept for TNM primary tumor category.

Attributes:

Name Type Description
valueset str

The URI for the TNM primary tumor category ValueSet.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Cleans and formats the display string for TNM primary tumor category.

valueset class-attribute instance-attribute

TNMPrimaryTumorStagingType

Bases: CodedConcept

Represents a coded concept for TNM primary tumor staging type.

Attributes:

Name Type Description
valueset str

The URI for the TNM primary tumor staging type ValueSet.

valueset class-attribute instance-attribute

TNMRegionalNodesCategory

Bases: CodedConcept

Represents a coded concept for TNM regional nodes category.

Attributes:

Name Type Description
valueset str

The URI for the TNM regional nodes category ValueSet.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Cleans and formats the display string for TNM regional nodes category.

valueset class-attribute instance-attribute

TNMRegionalNodesStagingType

Bases: CodedConcept

Represents a coded concept for TNM regional nodes staging type.

Attributes:

Name Type Description
valueset str

The URI for the TNM regional nodes staging type ValueSet.

valueset class-attribute instance-attribute

TNMResidualTumorCategory

Bases: CodedConcept

Represents a coded concept for TNM residual tumor category.

Attributes:

Name Type Description
valueset str

The URI for the TNM residual tumor category ValueSet.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Cleans and formats the display string for TNM residual tumor category.

valueset class-attribute instance-attribute

TNMSerumTumorMarkerLevelCategory

Bases: CodedConcept

Represents a coded concept for TNM serum tumor marker level category.

Attributes:

Name Type Description
valueset str

The URI for the TNM serum tumor marker level category ValueSet.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Cleans the display string by removing redundant text.

valueset class-attribute instance-attribute

TNMStage

Bases: CodedConcept

Represents a coded concept for TNM stage group.

Attributes:

Name Type Description
valueset str

The URI for the TNM stage group ValueSet.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Cleans and formats the display string for AJCC stage representation.

valueset class-attribute instance-attribute

TNMStagingMethod

Bases: CodedConcept

Represents a coded concept for TNM staging method.

Attributes:

Name Type Description
valueset str

The URI for the TNM staging method ValueSet.

extension_concepts list

List of extension concepts for additional codes.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Cleans and formats the display string for TNM staging method representation.

extension_concepts class-attribute instance-attribute

valueset class-attribute instance-attribute

TNMVenousInvasionCategory

Bases: CodedConcept

Represents a coded concept for TNM venous invasion category.

Attributes:

Name Type Description
valueset str

The URI for the TNM venous invasion category ValueSet.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Cleans and formats the display string for TNM venous invasion category.

valueset class-attribute instance-attribute

TreatmentTerminationReason

Bases: CodedConcept

Represents a coded concept for reasons why a treatment was terminated.

Attributes:

Name Type Description
valueset str

URL to the FHIR ValueSet defining valid treatment termination reasons.

Methods:

Name Description
_concept_display_postprocessing

str) -> str: Processes the display string for a concept by removing any text following ' ('.

valueset class-attribute instance-attribute

TumorBoardRecommendation

Bases: CodedConcept

Represents a coded concept for tumor board recommendations.

Attributes:

Name Type Description
valueset str

The URI for the tumor board recommendations ValueSet.

valueset class-attribute instance-attribute

TumorMarkerAnalyte

Bases: CodedConcept

Represents a tumor marker analyte as a coded concept, with additional properties loaded from analyte data.

Attributes:

Name Type Description
valueset str

URL to the FHIR ValueSet defining valid tumor marker analytes.

Methods:

Name Description
_concept_postprocessing

CodedConceptSchema) -> CodedConceptSchema: Class method that enriches the given concept with additional properties from analyte data, if available, by looking up the concept code in ANALYTES_DATA and serializing the result.

valueset class-attribute instance-attribute

VariantInheritance

Bases: CodedConcept

Represents a coded concept for variant inheritance.

Attributes:

Name Type Description
valueset str

The URI for the variant inheritance ValueSet.

valueset class-attribute instance-attribute

WilmsTumorStage

Bases: CodedConcept

Represents the staging information for Wilms Tumor using coded concepts.

Attributes:

Name Type Description
valueset str

The URL of the HL7 FHIR ValueSet defining valid Wilms Tumor stages.

valueset class-attribute instance-attribute

Zygosity

Bases: CodedConcept

Represents a coded concept for zygosity.

Attributes:

Name Type Description
valueset str

The URI for the zygosity ValueSet.

valueset class-attribute instance-attribute

runner