Identifying patients with diabetes and the earliest date of diagnosis in real time: an electronic health record case-finding algorithm. uri icon