Risk factors for hospitalisation for people with diabetes