Population
diabetes
TYPE 2 DIABETES, DIABETES
People with type 1 or type 2 diabetes who were receiving care at the hospital outpatient diabetes clinics of the Leiden University Medical Center and affiliated teaching hospitals or the Reina Sofía University Hospital were eligible for participation if they fulfilled the following inclusion criteria: age ≥18 years, ability to self-monitor and work with a computer and smartphone with internet connection, sufficient language comprehension and the ability to complete questionnaires. People who were eligible for participation were proactively identified at the outpatient clinic and asked to participate. A more detailed description of inclusion and exclusion criteria is given in ESM Methods 