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
Genetic causes of diabetes mellitus type 2 may feature diabetes, for example myotonic dystrophy and Friedreich's ataxia. Wolfram's syndrome is an autosomal recessive neurodegenerative disorder that first becomes evident in childhood. It consists of diabetes insipidus, diabetes mellitus, optic atrophy, and deafness, hence the acronym DIDMOAD. While obesity is an independent risk factor for type 2 diabetes that may be linked to lifestyle, obesity is also a trait that may be strongly inherited. Other research also shows that type 2 diabetes can cause obesity as an effect of the changes in metabolism and other deranged cell behavior attendant on insulin resistance. However, environmental factors (almost certainly diet