Interventions Group 1 (control group): Patients in this group will receive the standard rehabilitation program with the overall purpose of lifestyle changing in T2D patients in a multimodal setting in the municipality including physical activity. In addition to exercise, the rehabilitation consists of education, smoking cessation and dietary change with the purpose of weight loss, motivation groups and self-care. The duration of the rehabilitation differs between municipalities with duration from 8 to 14 weeks. There will be no follow-up from the municipality, which is the normal procedure in the municipality.