Until relatively recently, little attention was given to a patient’s vitamin D status because it was assumed that with sun exposure, the skin could synthesize adequate amounts of the nutrient. But as TV viewing, video gaming, Internet surfing, and other indoor activities have surged in popularity, Americans are getting less sun.