A gastrectomy is a surgical procedure in which all or part of the stomach is removed:

The stomach plays many important roles in the digestive system. Its main function involves the mechanical and chemical digestion of ingested food. Once the food has been chewed and lubricated with saliva, it travels down the throat, passes through the oesophagus and enters the stomach, where it mixes with gastric juices, which help digest and disintegrate the food. This food will then reach the small intestine, where the different nutrients will be absorbed. The stomach also releases several hormones which are responsible for sending hunger and fullness signals to the brain. A total or partial gastrectomy alters these functions, resulting in:
The consequences of these altered functions are:
A few days after the surgery has been performed, the patient will be able to start eating progressively, according to individual tolerance, starting with a liquid diet, and then progressing to a semi-liquid, crushed, semi-solid, easily digestible diet, up to a diet that is as normal as possible. It is recommended to keep a food journal that lists everything eaten and drunk and any symptoms they cause in order to identify food tolerance and progress appropriately on a personalised basis.