Thus, an imbalance of PTH and Vit D levels predicted insomnia, higher levels of anxiety, and poor quality of sleep. This evidence concerns the gene PTH and insomnia measurement.