Levobupivacaine consumption via PCEA ( primary outcome ) , pain scores at rest and on cough , the time to return of bowel function and ambulation , and arterial blood gas levels ( secondary outcomes ) were recorded .