Rocaltrol is primarily prescribed for conditions related to calcium and vitamin D metabolism. It is commonly used to treat hypocalcemia (low levels of calcium in the blood) and secondary hyperparathyroidism (overactive parathyroid gland) in patients with chronic kidney disease or undergoing dialysis.