To determine RD related to anesthesia in the operating theatre , the criterion was defined as any unanticipated hypoxemia , hypoventilation or upper airway obstruction ( stridor or laryngospasm ) requiring an active and specific intervention .