A short piece of the small intestine is removed. The remaining intestine is reconnected so that it works normally.