hospital queuing psychology