The study is a randomized clinical trial, controlled, open label that aimed to compare two groups after discharge of a tertiary care: type 2 diabetes patients followed exclusively by primary care (control group) and patients followed by primary care and supported by phone calls (intervention group).