1. A computer-implemented method for managing workflow including assigning tasks to medical staff in a healthcare facility, the method comprising receiving information indicating that a person on the medical staff has completed an assigned task, ascertaining the person's location in the healthcare facility, executing a shortest-path algorithm to determine at least one path length between the person's location and at least one other location associated with at least one other task, and assigning a new task to the person based on a set of criteria including the at least one path length.