Randomized controlled trial with access to the CASE system constituting the intervention and a descriptive study of the consultation process. The major outcome variables will be the consultation type, adherence to diabetes practice guidelines, clinical outcome of diabetes care (glycemic control), patient and provider satisfaction.