This document describes a study that developed a Bayesian multitask learning (BMTL) model to predict multiple chronic disease risks using electronic health record data. Specifically, the model aimed to predict risks of stroke, heart attack, and kidney failure in patients with diabetes. The study evaluated the BMTL model against single-task learning baselines and other multitask learning approaches, finding the BMTL model achieved better predictive performance. A counterfactual analysis also suggested the BMTL model could help identify more patients for preventive treatment interventions compared to current practice.