Age, gender, albumin level, PTH level, and SOFA score were significantly associated with vitamin D deficiency in these patients. Here, PTH is linked to vitamin D deficiency.