Patient modules
Timeline
Every domain event in one chronological view — written automatically by the API.
The timeline is the denormalized 'one view of everything'. When you (or a caregiver) create a diagnosis, log a symptom, record a treatment, upload a document, finish a cycle, or enter a lab, the API writes a TimelineEvent at the same time — there's a single writer in services/timeline.py so the feed can't drift from the source tables.
Event types you'll see
Diagnosis, biopsy, pathology, genomics, imaging, lab, biomarker test, surgery, radiation, chemotherapy, immunotherapy, targeted therapy, hormone therapy, cell therapy, transplant, medication change, symptom, adverse event, hospitalization, response assessment, progression, recurrence, remission, palliative care, appointment, note, other.
Adding your own milestones
Some clinical milestones aren't tied to a single form — a hospitalization, a response assessment, the start of palliative care. You can add those directly to the timeline as a manual event.