Adaptive queue management for healthcare operations