The primary nursing goal in the immediate postoperative period is maintenance of pulmonary function and prevention of: