This document discusses preoperative respiratory assessment, management of hypoxia during one-lung ventilation (OLV), and strategies to prevent hypoxia during OLV for thoracic surgery. It outlines tests to assess cardiopulmonary function and risk thresholds. It describes how to calculate predicted postoperative lung function and optimize gas exchange during OLV through lung recruitment maneuvers and ventilator settings. Factors that increase risk of hypoxia on OLV are identified. Pharmacologic interventions like inhaled nitric oxide, phenylephrine, and epoprostenol can help treat hypoxia if it occurs.