Decision support algorithm The decision support algorithm is based on case-based reasoning (CBR). CBR is an artificial intelligence technique that tries to solve newly encountered problems by applying the solutions learned from solved problems encountered in the past. A combination of parameters makes up the case problem presented to the CBR algorithm. Using this information the algorithm will find a similar case scenario from the pool of previously encountered cases and recommend an improved solution (insulin dose) to achieve the best possible outcome (post-prandial blood glucose). Each new case includes information about the problem (e.g. capillary blood glucose, meal information etc), solution (recommended insulin dose) and outcome (post-prandial blood glucose).