onconova.interoperability.schemas
ExportMetadata
¶
Bases: BaseModel
Represents metadata information for an exported resource.
Attributes:
Name | Type | Description |
---|---|---|
exportedAt |
datetime
|
The datetime when the resource was exported. |
exportedBy |
str
|
Username of the user who performed the export. |
exportVersion |
str
|
Version tag of the exporting system. |
checksum |
str
|
Checksum (e.g., SHA256) of the exported content for integrity verification. |
PatientCaseBundle
¶
Bases: PatientCase
PatientCaseBundle aggregates all relevant patient case data for interoperability and import/export operations.
This schema extends PatientCase and organizes multiple related entities, such as neoplastic entities, stagings, tumor markers, risk assessments, therapies, surgeries, adverse events, treatment responses, performance status, comorbidities, genomic variants, genomic signatures, vitals, lifestyles, family history, tumor boards, completed data categories, and history events.
The order of properties is significant for import tools that rely on reference trees.
Attributes:
Name | Type | Description |
---|---|---|
neoplasticEntities |
List[NeoplasticEntity]
|
List of neoplastic entities associated with the patient case. |
stagings |
List[Union[...]]
|
List of staging schemas (e.g., TNM, FIGO, Binet, etc.). |
tumorMarkers |
List[TumorMarkerSchema]
|
List of tumor marker schemas. |
riskAssessments |
List[RiskAssessment]
|
List of risk assessment schemas. |
therapyLines |
List[TherapyLine]
|
List of therapy line schemas. |
systemicTherapies |
List[SystemicTherapy]
|
List of systemic therapy schemas. |
surgeries |
List[Surgery]
|
List of surgery schemas. |
radiotherapies |
List[Radiotherapy]
|
List of radiotherapy schemas. |
adverseEvents |
List[AdverseEvent]
|
List of adverse event schemas. |
treatmentResponses |
List[TreatmentResponse]
|
List of treatment response schemas. |
performanceStatus |
List[PerformanceStatus]
|
List of performance status schemas. |
comorbidities |
List[ComorbiditiesAssessment]
|
List of comorbidities assessment schemas. |
genomicVariants |
List[GenomicVariant]
|
List of genomic variant schemas. |
genomicSignatures |
List[Union[...]]
|
List of genomic signature schemas (e.g., TMB, MSI, LOH, etc.). |
vitals |
List[Vitals]
|
List of vitals schemas. |
lifestyles |
List[Lifestyle]
|
List of lifestyle schemas. |
familyHistory |
List[FamilyHistory]
|
List of family history schemas. |
tumorBoards |
List[Union[UnspecifiedTumorBoard, MolecularTumorBoard]]
|
List of tumor board schemas. |
completedDataCategories |
Dict[PatientCaseDataCategories, PatientCaseDataCompletionStatus]
|
Mapping of data categories to their completion status. |
history |
List[HistoryEvent]
|
List of history events related to the patient case. |
Methods:
Name | Description |
---|---|
resolve_stagings |
Resolves and serializes staging data for the patient case. |
resolve_genomicSignatures |
Resolves and serializes genomic signature data. |
resolve_tumorBoards |
Resolves and serializes tumor board data. |
resolve_completedDataCategories |
Resolves completion status for each data category. |
resolve_history |
Resolves and retrieves history events for the patient case. |
Config
model_config: Serialization configuration (serialize_by_alias=False).