>You get most of your vitamin D from skin exposure to sunlight so it's reasonable to suggest that these people with psychiatric issues and low VitD are likely to be shut-ins.
As a point of interest, when I lived in an American southwest desert city, vitamin D deficiency was rampant. When doctors took new patients, the first thing they did was write a script for vitamin D, which the pharmacies were constantly out of, so people who cared enough just bought OTC supplements. Most people didn't care, though.
The widespread D problem was because they spend so much time inside, and the buildings were designed with few windows, or very small windows.
So, a different kind of shut-in. Societal shut-ins, if you will.
Also on a similar tangent, I remember a photo in Time magazine from the 80's showing children in schools in Siberia standing mostly-naked around quartz lights daily to get their D.
I think with all the discussion of skin cancer, aging, sun spots, etc... people have forgotten the health benefits of good ol' sunshine.