Chapter 10

Kidneys, gut, and hormones: the internal regulators

The body's slow regulators, the devices around them, and the units that bite

Human Biology for the Medical Maker

Why this chapter exists

  • Data: urine output, fluid balance, glucose, kidney function, hormone levels
  • Devices: catheters, feeding tubes, stomas, glucose meters, CGMs, insulin pumps
  • Control systems: gain, delay, and set point — literally
  • Units differ between countries and laboratories

Patients and families built working closed-loop insulin systems in open source before the first commercial one was approved.

The kidneys and urinary tract

A filter followed by a refinery

Anatomy

  • Two kidneys against the back wall, each about 11–12 cm and 150 g
  • Receive 20–25% of cardiac output — about a litre a minute — to process it
  • Ureters carry urine down by peristalsis to the bladder
  • Urethra about 4 cm in women, about 20 cm in men

That length difference shapes infection risk, catheter design, and continence products.

The nephron: filter, then refinery

Filtration at the glomerulus (~180 L a day), then reabsorption and secretion along the tubule; ~1–2 L of urine

Filtration at the glomerulus (~180 L a day), then reabsorption and secretion along the tubule; ~1–2 L of urine

Why such a wasteful design?

Filter everything, then take back only what you mean to keep. A whitelist, not a blacklist.

Toxins and drug metabolites the kidney has never met are removed by default.

What the kidneys regulate

QuantityMain control
WaterAntidiuretic hormone (ADH) and thirst
Sodium and blood volumeRenin, angiotensin, aldosterone
PotassiumAldosterone; too high or too low disturbs heart rhythm
Acid–baseReclaims bicarbonate; excretes 50–100 mmol of acid a day
Calcium and phosphateParathyroid hormone; vitamin D activation
Red cell productionErythropoietin — why kidney failure causes anaemia
Long-term blood pressureLargely a kidney decision

Watching and measuring kidney function

Urine output

  • Minimum about 0.4–0.5 L a day to clear waste
  • Falling output can be the first sign of trouble
  • Often recorded hourly from a catheter

eGFR from creatinine

  • Creatinine: muscle waste, filtered, barely reabsorbed
  • Stages G1 (90 and over) to G5 (under 15)
  • Least reliable at the extremes of muscle mass
  • Feeds directly into drug dosing

Continence, and where design helps

TypeMechanismWhere design helps
StressWeak sphincter or pelvic floorTraining aids, pads, supports
UrgeOveractive bladder muscleToilet access, signage, reminders
OverflowBladder cannot emptyCatheterisation
FunctionalMobility, dexterity, vision, or cognitionA design problem: fastenings, rails, way-finding, one-handed urinals

Catheters, and the drainage rules

  • Indwelling, intermittent, suprapubic, external
  • A tube is a highway for bacteria; biofilms form on it
  • Closed system · bag below the bladder · off the floor
  • No kinks or dependent loops · empty without touching the outlet

Indwelling catheters are among the commonest causes of healthcare-associated infection.

The digestive system

A tube, its glands, and a lot of fluid

The tube and its timings

Mouth to anus: the stomach stores and acidifies, the small intestine absorbs nearly everything, the large intestine recovers water. Timings vary widely.

Mouth to anus: the stomach stores and acidifies, the small intestine absorbs nearly everything, the large intestine recovers water. Timings vary widely.

Transit times vary widely — orientation only.

Stomach and small intestine

Stomach

  • Acid at pH about 1.5–3.5
  • Destination of feeding tubes
  • Degrades many materials and drugs
  • Confirm tube position before use

Small intestine

  • Duodenum receives bile and pancreatic juice
  • Folds, villi, microvilli: three levels of area
  • Surface area: 200–300 m² in old texts, about 30 m² in a 2014 re-measurement

The fluid budget

9 L in, ~0.15 L out

About 2 L drunk and eaten plus about 7 L secreted into the gut each day; almost all reabsorbed

Lose that reabsorption — severe diarrhoea, a high-output stoma — and dehydration comes within hours.

Liver, gallbladder, pancreas

  • Liver about 1.5 kg; portal vein brings blood straight from the gut
  • Stores glucose, makes clotting factors, clears drugs, makes bile
  • First-pass metabolism removes much of some oral drugs
  • Pancreas: enzymes and bicarbonate, plus islets making insulin and glucagon

When the tube cannot be used normally

