medical games (mg.)

Theory · GI embryology

Embryology of the digestive system

Updated

The digestive tract starts out as a straight tube. Everything else, the stomach, liver, pancreas and coils of bowel, comes from that tube growing, rotating and folding to fit into an abdomen that is too small for it at first. Nearly every GI malformation is one of those steps going wrong: a rotation that stops short, a lumen that never reopens, a loop that never makes it back inside. Once you know the normal sequence, each defect follows from it.

1. One tube, three parts

When the embryo folds in the fourth week, it takes part of the yolk sac inside, and that becomes the primitive gut. Both ends are blind tubes, the foregut at the top and the hindgut at the bottom. The midgut stays connected to the yolk sac for a while through the vitelline duct.

Each germ layer contributes something different. Endoderm forms the epithelial lining of the whole tube and the working cells of its glands, such as hepatocytes and pancreatic cells. Visceral mesoderm forms the muscle, connective tissue and peritoneum. The neurons in the gut wall come from the neural crest.

The three-part split matters because each part has its own artery, and keeps it for life:

Segment What it forms Artery
Foregut Esophagus, stomach, duodenum up to the bile duct; liver, biliary tree and pancreas Celiac trunk
Midgut Distal duodenum, jejunum, ileum, cecum, appendix, ascending colon and proximal two-thirds of the transverse colon Superior mesenteric artery
Hindgut Distal third of the transverse colon, descending colon, sigmoid, rectum and upper anal canal Inferior mesenteric artery

The duodenum sits right at the foregut–midgut junction, so it gets branches from both the celiac trunk and the SMA. Parasympathetic supply follows a similar border: the vagus reaches the ascending colon and part of the transverse colon, and the pelvic nerve covers the rest of the colon.

High-yield: the border between the proximal two-thirds and distal third of the transverse colon is the border between the SMA and the IMA.

2. The foregut

Esophagus

In the fourth week the lung bud grows out of the ventral wall of the foregut, and the tracheoesophageal septum separates it from the esophagus. A deviated septum leaves atresias and fistulas between esophagus and trachea; they’re covered in detail in the lung anatomy and embryology module. From the GI side, one consequence matters here: a fetus with esophageal atresia can’t swallow amniotic fluid, which builds up and causes polyhydramnios.

Stomach and mesenteries

The stomach starts as a dilation of the tube and rotates 90° clockwise around its long axis. Its left side ends up in front and its right side behind. That’s why the left vagus ends up supplying the anterior wall of the stomach and the right vagus the posterior wall. The wall that ends up in back grows faster and becomes the greater curvature.

As it rotates, the stomach drags its mesenteries along. The dorsal mesogastrium swings to the left, creates the lesser sac behind the stomach, houses the spleen and hangs down like an apron as the greater omentum. The ventral mesogastrium becomes the lesser omentum and the falciform ligament. The free edge of the lesser omentum carries the portal triad (bile duct, portal vein and hepatic artery), and the free edge of the falciform ligament carries the umbilical vein, which closes after birth to become the round ligament.

Some organs that started out hanging from a mesentery end up fused to the posterior wall. The duodenum, except its first part, and the pancreas fuse with it and become secondarily retroperitoneal. The spleen stays intraperitoneal.

Pyloric stenosis

The circular muscle of the pylorus hypertrophies and narrows the gastric outlet so much that food can’t get through. It’s one of the most common stomach anomalies in infants: 6–8 per 1,000 live births, five times more common in boys and more common in firstborns. It was once thought to develop before birth, but most cases show up days after delivery, and erythromycin in the newborn period sharply increases the risk.

The whole picture follows from the obstruction. The infant vomits in the first weeks of life, more and more forcefully, in a projectile way, and the vomit never contains bile, because the block is above the duodenum. At first the baby is ravenously hungry; later comes dehydration and weight loss. The full stomach shows visible peristaltic waves, and sometimes you can feel the thickened pylorus, the “olive.”

Losing hydrochloric acid with every episode produces a hypochloremic, hypokalemic metabolic alkalosis, with a high BUN from dehydration. Ultrasound shows a long, thick pylorus. Before surgery, correct the dehydration and alkalosis with normal saline, then dextrose-containing fluid with potassium once the infant is urinating; then comes the pyloromyotomy, a lengthwise cut through the muscle.

Liver, biliary tree and pancreas

The liver buds from the end of the foregut and grows into the septum transversum, a plate of mesoderm. Its connection to the duodenum narrows into the bile duct, and an outgrowth of the bile duct forms the gallbladder and cystic duct. Kupffer cells and connective tissue come from the mesoderm of the septum. The surface of the liver that touches the future diaphragm is never covered by peritoneum: the bare area. Before birth the liver also makes blood cells, and it starts producing bile around week 12.

The bile ducts go through a solid stage and then have to reopen. When they don’t, or when an inflammatory process destroys them, the result is extrahepatic biliary atresia. Jaundice isn’t there at birth: it appears in the first week or two, in a baby who otherwise looks well, with dark urine and acholic stools because bile isn’t reaching the gut. Without early surgical drainage, ideally before 2 months, it rapidly progresses to cirrhosis and liver failure.

The pancreas forms from two buds. The ventral bud starts next to the bile duct and swings with it behind the duodenum until it lies below the dorsal bud; it forms the uncinate process and part of the head. Their ducts join: the main pancreatic duct (of Wirsung) enters the duodenum with the bile duct at the major papilla, and the accessory duct, if it persists, at the minor papilla.

  • Annular pancreas: part of the ventral bud migrates the wrong way around, so a ring of pancreas encircles the duodenum and can narrow it to the point of obstruction, in the newborn or in the adult.
  • Pancreas divisum: the ducts of the two buds never fuse, so most of the pancreas drains through the minor papilla. It’s the most common anatomic variant of the pancreas (7–10% of people), and in most of them it doesn’t predispose to pancreatitis.

