Diagnosis of OHS involves a combination of clinical evaluation, arterial blood gas analysis, pulmonary function tests, and polysomnography. Blood tests may also be performed to measure levels of bicarbonate and carbon dioxide. A definitive diagnosis often requires the exclusion of other potential causes of hypoventilation.