Diabetes mellitus type 1 factors include having a family member with the condition. The underlying mechanism involves an autoimmune destruction of the insulin-producing beta cells in the pancreas. Diabetes is diagnosed by testing the level of sugar or glycated hemoglobin (HbA1C) in the blood. Type 1 diabetes can be distinguished from type 2 by testing for the presence of autoantibodies. There is no known way to prevent type 1 diabetes. Treatment with insulin is required for survival. Insulin therapy is usually given by injection just under the skin but can also be delivered by an insulin pump. A diabetic diet and exercise are important
Diabetes mellitus type 2 the risk, and polyunsaturated and monounsaturated fat decreasing the risk. Eating a lot of white rice appears to play a role in increasing risk. A lack of exercise is believed to cause 7% of cases. Persistent organic pollutants may play a role. Most cases of diabetes involve many genes, with each being a small contributor to an increased probability of becoming a type 2 diabetic. If one identical twin has diabetes, the chance of the other developing diabetes within his lifetime is greater than 90%, while the rate for nonidentical siblings is 25–50%. As of 2011, more than 36 genes