Studies on diabetic patients in primary care