RecruitingPhase 4Drug trialA Pragmatic Trial Comparing Empagliflozin and Dapagliflozin Through Cluster Randomization Embedded in the Electronic Health RecordThe aim of this clinical trial is investigate the comparative effectiveness of empagliflozin and dapagliflozin for the treatment of diabetes, chronic kidney disease, and heart failure. Patients who are prescribed either empagliflozin or dapagliflozin, as part of daily clinical practice at the participating sites, will be included in the study. Treatment will be randomized automatically through the electronic health record software in clusters defined by time of day. https://www.appletreestudy.com