resolve redmine issue # 4804 Loading queue of outdoor patients is very slow