clinical pain procedure algorithms