If your dentist suspects you have sleep apnea, he or she may refer you to a doctor or sleep specialist. For proper diagnosis, you may need to perform an overnight sleep study called polysomnography, which measures heart rate and number of breath interruptions. If you are diagnosed with sleep apnea, your dentist can work closely with your doctor to implement and manage the prescribed treatment.