Sedation and agitation level ( RASS scale ) , speed of awakening ( Aldrete score ) , duration of mechanical ventilation and stay in the ICU , need for additional opioid injections , type and frequency of side effects were evaluated .