diagnosing patients with sleep apnea