Our intervention uses as theoretical behavioral framework elements of the Chronic Care Model, Self-Determination Theory, and the Health Belief Model. The study will use qualitative methods to guide intervention design and implementation and will include both process evaluation and treatment fidelity measures. The intervention will be tailored to patients' adherence and goal levels. The study will also evaluate the cost effectiveness of the intervention. Patients will be followed for 36 months. The introduction of sustainable medication adherence monitoring in clinical practice holds great potential to improve health outcomes among patients with diabetes.