The long-term use of valproic acid did not affect the levels of serum calcium (p = 0.99), phosphorus (p = 0.28), ALP (p = 0.76), PTH (p = 0.36) and osteocalcin (p = 0.72), but it led to a decrease in 25-OH-VitD (p = 0.01) and BMD (p = 0.002 for the vertebra; p = 0.004 for the femur) in treating children with epilepsy. The gene discussed is BGLAP; the disease is epilepsy.