A method, system, and computer program product related to the diagnosis of diabetes, and is directed to predicting the long-term risk of hyperglycemia, and the long-term and short-term risks of severe hypoglycemia in diabetics, based on blood glucose readings collected by a self-monitoring blood glucose device. The method, system, and computer program product pertain directly to the enhancement of existing home blood glucose monitoring devices, by introducing an intelligent data interpretation component capable of predicting both HbA1c and periods of increased risk of hypoglycemia, and to the enhancement of emerging continuous monitoring devices by the same features. With these predictions the diabetic can take steps to prevent the adverse consequences associated with hyperglycemia and hypoglycemia.