In patients with type 2 diabetes , improving adherence to medication is important in order to maintain favourable glycaemic control during long-term treatment and , thus , prevent the onset or aggravation of complications .