Inclusion Criteria:  Patients registered in the Public Health Service of the Balearic Islands With type 2 diabetes At least one prescription of a glucose-lowering drug With results of HbA1c>8% from 6 months prior to recruitment  Exclusion Criteria:  Younger than 18 years old With insulin treatment Participating in another research study Not living in the Balearic Islands at some point during the study development