Rehabilitation center helps patients transition