Chronic medical conditions and sleep disorders were identified using codes from the International Classification of Diseases, ...