A vitamin D test is used to screen for low values of vitamin D in your blood, so you may treat it with supplements before it causes health problems. If you have a known bone disorder or problems absorbing calcium, a vitamin D test can be used to see if there is a lack of vitamin D is causing your condition.