Phosphate isn't be excreted and therefore it stays in the serum, binding free calcium. This lowers calcium.
PTH is secreted because of low calcium, and that releases phosphate as well, but phosphate isn't being excreted and so it binds to calcium too. Low calcium again. (secondary hyper-pth)
Metabolic acidosis is taking place too, so bone releases calcium to try and buffer (osteroporosis)
And you mentioned vitD deficiency as well (osteomalacia).
And anemia cause of no epo.