An artificial intelligence decision support system for the management of type 1 diabetes