Transition from acute to chronic pain