In seven thoracic surgery departments , @ COPD patients undergoing lung resection surgery were randomly assigned to two groups : conventional postoperative treatment without ( n = @ ) or with ( n = @ ) prophylactic NIV , applied intermittently during @ h per day for @ h following surgery .