interesting study - in summary:
"Among several million people, the HCUP data confirmed that a diagnosis of insomnia predicted a diagnosis of AF both before and after adjustment for potential confounding effects.
These results provide more evidence that sleep quality is important to cardiovascular health and specifically to AF. Investigators determined that there was no evidence that sleep duration per se was a risk factor for AF. Instead, they consistently found sleep disruption to be an important risk factor."