Text this: Surgical frequency analysis of patients clustered according to postoperative pain trajectory: a retrospective study