# laurien03/oncological-clinical-triage-system architecture

> Architecture diagram of the GitHub repository laurien03/oncological-clinical-triage-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/laurien03/oncological-clinical-triage-system
- Repository: https://github.com/laurien03/oncological-clinical-triage-system

## Overview

Oncological Clinical Triage System is a single-file, interactive oncology intake and clinical decision-support tool. Its principal workflow collects patient registration and visit information, assesses symptoms and emergency concerns, gathers treatment and clinical context, and prints a professional summary. The README documents the overall capabilities; sampled code confirms several classes and their inheritance, but excerpts do not show a complete runtime call sequence. Dashed links indicate workflow relationships documented only at a high level.

Main entry points: [`onc.py`](https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py) (Visit selection)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_intake["Intake and triage"]
  node_registration["Patient registration<br/>[onc.py]"]
  node_visit["Visit selection<br/>[onc.py]"]
  node_symptoms["Symptom assessment<br/>[onc.py]"]
  node_redflags["Emergency screening<br/>[onc.py]"]
end

subgraph group_clinical["Clinical details"]
  node_regimen["Treatment and medication<br/>[onc.py]"]
  node_sideeffects["Side-effect tracking<br/>[onc.py]"]
  node_context["Clinical context<br/>[onc.py]"]
end

subgraph group_reporting["Reporting"]
  node_report["Professional report<br/>[onc.py]"]
end

node_patient(("Patient"))

node_patient -.->|"provides details"| node_registration
node_registration -.->|"continues intake"| node_visit
node_visit -.->|"assesses symptoms"| node_symptoms
node_symptoms -.->|"checks emergencies"| node_redflags
node_symptoms -.->|"records treatment"| node_regimen
node_regimen -->|"tracks effects"| node_sideeffects
node_sideeffects -->|"adds context"| node_context
node_context -.->|"summarizes"| node_report
node_visit -->|"includes visit reason"| node_report

click node_registration "https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py"
click node_visit "https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py"
click node_symptoms "https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py"
click node_redflags "https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py"
click node_regimen "https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py"
click node_sideeffects "https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py"
click node_context "https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py"
click node_report "https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_registration,node_visit,node_symptoms,node_redflags toneBlue
class node_regimen,node_sideeffects,node_context toneAmber
class node_report toneMint
class node_patient toneIndigo
```

## Components

### Intake and triage

- [Patient registration](https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py): `onc.py`
- [Visit selection](https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py): `onc.py`
- [Symptom assessment](https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py): `onc.py`
- [Emergency screening](https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py): `onc.py`

### Clinical details

- [Treatment and medication](https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py): `onc.py`
- [Side-effect tracking](https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py): `onc.py`
- [Clinical context](https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py): `onc.py`

### Reporting

- [Professional report](https://github.com/laurien03/oncological-clinical-triage-system/blob/main/onc.py): `onc.py`

### Other components

- **Patient**

## Connections

- Patient → Patient registration: provides details (evidence: `README.md`)
- Patient registration → Visit selection: continues intake (evidence: `README.md`)
- Visit selection → Symptom assessment: assesses symptoms (evidence: `README.md`)
- Symptom assessment → Emergency screening: checks emergencies (evidence: `onc.py`)
- Symptom assessment → Treatment and medication: records treatment (evidence: `onc.py`)
- Treatment and medication → Side-effect tracking: tracks effects (evidence: `onc.py`)
- Side-effect tracking → Clinical context: adds context (evidence: `onc.py`)
- Clinical context → Professional report: summarizes (evidence: `README.md`)
- Visit selection → Professional report: includes visit reason (evidence: `onc.py`)
