We propose a new approach to treatment of T2D, where the patients' individual characteristics are considered. The aetiology of the diabetes can be different, which warrants different treatment. Many patients have concomitant illness which can affect the way the patient is treated. A tight regulation of blood glucose can in some patient constitute a risk of adverse effects, especially hypoglycemia. In that sense individual targets for the treatment are important. Effective lifestyle treatment has importance for a successful outcome and we therefore offer an application that can help the patient and the physician organizing activity individually.