Diabetes as a predictor of surgery in people with frozen shoulder: a cohort study in UK electronic health records