Patients with diabetes that require hospitalization are at increased risk for morbidity and mortality, especially when undergoing surgery. There is some evidence that intensive glucose management during hospitalization may improve outcomes. However, no studies have evaluated intensive diabetes treatment before hospitalization.