Managing the patient with diabetes in hospital