Study links diabetic ketoacidosis to lower IQ scores and worse memory in children with type 1 diabetes.