Low levels of vitamin D are associated with infections, autoimmune diseases, diabetes, many types of cancer, heart disease, depression, and some pregnancy problems such as preeclampsia and preterm labor.How do I know if I am getting enough vitamin D?You can ask your health care provider to check your serum D level or 25(OH)D. This test is done by taking a sample of your blood.