Automatic laboratory-based strategy to improve the diagnosis of type 2 diabetes in primary care