3. The midgut

Physiologic herniation and rotation

The midgut forms a hairpin loop whose axis is the superior mesenteric artery. It grows so fast, and the liver takes up so much room, that by the sixth week the abdomen is too small and the loop moves out into the umbilical cord: physiologic umbilical herniation.

While it’s outside, the loop rotates 90° counterclockwise around the artery. In the tenth week it returns to the abdomen and rotates another 180°, for a total of 270°. The jejunum comes back first and settles on the left; the cecum comes back last, to the right upper quadrant, and then descends to the right iliac fossa. The ascending and descending colon fuse to the posterior wall and become retroperitoneal.

Omphalocele and gastroschisis

Both leave bowel outside the abdomen, but by different mechanisms, and that explains every difference between them.

An omphalocele is bowel that never returns after physiologic herniation. So it comes out through the umbilicus and is still wrapped in the cord’s membranes, amnion and peritoneum. It can also contain liver, stomach or spleen. Because it’s an early developmental failure, it often comes with other serious malformations, especially cardiac defects, neural tube defects, chromosomal abnormalities and Beckwith-Wiedemann syndrome, and its mortality is high.

Gastroschisis is a closure defect of the body wall beside the umbilicus, usually on the right. The bowel protrudes straight into the amniotic cavity with no membrane covering it, and amniotic fluid damages it and coats it in a thick peel. It isn’t associated with chromosomal abnormalities or other serious malformations, though it is with atresias of the bowel itself, and survival is excellent.

Omphalocele Gastroschisis
Mechanism Bowel fails to return Body wall closure defect
Site Through the umbilicus Beside the umbilicus, on the right
Covering Amnion and peritoneum None
Other malformations Common: cardiac, chromosomal Rare, except intestinal atresias
Prognosis High mortality Excellent survival

Both, like intestinal atresias and neural tube defects, raise alpha-fetoprotein in maternal serum and amniotic fluid, and both show up on prenatal ultrasound.

Malrotation and volvulus

If the loop doesn’t complete its 270°, the cecum stays up near the right upper quadrant, and instead of being anchored along a broad base, the mesentery hangs from a very narrow stalk. Bowel hanging from a narrow stalk can twist on itself: midgut volvulus. On top of that, abnormal bands running from the cecum across the duodenum (Ladd bands) can compress it.

About 60% present in the first month with bilious vomiting. With volvulus, venous drainage is cut off first, then the bowel becomes ischemic: pain, blood in the vomit or stool, and an infant who looks septic. The bowel can infarct, so treatment is surgical: untwist the bowel and divide the bands.

Atresias

Atresias are segments of bowel that are closed off or missing. They’re most common in the duodenum and rare in the colon, and their cause depends on where they are. In the second month the duodenal lumen fills in and then reopens; if it fails to recanalize, duodenal atresia results. Farther down, atresias are mostly blamed on a vascular accident that cuts off blood to a segment, which dies and is resorbed, although faulty genes that direct gut differentiation can cause them too. A special type is “apple peel” atresia: a stretch of proximal jejunum is missing and the short remaining bowel coils around a remnant of mesentery.

They all share the same story: polyhydramnios during pregnancy and, at birth, distention and bilious vomiting. Duodenal atresia comes with other anomalies in more than half of infants, most often Down syndrome, and the x-ray shows the double bubble: gas in the stomach and in the dilated proximal duodenum, and none beyond.

High-yield: the color of the vomit locates the block. No bile → before the duodenum (pyloric stenosis). Bile → farther down (duodenal atresia, malrotation with volvulus).

4. The hindgut

The hindgut ends in the cloaca, a chamber shared with the urinary tract. The urorectal septum divides it into the anorectal canal in back and the urogenital sinus in front. So the anal canal has a dual origin: its upper two-thirds comes from endoderm and is supplied by the superior rectal artery, a branch of the IMA; its lower third comes from ectoderm and is supplied by the inferior rectal artery, a branch of the internal pudendal. The border between them is the pectinate line, where the epithelium changes from columnar to stratified squamous.

If the cloaca is too small or the septum falls short, the rectum opens in the wrong place: rectourethral or rectovaginal fistulas. If the anal membrane fails to break down, the baby is born with an imperforate anus. Hirschsprung disease, in which the wall lacks ganglion cells because neural crest cells didn’t finish migrating, is covered with the large intestine.

Anomaly What fails Clue
Pyloric stenosis Pyloric hypertrophy Nonbilious projectile vomiting, alkalosis
Duodenal atresia Failure to recanalize Bilious vomiting, double bubble, Down syndrome
Malrotation Incomplete rotation Bilious vomiting, volvulus
Omphalocele Bowel fails to return Through the umbilicus, membrane-covered
Gastroschisis Body wall closure Beside the umbilicus, no membrane
Biliary atresia Ducts destroyed or obliterated Jaundice, acholic stools
Annular pancreas Ventral bud migrates wrong Duodenal obstruction

Source: Sadler, Langman’s Medical Embryology, 12th ed., ch. 15 (Digestive System) and ch. 9 (Maternal Serum Screening); Marcdante and Kliegman, Nelson Essentials of Pediatrics, 9th ed., chs. 62, 128 (Pyloric Stenosis), 129 (Malrotation; Intestinal Atresia; Other Congenital Disorders) and 130 (Biliary Atresia); Costanzo Physiology, 6th ed., ch. 8 (Innervation of the Gastrointestinal Tract); Harrison’s Principles of Internal Medicine, 21st ed., ch. 348 (Annular Pancreas; Pancreas Divisum).