To diagnose sleep disorders in cancer patients, the doctor will get the patient's complete medical history and give a physical examination. The doctor may get information about the patient's sleep history and patterns of sleep from the patient, from observations, and from the patient's family and friends. A polysomnogram, an instrument that measures brain waves, eye movements, muscle tone, heart rate, and breathing during sleep, may also be used to diagnose sleep disorders in patients with cancer.