It's unfortunate that testing vitamin D levels still isn't part of the standard care for most hospitalized patients. We now have evidence that hypovitaminosis D is a risk factor. But if those test results aren't recorded in the patient chart then they can't be used for modelling.
https://vitamin-d-covid.shotwell.ca/