SituationWhat is doneDesign-relevant point
Cannot swallow safelyEnteral feeding: nasogastric or gastrostomy tubePosition checks; securing without pressure injury; feed pumps
Gut cannot absorbParenteral nutrition, intravenouslyCentral access; infection risk
Bowel removed or restedA stoma: colostomy, ileostomy, urostomyAdhesive appliances on skin that moves and changes shape

The connector that cannot be connected wrongly

Not a warning label, not a colour — a shape that makes the error physically impossible.

ISO 80369 small-bore connectors; the enteral design is known as ENFit.

The endocrine system

A broadcast channel with time constants

Hormones as a broadcast channel

  • Nerves: wired, point to point, milliseconds
  • Hormones: broadcast to every cell with the receptor
  • Half-lives: adrenaline minutes, cortisol about an hour, thyroxine about a week

Read the half-lives as time constants — they set how fast each loop can respond.

Axes: three-level cascades with feedback

  • Hypothalamus signals the pituitary, which signals the gland
  • Each level is inhibited by the product
  • TSH is the usual first thyroid test — the controller's output
  • Cortisol has a daily rhythm: record the sample time

Glucose: the most engineered loop in the body

  • Insulin lowers glucose; glucagon raises it
  • Fasting glucose about 4–6 mmol/L; below about 4 is hypoglycaemia
  • HbA1c reflects the last two to three months
  • Type 1: controller destroyed. Type 2: tissues resist insulin

Engineering bridge

Filters, transit, loops, and units

Clearance, and what dialysis really replaces

  • Clearance C = U × V / P
  • Example: 10 × 1.2 / 0.1 = 120 mL/min — a normal GFR
  • Healthy kidneys: about 1,200 L of plasma a week
  • Haemodialysis at 200 mL/min for 12 h: about 144 L
  • Dialysis replaces filtering, not hormones

The glucose loop, natural and artificial

ElementNatural pancreasAutomated insulin delivery
SensorBlood, continuouslyInterstitial fluid; lags 5–15 min; noise and drift
ActuatorInto the portal vein; minutesUnder the skin; starts 10–20 min, peaks 1–2 h
FeedforwardGut hormones warn of mealsUser announces meals and estimates carbohydrate
Opposing actuatorGlucagonUsually none — can stop insulin, cannot raise glucose

Delay is the enemy of control. Insulin already given cannot be taken back.

Units: where this chapter's numbers bite

QuantityUnitsHazard
Glucosemmol/L and mg/dL (×18)6 is normal in one, dangerously low in the other
Creatinineμmol/L and mg/dL (×88.4)1.0 mg/dL is about 88 μmol/L
HbA1cmmol/mol and %Non-linear; 48 mmol/mol is about 6.5%
InsulinUnits per mLU-100 is standard, but U-200 to U-500 exist: volume is not dose

Here a unit error is a dosing error, and a dosing error can kill within hours.

Where a maker fits

  • Catheterisation and stoma trainer consumables: cast silicone, fabric-backed pads
  • Adaptive continence and self-catheterisation aids — sewn, wire, sheet metal, moulded
  • Bench dialysis and diffusion demonstrations in lab glassware
  • Software on synthetic or public glucose data; unit-safe data types; accessibility

Not: anything that calculates a dose, connects to a pump, or sits in a feeding line.

Worked example: the drainage-bag hanger

  • Below the bladder in every chair position
  • Clear of the floor; outlet accessible without touching anything
  • No kinks or dependent loops in the tubing
  • Measuring scale readable in place — hourly output is data
  • Cleanable, no sharp edges, no snagging on transfers, a dignity cover

A passive bracket sits in a closed fluid system with a flow direction, an infection risk, and a measurement role.

Workshop exercise and exit criteria

  • Clearance arithmetic — including one deliberate unit error
  • Bench dialysis: tubing, salt, starch, a conductivity meter
  • A toy glucose loop with sensor and actuator delays — labelled toy model
  • A unit-carrying glucose type with tests
  • Draw a nephron; explain the thyroid axis and the glucose loop as control systems

What this chapter does not establish

  • You cannot interpret kidney, liver, or hormone results
  • You cannot manage catheters, feeding tubes, or stomas
  • You cannot design dosing software or insulin algorithms for anyone's use
  • The toy glucose model is not physiology

Next — How disease works: from mechanism to symptom.