People with insulin-treated diabetes lack or have severely impaired the body’s own ability to regulate blood sugar levels by secreting the hormone insulin, and must therefore take several injections of insulin daily. The project aims to develop a decision support for insulin-treated patients. Using mathematical algorithms to predict a decision support system for blood sugar development and calculating optimal insulin doses at any required time.