Perioperative flow and resource allocation