Quality of life in type 2 diabetic patients and related effective factors.