Diagnosis Classification
Patients are classified as breast cancer, colon cancer, or a combined category when both diagnoses are present.
Featured Case Study · R
Transforming synthetic patient-level demographics, diagnoses, and treatment records into structured, review-ready clinical insights.
Overview
The project joins demographic, diagnosis, and treatment data at the patient level, applies documented derivation rules, and produces publication-ready summaries for clinical review.
Patients are classified as breast cancer, colon cancer, or a combined category when both diagnoses are present.
The workflow derives the interval between the earliest diagnosis date and first observed treatment date.
Rule-based treatment episodes identify the first-line regimen from temporally grouped drug starts.
Age, sex, stage, and region are summarized by first cancer diagnosis using publication-ready tables.
Data quality review
A treatment preceding the earliest recorded diagnosis was flagged as a potential incomplete-history or date-consistency issue.
A diagnosed patient without an observed treatment was documented for follow-up rather than silently excluded.
Each derived outcome is paired with a written definition and visible R implementation.