Diagnosis and treatment of vitamin D deficiency