During surgery on the small intestines or colon, the surgeon may decide to reroute the remaining part of the intestines to the outside of the body through an opening in the abdomen. The surgery to make the opening is called an “ostomy.”