An Adaptive Resource Management Approach for a Healthcare System