The duodenal switch is based on food coming into contact with less intestinal surface, separating the duodenum and reconnecting it from the distal part of the small intestine.