Patients scheduled for arthroscopic subacromial decompression and/or acromioclavicular joint resection as an outpatient procedure ( n = 101 ) were randomised to receive intravenous dexamethasone 40 mg ( D40 ) , 8 mg ( D8 ) or placebo ( D0 ) before surgery .