Treatment of surgical emergencies with and without an algorithm.