Surgery

A 19-year-old man is brought into the emergency department with a gunshot wound that occurred 4 hours before admission. At exploratory laparotomy, an injury is noted in the transverse colon with extensive tissue destruction. There is a large amount of fecal contamination. Management of this injury should include which of the following?