Summary for final exam
cd /tmp/workspace/attachments/e1d98b7f-6a22-4827-a188-c8429a6e57b0/ && python3 -c " import pdfplumber pdf_path = 'John Edward Hall_ Michael Edward Hall - Guyton and Hall textbook of medical physiology-Elsevier Inc. (2021)-387-404.pdf' with pdfplumber.open(pdf_path) as pdf: print(f'Total pages: {len(pdf.pages)}') for i, page in enumerate(pdf.pages): text = page.extract_text() print(f'--- PAGE {i+1} ---') print(text) print() "
| Term | Definition |
|---|---|
| Acid | Molecule that releases H+ (e.g., HCl, H₂CO₃) |
| Base | Ion/molecule that accepts H+ (e.g., HCO₃⁻, HPO₄²⁻, proteins) |
| Acidemia | Blood pH significantly below 7.4 |
| Alkalemia | Blood pH above 7.4 |
| Acidosis/Alkalosis | Processes that lead to acidemia/alkalemia |
| System | Speed | Mechanism |
|---|---|---|
| Chemical buffers | Seconds | Bind/release H+ instantly |
| Respiratory system | Minutes (3-12 min) | Adjusts CO₂ elimination |
| Kidneys | Hours to days | Most powerful; permanently corrects imbalance |
pH = 6.1 + log [HCO₃⁻ / (0.03 × PCO₂)]
| Segment | Mechanism | % of H⁺ secreted | Minimum pH achieved |
|---|---|---|---|
| Proximal tubule | Na⁺-H⁺ counter-transport (secondary active) | ~80% | ~6.7 |
| Thick ascending loop of Henle | Na⁺-H⁺ counter-transport | ~10% | ~6.7 |
| Early distal tubule | Na⁺-H⁺ counter-transport | small | ~6.7 |
| Late distal + collecting tubules | Primary active (H⁺-ATPase; H⁺-K⁺-ATPase in type A intercalated cells) | ~5% | ~4.5 |
Net acid excretion = NH₄⁺ excretion + Titratable acid - HCO₃⁻ excretion
| Factor | Effect on H⁺ Secretion | Effect on HCO₃⁻ Reabsorption |
|---|---|---|
| ↑PCO₂ | ↑ | ↑ |
| ↑H⁺ (↓HCO₃⁻) | ↑ | ↑ |
| ↓ECF volume | ↑ (via Ang II, aldosterone) | ↑ |
| ↑Angiotensin II | ↑ | ↑ |
| ↑Aldosterone | ↑ | ↑ |
| Hypokalemia | ↑ | ↑ |
| Hyperkalemia | ↓ | ↓ |
| Disorder | Primary Change | pH | H⁺ | PCO₂ | HCO₃⁻ |
|---|---|---|---|---|---|
| Respiratory acidosis | ↑PCO₂ | ↓ | ↑ | ↑↑ | ↑ (renal compensation) |
| Respiratory alkalosis | ↓PCO₂ | ↑ | ↓ | ↓↓ | ↓ (renal compensation) |
| Metabolic acidosis | ↓HCO₃⁻ | ↓ | ↑ | ↓ (respiratory compensation) | ↓↓ |
| Metabolic alkalosis | ↑HCO₃⁻ | ↑ | ↓ | ↑ (respiratory compensation) | ↑↑ |
| Disorder | Expected Compensation |
|---|---|
| Respiratory acidosis | ↑HCO₃⁻ (renal, takes 3-5 days) |
| Respiratory alkalosis | ↓HCO₃⁻ (renal, takes 3-5 days) |
| Metabolic acidosis | ↓PCO₂ (respiratory, within 3-12 min) |
| Metabolic alkalosis | ↑PCO₂ (respiratory, limited by hypoxemia) |
Anion gap = [Na⁺] - [HCO₃⁻] - [Cl⁻] = 144 - 24 - 108 = ~12 mEq/L (normal: 8-16 mEq/L)
| Condition | Treatment |
|---|---|
| Acidosis | NaHCO₃ (oral/IV), sodium lactate, sodium gluconate |
| Alkalosis | Ammonium chloride (oral/IV - caution: NH₄⁺ is toxic); isotonic saline for volume depletion-associated alkalosis |
| Best approach | Correct the underlying cause |
Summary for final exam
cd /tmp/workspace/attachments/e1d98b7f-6a22-4827-a188-c8429a6e57b0/ && python3 -c " import pdfplumber pdf_path = 'John Edward Hall_ Michael Edward Hall - Guyton and Hall textbook of medical physiology-Elsevier Inc. (2021)-368-386.pdf' with pdfplumber.open(pdf_path) as pdf: print(f'Total pages: {len(pdf.pages)}') for i, page in enumerate(pdf.pages): text = page.extract_text() print(f'--- PAGE {i+1} ---') print(text) print() "
| Compartment | K⁺ Concentration | Total K⁺ |
|---|---|---|
| Extracellular fluid | 4.2 mEq/L (±0.3) | ~59 mEq |
| Intracellular fluid | 140 mEq/L | ~3,920 mEq |
| Shifts K⁺ INTO Cells (↓ECF K⁺) | Shifts K⁺ OUT of Cells (↑ECF K⁺) |
|---|---|
| Insulin | Insulin deficiency (DM) |
| Aldosterone | Aldosterone deficiency (Addison disease) |
| β₂-adrenergic stimulation | β-adrenergic blockade |
| Alkalosis | Acidosis |
| Cell lysis | |
| Strenuous exercise | |
| Increased ECF osmolarity |
| Segment | % Reabsorbed | Notes |
|---|---|---|
| Proximal tubule | 65% | Relatively constant fraction |
| Loop of Henle (thick ascending limb) | 25-30% | Na⁺-K⁺-2Cl⁻ co-transport |
| Distal tubule + collecting tubule | Variable | Main regulation site |
| Net excretion | ~12% (92 mEq/day) |
| Segment | % of Filtered Load Reabsorbed | Mechanism |
|---|---|---|
| Proximal tubule | 65% | Paracellular (80%) + transcellular (20%); parallels Na⁺; not regulated by PTH |
| Loop of Henle (thick ascending) | 25-30% | 50% paracellular; 50% transcellular (stimulated by PTH) |
| Distal tubule | 4-9% | Almost entirely active transcellular; stimulated by PTH, vitamin D, calcitonin |
| Collecting tubule | small | |
| Excreted | ~1% of filtered |
50% stored in bone; most of rest is intracellular
| Segment | % of Filtered Load |
|---|---|
| Proximal tubule | 25% |
| Loop of Henle (thick ascending) | 65% (primary site!) |
| Distal/collecting tubules | <5% |
| Condition | Blood Volume | ECF Volume | Mechanism |
|---|---|---|---|
| Congestive heart failure | ↑ 15-20% | ↑ up to 200% | ↓CO → ↓BP → activates RAAS + SNS → Na⁺ + water retention |
| ↑Vascular capacitance | Initially ↓ | ↑ | ↓Mean circulatory filling pressure → ↓CO → kidneys retain fluid |
| Pregnancy | ↑ 15-25% | ↑ | ↑Vascular capacitance (uterus, placenta) → volume retention |
| Nephrotic syndrome | ↓ | ↑ (edema) | Protein loss in urine → ↓oncotic pressure → fluid leaks to interstitium → activates RAAS |
| Liver cirrhosis | May ↑ | ↑ (ascites) | ↓Plasma protein synthesis + portal hypertension → capillary leak; activates Na⁺ retention |
Summary for final exam
cd /tmp/workspace/attachments/e1d98b7f-6a22-4827-a188-c8429a6e57b0/ && python3 -c " import pdfplumber pdf_path = 'John Edward Hall_ Michael Edward Hall - Guyton and Hall textbook of medical physiology-Elsevier Inc. (2021)-351-366.pdf' with pdfplumber.open(pdf_path) as pdf: print(f'Total pages: {len(pdf.pages)}') for i, page in enumerate(pdf.pages): text = page.extract_text() print(f'--- PAGE {i+1} ---') print(text) print() "
| Segment | What Happens | Osmolarity |
|---|---|---|
| Proximal tubule | Solutes + water reabsorbed equally (isosmotic) | 300 mOsm/L |
| Descending loop | Water reabsorbed (permeable to water, not solutes) | Rises to ~1200 mOsm/L at tip |
| Thick ascending loop | Active Na⁺/K⁺/Cl⁻ transport OUT; impermeable to water → dilution | Falls to ~140 mOsm/L |
| Early distal tubule | Like thick ascending loop; active NaCl reabsorption, impermeable to water | Falls to ~100 mOsm/L |
| Late distal + cortical collecting | Without ADH: impermeable to water → NaCl continues to be reabsorbed; fluid becomes more dilute | Falls to ~50 mOsm/L |
| Medullary collecting duct | Without ADH: impermeable → dilute urine excreted | 50 mOsm/L |
The ascending loop always dilutes tubular fluid regardless of ADH level - this is the "diluting segment."
| Segment | What Happens | Osmolarity |
|---|---|---|
| Proximal tubule | Isosmotic reabsorption | ~300 mOsm/L |
| Descending loop | Permeable to water → equilibrates with medullary interstitium | Rises to ~1200 mOsm/L |
| Thick ascending loop | NaCl pumped out, impermeable to water | Falls to ~140 mOsm/L |
| Early distal | Continues diluting | ~100 mOsm/L |
| Late distal + cortical collecting | With ADH: highly permeable to water → large water reabsorption into cortex | Rises |
| Inner medullary collecting | ADH → permeable; water exits until equilibrium with medullary interstitium | ~1200 mOsm/L |
| Segment | Active NaCl Transport | H₂O Permeability | NaCl Permeability | Urea Permeability |
|---|---|---|---|---|
| Proximal tubule | ++ | ++ | + | + |
| Thin descending limb | 0 | ++ | + | + |
| Thin ascending limb | 0 | 0 | + | + |
| Thick ascending limb | ++ | 0 | 0 | 0 |
| Distal tubule | + | +ADH | 0 | 0 |
| Cortical collecting | + | +ADH | 0 | 0 |
| Inner medullary collecting | + | +ADH | 0 | +ADH |
C_osm = (U_osm × V̇) / P_osm
C_H₂O = V̇ - C_osm
| C_H₂O | Meaning |
|---|---|
| Positive | Water excreted in excess of solutes → dilute urine → plasma being concentrated |
| Negative | Solutes excreted in excess of water → concentrated urine → water being retained |
| Stimulus | Mechanism |
|---|---|
| ↑Plasma osmolarity | Direct osmoreceptor activation (primary) |
| ↓Blood volume | Low-pressure cardiopulmonary receptors (vagus, glossopharyngeal) |
| ↓Arterial pressure | Carotid/aortic baroreceptors |
| Nausea | Can increase ADH 100× |
| Morphine, nicotine | Drug-mediated |
| Angiotensin II | Stimulates ADH and thirst |
| Stimulus |
|---|
| ↓Plasma osmolarity |
| ↑Blood volume/pressure |
| Alcohol |
| Clonidine, haloperidol |
| Stimulates Thirst | Inhibits Thirst |
|---|---|
| ↑Plasma osmolarity | ↓Plasma osmolarity |
| ↓Blood volume | ↑Blood volume |
| ↓Arterial pressure | ↑Arterial pressure |
| ↑Angiotensin II | ↓Angiotensin II |
| Dry mouth/mucosa | Gastric distension |
Make a flashcard document with osmolarity/ADH key concepts
mkdir -p /tmp/workspace/flashcards && python3 << 'EOF' from docx import Document from docx.shared import Pt, Inches, RGBColor from docx.enum.text import WD_ALIGN_PARAGRAPH from docx.oxml.ns import qn from docx.oxml import OxmlElement doc = Document() # Page margins from docx.shared import Cm section = doc.sections[0] section.page_width = Inches(8.5) section.page_height = Inches(11) section.left_margin = Inches(0.75) section.right_margin = Inches(0.75) section.top_margin = Inches(0.75) section.bottom_margin = Inches(0.75) # ── Styles ────────────────────────────────────────────────────────────────── normal = doc.styles["Normal"] normal.font.name = "Calibri" normal.font.size = Pt(11) # ── Title page ─────────────────────────────────────────────────────────────── title = doc.add_heading("Osmolarity & ADH — Flashcards", level=1) title.alignment = WD_ALIGN_PARAGRAPH.CENTER for run in title.runs: run.font.color.rgb = RGBColor(0x1A, 0x53, 0x76) # dark blue run.font.size = Pt(20) run.bold = True sub = doc.add_paragraph("Guyton & Hall Medical Physiology | Chapter 29 | Final Exam Review") sub.alignment = WD_ALIGN_PARAGRAPH.CENTER sub.runs[0].font.color.rgb = RGBColor(0x55, 0x55, 0x55) sub.runs[0].font.size = Pt(11) sub.runs[0].italic = True doc.add_paragraph() # spacer # ── Helper: add one flashcard (shaded box Q / white box A) ────────────────── BLUE_Q = RGBColor(0xD6, 0xE4, 0xF7) # light blue – question background WHITE_A = RGBColor(0xFF, 0xFF, 0xFF) # white – answer background BORDER = RGBColor(0x1A, 0x53, 0x76) # dark blue – border def set_cell_bg(cell, color_rgb): """Set cell shading color (hex string, e.g. 'D6E4F7').""" tc = cell._tc tcPr = tc.get_or_add_tcPr() shd = OxmlElement("w:shd") hex_color = f"{color_rgb.red:02X}{color_rgb.green:02X}{color_rgb.blue:02X}" shd.set(qn("w:val"), "clear") shd.set(qn("w:color"), "auto") shd.set(qn("w:fill"), hex_color) tcPr.append(shd) def set_cell_border(cell, border_color_hex="1A5376"): tc = cell._tc tcPr = tc.get_or_add_tcPr() tcBorders = OxmlElement("w:tcBorders") for side in ("top", "left", "bottom", "right"): border = OxmlElement(f"w:{side}") border.set(qn("w:val"), "single") border.set(qn("w:sz"), "8") border.set(qn("w:space"), "0") border.set(qn("w:color"), border_color_hex) tcBorders.append(border) tcPr.append(tcBorders) def add_card(doc, q_label, question, answer): """Add a single flashcard as a 2-row, 1-column table.""" tbl = doc.add_table(rows=2, cols=1) tbl.style = "Table Grid" # ── Question row ────────────────────────────────────────────────────── q_cell = tbl.rows[0].cells[0] set_cell_bg(q_cell, BLUE_Q) set_cell_border(q_cell) q_cell.width = Inches(7) q_para = q_cell.paragraphs[0] q_para.paragraph_format.space_before = Pt(4) q_para.paragraph_format.space_after = Pt(4) q_para.paragraph_format.left_indent = Pt(6) label_run = q_para.add_run(f"{q_label} ") label_run.bold = True label_run.font.size = Pt(8) label_run.font.color.rgb = RGBColor(0x1A, 0x53, 0x76) label_run.font.name = "Calibri" q_run = q_para.add_run(question) q_run.bold = True q_run.font.size = Pt(11) q_run.font.color.rgb = RGBColor(0x1A, 0x1A, 0x2E) q_run.font.name = "Calibri" # ── Answer row ──────────────────────────────────────────────────────── a_cell = tbl.rows[1].cells[0] set_cell_bg(a_cell, WHITE_A) set_cell_border(a_cell) a_cell.width = Inches(7) a_para = a_cell.paragraphs[0] a_para.paragraph_format.space_before = Pt(4) a_para.paragraph_format.space_after = Pt(4) a_para.paragraph_format.left_indent = Pt(6) ans_label = a_para.add_run("▶ ") ans_label.font.color.rgb = RGBColor(0x20, 0x7A, 0x39) ans_label.font.bold = True ans_label.font.size = Pt(10) ans_label.font.name = "Calibri" a_run = a_para.add_run(answer) a_run.font.size = Pt(11) a_run.font.color.rgb = RGBColor(0x1A, 0x1A, 0x1A) a_run.font.name = "Calibri" # Spacing after card doc.add_paragraph().paragraph_format.space_after = Pt(2) # ── Section heading helper ──────────────────────────────────────────────────── def section_heading(doc, text): doc.add_paragraph() h = doc.add_heading(text, level=2) h.alignment = WD_ALIGN_PARAGRAPH.LEFT for run in h.runs: run.font.color.rgb = RGBColor(0x1A, 0x53, 0x76) run.font.size = Pt(13) run.bold = True # ═══════════════════════════════════════════════════════════════════════════════ # FLASHCARDS # ═══════════════════════════════════════════════════════════════════════════════ # ── SECTION 1: Core Values ─────────────────────────────────────────────────── section_heading(doc, "Section 1 · Core Normal Values") cards_1 = [ ("Q1", "What is the normal plasma osmolarity?", "~300 mOsm/L (corrected for interionic attraction: ~282 mOsm/L)"), ("Q2", "What is the normal plasma [Na⁺]?", "140–145 mEq/L (average ~142 mEq/L). Changes of only ±2–3% are normal."), ("Q3", "What percentage of ECF osmoles does Na⁺ (+ its anions) contribute?", "~94%. Glucose and urea contribute only 3–5% of total osmoles."), ("Q4", "How do you estimate plasma osmolarity from [Na⁺]?", "P_osm ≈ 2 × [Na⁺] (mmol/L). More precise: 2×[Na⁺] + [glucose] + [urea] (all in mmol/L)."), ("Q5", "Why is urea NOT an effective osmole for fluid shifts across cell membranes?", "Urea freely crosses cell membranes, so it exerts no net osmotic force between ICF and ECF under steady-state conditions."), ("Q6", "What are the minimum and maximum urine osmolarities the human kidney can produce?", "Minimum: 50 mOsm/L (maximally dilute). Maximum: 1,200–1,400 mOsm/L (maximally concentrated)."), ("Q7", "What is the obligatory urine volume and how is it calculated?", "Minimum daily urine volume = Solute load (mOsm/day) ÷ Max urine concentration.\n600 mOsm/day ÷ 1,200 mOsm/L = 0.5 L/day."), ("Q8", "What is normal urine specific gravity range?", "1.002–1.028 g/mL. Rises 0.001 per 35–40 mOsm/L increase in osmolarity."), ] for q in cards_1: add_card(doc, *q) # ── SECTION 2: Dilute Urine Formation ──────────────────────────────────────── section_heading(doc, "Section 2 · Dilute Urine Formation (Low ADH)") cards_2 = [ ("Q9", "What is the key condition that triggers dilute urine formation?", "Excess body water → ↓plasma osmolarity → ↓ADH secretion → distal tubule and collecting ducts become impermeable to water."), ("Q10", "What happens to tubular fluid osmolarity in the PROXIMAL TUBULE?", "Remains isosmotic at ~300 mOsm/L. Solutes and water are reabsorbed in equal proportions (highly permeable to water via AQP-1)."), ("Q11", "What happens in the DESCENDING LOOP of Henle regarding concentration?", "Highly permeable to water → water leaves by osmosis into the hyperosmotic medullary interstitium → tubular fluid becomes progressively MORE concentrated (up to ~1,200 mOsm/L at the tip)."), ("Q12", "Why is the THICK ASCENDING LOOP called the 'diluting segment'?", "It actively pumps Na⁺/K⁺/Cl⁻ OUT but is virtually IMPERMEABLE to water. Tubular fluid osmolarity falls to ~140 mOsm/L. This dilution occurs REGARDLESS of ADH level."), ("Q13", "What is the tubular fluid osmolarity leaving the early distal tubule?", "~100 mOsm/L — further diluted because this segment also actively reabsorbs NaCl while remaining impermeable to water."), ("Q14", "What happens in the LATE DISTAL TUBULE and COLLECTING DUCTS when ADH is absent?", "Both segments remain impermeable to water. NaCl continues to be reabsorbed → tubular fluid osmolarity falls to as low as 50 mOsm/L → large volume of dilute urine excreted."), ("Q15", "Summarize the mechanism for dilute urine in one sentence.", "Continue reabsorbing solutes from distal tubule and collecting ducts while PREVENTING water reabsorption (absence of ADH)."), ] for q in cards_2: add_card(doc, *q) # ── SECTION 3: Concentrated Urine Formation ────────────────────────────────── section_heading(doc, "Section 3 · Concentrated Urine Formation (High ADH)") cards_3 = [ ("Q16", "What are the TWO essential requirements for forming concentrated urine?", "1. High ADH levels (↑ water permeability of distal nephron segments).\n2. Hyperosmotic renal medullary interstitium (provides the osmotic gradient)."), ("Q17", "What is the maximum urine concentration achievable in humans vs. Australian hopping mouse?", "Humans: 1,200–1,400 mOsm/L. Australian hopping mouse: up to 10,000 mOsm/L (survives without drinking water)."), ("Q18", "What happens in the CORTICAL COLLECTING TUBULE when ADH is HIGH?", "Highly permeable to water → large amounts of water reabsorbed into cortical interstitium (NOT medulla, preserving medullary hyperosmolarity) → tubular fluid becomes concentrated."), ("Q19", "What is the osmolarity of urine at the end of the MEDULLARY COLLECTING DUCT with maximal ADH?", "~1,200 mOsm/L — equilibrates with the surrounding hyperosmotic medullary interstitium."), ("Q20", "What is the concentration of medullary interstitial fluid at the papillary tip?", "1,200–1,400 mOsm/L — the highest osmolarity in the body, created and maintained by the countercurrent multiplier."), ] for q in cards_3: add_card(doc, *q) # ── SECTION 4: Countercurrent Multiplier ──────────────────────────────────── section_heading(doc, "Section 4 · Countercurrent Multiplier Mechanism") cards_4 = [ ("Q21", "What anatomical structures are required for the countercurrent multiplier?", "Juxtamedullary nephrons (~25% of all nephrons) with long loops of Henle + parallel vasa recta that dip deep into the medulla."), ("Q22", "What is the 'single effect' of the countercurrent multiplier?", "The thick ascending loop can establish only a ~200 mOsm/L concentration gradient between tubular lumen and interstitium at any given level (limited by back-diffusion of ions)."), ("Q23", "How does the countercurrent multiplier amplify the 200 mOsm/L single effect to 1,200 mOsm/L?", "Continuous flow of new NaCl-rich fluid from the proximal tubule into the loop allows repeated pumping cycles. Each cycle adds more solute to the medulla; the U-shaped loop 'multiplies' the gradient over time."), ("Q24", "What are the 4 main contributors to hyperosmotic renal medullary interstitium?", "1. Active NaCl transport out of thick ascending limb.\n2. Active ion transport from collecting ducts.\n3. Facilitated diffusion of urea from inner medullary collecting ducts (UT-A1, UT-A3).\n4. Minimal water reabsorption from medullary tubules (far less than solute reabsorption)."), ("Q25", "What is the descending loop's contribution to the countercurrent mechanism?", "It is highly permeable to water → tubular fluid equilibrates with (becomes as concentrated as) the medullary interstitium at each level → delivers hyperosmotic fluid to the ascending limb for continued NaCl extraction."), ("Q26", "What prevents back-diffusion from limiting the gradient beyond 200 mOsm/L per level?", "The U-shaped counter-current flow: the concentrated fluid in the descending limb pushes into the ascending limb, where more solute is pumped out — each 'turn of the loop' adds to the cumulative gradient."), ] for q in cards_4: add_card(doc, *q) # ── SECTION 5: Urea Recycling ──────────────────────────────────────────────── section_heading(doc, "Section 5 · Urea and Its Role in Concentration") cards_5 = [ ("Q27", "What percentage of medullary osmolarity does urea contribute during maximum concentration?", "40–50% (~500–600 mOsm/L out of total ~1,200–1,400 mOsm/L)."), ("Q28", "How does urea reach the medullary interstitium?", "With high ADH: water is reabsorbed from cortical collecting tubule → urea concentrates → UT-A1 and UT-A3 (activated by ADH) facilitate urea diffusion OUT of the inner medullary collecting duct into the interstitium."), ("Q29", "What is the urea recirculation pathway?", "Urea diffuses from inner medullary collecting duct → medullary interstitium → via UT-A2 into the THIN DESCENDING LOOP → travels up through ascending loop → distal tubule → cortical collecting tubule → back to inner medullary collecting duct. Each cycle traps more urea in the medulla."), ("Q30", "Why does a high-protein diet improve urine-concentrating ability?", "More protein metabolism → more urea produced → higher urea concentration in medullary interstitium → greater medullary osmolarity → better water reabsorption from collecting ducts."), ("Q31", "What are the three urea transporters and where are they located?", "UT-A1 & UT-A3: inner medullary collecting duct (urea OUT into interstitium; activated by ADH).\nUT-A2: thin descending loop of Henle (urea INTO tubule from interstitium — recirculation)."), ] for q in cards_5: add_card(doc, *q) # ── SECTION 6: Vasa Recta ──────────────────────────────────────────────────── section_heading(doc, "Section 6 · Vasa Recta — Countercurrent Exchange") cards_6 = [ ("Q32", "What is the primary function of the vasa recta?", "Countercurrent exchange — they PRESERVE the hyperosmotic medullary gradient by minimizing solute washout, while supplying nutrients to medullary cells."), ("Q33", "Do the vasa recta CREATE or PRESERVE medullary hyperosmolarity?", "They PRESERVE it. The countercurrent multiplier (loop of Henle) CREATES the gradient; the vasa recta prevent it from being washed away."), ("Q34", "What fraction of total renal blood flow goes to the medulla via vasa recta?", "<5% of total renal blood flow — sluggish flow minimizes solute washout while still supplying metabolic needs."), ("Q35", "How does the vasa recta's U-shape prevent solute loss?", "Descending limb: solutes enter blood from interstitium, water exits → blood becomes hyperosmotic.\nAscending limb: solutes diffuse back OUT into interstitium, water re-enters blood.\nNet result: little solute removed from interstitium per pass."), ("Q36", "What happens to urine-concentrating ability if medullary blood flow greatly increases?", "Medullary solutes get washed out → ↓hyperosmolarity of medullary interstitium → ↓maximum urine concentration, even if ADH levels are maximal."), ] for q in cards_6: add_card(doc, *q) # ── SECTION 7: ADH — Synthesis and Release ─────────────────────────────────── section_heading(doc, "Section 7 · ADH — Synthesis, Release & Actions") cards_7 = [ ("Q37", "Where is ADH (vasopressin) synthesized and released?", "Synthesized in SUPRAOPTIC (~5/6) and PARAVENTRICULAR (~1/6) nuclei of the hypothalamus.\nReleased from the POSTERIOR PITUITARY (axon terminals in neurohypophysis)."), ("Q38", "What is the primary stimulus for ADH release?", "↑ECF osmolarity (even 1% change is sufficient). Detected by osmoreceptors in the anterior hypothalamus near the supraoptic nuclei and the AV3V region."), ("Q39", "What are the cardiovascular stimuli for ADH release?", "↓Blood volume (cardiopulmonary receptors via vagus/glossopharyngeal nerves) AND ↓arterial pressure (carotid sinus and aortic arch baroreceptors). Blood volume must change ~10% before significantly stimulating ADH."), ("Q40", "List 4 stimuli that INCREASE ADH secretion.", "1. ↑Plasma osmolarity\n2. ↓Blood volume\n3. ↓Arterial pressure\n4. Nausea (100× increase!)\n+ Morphine, nicotine, angiotensin II"), ("Q41", "List 3 stimuli that DECREASE ADH secretion.", "1. ↓Plasma osmolarity\n2. ↑Blood volume / ↑arterial pressure\n3. ALCOHOL (explains post-alcohol diuresis)"), ("Q42", "What is the mechanism of ADH action on the collecting duct?", "ADH binds V₂ receptors → ↑cAMP → inserts aquaporin-2 (AQP-2) water channels into the luminal membrane of principal cells → ↑water permeability → water moves by osmosis into the interstitium."), ("Q43", "Which nephron segments does ADH make permeable to water?", "Late distal tubule, cortical collecting tubule, and medullary collecting ducts (inner > outer medullary)."), ("Q44", "What additional transporter does ADH activate besides water channels?", "Urea transporters UT-A1 and UT-A3 in the inner medullary collecting duct → ↑urea permeability → more urea enters the medullary interstitium, adding to its hyperosmolarity."), ] for q in cards_7: add_card(doc, *q) # ── SECTION 8: Osmoreceptor-ADH Feedback System ────────────────────────────── section_heading(doc, "Section 8 · Osmoreceptor–ADH Feedback Loop") cards_8 = [ ("Q45", "Trace the osmoreceptor–ADH feedback loop when water is LOST (dehydration).", "1. ↑ECF osmolarity → osmoreceptors SHRINK\n2. Osmoreceptors fire → supraoptic nucleus → posterior pituitary\n3. ↑ADH released\n4. ↑Water permeability in distal tubule + collecting ducts\n5. ↑Water reabsorption → small concentrated urine\n6. ECF osmolarity returns to normal."), ("Q46", "Trace the osmoreceptor–ADH feedback loop when EXCESS water is ingested.", "1. ↓ECF osmolarity → osmoreceptors SWELL\n2. ↓ADH release\n3. ↓Water permeability of distal nephron\n4. ↑Water excretion → large dilute urine\n5. ECF osmolarity returns to normal."), ("Q47", "Where are the osmoreceptors located?", "Anterior hypothalamus near supraoptic nuclei, and the AV3V region (including the subfornical organ and organum vasculosum of the lamina terminalis — OVLT). These areas lack a blood-brain barrier, allowing rapid sensing of blood osmolarity."), ("Q48", "How sensitive is the osmoreceptor-ADH system vs. the cardiovascular reflex system for ADH?", "Osmolarity: even a 1% change triggers ADH response.\nBlood volume/pressure: must change ~10% before significantly affecting ADH.\nOsmolarity is ~10× more sensitive."), ("Q49", "How quickly can ADH levels change in response to an osmotic stimulus?", "Plasma ADH can increase several-fold within MINUTES — providing a rapid mechanism for altering renal water excretion."), ] for q in cards_8: add_card(doc, *q) # ── SECTION 9: Thirst Mechanism ────────────────────────────────────────────── section_heading(doc, "Section 9 · Thirst Mechanism") cards_9 = [ ("Q50", "Where is the thirst center located?", "Anteroventral wall of the third ventricle (AV3V region) — same area that controls ADH secretion. Electrical stimulation here causes immediate drinking."), ("Q51", "What is the osmolar THRESHOLD for thirst (drinking)?", "Plasma [Na⁺] rises only ~2 mEq/L above normal (plasma osmolarity rises ~4 mOsm/L) → thirst activated. This is called the threshold for drinking."), ("Q52", "List 5 stimuli that INCREASE thirst.", "1. ↑Plasma osmolarity\n2. ↓Blood volume\n3. ↓Arterial pressure\n4. ↑Angiotensin II\n5. Dryness of the mouth/mucosa"), ("Q53", "List 3 stimuli that DECREASE thirst.", "1. ↓Plasma osmolarity\n2. ↑Blood volume/pressure\n3. Gastric distension (oropharyngeal/gastric satiety signals)"), ("Q54", "Why is thirst temporarily relieved BEFORE absorbed water reaches the ECF?", "Oropharyngeal and gastric mechanoreceptors send satiety signals to the thirst center immediately upon drinking. This prevents overdrinking while waiting for water to be absorbed and distributed."), ("Q55", "What happens if both the ADH AND thirst mechanisms fail simultaneously?", "Plasma sodium concentration and osmolarity become GROSSLY dysregulated. Neither system alone is sufficient; when both fail, no other feedback mechanism can adequately control osmolarity."), ] for q in cards_9: add_card(doc, *q) # ── SECTION 10: Diabetes Insipidus ─────────────────────────────────────────── section_heading(doc, "Section 10 · Diabetes Insipidus — Central vs. Nephrogenic") cards_10 = [ ("Q56", "What is CENTRAL diabetes insipidus? Cause, result, treatment.", "CAUSE: Failure to produce/release ADH (head injury, infection, congenital).\nRESULT: >15 L/day of dilute urine; dehydration if water intake restricted.\nTREATMENT: Desmopressin (synthetic ADH analogue; V₂ receptor agonist) — intranasal, oral, or injection."), ("Q57", "What is NEPHROGENIC diabetes insipidus? Cause, result, treatment.", "CAUSE: Kidneys fail to respond to ADH (damaged medulla, impaired distal/collecting tubules; caused by lithium, tetracyclines, furosemide, or renal disease).\nRESULT: Large volume dilute urine despite normal/high ADH.\nTREATMENT: Correct underlying disorder; low-Na diet + thiazide diuretic."), ("Q58", "How do you distinguish central DI from nephrogenic DI?", "Administer DESMOPRESSIN (synthetic ADH):\n• Central DI → urine volume ↓ and urine osmolarity ↑ within 2 hours (kidneys can respond).\n• Nephrogenic DI → NO significant change in urine volume or osmolarity (kidneys cannot respond)."), ("Q59", "Why does furosemide impair urine concentration?", "Furosemide inhibits the Na⁺-K⁺-2Cl⁻ co-transporter in the thick ascending loop of Henle → ↓NaCl transport into medullary interstitium → ↓medullary hyperosmolarity → ↓maximum urine concentration."), ("Q60", "Three conditions that can impair the urine-concentrating mechanism:", "1. Inappropriate ADH secretion (too much or too little).\n2. Impaired countercurrent mechanism (↓medullary hyperosmolarity).\n3. Inability of distal/collecting tubules to respond to ADH."), ] for q in cards_10: add_card(doc, *q) # ── SECTION 11: Na⁺ Concentration Regulation ───────────────────────────────── section_heading(doc, "Section 11 · Control of ECF Na⁺ Concentration & Osmolarity") cards_11 = [ ("Q61", "What are the TWO primary systems regulating ECF osmolarity and [Na⁺]?", "1. Osmoreceptor–ADH feedback system.\n2. Thirst mechanism.\nThese two systems together are the DOMINANT regulators of sodium concentration (not aldosterone or Ang II)."), ("Q62", "Why do angiotensin II and aldosterone have LITTLE effect on plasma [Na⁺]?", "Reason 1: They increase BOTH sodium AND water reabsorption → ECF volume rises but concentration stays similar.\nReason 2: Any tendency for [Na⁺] to rise is immediately corrected by the ADH-thirst system (more water retained/drunk → dilutes back to normal)."), ("Q63", "In primary aldosteronism (Conn syndrome), how much does plasma [Na⁺] rise?", "Only ~3–5 mEq/L above normal, despite extremely high aldosterone — because the ADH-thirst system compensates by retaining water."), ("Q64", "What happens to plasma [Na⁺] when the aldosterone feedback system is blocked?", "Plasma [Na⁺] remains nearly constant over a wide range of sodium intake — because the ADH-thirst system alone can maintain [Na⁺] without aldosterone (shown experimentally in dogs)."), ("Q65", "What does aldosterone primarily regulate — sodium CONCENTRATION or sodium QUANTITY/VOLUME?", "Primarily regulates sodium QUANTITY and ECF VOLUME. The ADH-thirst system regulates sodium CONCENTRATION. Aldosterone has little effect on [Na⁺] under normal conditions."), ("Q66", "In Addison disease (no aldosterone), what happens to plasma [Na⁺]?", "Severe sodium loss via kidneys → ↓ECF volume → ↓blood pressure → activates thirst via cardiovascular reflexes → excess water intake → FURTHER DILUTION of plasma [Na⁺] → hyponatremia. Both volume depletion AND hyponatremia occur."), ("Q67", "What is the SALT APPETITE mechanism?", "A behavioral drive to ingest sodium, distinct from thirst. Stimulated by: sodium deficiency, ↓blood volume/pressure, ↑Ang II. Involves the same AV3V brain region as thirst. Critical in animals; most humans already eat far more Na⁺ than needed (100–200 mEq/day vs. minimum 10–20 mEq/day)."), ] for q in cards_11: add_card(doc, *q) # ── SECTION 12: Free Water Clearance ──────────────────────────────────────── section_heading(doc, "Section 12 · Free Water & Osmolar Clearance (Quantitative)") cards_12 = [ ("Q68", "What is OSMOLAR CLEARANCE (C_osm)?", "Volume of plasma cleared of ALL solutes per minute.\nFormula: C_osm = (U_osm × V̇) / P_osm\nUnits: mL/min"), ("Q69", "What is FREE WATER CLEARANCE (C_H₂O)?", "Rate at which solute-FREE water is excreted.\nFormula: C_H₂O = V̇ − C_osm\n• Positive → excess water being excreted (dilute urine; plasma being concentrated)\n• Negative → water being RETAINED (concentrated urine; plasma being diluted back toward normal)"), ("Q70", "If urine osmolarity > plasma osmolarity, is free water clearance positive or negative?", "NEGATIVE — the kidneys are retaining water in excess of solutes (concentrated urine; water deficit state)."), ("Q71", "If urine osmolarity < plasma osmolarity, is free water clearance positive or negative?", "POSITIVE — the kidneys are excreting free water in excess of solutes (dilute urine; water excess state)."), ] for q in cards_12: add_card(doc, *q) # ── SECTION 13: Clinical High-Yield ────────────────────────────────────────── section_heading(doc, "Section 13 · Clinical Pearls & High-Yield Facts") cards_13 = [ ("Q72", "Why does drinking seawater cause dehydration?", "Ocean osmolarity ~1,200 mOsm/L. To excrete 1,200 mOsm NaCl, kidneys need 1.5 L of urine (max urine NaCl concentration only 600 mOsm/L because remaining capacity is used for urea). Net LOSS: 0.5 L per liter of seawater drunk."), ("Q73", "How does ALCOHOL cause diuresis?", "Alcohol INHIBITS ADH release from the posterior pituitary → ↓water permeability of distal tubule and collecting ducts → large volumes of dilute urine excreted → dehydration."), ("Q74", "How does NAUSEA affect ADH?", "Nausea is a potent stimulus for ADH release — can increase plasma ADH up to 100× normal. Leads to water retention and potentially dilutional hyponatremia."), ("Q75", "What is SIADH (Syndrome of Inappropriate ADH)?", "Excess ADH secretion despite low plasma osmolarity (e.g., from ectopic ADH, CNS lesions, drugs like cyclophosphamide). Result: water retention → dilutional hyponatremia. ECF volume increases only 5–10% (pressure natriuresis limits volume rise) but [Na⁺] falls significantly."), ("Q76", "Why does LITHIUM cause nephrogenic DI?", "Lithium impairs the ability of the distal nephron to respond to ADH (likely by interfering with the cAMP signaling pathway in principal cells), reducing insertion of AQP-2 water channels."), ("Q77", "Why do THIAZIDE DIURETICS paradoxically REDUCE urine volume in nephrogenic DI?", "Thiazides cause mild volume depletion → ↑proximal tubule reabsorption → less fluid delivered to distal diluting segments → less free water is generated → smaller (though still abnormally large) urine volume."), ("Q78", "What happens to urine-concentrating ability in MALNUTRITION?", "Low protein intake → ↓urea production → ↓urea in medullary interstitium → ↓medullary osmolarity → ↓maximum urine concentration. Urine concentrating ability is significantly impaired."), ] for q in cards_13: add_card(doc, *q) # ── Footer ──────────────────────────────────────────────────────────────────── doc.add_paragraph() footer_p = doc.add_paragraph("Guyton & Hall Medical Physiology, 14th ed. — Chapter 29 | 78 Flashcards | Final Exam Review") footer_p.alignment = WD_ALIGN_PARAGRAPH.CENTER footer_p.runs[0].font.size = Pt(9) footer_p.runs[0].font.color.rgb = RGBColor(0x99, 0x99, 0x99) footer_p.runs[0].italic = True # ── Save ────────────────────────────────────────────────────────────────────── out_path = "/tmp/workspace/flashcards/Osmolarity_ADH_Flashcards.docx" doc.save(out_path) print(f"Saved: {out_path}") EOF
python3 << 'EOF' from docx import Document from docx.shared import Pt, Inches, RGBColor from docx.enum.text import WD_ALIGN_PARAGRAPH from docx.oxml.ns import qn from docx.oxml import OxmlElement doc = Document() section = doc.sections[0] section.left_margin = Inches(0.75) section.right_margin = Inches(0.75) section.top_margin = Inches(0.75) section.bottom_margin = Inches(0.75) normal = doc.styles["Normal"] normal.font.name = "Calibri" normal.font.size = Pt(11) # Color hex strings (used directly in XML) Q_BG_HEX = "D6E4F7" # light blue – question A_BG_HEX = "FFFFFF" # white – answer BORDER_HEX = "1A5376" # dark blue – border def set_cell_bg(cell, hex_color): tc = cell._tc tcPr = tc.get_or_add_tcPr() shd = OxmlElement("w:shd") shd.set(qn("w:val"), "clear") shd.set(qn("w:color"), "auto") shd.set(qn("w:fill"), hex_color) tcPr.append(shd) def set_cell_border(cell, hex_color="1A5376"): tc = cell._tc tcPr = tc.get_or_add_tcPr() tcBorders = OxmlElement("w:tcBorders") for side in ("top", "left", "bottom", "right"): b = OxmlElement(f"w:{side}") b.set(qn("w:val"), "single") b.set(qn("w:sz"), "8") b.set(qn("w:space"), "0") b.set(qn("w:color"), hex_color) tcBorders.append(b) tcPr.append(tcBorders) def set_run_color(run, r, g, b): run.font.color.rgb = RGBColor(r, g, b) def add_card(doc, q_label, question, answer): tbl = doc.add_table(rows=2, cols=1) tbl.style = "Table Grid" # Question row q_cell = tbl.rows[0].cells[0] set_cell_bg(q_cell, Q_BG_HEX) set_cell_border(q_cell, BORDER_HEX) q_para = q_cell.paragraphs[0] q_para.paragraph_format.space_before = Pt(4) q_para.paragraph_format.space_after = Pt(4) q_para.paragraph_format.left_indent = Pt(6) label_run = q_para.add_run(f"{q_label} ") label_run.bold = True label_run.font.size = Pt(8) set_run_color(label_run, 0x1A, 0x53, 0x76) label_run.font.name = "Calibri" q_run = q_para.add_run(question) q_run.bold = True q_run.font.size = Pt(11) set_run_color(q_run, 0x1A, 0x1A, 0x2E) q_run.font.name = "Calibri" # Answer row a_cell = tbl.rows[1].cells[0] set_cell_bg(a_cell, A_BG_HEX) set_cell_border(a_cell, BORDER_HEX) a_para = a_cell.paragraphs[0] a_para.paragraph_format.space_before = Pt(4) a_para.paragraph_format.space_after = Pt(4) a_para.paragraph_format.left_indent = Pt(6) ans_label = a_para.add_run("▶ ") set_run_color(ans_label, 0x20, 0x7A, 0x39) ans_label.font.bold = True ans_label.font.size = Pt(10) ans_label.font.name = "Calibri" a_run = a_para.add_run(answer) a_run.font.size = Pt(11) set_run_color(a_run, 0x1A, 0x1A, 0x1A) a_run.font.name = "Calibri" spacer = doc.add_paragraph() spacer.paragraph_format.space_after = Pt(2) def section_heading(doc, text): doc.add_paragraph() h = doc.add_heading(text, level=2) h.alignment = WD_ALIGN_PARAGRAPH.LEFT for run in h.runs: set_run_color(run, 0x1A, 0x53, 0x76) run.font.size = Pt(13) run.bold = True # ── Title ───────────────────────────────────────────────────────────────────── title = doc.add_heading("Osmolarity & ADH — Flashcards", level=1) title.alignment = WD_ALIGN_PARAGRAPH.CENTER for run in title.runs: set_run_color(run, 0x1A, 0x53, 0x76) run.font.size = Pt(20) run.bold = True sub = doc.add_paragraph("Guyton & Hall Medical Physiology | Chapter 29 | Final Exam Review") sub.alignment = WD_ALIGN_PARAGRAPH.CENTER sub.runs[0].font.italic = True sub.runs[0].font.size = Pt(11) set_run_color(sub.runs[0], 0x55, 0x55, 0x55) doc.add_paragraph() # ═══════════════════════════════════════════════════════════════════════════════ # ALL FLASHCARD DATA # ═══════════════════════════════════════════════════════════════════════════════ cards = { "Section 1 · Core Normal Values": [ ("Q1", "What is the normal plasma osmolarity?", "~300 mOsm/L (corrected for interionic attraction: ~282 mOsm/L)"), ("Q2", "What is the normal plasma [Na+]?", "140-145 mEq/L (average ~142 mEq/L). Changes of only +/-2-3% are normal."), ("Q3", "What percentage of ECF osmoles does Na+ (+ its anions) contribute?", "~94%. Glucose and urea contribute only 3-5% of total osmoles."), ("Q4", "How do you estimate plasma osmolarity from [Na+]?", "P_osm ≈ 2 x [Na+] (mmol/L). More precise: 2x[Na+] + [glucose] + [urea] (all in mmol/L)."), ("Q5", "Why is urea NOT an effective osmole for fluid shifts across cell membranes?", "Urea freely crosses cell membranes, so it exerts no net osmotic force between ICF and ECF under steady-state conditions."), ("Q6", "What are the minimum and maximum urine osmolarities the human kidney can produce?", "Minimum: 50 mOsm/L (maximally dilute). Maximum: 1,200-1,400 mOsm/L (maximally concentrated)."), ("Q7", "What is the obligatory urine volume and how is it calculated?", "Minimum daily urine volume = Solute load (mOsm/day) divided by Max urine concentration.\n600 mOsm/day / 1,200 mOsm/L = 0.5 L/day."), ("Q8", "What is normal urine specific gravity range?", "1.002-1.028 g/mL. Rises 0.001 per 35-40 mOsm/L increase in osmolarity."), ], "Section 2 · Dilute Urine Formation (Low ADH)": [ ("Q9", "What is the key condition that triggers dilute urine formation?", "Excess body water → decreased plasma osmolarity → decreased ADH secretion → distal tubule and collecting ducts become impermeable to water."), ("Q10", "What happens to tubular fluid osmolarity in the PROXIMAL TUBULE?", "Remains isosmotic at ~300 mOsm/L. Solutes and water reabsorbed in equal proportions (highly permeable to water via AQP-1)."), ("Q11", "What happens in the DESCENDING LOOP of Henle regarding concentration?", "Highly permeable to water → water leaves by osmosis into the hyperosmotic medullary interstitium → tubular fluid becomes progressively MORE concentrated (up to ~1,200 mOsm/L at the tip)."), ("Q12", "Why is the THICK ASCENDING LOOP called the 'diluting segment'?", "Actively pumps Na+/K+/Cl- OUT but is virtually IMPERMEABLE to water. Tubular fluid osmolarity falls to ~140 mOsm/L. This dilution occurs REGARDLESS of ADH level."), ("Q13", "What is the tubular fluid osmolarity leaving the early distal tubule?", "~100 mOsm/L — further diluted because this segment also actively reabsorbs NaCl while remaining impermeable to water."), ("Q14", "What happens in the LATE DISTAL TUBULE and COLLECTING DUCTS when ADH is absent?", "Both remain impermeable to water. NaCl continues to be reabsorbed → tubular fluid osmolarity falls to as low as 50 mOsm/L → large volume of dilute urine excreted."), ("Q15", "Summarize the mechanism for dilute urine in one sentence.", "Continue reabsorbing solutes from distal tubule and collecting ducts while PREVENTING water reabsorption (absence of ADH)."), ], "Section 3 · Concentrated Urine Formation (High ADH)": [ ("Q16", "What are the TWO essential requirements for forming concentrated urine?", "1. High ADH levels (increases water permeability of distal nephron segments).\n2. Hyperosmotic renal medullary interstitium (provides the osmotic gradient)."), ("Q17", "What is the maximum urine concentration: humans vs. Australian hopping mouse?", "Humans: 1,200-1,400 mOsm/L. Australian hopping mouse: up to 10,000 mOsm/L (can survive without drinking water)."), ("Q18", "What happens in the CORTICAL COLLECTING TUBULE when ADH is HIGH?", "Highly permeable to water → large water reabsorption into cortical interstitium (NOT medulla, preserving medullary hyperosmolarity) → tubular fluid becomes concentrated."), ("Q19", "What is urine osmolarity at the end of the MEDULLARY COLLECTING DUCT with maximal ADH?", "~1,200 mOsm/L — equilibrates with the surrounding hyperosmotic medullary interstitium."), ("Q20", "What is the concentration of medullary interstitial fluid at the papillary tip?", "1,200-1,400 mOsm/L — the highest osmolarity in the body, created and maintained by the countercurrent multiplier."), ], "Section 4 · Countercurrent Multiplier Mechanism": [ ("Q21", "What anatomical structures are required for the countercurrent multiplier?", "Juxtamedullary nephrons (~25% of all nephrons) with long loops of Henle + parallel vasa recta that dip deep into the medulla."), ("Q22", "What is the 'single effect' of the countercurrent multiplier?", "The thick ascending loop can establish only a ~200 mOsm/L concentration gradient between tubular lumen and interstitium at any single level (limited by back-diffusion of ions)."), ("Q23", "How does the countercurrent multiplier amplify the 200 mOsm/L single effect to 1,200 mOsm/L?", "Continuous inflow of new NaCl-rich fluid from the proximal tubule allows repeated pumping cycles. Each cycle adds more solute to the medulla; the U-shaped loop 'multiplies' the gradient over time."), ("Q24", "What are the 4 main contributors to hyperosmotic renal medullary interstitium?", "1. Active NaCl transport out of thick ascending limb.\n2. Active ion transport from collecting ducts.\n3. Facilitated diffusion of urea from inner medullary collecting ducts (UT-A1, UT-A3).\n4. Minimal water reabsorption from medullary tubules (far less than solute reabsorption)."), ("Q25", "What is the descending loop's role in the countercurrent mechanism?", "Highly permeable to water → tubular fluid equilibrates with medullary interstitium → delivers hyperosmotic fluid to the ascending limb, providing more NaCl for pumping out."), ], "Section 5 · Urea and Its Role in Concentration": [ ("Q26", "What percentage of medullary osmolarity does urea contribute during maximum concentration?", "40-50% (~500-600 mOsm/L out of total ~1,200-1,400 mOsm/L)."), ("Q27", "How does urea reach the medullary interstitium?", "With high ADH: water reabsorbed from cortical collecting tubule → urea concentrates → UT-A1 and UT-A3 (activated by ADH) facilitate urea diffusion OUT of the inner medullary collecting duct into the interstitium."), ("Q28", "What is the urea recirculation pathway?", "Urea: inner medullary collecting duct → medullary interstitium → via UT-A2 into the THIN DESCENDING LOOP → up through ascending loop → distal tubule → cortical collecting tubule → back to inner medullary collecting duct. Each cycle traps more urea in the medulla."), ("Q29", "Why does a high-protein diet improve urine-concentrating ability?", "More protein metabolism → more urea produced → higher urea concentration in medullary interstitium → greater medullary osmolarity → better water reabsorption from collecting ducts."), ("Q30", "What are the three urea transporters and where are they located?", "UT-A1 and UT-A3: inner medullary collecting duct (urea OUT into interstitium; both activated by ADH).\nUT-A2: thin descending loop of Henle (urea INTO tubule from interstitium — supports recirculation)."), ], "Section 6 · Vasa Recta — Countercurrent Exchange": [ ("Q31", "What is the primary function of the vasa recta?", "Countercurrent exchange — they PRESERVE the hyperosmotic medullary gradient by minimizing solute washout, while supplying nutrients to medullary cells."), ("Q32", "Do the vasa recta CREATE or PRESERVE medullary hyperosmolarity?", "They PRESERVE it. The countercurrent multiplier (loop of Henle) CREATES the gradient; the vasa recta prevent it from being washed away."), ("Q33", "What fraction of total renal blood flow goes to the medulla via vasa recta?", "<5% of total renal blood flow — sluggish flow minimizes solute washout while still supplying metabolic needs."), ("Q34", "How does the vasa recta's U-shape prevent solute loss?", "Descending limb: solutes enter blood from interstitium, water exits → blood becomes hyperosmotic.\nAscending limb: solutes diffuse back OUT into interstitium, water re-enters blood.\nNet result: little net solute removed from interstitium per pass."), ("Q35", "What happens to urine-concentrating ability if medullary blood flow greatly increases?", "Medullary solutes get washed out → decreased hyperosmolarity of medullary interstitium → decreased maximum urine concentration, even if ADH levels are maximal."), ], "Section 7 · ADH — Synthesis, Release & Actions": [ ("Q36", "Where is ADH (vasopressin) synthesized and released?", "Synthesized in SUPRAOPTIC (~5/6) and PARAVENTRICULAR (~1/6) nuclei of the hypothalamus.\nReleased from the POSTERIOR PITUITARY (axon terminals in neurohypophysis)."), ("Q37", "What is the primary stimulus for ADH release?", "Increased ECF osmolarity (even 1% change is sufficient). Detected by osmoreceptors in the anterior hypothalamus near the supraoptic nuclei and the AV3V region."), ("Q38", "What are the cardiovascular stimuli for ADH release?", "Decreased blood volume (cardiopulmonary receptors via vagus/glossopharyngeal nerves) AND decreased arterial pressure (carotid sinus and aortic arch baroreceptors). Blood volume must change ~10% before significantly stimulating ADH."), ("Q39", "List 4 stimuli that INCREASE ADH secretion.", "1. Increased plasma osmolarity (primary)\n2. Decreased blood volume\n3. Decreased arterial pressure\n4. Nausea (increases ADH up to 100x normal!)\nAlso: morphine, nicotine, angiotensin II"), ("Q40", "List 3 stimuli that DECREASE ADH secretion.", "1. Decreased plasma osmolarity\n2. Increased blood volume or arterial pressure\n3. ALCOHOL (explains post-alcohol diuresis)\nAlso: clonidine, haloperidol"), ("Q41", "What is the mechanism of ADH action on the collecting duct?", "ADH binds V2 receptors → increased cAMP → insertion of aquaporin-2 (AQP-2) water channels into the luminal membrane of principal cells → increased water permeability → water moves by osmosis into the interstitium."), ("Q42", "Which nephron segments does ADH make permeable to water?", "Late distal tubule, cortical collecting tubule, and medullary collecting ducts."), ("Q43", "What additional transporter does ADH activate besides water channels?", "Urea transporters UT-A1 and UT-A3 in the inner medullary collecting duct → increased urea permeability → more urea enters the medullary interstitium, adding to its hyperosmolarity."), ], "Section 8 · Osmoreceptor-ADH Feedback Loop": [ ("Q44", "Trace the osmoreceptor-ADH feedback loop when water is LOST (dehydration).", "1. Increased ECF osmolarity → osmoreceptors SHRINK\n2. Osmoreceptors fire → supraoptic nucleus → posterior pituitary\n3. Increased ADH released\n4. Increased water permeability in distal tubule + collecting ducts\n5. Increased water reabsorption → small concentrated urine\n6. ECF osmolarity returns to normal."), ("Q45", "Trace the osmoreceptor-ADH feedback loop when EXCESS water is ingested.", "1. Decreased ECF osmolarity → osmoreceptors SWELL\n2. Decreased ADH release\n3. Decreased water permeability of distal nephron\n4. Increased water excretion → large dilute urine\n5. ECF osmolarity returns to normal."), ("Q46", "Where are the osmoreceptors located?", "Anterior hypothalamus near supraoptic nuclei, and the AV3V region (subfornical organ and organum vasculosum of the lamina terminalis - OVLT). These areas lack a blood-brain barrier, allowing rapid sensing of blood osmolarity."), ("Q47", "How sensitive is the osmoreceptor-ADH system compared to cardiovascular reflexes?", "Osmolarity: even 1% change triggers ADH response.\nBlood volume/pressure: must change ~10% before significantly affecting ADH.\nOsmolarity is approximately 10x more sensitive."), ("Q48", "How quickly can ADH levels change in response to an osmotic stimulus?", "Plasma ADH can increase several-fold within MINUTES — providing a rapid mechanism for altering renal water excretion."), ], "Section 9 · Thirst Mechanism": [ ("Q49", "Where is the thirst center located?", "Anteroventral wall of the third ventricle (AV3V region) — same area that controls ADH secretion. Electrical stimulation here causes immediate drinking."), ("Q50", "What is the osmolar THRESHOLD for thirst (drinking)?", "Plasma [Na+] rises only ~2 mEq/L above normal (plasma osmolarity rises ~4 mOsm/L) → thirst activated. This is called the threshold for drinking."), ("Q51", "List 5 stimuli that INCREASE thirst.", "1. Increased plasma osmolarity\n2. Decreased blood volume\n3. Decreased arterial pressure\n4. Increased angiotensin II\n5. Dryness of the mouth/mucosa"), ("Q52", "List 3 stimuli that DECREASE thirst.", "1. Decreased plasma osmolarity\n2. Increased blood volume/pressure\n3. Gastric distension (oropharyngeal/gastric satiety signals)"), ("Q53", "Why is thirst temporarily relieved BEFORE absorbed water reaches the ECF?", "Oropharyngeal and gastric mechanoreceptors send satiety signals to the thirst center immediately upon drinking. This prevents overdrinking while waiting for water absorption and distribution."), ("Q54", "What happens if both ADH AND thirst mechanisms fail simultaneously?", "Plasma sodium concentration and osmolarity become GROSSLY dysregulated. No other feedback mechanism can adequately control osmolarity — both systems are needed."), ], "Section 10 · Diabetes Insipidus": [ ("Q55", "What is CENTRAL diabetes insipidus? Cause, result, treatment.", "CAUSE: Failure to produce/release ADH (head injury, infection, congenital).\nRESULT: >15 L/day of dilute urine; dehydration if water intake restricted.\nTREATMENT: Desmopressin (synthetic ADH analogue; V2 receptor agonist) — intranasal, oral, or injection."), ("Q56", "What is NEPHROGENIC diabetes insipidus? Cause, result, treatment.", "CAUSE: Kidneys fail to respond to ADH (damaged medulla; caused by lithium, tetracyclines, furosemide, renal disease).\nRESULT: Large volume dilute urine despite normal/high ADH levels.\nTREATMENT: Correct underlying disorder; low-Na diet + thiazide diuretic."), ("Q57", "How do you distinguish central DI from nephrogenic DI?", "Administer DESMOPRESSIN (synthetic ADH):\nCentral DI → urine volume decreases and urine osmolarity increases within 2 hours (kidneys can respond).\nNephrogenic DI → NO significant change in urine volume or osmolarity (kidneys cannot respond)."), ("Q58", "Why does furosemide impair urine concentration?", "Furosemide inhibits the Na+-K+-2Cl- co-transporter in the thick ascending loop of Henle → decreased NaCl transport into medullary interstitium → decreased medullary hyperosmolarity → decreased maximum urine concentration."), ("Q59", "Why do THIAZIDE DIURETICS paradoxically REDUCE urine volume in nephrogenic DI?", "Thiazides cause mild volume depletion → increased proximal tubule reabsorption → less fluid delivered to distal diluting segments → less free water generated → smaller (though still abnormally large) urine volume."), ], "Section 11 · Control of ECF Na+ Concentration": [ ("Q60", "What are the TWO primary systems regulating ECF osmolarity and [Na+]?", "1. Osmoreceptor-ADH feedback system.\n2. Thirst mechanism.\nThese two together are the DOMINANT regulators of sodium concentration — NOT aldosterone or Ang II."), ("Q61", "Why do angiotensin II and aldosterone have LITTLE effect on plasma [Na+]?", "Reason 1: They increase BOTH sodium AND water reabsorption → ECF volume rises but concentration stays similar.\nReason 2: Any tendency for [Na+] to rise is immediately corrected by the ADH-thirst system."), ("Q62", "In primary aldosteronism (Conn syndrome), how much does plasma [Na+] rise?", "Only ~3-5 mEq/L above normal, despite extremely high aldosterone — because the ADH-thirst system compensates by retaining water."), ("Q63", "What does aldosterone primarily regulate — sodium CONCENTRATION or sodium QUANTITY/VOLUME?", "Primarily regulates sodium QUANTITY and ECF VOLUME. The ADH-thirst system regulates sodium CONCENTRATION. Aldosterone has little effect on [Na+] under normal conditions."), ("Q64", "In Addison disease (no aldosterone), what happens to plasma [Na+]?", "Severe sodium loss → decreased ECF volume → decreased blood pressure → activates thirst via cardiovascular reflexes → excess water intake → FURTHER DILUTION of plasma [Na+] → hyponatremia."), ], "Section 12 · Free Water Clearance (Quantitative)": [ ("Q65", "What is OSMOLAR CLEARANCE (C_osm)?", "Volume of plasma cleared of ALL solutes per minute.\nFormula: C_osm = (U_osm x V) / P_osm | Units: mL/min"), ("Q66", "What is FREE WATER CLEARANCE (C_H2O)?", "Rate at which solute-free water is excreted.\nFormula: C_H2O = V - C_osm\nPositive = excess water excreted (dilute urine; plasma being concentrated)\nNegative = water being RETAINED (concentrated urine; plasma being diluted)"), ("Q67", "If urine osmolarity > plasma osmolarity, is free water clearance positive or negative?", "NEGATIVE — the kidneys are retaining water in excess of solutes (concentrated urine; water deficit state)."), ("Q68", "If urine osmolarity < plasma osmolarity, is free water clearance positive or negative?", "POSITIVE — the kidneys are excreting free water in excess of solutes (dilute urine; water excess state)."), ], "Section 13 · Clinical Pearls": [ ("Q69", "Why does drinking seawater cause dehydration?", "Ocean osmolarity ~1,200 mOsm/L. To excrete 1,200 mOsm NaCl, kidneys need 1.5 L of urine (max urine NaCl concentration only ~600 mOsm/L; remaining capacity used for urea). Net LOSS: 0.5 L per liter of seawater drunk."), ("Q70", "How does ALCOHOL cause diuresis?", "Alcohol INHIBITS ADH release from the posterior pituitary → decreased water permeability of distal tubule and collecting ducts → large volumes of dilute urine → dehydration."), ("Q71", "How does NAUSEA affect ADH?", "Nausea is a potent stimulus for ADH release — can increase plasma ADH up to 100x normal. Leads to water retention and potentially dilutional hyponatremia."), ("Q72", "What is SIADH (Syndrome of Inappropriate ADH)?", "Excess ADH secretion despite low plasma osmolarity. Result: water retention → dilutional hyponatremia. ECF volume increases only 5-10% (pressure natriuresis limits the volume rise) but [Na+] falls significantly."), ("Q73", "Why does LITHIUM cause nephrogenic DI?", "Lithium impairs the ADH-signaling pathway (cAMP) in principal cells, reducing insertion of AQP-2 water channels → impaired water reabsorption despite normal/high ADH levels."), ("Q74", "What happens to urine-concentrating ability in MALNUTRITION?", "Low protein intake → decreased urea production → decreased urea in medullary interstitium → decreased medullary osmolarity → significantly impaired maximum urine concentration."), ], } for section_title, card_list in cards.items(): section_heading(doc, section_title) for card in card_list: add_card(doc, *card) # Footer doc.add_paragraph() footer_p = doc.add_paragraph("Guyton & Hall Medical Physiology, 14th ed. | Chapter 29 | 74 Flashcards | Final Exam Review") footer_p.alignment = WD_ALIGN_PARAGRAPH.CENTER footer_p.runs[0].font.size = Pt(9) footer_p.runs[0].font.italic = True set_run_color(footer_p.runs[0], 0x99, 0x99, 0x99) out_path = "/tmp/workspace/flashcards/Osmolarity_ADH_Flashcards.docx" doc.save(out_path) print(f"Saved: {out_path}") print(f"Total cards: {sum(len(v) for v in cards.values())}") EOF
Osmolarity ADH Flashcards
Word Document · DOCX
| Section | Cards | Topics |
|---|---|---|
| 1 | Q1–Q8 | Core normal values (osmolarity, [Na+], urine range, obligatory volume) |
| 2 | Q9–Q15 | Dilute urine formation — segment-by-segment (low ADH) |
| 3 | Q16–Q20 | Concentrated urine formation — segment-by-segment (high ADH) |
| 4 | Q21–Q25 | Countercurrent multiplier mechanism |
| 5 | Q26–Q30 | Urea recycling & urea transporters (UT-A1, A2, A3) |
| 6 | Q31–Q35 | Vasa recta countercurrent exchange |
| 7 | Q36–Q43 | ADH synthesis, release, mechanism of action, stimuli |
| 8 | Q44–Q48 | Osmoreceptor–ADH feedback loop (both directions) |
| 9 | Q49–Q54 | Thirst mechanism — threshold, stimuli, satiation |
| 10 | Q55–Q59 | Central vs. nephrogenic diabetes insipidus |
| 11 | Q60–Q64 | ECF Na+ concentration control — aldosterone vs. ADH-thirst |
| 12 | Q65–Q68 | Free water clearance (quantitative formulas) |
| 13 | Q69–Q74 | Clinical pearls (seawater, alcohol, nausea, SIADH, lithium, malnutrition) |
Summary for final exam
cd /tmp/workspace/attachments/e1d98b7f-6a22-4827-a188-c8429a6e57b0/ && python3 -c " import pdfplumber pdf_path = 'John Edward Hall_ Michael Edward Hall - Guyton and Hall textbook of medical physiology-Elsevier Inc. (2021)-307-316.pdf' with pdfplumber.open(pdf_path) as pdf: print(f'Total pages: {len(pdf.pages)}') for i, page in enumerate(pdf.pages): text = page.extract_text() print(f'--- PAGE {i+1} ---') print(text) print() "
| Function | Key Details |
|---|---|
| Excretion of metabolic waste | Urea (amino acids), creatinine (muscle), uric acid (nucleic acids), bilirubin (hemoglobin), hormone metabolites, toxins, drugs |
| Regulation of water & electrolyte balance | Excretion must match intake precisely for homeostasis |
| Regulation of osmolality & electrolyte concentration | Tight control of ECF composition |
| Regulation of arterial pressure | Long-term: sodium/water excretion; short-term: renin → angiotensin II |
| Regulation of acid-base balance | Excrete sulfuric and phosphoric acids; regulate bicarbonate stores |
| Regulation of erythrocyte production | Secrete erythropoietin (stimulates RBC production from bone marrow stem cells); triggered by hypoxia |
| Regulation of 1,25-dihydroxyvitamin D₃ | Hydroxylate vitamin D at position 1 → calcitriol (active form); essential for Ca²⁺ deposition in bone and GI Ca²⁺ absorption |
| Gluconeogenesis | Synthesize glucose from amino acids during prolonged fasting; rivals the liver's capacity |
| Capillary Bed | Hydrostatic Pressure | Function |
|---|---|---|
| Glomerular | ~60 mmHg (high) | Drives rapid filtration |
| Peritubular | ~13 mmHg (low) | Allows rapid fluid reabsorption |
| Feature | Cortical Nephrons | Juxtamedullary Nephrons |
|---|---|---|
| % of total | ~70-80% | ~20-30% |
| Glomerulus location | Outer cortex | Deep cortex, near medulla |
| Loop of Henle | Short; only into outer medulla | Long; extends deep into medulla, some to papillary tips |
| Peritubular vessels | Extensive peritubular capillaries | Vasa recta (specialized capillaries running parallel to loops of Henle) |
| Role | General filtration/excretion | Essential for concentrated urine formation |
| Nerve | Type | Level | Function |
|---|---|---|---|
| Pelvic nerves | Parasympathetic (motor) | S2-S4 | Contract detrusor; primary micturition motor |
| Pelvic nerves | Sensory | S2-S4 | Transmit bladder stretch signals to cord |
| Pudendal nerves | Somatic (motor) | S2-S4 | Control external sphincter (voluntary) |
| Hypogastric nerves | Sympathetic | L1-L4 | Innervate blood vessels; minor effect on contraction; carry some sensation (fullness, pain) |
| Volume | Pressure | Explanation |
|---|---|---|
| 0-30/50 mL | 0-5-10 cmH₂O | Initial rise from intrinsic wall tone |
| 50-300 mL | ~10 cmH₂O (stable) | Plateau; intrinsic bladder wall compliance |
| >300-400 mL | Rises rapidly | Wall compliance exceeded; micturition reflex triggered |
| Brain Center | Action |
|---|---|
| Pons (brain stem) | Strong facilitative AND inhibitory centers |
| Cerebral cortex | Mainly inhibitory (prevents urination); can become excitatory when desired |
| Condition | Mechanism | Result |
|---|---|---|
| Atonic bladder (tabetic bladder) | Destruction of sensory nerve fibers (e.g., syphilis damaging dorsal roots = tabes dorsalis); or crush injury to sacral cord | No stretch signals transmitted → no micturition reflex → bladder fills to capacity → overflow incontinence (few drops leak) |
| Automatic bladder | Spinal cord damage ABOVE sacral region; sacral segments intact | Micturition reflexes still occur but not controlled by brain; initially suppressed (spinal shock), then return as periodic unannounced emptying |
| Uninhibited neurogenic bladder | Partial damage in spinal cord or brain stem → interrupts inhibitory signals | Facilitative impulses from brain keep sacral centers overexcitable → frequent, uncontrollable voiding even with small volumes of urine |
Urinary excretion rate = Filtration rate - Reabsorption rate + Secretion rate
| Process | Definition | Examples |
|---|---|---|
| Glomerular filtration | Protein-free fluid forced from glomerular capillaries into Bowman's capsule | All freely filtered substances (~300 mOsm/L) |
| Tubular reabsorption | Substances moved from tubular lumen BACK into peritubular capillaries | Na⁺, Cl⁻, HCO₃⁻, glucose, amino acids, water |
| Tubular secretion | Substances moved FROM peritubular blood INTO tubular lumen | K⁺, H⁺, organic acids/bases, some drugs |
| Pattern | Description | Examples |
|---|---|---|
| A: Filtration only | Freely filtered, NOT reabsorbed, NOT secreted → excreted = filtered | Creatinine, inulin |
| B: Filtration + partial reabsorption | Filtered, partly reabsorbed → excretion < filtration | Na⁺, Cl⁻, most electrolytes |
| C: Filtration + complete reabsorption | Filtered, completely reabsorbed → no excretion | Glucose, amino acids (normally) |
| D: Filtration + secretion | Filtered AND additional secretion from blood → excretion > filtration | K⁺, H⁺, organic acids/bases, some drugs |
Make a Word document flashcards on kidney anatomy (glomerulus, nephron segments, vasa recta, etc.)
python3 << 'EOF' from docx import Document from docx.shared import Pt, Inches, RGBColor from docx.enum.text import WD_ALIGN_PARAGRAPH from docx.oxml.ns import qn from docx.oxml import OxmlElement import os os.makedirs("/tmp/workspace/flashcards", exist_ok=True) doc = Document() section = doc.sections[0] section.left_margin = Inches(0.75) section.right_margin = Inches(0.75) section.top_margin = Inches(0.75) section.bottom_margin = Inches(0.75) normal = doc.styles["Normal"] normal.font.name = "Calibri" normal.font.size = Pt(11) # Color palette (hex strings for XML) Q_BG_HEX = "E8F4E8" # light green – question (kidney theme) A_BG_HEX = "FFFFFF" # white – answer BORDER_HEX = "1E6B34" # dark green – border HDR_R, HDR_G, HDR_B = 0x1E, 0x6B, 0x34 # dark green for headings/labels ANS_R, ANS_G, ANS_B = 0x1A, 0x5C, 0x8A # blue for answer arrow def set_cell_bg(cell, hex_color): tc = cell._tc tcPr = tc.get_or_add_tcPr() shd = OxmlElement("w:shd") shd.set(qn("w:val"), "clear") shd.set(qn("w:color"), "auto") shd.set(qn("w:fill"), hex_color) tcPr.append(shd) def set_cell_border(cell, hex_color=BORDER_HEX): tc = cell._tc tcPr = tc.get_or_add_tcPr() tcBorders = OxmlElement("w:tcBorders") for side in ("top", "left", "bottom", "right"): b = OxmlElement(f"w:{side}") b.set(qn("w:val"), "single") b.set(qn("w:sz"), "8") b.set(qn("w:space"), "0") b.set(qn("w:color"), hex_color) tcBorders.append(b) tcPr.append(tcBorders) def rgb(run, r, g, b): run.font.color.rgb = RGBColor(r, g, b) def add_card(doc, q_label, question, answer): tbl = doc.add_table(rows=2, cols=1) tbl.style = "Table Grid" # --- Question row --- q_cell = tbl.rows[0].cells[0] set_cell_bg(q_cell, Q_BG_HEX) set_cell_border(q_cell, BORDER_HEX) q_para = q_cell.paragraphs[0] q_para.paragraph_format.space_before = Pt(4) q_para.paragraph_format.space_after = Pt(4) q_para.paragraph_format.left_indent = Pt(6) label_run = q_para.add_run(f"{q_label} ") label_run.bold = True label_run.font.size = Pt(8) label_run.font.name = "Calibri" rgb(label_run, HDR_R, HDR_G, HDR_B) q_run = q_para.add_run(question) q_run.bold = True q_run.font.size = Pt(11) q_run.font.name = "Calibri" rgb(q_run, 0x1A, 0x1A, 0x2E) # --- Answer row --- a_cell = tbl.rows[1].cells[0] set_cell_bg(a_cell, A_BG_HEX) set_cell_border(a_cell, BORDER_HEX) a_para = a_cell.paragraphs[0] a_para.paragraph_format.space_before = Pt(4) a_para.paragraph_format.space_after = Pt(4) a_para.paragraph_format.left_indent = Pt(6) arrow = a_para.add_run("▶ ") arrow.bold = True arrow.font.size = Pt(10) arrow.font.name = "Calibri" rgb(arrow, ANS_R, ANS_G, ANS_B) a_run = a_para.add_run(answer) a_run.font.size = Pt(11) a_run.font.name = "Calibri" rgb(a_run, 0x1A, 0x1A, 0x1A) spacer = doc.add_paragraph() spacer.paragraph_format.space_after = Pt(2) def section_heading(doc, text): doc.add_paragraph() h = doc.add_heading(text, level=2) h.alignment = WD_ALIGN_PARAGRAPH.LEFT for run in h.runs: rgb(run, HDR_R, HDR_G, HDR_B) run.font.size = Pt(13) run.bold = True # ── Title ──────────────────────────────────────────────────────────────────── title = doc.add_heading("Kidney Anatomy — Flashcards", level=1) title.alignment = WD_ALIGN_PARAGRAPH.CENTER for run in title.runs: rgb(run, HDR_R, HDR_G, HDR_B) run.font.size = Pt(20) run.bold = True sub = doc.add_paragraph("Guyton & Hall Medical Physiology | Chapter 26 | Final Exam Review") sub.alignment = WD_ALIGN_PARAGRAPH.CENTER sub.runs[0].font.italic = True sub.runs[0].font.size = Pt(11) rgb(sub.runs[0], 0x55, 0x55, 0x55) doc.add_paragraph() # ═══════════════════════════════════════════════════════════════════════════════ # FLASHCARD DATA # ═══════════════════════════════════════════════════════════════════════════════ cards = { "Section 1 · Gross Kidney Anatomy": [ ("Q1", "Where are the kidneys located?", "Posterior abdominal wall, OUTSIDE the peritoneal cavity (retroperitoneal).\nEach kidney weighs ~150 g; about the size of a clenched fist."), ("Q2", "What structures pass through the renal hilum?", "Renal artery, renal vein, lymphatics, nerves, and ureter.\n(Hilum = medial indentation of the kidney)"), ("Q3", "What are the two major internal regions of the kidney?", "1. Renal CORTEX (outer layer)\n2. Renal MEDULLA (inner layer, contains 8-10 renal pyramids)"), ("Q4", "Describe the internal architecture from pyramid to ureter.", "Renal pyramid → papilla (tip) → minor calyx → major calyx → renal pelvis → ureter → bladder.\n~250 large collecting ducts empty through each papilla."), ("Q5", "What is a renal pyramid?", "Cone-shaped mass of medullary tissue. Base = cortex-medulla border. Apex (papilla) = projects into renal pelvis.\nThere are 8-10 per kidney."), ("Q6", "What is the fibrous capsule of the kidney?", "Tough fibrous outer covering that protects the kidney's delicate inner structures."), ], "Section 2 · Renal Blood Supply": [ ("Q7", "What percentage of cardiac output do the kidneys receive?", "~22% of cardiac output = ~1,100 mL/min (at rest).\nThis high flow is needed for filtration, NOT just metabolic needs."), ("Q8", "Trace the arterial blood supply to the glomerulus in order.", "Renal artery → segmental arteries → interlobar arteries → arcuate arteries → interlobular (radial) arteries → AFFERENT ARTERIOLE → glomerular capillaries"), ("Q9", "Trace blood flow FROM the glomerulus onward.", "Glomerular capillaries → EFFERENT ARTERIOLE → peritubular capillaries (cortical nephrons) OR vasa recta (juxtamedullary nephrons) → venous system → renal vein"), ("Q10", "What is the hydrostatic pressure in the glomerular capillaries and why is it high?", "~60 mmHg — unusually high for capillaries.\nHigh pressure drives rapid ultrafiltration of large volumes of protein-free fluid into Bowman's capsule."), ("Q11", "What is the hydrostatic pressure in the peritubular capillaries and why is it low?", "~13 mmHg — low pressure after blood traverses the efferent arteriole resistance.\nLow pressure allows rapid reabsorption of fluid from tubules back into blood."), ("Q12", "How do afferent and efferent arterioles regulate both capillary beds?", "Afferent arteriole resistance → controls glomerular capillary pressure (GFR).\nEfferent arteriole resistance → controls BOTH glomerular pressure AND peritubular pressure.\nIncreasing efferent resistance → ↑ GFR but ↓ peritubular pressure (↑ reabsorption)."), ("Q13", "What is unique about the renal circulation compared to other organs?", "Two capillary beds in SERIES separated by efferent arterioles:\n1. Glomerular capillaries (high pressure → filtration)\n2. Peritubular capillaries (low pressure → reabsorption)\nNo other organ has this dual capillary arrangement."), ], "Section 3 · The Nephron — Overview": [ ("Q14", "How many nephrons are in each human kidney?", "800,000 to 1,000,000 nephrons per kidney.\nEach nephron is independently capable of forming urine."), ("Q15", "Can kidneys regenerate nephrons after injury or disease?", "NO — the kidney CANNOT regenerate new nephrons.\nWith renal injury, disease, or aging, the total number permanently decreases."), ("Q16", "What happens to nephron numbers with age?", "After age 40: ~10% decrease in functioning nephrons every 10 years.\nBy age 80: ~40% fewer nephrons than at age 40.\nNot immediately life-threatening because remaining nephrons adaptively compensate."), ("Q17", "What are the TWO main structural components of a nephron?", "1. GLOMERULUS — tuft of glomerular capillaries; filters large volumes of protein-free fluid\n2. TUBULE — long tube that converts glomerular filtrate into urine"), ("Q18", "List the tubular segments of the nephron in order of fluid flow.", "Bowman's capsule → proximal tubule → loop of Henle (descending limb → thin ascending → thick ascending) → macula densa → distal tubule → connecting tubule → cortical collecting tubule → cortical collecting duct → medullary collecting duct → renal pelvis"), ], "Section 4 · The Glomerulus": [ ("Q19", "What is the glomerulus?", "A tuft of branching and anastomosing capillaries enclosed within Bowman's capsule.\nCapillaries are covered by epithelial cells (podocytes).\nHydrostatic pressure: ~60 mmHg (high — drives filtration)."), ("Q20", "What is Bowman's capsule?", "The cup-shaped epithelial structure that surrounds the glomerulus and receives glomerular filtrate.\nFluid filtered from glomerular capillaries flows directly into Bowman's capsule, then into the proximal tubule."), ("Q21", "What is the composition of the glomerular filtrate?", "Virtually protein-free plasma — essentially all plasma components EXCEPT proteins are freely filtered.\nConcentration of filtered substances in Bowman's capsule ≈ their concentration in plasma."), ("Q22", "What three layers make up the glomerular filtration barrier?", "1. Glomerular capillary endothelium (fenestrated — large pores)\n2. Glomerular basement membrane (GBM) — main size and charge barrier\n3. Podocyte foot processes with filtration slits (slit diaphragms)\nAll three must be intact for normal filtration."), ("Q23", "Why are proteins NOT filtered in normal glomeruli?", "Two barriers prevent protein filtration:\n1. SIZE barrier — filtration slits and GBM too small for large proteins\n2. CHARGE barrier — GBM is negatively charged; repels negatively charged albumin\nProteinuria = damage to one or both of these barriers."), ("Q24", "What is the juxtaglomerular apparatus (JGA)?", "Located where the afferent arteriole meets the distal tubule. Contains:\n• Macula densa (distal tubule cells) — sense [NaCl] in tubular fluid\n• Juxtaglomerular (granular) cells in afferent arteriole — secrete RENIN\n• Extraglomerular mesangial cells\nFunction: tubuloglomerular feedback; renin secretion for blood pressure control."), ("Q25", "What is the macula densa?", "A plaque of specialized epithelial cells at the END of the thick ascending limb (where it contacts its own glomerulus).\nSenses [NaCl] in tubular fluid.\nLow [NaCl] → signals JG cells to secrete renin + dilates afferent arteriole → ↑ GFR (tubuloglomerular feedback)."), ], "Section 5 · Proximal Tubule": [ ("Q26", "Where is the proximal tubule located?", "In the RENAL CORTEX, immediately after Bowman's capsule.\nIt is highly convoluted (proximal convoluted tubule) then straightens (proximal straight tubule) as it descends toward the medulla."), ("Q27", "What fraction of filtered load is reabsorbed in the proximal tubule?", "~65-67% of filtered water, Na+, Cl-, K+, and bicarbonate.\n~100% of filtered glucose and amino acids (under normal blood glucose levels).\nAlso reabsorbs phosphate, urea, and other solutes."), ("Q28", "What structural features of the proximal tubule enable massive reabsorption?", "1. BRUSH BORDER (microvilli) — massively increases luminal surface area\n2. Abundant MITOCHONDRIA — provide energy for active transport\n3. Highly permeable to WATER — water follows solutes by osmosis\nNet result: isosmotic reabsorption (tubular fluid remains ~300 mOsm/L throughout)"), ("Q29", "How does glucose reabsorption work in the proximal tubule?", "Na+-glucose co-transporter (SGLT2) on luminal membrane: Na+ gradient drives glucose IN against its concentration gradient.\nGlucose exits on basolateral side via GLUT2 (facilitated diffusion) → into peritubular capillaries.\nNormal: all glucose reabsorbed. Plasma glucose >~180 mg/dL → transport maximum exceeded → glucosuria."), ("Q30", "What is the TRANSPORT MAXIMUM (Tm) concept?", "Each carrier-mediated transport system has a maximum rate of transport (Tm).\nWhen filtered load exceeds Tm → excess solute appears in urine.\nExample: Glucose Tm ≈ 375 mg/min. At normal GFR (~125 mL/min), threshold ≈ 180-200 mg/dL plasma glucose.\nExceeding Tm → glucosuria (e.g., in diabetes mellitus)."), ], "Section 6 · Loop of Henle": [ ("Q31", "What are the three segments of the loop of Henle?", "1. DESCENDING LIMB (thin) — permeable to water; impermeable to NaCl\n2. THIN ASCENDING LIMB — impermeable to water; some NaCl diffusion out\n3. THICK ASCENDING LIMB — impermeable to water; ACTIVELY pumps NaCl out\nDescending = concentrates fluid; Ascending = dilutes fluid"), ("Q32", "What is the KEY property of the DESCENDING limb of the loop of Henle?", "Highly permeable to WATER but NOT to NaCl.\nWater leaves by osmosis into hyperosmotic medullary interstitium.\nTubular fluid becomes progressively MORE CONCENTRATED as it descends — up to ~1,200 mOsm/L at the tip."), ("Q33", "What is the KEY property of the THICK ASCENDING limb of the loop of Henle?", "IMPERMEABLE to water (no AQP channels).\nActively pumps Na+/K+/2Cl- OUT via Na-K-2Cl co-transporter (NKCC2) on luminal membrane.\nTubular fluid becomes progressively MORE DILUTE (~140 mOsm/L at the end).\nCalled the 'DILUTING SEGMENT' — dilutes urine regardless of ADH level."), ("Q34", "What drug blocks the thick ascending limb and what is the clinical consequence?", "FUROSEMIDE (loop diuretic) — inhibits NKCC2 (Na-K-2Cl co-transporter).\nResult: NaCl not pumped out → medullary hyperosmolarity lost → cannot concentrate urine → large-volume diuresis.\nAlso causes nephrogenic DI-like state (impaired concentrating ability)."), ("Q35", "What is the osmolarity of tubular fluid at various points in the loop of Henle?", "• Entering descending limb: ~300 mOsm/L (isosmotic with plasma)\n• At the tip of the loop: ~1,200 mOsm/L (maximally concentrated)\n• Leaving thick ascending limb: ~100-140 mOsm/L (hypotonic)\n• Leaving early distal tubule: ~100 mOsm/L"), ("Q36", "What is the countercurrent multiplier mechanism?", "The U-shape of the loop of Henle allows the 'single effect' (~200 mOsm/L gradient created by NKCC2) to be MULTIPLIED along the length of the loop.\nContinuous inflow of new NaCl-rich fluid from the proximal tubule allows repeated pumping cycles.\nResult: medullary interstitium reaches 1,200-1,400 mOsm/L from cortex to papilla."), ("Q37", "Which nephrons are responsible for the countercurrent multiplier?", "JUXTAMEDULLARY NEPHRONS (~20-30% of all nephrons) — have long loops of Henle that extend deep into the medulla, some all the way to the papillary tips.\nCortical nephrons (short loops) do NOT contribute significantly to the medullary gradient."), ], "Section 7 · Distal Tubule and Collecting Duct": [ ("Q38", "What happens in the EARLY distal tubule?", "Continues active NaCl reabsorption (Na-Cl co-transporter, NCC — blocked by THIAZIDES).\nIMPERMEABLE to water → fluid becomes even more dilute (~100 mOsm/L).\nNOT responsive to aldosterone (early portion)."), ("Q39", "What happens in the LATE distal tubule and cortical collecting duct?", "This is where ALDOSTERONE and ADH exert their primary effects.\n• ALDOSTERONE: increases Na+ reabsorption (ENaC channels) and K+ secretion via principal cells\n• ADH: inserts AQP-2 water channels → increases water permeability\nWithout ADH: tubule remains impermeable to water → dilute urine"), ("Q40", "What are the two main cell types of the collecting duct?", "1. PRINCIPAL CELLS (~65%): respond to aldosterone (Na+ reabsorption via ENaC; K+ secretion via ROMK) and ADH (AQP-2 insertion for water reabsorption)\n2. INTERCALATED CELLS (~35%): regulate acid-base balance; secrete H+ (type A) or HCO3- (type B)"), ("Q41", "What is the role of the medullary collecting duct in urine concentration?", "With HIGH ADH: water leaves the collecting duct by osmosis into the hyperosmotic medullary interstitium.\nAt the papillary tip, tubular fluid equilibrates with interstitium → ~1,200 mOsm/L (maximum urine concentration).\nADH also activates UT-A1 and UT-A3 urea transporters here → urea enters medullary interstitium."), ("Q42", "What is the role of ENaC and how is it regulated?", "ENaC (Epithelial Na+ Channel) is on the luminal membrane of principal cells in the late distal tubule and collecting duct.\nAldosterone → binds mineralocorticoid receptor → increases transcription of ENaC subunits and Na+/K+-ATPase → ↑ Na+ reabsorption and ↑ K+ secretion.\nAmiloride blocks ENaC → K+-sparing diuretic effect."), ], "Section 8 · Two Types of Nephrons — Cortical vs. Juxtamedullary": [ ("Q43", "Compare cortical and juxtamedullary nephrons.", "CORTICAL (~75-80%): Glomeruli in outer cortex; short loops of Henle into outer medulla only; surrounded by peritubular capillaries.\nJUXTAMEDULLARY (~20-25%): Glomeruli deep in cortex near medulla; long loops of Henle extending deep into medulla (some to papillary tips); supplied by vasa recta instead of peritubular capillaries."), ("Q44", "Why are juxtamedullary nephrons essential for urine concentration?", "Their long loops of Henle dip deep into the medulla → create and maintain the hyperosmotic medullary interstitium via the countercurrent multiplier.\nWithout them, maximum urine concentration would be greatly reduced.\nAlso: their associated vasa recta preserve the medullary gradient (countercurrent exchange)."), ("Q45", "What happens to urine concentration in patients with only cortical nephrons (e.g., some chronic kidney diseases)?", "Loss of juxtamedullary nephrons → loss of medullary gradient → isosthenuria (urine osmolarity fixed near plasma osmolarity ~300 mOsm/L) regardless of water intake or ADH levels. Impaired concentrating AND diluting ability."), ], "Section 9 · Vasa Recta": [ ("Q46", "What are the vasa recta?", "Specialized long, hairpin-shaped peritubular capillaries that supply juxtamedullary nephrons.\nThey arise from the EFFERENT ARTERIOLES of juxtamedullary glomeruli, descend into the medulla, loop, and return to the cortex.\nFlow: sluggish (<5% of total renal blood flow) — minimizes solute washout."), ("Q47", "What is the function of the vasa recta?", "COUNTERCURRENT EXCHANGE — they PRESERVE (not create) the medullary hyperosmotic gradient.\nDescending limb: NaCl and urea enter blood from interstitium; water exits blood into interstitium → blood becomes hyperosmotic.\nAscending limb: NaCl and urea leave blood back into interstitium; water re-enters blood → blood returns to normal osmolarity.\nNet effect: minimal net solute removed from medullary interstitium per pass."), ("Q48", "Do the vasa recta CREATE or PRESERVE medullary hyperosmolarity?", "They PRESERVE it.\nThe LOOP OF HENLE (countercurrent multiplier) CREATES the gradient.\nThe VASA RECTA prevent it from being washed away by the blood flow."), ("Q49", "What percentage of renal blood flow goes to the medulla via vasa recta?", "<5% of total renal blood flow.\nSluggish flow is essential — if medullary blood flow increases greatly, solutes get washed out → medullary osmolarity falls → impaired urine concentration even with maximal ADH."), ("Q50", "What happens to urine concentrating ability if vasa recta blood flow greatly increases?", "Increased flow → more solute washed out of medullary interstitium → decreased medullary osmolarity → maximum urine concentration falls → impaired concentrating ability, even if ADH levels are maximal."), ("Q51", "How do the vasa recta differ from peritubular capillaries of cortical nephrons?", "PERITUBULAR CAPILLARIES (cortical): Short, not specialized; simply reabsorb fluid from proximal and distal tubules; supplied by efferent arterioles of cortical glomeruli.\nVASA RECTA: Long, U-shaped; dip deep into medulla; serve countercurrent exchange function; supplied by efferent arterioles of JUXTAMEDULLARY glomeruli only."), ], "Section 10 · Urine Formation — Three Processes": [ ("Q52", "What is the master equation of renal excretion?", "Urinary Excretion Rate = Filtration Rate - Reabsorption Rate + Secretion Rate\n\nAll three processes (glomerular filtration, tubular reabsorption, tubular secretion) are regulated according to body needs."), ("Q53", "What is the normal GFR and what fraction of that is ultimately excreted?", "GFR = ~125 mL/min = ~180 L/day\nTubular reabsorption: ~178.5 L/day\nUrine output: ~1.5 L/day (<1% of filtered load)\nThe kidneys filter the entire plasma volume (~3 L) ~60 times per day."), ("Q54", "A 10% increase in GFR with unchanged tubular reabsorption — what happens to urine output?", "GFR rises from 180 to 198 L/day (+18 L/day).\nIf reabsorption remains 178.5 L/day, urine rises from 1.5 to 19.5 L/day = 13-FOLD increase.\nThis shows why GFR and tubular reabsorption MUST be tightly coordinated (glomerulotubular balance)."), ("Q55", "Give an example of each renal handling pattern (A, B, C, D).", "A — Filtered only, not reabsorbed: CREATININE, inulin (used to measure GFR)\nB — Filtered + partially reabsorbed: NA+, Cl-, K+, urea\nC — Filtered + completely reabsorbed: GLUCOSE, amino acids (normally)\nD — Filtered + secreted: K+, H+, organic acids, creatinine (small amount), PAH"), ("Q56", "Why does the kidney use a high GFR with massive reabsorption instead of just filtering less?", "Two advantages:\n1. Rapid removal of poorly reabsorbed WASTE PRODUCTS (urea, creatinine, uric acid) depends on high GFR\n2. Allows entire plasma to be processed ~60x/day → precise, rapid control of ECF composition\nHigh GFR = surveillance system; tubular reabsorption = fine-tuning system."), ], "Section 11 · Kidney Functions Summary": [ ("Q57", "List 8 functions of the kidneys.", "1. Excrete metabolic wastes (urea, creatinine, uric acid, bilirubin metabolites)\n2. Regulate water and electrolyte balance\n3. Regulate ECF osmolarity and electrolyte concentrations\n4. Regulate arterial pressure (sodium/water + renin-angiotensin)\n5. Regulate acid-base balance (excrete H+; regulate HCO3-)\n6. Produce erythropoietin (stimulates RBC production)\n7. Produce 1,25-dihydroxyvitamin D3 (calcitriol)\n8. Gluconeogenesis (during prolonged fasting)"), ("Q58", "What stimulates erythropoietin release and what does it do?", "Stimulus: HYPOXIA (low O2 delivery to kidneys)\nAction: Erythropoietin → bone marrow stem cells → increased RBC production (erythropoiesis)\nClinical: Chronic kidney disease → ↓ erythropoietin → NORMOCYTIC NORMOCHROMIC ANEMIA (renal anemia)\nTreatment: Recombinant erythropoietin (epoetin alfa)"), ("Q59", "What vitamin D product do the kidneys produce and why is it important?", "Kidneys produce 1,25-dihydroxyvitamin D3 (CALCITRIOL) — the ACTIVE form of vitamin D.\nHydroxylation occurs at position 1 (liver already added the 25-OH).\nCalcitriol is essential for:\n• Ca2+ deposition in BONE\n• Ca2+ reabsorption from the GASTROINTESTINAL TRACT\nChronic kidney disease → ↓ calcitriol → ↓ Ca2+ absorption → renal osteodystrophy"), ("Q60", "What happens physiologically when kidneys completely fail?", "Potassium, acids, and fluids accumulate in the body.\nDeath occurs within a FEW DAYS without clinical intervention.\nManagement: Hemodialysis or peritoneal dialysis to restore, at least partially, body fluid and electrolyte balances."), ], "Section 12 · High-Yield Anatomy Numbers": [ ("Q61", "What are the key pressure values in the renal vasculature?", "Glomerular capillary pressure: ~60 mmHg (drives filtration — highest capillary pressure in body)\nBowman's capsule pressure: ~18 mmHg (opposes filtration)\nPeritubular capillary pressure: ~13 mmHg (drives reabsorption)\nNet filtration pressure at glomerulus: ~60 - 18 - 32 (oncotic) = ~10 mmHg"), ("Q62", "What are the key anatomical numbers for the kidney?", "• Kidney weight: ~150 g each\n• Nephrons per kidney: 800,000 - 1,000,000\n• Renal blood flow: ~1,100 mL/min = 22% of cardiac output\n• GFR: ~125 mL/min = 180 L/day\n• Number of large collecting ducts per kidney: ~250\n• Nephrons per collecting duct: ~4,000\n• Juxtamedullary nephrons: ~20-30% of total"), ("Q63", "What are the key osmolarity values in the kidney?", "• Plasma/ECF: ~300 mOsm/L\n• Tubular fluid entering proximal tubule: ~300 mOsm/L\n• Fluid at loop tip (juxtamedullary): up to ~1,200 mOsm/L\n• Fluid leaving thick ascending limb: ~100-140 mOsm/L\n• Minimum urine (no ADH): ~50 mOsm/L\n• Maximum urine (max ADH): ~1,200-1,400 mOsm/L\n• Medullary interstitium at papillary tip: ~1,200-1,400 mOsm/L"), ("Q64", "What are the key tubular transport numbers?", "• Proximal tubule reabsorbs: ~65-67% of filtered Na+, water, and Cl-\n• Proximal tubule reabsorbs: ~100% of glucose and amino acids (normally)\n• Glucose Tm: ~375 mg/min\n• Renal threshold for glucose: ~180-200 mg/dL plasma concentration\n• Amount of urine remaining in bladder after voiding: <5-10 mL"), ], } for section_title, card_list in cards.items(): section_heading(doc, section_title) for card in card_list: add_card(doc, *card) # Footer doc.add_paragraph() footer_p = doc.add_paragraph("Guyton & Hall Medical Physiology, 14th ed. | Chapter 26 | 64 Flashcards | Final Exam Review") footer_p.alignment = WD_ALIGN_PARAGRAPH.CENTER footer_p.runs[0].font.size = Pt(9) footer_p.runs[0].font.italic = True rgb(footer_p.runs[0], 0x99, 0x99, 0x99) out_path = "/tmp/workspace/flashcards/Kidney_Anatomy_Flashcards.docx" doc.save(out_path) print(f"Saved: {out_path}") print(f"Total sections: {len(cards)}") print(f"Total cards: {sum(len(v) for v in cards.values())}") EOF
Kidney Anatomy Flashcards
Word Document · DOCX
| Section | Cards | Topics |
|---|---|---|
| 1 | Q1–Q6 | Gross anatomy (location, hilum, pyramids, calyces, pelvis) |
| 2 | Q7–Q13 | Renal blood supply (afferent/efferent arterioles, pressures, dual capillary beds) |
| 3 | Q14–Q18 | Nephron overview (numbers, regeneration, aging, components) |
| 4 | Q19–Q25 | Glomerulus (filtration barrier, Bowman's capsule, filtrate composition, JGA, macula densa) |
| 5 | Q26–Q30 | Proximal tubule (reabsorption, brush border, glucose Tm, SGLT2) |
| 6 | Q31–Q37 | Loop of Henle (descending/ascending properties, furosemide, osmolarity values, countercurrent multiplier) |
| 7 | Q38–Q42 | Distal tubule and collecting duct (aldosterone, ADH, ENaC, principal vs. intercalated cells) |
| 8 | Q43–Q45 | Cortical vs. juxtamedullary nephrons (comparison, clinical consequences) |
| 9 | Q46–Q51 | Vasa recta (structure, countercurrent exchange, blood flow, comparison to peritubular capillaries) |
| 10 | Q52–Q56 | Urine formation (excretion equation, GFR math, handling patterns A/B/C/D) |
| 11 | Q57–Q60 | Kidney functions (all 8 functions, EPO, calcitriol, renal failure) |
| 12 | Q61–Q64 | High-yield numbers (pressures, key values, osmolarity at each segment, transport numbers) |
Summary for final exam
python3 << 'EOF' import pdfplumber pdf_path = "/tmp/workspace/attachments/e1d98b7f-6a22-4827-a188-c8429a6e57b0/John Edward Hall_ Michael Edward Hall - Guyton and Hall textbook of medical physiology-Elsevier Inc. (2021)-317-328.pdf" with pdfplumber.open(pdf_path) as pdf: print(f"Total pages: {len(pdf.pages)}") for i, page in enumerate(pdf.pages): text = page.extract_text() print(f"\n--- PAGE {i+1} ---") print(text) EOF
| Layer | Structure | Filtration Role |
|---|---|---|
| Endothelium | Fenestrated (small holes) | High water permeability; negative charges on cell proteins hinder protein filtration |
| Basement membrane | Meshwork of collagen + proteoglycan fibrillae | Main barrier to plasma proteins; strongly NEGATIVELY CHARGED (repels albumin) |
| Podocytes (epithelium) | Foot processes (pedicels) with slit pores between them | Additional charge barrier; slit diaphragms restrict protein passage |
| Substance | Molecular Weight | Filterability |
|---|---|---|
| Water, Na⁺ | 18-23 | 1.0 (freely filtered) |
| Glucose | 180 | 1.0 |
| Inulin | 5,500 | 1.0 |
| Myoglobin | 17,000 | 0.75 |
| Albumin | 69,000 | 0.005 |
GFR = Kf × Net filtration pressure
| Force | Value (mmHg) | Direction |
|---|---|---|
| Glomerular hydrostatic pressure (PG) | +60 | Favors filtration |
| Bowman's capsule colloid osmotic pressure (πB) | 0 | Favors filtration (negligible) |
| Bowman's capsule hydrostatic pressure (PB) | -18 | Opposes filtration |
| Glomerular capillary colloid osmotic pressure (πG) | -32 | Opposes filtration |
| Net filtration pressure | +10 mmHg | Net driving force |
| Physical Determinant | Physiological/Pathological Cause |
|---|---|
| ↓Kf | Renal disease, diabetes mellitus, hypertension, aging |
| ↑PB | Urinary tract obstruction (kidney stones) |
| ↑πG | ↓Renal blood flow, ↑plasma proteins |
| ↓PG | ↓Arterial pressure (limited by autoregulation) |
| ↑RA | ↑Sympathetic activity, vasoconstrictors (norepinephrine, endothelin) |
| ↑RE | Angiotensin II, drugs blocking angiotensin II formation |
RBF = (Renal artery pressure - Renal vein pressure) / Total renal vascular resistance
| Vessel | Pressure Drop | % of Total Resistance |
|---|---|---|
| Interlobar, arcuate, interlobular arteries | 100→85 mmHg | ~16% |
| Afferent arteriole | 85→60 mmHg | ~26% |
| Glomerular capillaries | 60→59 mmHg | ~1% |
| Efferent arteriole | 59→18 mmHg | ~43% (largest) |
| Peritubular capillaries | 18→8 mmHg | ~10% |
| Veins | 8→4 mmHg | ~4% |
| Hormone/Autacoid | Effect on GFR | Mechanism |
|---|---|---|
| Norepinephrine | ↓ | Constricts afferent and efferent arterioles |
| Epinephrine | ↓ | Same as above |
| Endothelin | ↓ | Potent vasoconstrictor; released by damaged endothelial cells |
| Angiotensin II | ↓ (protects from severe ↓) | Preferentially constricts efferent arterioles |
| Nitric oxide (endothelium-derived) | ↑ | Vasodilator; maintains normal renal blood flow |
| Prostaglandins (PGE₂, PGI₂) | ↑ | Vasodilators; antagonize constrictors |
| Bradykinin | ↑ | Vasodilator |
| Condition | RBF | GFR |
|---|---|---|
| Aging (>40 years) | ↓ | ↓ (~5-10%/decade) |
| High dietary protein | ↑ | ↑ |
| Hyperglycemia (early) | ↑ | ↑ |
| Obesity (early) | ↑ | ↑ |
| High NaCl intake (early) | ↑ | ↑ |
| Glucocorticoids | ↑ | ↑ |
| Fever/pyrogens | ↑ | ↑ |
Make word document keycard
python3 << 'EOF' from docx import Document from docx.shared import Pt, Inches, RGBColor from docx.enum.text import WD_ALIGN_PARAGRAPH from docx.oxml.ns import qn from docx.oxml import OxmlElement import os os.makedirs("/tmp/workspace/flashcards", exist_ok=True) doc = Document() section = doc.sections[0] section.left_margin = Inches(0.75) section.right_margin = Inches(0.75) section.top_margin = Inches(0.75) section.bottom_margin = Inches(0.75) normal = doc.styles["Normal"] normal.font.name = "Calibri" normal.font.size = Pt(11) # Color palette — teal/navy theme for Chapter 27 Q_BG_HEX = "E3F0F8" # light blue-teal – question A_BG_HEX = "FFFFFF" # white – answer BORDER_HEX = "1A5E8A" # navy – border HDR_R, HDR_G, HDR_B = 0x1A, 0x5E, 0x8A # navy ANS_R, ANS_G, ANS_B = 0x1B, 0x7A, 0x3E # green arrow def set_cell_bg(cell, hex_color): tc = cell._tc tcPr = tc.get_or_add_tcPr() shd = OxmlElement("w:shd") shd.set(qn("w:val"), "clear") shd.set(qn("w:color"), "auto") shd.set(qn("w:fill"), hex_color) tcPr.append(shd) def set_cell_border(cell, hex_color=BORDER_HEX): tc = cell._tc tcPr = tc.get_or_add_tcPr() tcBorders = OxmlElement("w:tcBorders") for side in ("top", "left", "bottom", "right"): b = OxmlElement(f"w:{side}") b.set(qn("w:val"), "single") b.set(qn("w:sz"), "8") b.set(qn("w:space"), "0") b.set(qn("w:color"), hex_color) tcBorders.append(b) tcPr.append(tcBorders) def rgb(run, r, g, b): run.font.color.rgb = RGBColor(r, g, b) def add_card(doc, q_label, question, answer): tbl = doc.add_table(rows=2, cols=1) tbl.style = "Table Grid" q_cell = tbl.rows[0].cells[0] set_cell_bg(q_cell, Q_BG_HEX) set_cell_border(q_cell, BORDER_HEX) q_para = q_cell.paragraphs[0] q_para.paragraph_format.space_before = Pt(4) q_para.paragraph_format.space_after = Pt(4) q_para.paragraph_format.left_indent = Pt(6) lbl = q_para.add_run(f"{q_label} ") lbl.bold = True; lbl.font.size = Pt(8); lbl.font.name = "Calibri" rgb(lbl, HDR_R, HDR_G, HDR_B) qr = q_para.add_run(question) qr.bold = True; qr.font.size = Pt(11); qr.font.name = "Calibri" rgb(qr, 0x1A, 0x1A, 0x2E) a_cell = tbl.rows[1].cells[0] set_cell_bg(a_cell, A_BG_HEX) set_cell_border(a_cell, BORDER_HEX) a_para = a_cell.paragraphs[0] a_para.paragraph_format.space_before = Pt(4) a_para.paragraph_format.space_after = Pt(4) a_para.paragraph_format.left_indent = Pt(6) arrow = a_para.add_run("▶ ") arrow.bold = True; arrow.font.size = Pt(10); arrow.font.name = "Calibri" rgb(arrow, ANS_R, ANS_G, ANS_B) ar = a_para.add_run(answer) ar.font.size = Pt(11); ar.font.name = "Calibri" rgb(ar, 0x1A, 0x1A, 0x1A) spacer = doc.add_paragraph() spacer.paragraph_format.space_after = Pt(2) def section_heading(doc, text): doc.add_paragraph() h = doc.add_heading(text, level=2) h.alignment = WD_ALIGN_PARAGRAPH.LEFT for run in h.runs: rgb(run, HDR_R, HDR_G, HDR_B) run.font.size = Pt(13) run.bold = True # ── Title ───────────────────────────────────────────────────────────────────── title = doc.add_heading("GFR, Renal Blood Flow & Their Control — Flashcards", level=1) title.alignment = WD_ALIGN_PARAGRAPH.CENTER for run in title.runs: rgb(run, HDR_R, HDR_G, HDR_B) run.font.size = Pt(18) run.bold = True sub = doc.add_paragraph("Guyton & Hall Medical Physiology | Chapter 27 | Final Exam Review") sub.alignment = WD_ALIGN_PARAGRAPH.CENTER sub.runs[0].font.italic = True sub.runs[0].font.size = Pt(11) rgb(sub.runs[0], 0x55, 0x55, 0x55) doc.add_paragraph() # ═══════════════════════════════════════════════════════════════════════════════ cards = { "Section 1 · Glomerular Filtrate & Basic GFR Values": [ ("Q1", "What is the normal GFR and how much urine is produced per day?", "GFR = 125 mL/min = 180 L/day.\nOf this, >99% is reabsorbed; only ~1 L/day excreted as urine.\nUrine flow rate < 1% of GFR."), ("Q2", "What is the filtration fraction and how is it calculated?", "Filtration fraction = GFR / Renal plasma flow = 125 / 625 = 0.2 (20%).\nMeaning: 20% of the plasma flowing through the kidneys is filtered."), ("Q3", "What is the composition of the glomerular filtrate?", "Protein-free and devoid of cellular elements (RBCs, WBCs, platelets).\nAll small solutes (Na+, K+, Cl-, glucose, urea, creatinine) are freely filtered at plasma concentrations.\nException: substances partially bound to proteins (e.g., ~50% of Ca2+, most fatty acids) are NOT freely filtered."), ("Q4", "What is the filterability of albumin vs. glucose?", "Glucose (MW 180): filterability = 1.0 (freely filtered as water)\nAlbumin (MW 69,000): filterability = 0.005 (almost completely excluded)\nMyoglobin (MW 17,000): filterability = 0.75\nAs molecular weight approaches albumin, filterability rapidly approaches zero."), ("Q5", "Why is albumin poorly filtered despite pore size being larger than albumin?", "Two barriers exclude albumin:\n1. SIZE: Pores ~8 nm; albumin diameter ~6 nm — near limit\n2. CHARGE: Albumin is negatively charged; GBM and podocytes are negatively charged → electrostatic REPULSION\nBoth mechanisms work together; charge is the dominant factor."), ("Q6", "How does electrical charge affect filterability?", "For any given molecular size:\n• Positively charged molecules → filtered MOST easily\n• Neutral molecules → filtered less than positive\n• Negatively charged molecules → filtered LEAST (repelled by negative charges on GBM)\nThis is demonstrated by dextran experiments with varying charges."), ], "Section 2 · Glomerular Capillary Membrane": [ ("Q7", "What are the three layers of the glomerular filtration barrier?", "1. ENDOTHELIUM — fenestrated capillary; negative charges on endothelial proteins hinder proteins\n2. BASEMENT MEMBRANE (GBM) — collagen + proteoglycan meshwork; strongly NEGATIVELY charged; main protein barrier\n3. PODOCYTES (epithelium) — foot processes (pedicels) with slit pores; additional negative charge barrier"), ("Q8", "How does the glomerular capillary membrane compare to other capillaries?", "It is THICKER but MUCH MORE POROUS → filters several hundred times more fluid per unit area.\nKf of glomerular capillaries = ~4.2 mL/min/mmHg per 100g kidney weight.\nThis is ~400 TIMES HIGHER than most other capillaries (average Kf elsewhere = ~0.01 mL/min/mmHg/100g)."), ("Q9", "What is minimal change nephropathy and what causes it?", "Glomeruli appear normal on light microscopy BUT electron microscopy shows PODOCYTE EFFACEMENT (flattening and detachment of foot processes from GBM).\nCause: Likely T-cell secreted cytokines injuring podocytes → increased permeability to albumin → PROTEINURIA/ALBUMINURIA.\nMost common in YOUNG CHILDREN; also occurs in adults with autoimmune disorders."), ("Q10", "What is the filtration coefficient (Kf) and what clinical conditions reduce it?", "Kf = hydraulic conductivity × filtering surface area of glomerular capillaries.\nNormal Kf = 12.5 mL/min per mmHg (both kidneys combined).\nConditions that REDUCE Kf:\n• Renal disease (↓ functional glomeruli → ↓ surface area)\n• Chronic uncontrolled hypertension (thickens GBM → ↓ hydraulic conductivity)\n• Diabetes mellitus, aging"), ], "Section 3 · Determinants of GFR — Forces": [ ("Q11", "Write the GFR equation and list all four Starling forces.", "GFR = Kf × Net filtration pressure\nGFR = Kf × (PG - PB - πG + πB)\n\nPG = glomerular hydrostatic pressure = +60 mmHg (FAVORS filtration)\nPB = Bowman's capsule hydrostatic pressure = -18 mmHg (OPPOSES filtration)\nπG = glomerular colloid osmotic pressure = -32 mmHg (OPPOSES filtration)\nπB = Bowman's capsule colloid osmotic pressure = 0 mmHg (negligible)\nNET = 60 - 18 - 32 = +10 mmHg"), ("Q12", "Why is Bowman's capsule colloid osmotic pressure (πB) effectively zero?", "The glomerular filtration barrier normally filters only a TINY amount of plasma protein.\nProtein concentration in the glomerular filtrate is so low that πB is negligible (essentially 0 mmHg).\nException: In glomerular disease (e.g., minimal change nephropathy) → more protein leaks → πB rises → GFR may increase slightly."), ("Q13", "How does glomerular colloid osmotic pressure (πG) change along the capillary?", "As blood flows from afferent to efferent end:\n~1/5 of plasma fluid is filtered → plasma PROTEINS CONCENTRATE ~20%\nπG rises from 28 mmHg (afferent end) to ~36 mmHg (efferent end)\nAverage πG = ~32 mmHg\nThis rising πG progressively OPPOSES filtration and limits GFR toward the efferent end."), ("Q14", "What two factors increase glomerular capillary colloid osmotic pressure?", "1. Increased ARTERIAL PLASMA colloid osmotic pressure (e.g., dehydration, high plasma proteins)\n2. Increased FILTRATION FRACTION → more plasma filtered → greater protein concentration\nNote: Decreased RBF (at constant GFR) → ↑filtration fraction → ↑πG → ↓GFR, even without any change in hydrostatic pressure."), ("Q15", "What are the normal values and net filtration pressure at the glomerulus?", "PG (glomerular hydrostatic): +60 mmHg — FAVORS filtration\nπB (Bowman's colloid osmotic): 0 mmHg\nPB (Bowman's hydrostatic): -18 mmHg — OPPOSES\nπG (glomerular colloid osmotic): -32 mmHg — OPPOSES\n\nNet filtration pressure = 60 - 18 - 32 + 0 = +10 mmHg\nGFR = 12.5 mL/min/mmHg × 10 mmHg = 125 mL/min ✓"), ], "Section 4 · Arteriolar Control of GFR": [ ("Q16", "How does AFFERENT arteriolar constriction affect GFR and RBF?", "↑ Afferent resistance → ↓ blood flow into glomerulus → ↓ glomerular hydrostatic pressure (PG) → ↓ GFR\nAlso: ↓ RBF\nConversely: DILATION of afferent arteriole → ↑PG → ↑GFR\nRule: Afferent arteriole changes always affect GFR and RBF in the SAME direction."), ("Q17", "How does EFFERENT arteriolar constriction affect GFR? (Describe the biphasic effect)", "MODERATE efferent constriction:\n• ↑ Resistance to outflow → ↑ PG → SLIGHT ↑ GFR\n• ↓ RBF\n\nSEVERE efferent constriction (>3× normal resistance):\n• ↓ RBF → ↑ filtration fraction → protein CONCENTRATES → πG rises rapidly\n• Rise in πG EXCEEDS rise in PG → Net filtration pressure FALLS → ↓ GFR\n\nRule: Efferent arteriole = BIPHASIC effect on GFR; moderate ↑GFR, severe ↓GFR."), ("Q18", "What are the three determinants of glomerular hydrostatic pressure (PG)?", "1. SYSTEMIC ARTERIAL PRESSURE — direct but buffered by autoregulation\n2. AFFERENT ARTERIOLAR RESISTANCE — ↑RA → ↓PG; ↓RA → ↑PG\n3. EFFERENT ARTERIOLAR RESISTANCE — ↑RE → ↑PG (up to a point)\n\nPrimary physiological regulation of GFR occurs mainly through changes in glomerular hydrostatic pressure."), ("Q19", "Summarize the effect of increased afferent resistance vs. efferent resistance on RBF and GFR.", "↑ AFFERENT resistance:\n→ ↓ RBF + ↓ GFR (always both decrease together)\n\n↑ EFFERENT resistance (moderate):\n→ ↓ RBF + slight ↑ GFR\n\n↑ EFFERENT resistance (severe):\n→ ↓ RBF + ↓ GFR\n\nKey distinction: Afferent changes affect GFR and RBF together; efferent changes can dissociate them."), ], "Section 5 · Renal Blood Flow": [ ("Q20", "What is normal renal blood flow and why is it so high?", "~1100 mL/min = 22% of cardiac output.\nKidneys = only 0.4% of body weight — disproportionately high perfusion.\nPurpose: NOT for metabolic needs but to supply enough PLASMA VOLUME for the high GFR (180 L/day filtered)."), ("Q21", "Where is most of the renal vascular resistance located?", "Resistance is distributed as:\n• Interlobar/arcuate/interlobular arteries: ~16%\n• AFFERENT ARTERIOLE: ~26%\n• Glomerular capillaries: ~1%\n• EFFERENT ARTERIOLE: ~43% (LARGEST single site)\n• Peritubular capillaries: ~10%\n• Veins: ~4%\n\nMost resistance: efferent arteriole (43%) then afferent arteriole (26%)."), ("Q22", "What is the formula for renal blood flow?", "RBF = (Renal artery pressure - Renal vein pressure) / Total renal vascular resistance\n\nRenal artery pressure ≈ systemic arterial pressure (~100 mmHg)\nRenal vein pressure ≈ 3-4 mmHg\nTotal renal vascular resistance = sum of all individual vascular segments"), ("Q23", "How does renal oxygen consumption relate to sodium reabsorption?", "Most renal O2 is consumed by tubular Na+ reabsorption (active transport via Na+/K+-ATPase).\nO2 consumption is proportional to the AMOUNT of Na+ reabsorbed.\nIf GFR ↓ → less Na+ filtered → less Na+ reabsorbed → O2 consumption ↓ proportionally.\nWhen GFR drops to zero: O2 consumption falls to ~1/4 normal (basal metabolic needs only)."), ("Q24", "How does medullary blood flow compare to cortical blood flow?", "CORTEX receives the vast majority of renal blood flow.\nMEDULLA receives only 1-2% of total renal blood flow via VASA RECTA.\nSluggish medullary flow is ESSENTIAL — rapid flow would wash out the medullary osmotic gradient, impairing urine concentration."), ], "Section 6 · Sympathetic & Hormonal Control": [ ("Q25", "How does sympathetic nervous system activation affect GFR?", "STRONG activation: constricts afferent AND efferent arterioles → ↓ RBF → ↓ GFR\nMODERATE/MILD activation: little effect on RBF or GFR, BUT stimulates tubular Na+ reabsorption → ↓ sodium/water excretion\nMost important role: reducing GFR during severe acute disturbances (hemorrhage, severe hypotension, brain ischemia)"), ("Q26", "What is the unique action of Angiotensin II on renal vasculature?", "Angiotensin II PREFERENTIALLY CONSTRICTS EFFERENT ARTERIOLES.\nAfferent arterioles are RELATIVELY PROTECTED by locally released vasodilators (nitric oxide + prostaglandins) that counteract Ang II.\nEffect: ↑PG (maintains GFR) + ↓RBF + ↑filtration fraction\nThis protects GFR when blood volume is depleted or arterial pressure falls."), ("Q27", "When is Angiotensin II most physiologically important for GFR maintenance?", "When: VOLUME DEPLETION, DECREASED ARTERIAL PRESSURE, or LOW-SODIUM DIET\nIn these states, Ang II rises → constricts efferent arterioles → raises PG → PREVENTS severe ↓GFR\nWithout Ang II in these states: GFR would fall to dangerously low levels\nClinical: ACE inhibitors or ARBs during renal artery stenosis → removes this protection → can cause ACUTE RENAL FAILURE"), ("Q28", "What is the clinical danger of ACE inhibitors / ARBs in renal artery stenosis?", "Renal artery stenosis → ↓ renal perfusion pressure → kidneys depend on Ang II (efferent constriction) to maintain GFR.\nACE inhibitors / ARBs block Ang II → efferent arterioles dilate → PG falls → SEVERE ↓ GFR → acute renal failure.\nMonitoring: Check creatinine and GFR closely when starting these drugs in patients with renovascular disease."), ("Q29", "How do NSAIDs affect renal blood flow and GFR?", "NSAIDs inhibit prostaglandin synthesis (block COX-1 and COX-2).\nProstaglandins (PGE2, PGI2) normally DILATE renal vasculature and BLUNT vasoconstrictor effects of sympathetics and Ang II.\nWith NSAIDs: prostaglandin-mediated vasodilation is removed → NET vasoconstriction → ↓ RBF → ↓ GFR\nMost dangerous in: volume-depleted patients, elderly, those with pre-existing renal disease or heart failure."), ("Q30", "Summarize all hormones/autacoids and their effects on GFR.", "DECREASE GFR:\n• Norepinephrine — constricts afferent + efferent arterioles\n• Epinephrine — same\n• Endothelin — powerful vasoconstrictor; released by damaged endothelium\n• Angiotensin II — preferentially constricts efferent arteriole (protective in hypoperfusion)\n\nINCREASE GFR:\n• Nitric oxide (endothelium-derived) — vasodilator; maintains normal RBF\n• Prostaglandins (PGE2, PGI2) — vasodilators; blunt constrictors\n• Bradykinin — vasodilator"), ("Q31", "What is endothelin and when is it clinically important?", "A powerful VASOCONSTRICTOR peptide released by DAMAGED vascular endothelial cells.\nIncreased plasma levels in: toxemia of pregnancy, acute renal failure, chronic uremia, atherosclerosis.\nContributes to renal vasoconstriction, ↓GFR, and elevated blood pressure in these pathological states.\nIts exact physiological role under normal conditions is not completely understood."), ("Q32", "What is the role of nitric oxide in the kidney?", "Endothelium-derived nitric oxide (NO) is a vasodilator essential for maintaining normal renal blood flow.\nNO deficiency → ↑ renal vascular resistance → ↓ GFR → ↑ blood pressure\nIn hypertension and atherosclerosis: endothelial damage → ↓ NO production → contributes to renal vasoconstriction.\nNO also counteracts Ang II constriction on afferent arterioles, protecting them from excessive constriction."), ], "Section 7 · Autoregulation of GFR and RBF": [ ("Q33", "Define renal autoregulation.", "The intrinsic ability of the kidneys to maintain relatively constant RBF and GFR despite large changes in arterial blood pressure (between ~75-160 mmHg).\nGFR changes LESS THAN 10% over this entire pressure range.\nMechanisms are INTRINSIC to the kidney — function even in isolated, blood-perfused kidneys removed from the body."), ("Q34", "Why is autoregulation of GFR so critical? Quantify the consequences without it.", "Without autoregulation: A 25% rise in BP (100 → 125 mmHg) would:\n• ↑ GFR from 180 to 225 L/day (+45 L/day)\n• If tubular reabsorption stays at 178.5 L/day → urine output rises from 1.5 to 46.5 L/day = 30-FOLD increase\n• Total plasma volume = only ~3 L → would be depleted within minutes\nAutoregulation prevents this catastrophic response."), ("Q35", "What two mechanisms does the kidney use for GFR autoregulation?", "1. TUBULOGLOMERULAR FEEDBACK (TGF) — via the juxtaglomerular apparatus (JGA); senses NaCl at macula densa\n2. MYOGENIC MECHANISM — vascular smooth muscle contracts in response to wall stretch (increased pressure)\n\nBoth mechanisms work together. When functioning simultaneously, GFR changes only a FEW PERCENT despite BP swings of 75-160 mmHg."), ("Q36", "What is 'pressure diuresis / pressure natriuresis' and why does it matter?", "Even with autoregulation, changes in arterial pressure still have SOME effect on renal excretion of water and sodium.\nHigher BP → slightly more urine and sodium output = pressure diuresis/natriuresis.\nThis residual response is CRUCIAL for long-term blood pressure regulation (pressure-natriuresis mechanism of arterial pressure control, discussed in Chapter 19/30)."), ], "Section 8 · Tubuloglomerular Feedback (TGF) Mechanism": [ ("Q37", "What are the components of the juxtaglomerular apparatus (JGA)?", "1. MACULA DENSA — specialized epithelial cells at the END of the thick ascending limb / START of distal tubule; contains Golgi apparatus directed toward arterioles; senses tubular [NaCl]\n2. JUXTAGLOMERULAR (GRANULAR) CELLS — in walls of afferent and efferent arterioles; MAJOR STORAGE SITE FOR RENIN\n3. EXTRAGLOMERULAR MESANGIAL CELLS — signal transmission between macula densa and arterioles"), ("Q38", "Trace the complete TGF feedback loop when arterial pressure FALLS (↓GFR).", "1. ↓ Arterial pressure → ↓ GFR → ↓ flow through loop of Henle\n2. More time for NaCl reabsorption in thick ascending limb\n3. ↓ [NaCl] delivered to MACULA DENSA\n4. Macula densa sends signal → TWO EFFECTS:\n a. DILATES afferent arteriole → ↑ PG → ↑ GFR (returns toward normal)\n b. INCREASES RENIN release from JG cells → Ang I → Ang II → CONSTRICTS efferent arteriole → ↑ PG → ↑ GFR\n5. GFR is restored toward normal."), ("Q39", "Trace the complete TGF feedback loop when arterial pressure RISES (↑GFR).", "1. ↑ Arterial pressure → ↑ GFR → ↑ flow through loop of Henle\n2. Less time for NaCl reabsorption → more NaCl reaches macula densa\n3. ↑ [NaCl] at MACULA DENSA\n4. Macula densa signals → CONSTRICTS afferent arteriole → ↓ PG → ↓ GFR (returns toward normal)\n5. Also → ↓ renin release → ↓ Ang II → efferent arteriole dilates slightly → further dampens GFR\n6. GFR is restored toward normal."), ("Q40", "What is the PRIMARY PURPOSE of the TGF mechanism?", "NOT to maintain GFR per se.\nPRIMARY PURPOSE: Ensure CONSTANT NaCl DELIVERY to the DISTAL TUBULE (where final urine processing occurs).\nGFR autoregulation is a CONSEQUENCE of this NaCl-delivery regulation.\nThis prevents spurious fluctuations in sodium excretion that would otherwise destabilize ECF volume."), ("Q41", "How does a HIGH-PROTEIN MEAL increase GFR via TGF?", "1. High protein meal → amino acids absorbed into blood → reach proximal tubule\n2. Amino acids co-transported with Na+ (Na+-amino acid co-transporter) → ↑ proximal NaCl reabsorption\n3. Less NaCl reaches macula densa → ↓ [NaCl] at macula densa\n4. TGF → ↓ afferent arteriolar resistance → ↑ RBF → ↑ GFR (20-30% within 1-2 hours)\n5. Result: ↑ urea and protein waste excretion; sodium balance maintained"), ("Q42", "How does HYPERGLYCEMIA (uncontrolled diabetes) increase GFR via TGF?", "1. Excess glucose → Na+-glucose co-transport in proximal tubule → ↑ proximal NaCl reabsorption\n2. ↓ NaCl at macula densa → TGF → ↑ GFR (HYPERFILTRATION)\n3. Early diabetes: ↑ RBF and ↑ GFR (same mechanism as high-protein meal)\n4. Chronic hyperfiltration → glomerular hypertrophy → glomerular injury → progressive CKD\nThis is why early diabetic nephropathy paradoxically shows ELEVATED GFR before decline."), ("Q43", "What happens when proximal tubules are DAMAGED (heavy metals, tetracyclines)?", "Proximal tubule damage → ↓ NaCl reabsorption → ↑ NaCl delivered to macula densa\n↑ [NaCl] at macula densa → TGF → ↑ AFFERENT ARTERIOLAR RESISTANCE → ↓ RBF and ↓ GFR\nThis COMPENSATORY ↓ GFR prevents excessive NaCl and volume loss that would otherwise occur\nWithout this compensation: massive urinary NaCl loss → severe volume depletion → shock"), ("Q44", "What happens to GFR when ACE inhibitors are given during RENAL HYPOPERFUSION?", "Normal: Low perfusion → ↑ Ang II → constricts efferent arterioles → maintains PG and GFR\nWith ACE inhibitor: blocks Ang II formation → efferent arterioles dilate → PG falls → GFR FALLS significantly\nClinical scenario: Renal artery stenosis + ACE inhibitor → can cause ACUTE RENAL FAILURE\nManagement: Monitor creatinine/GFR closely when starting ACE inhibitors or ARBs in patients with possible renovascular disease"), ], "Section 9 · Myogenic Autoregulation": [ ("Q45", "What is the myogenic mechanism of autoregulation?", "When arterial pressure rises → vessel walls are STRETCHED → smooth muscle contracts (Ca2+ enters via stretch-activated channels) → ↑ vascular resistance → prevents excessive ↑ in RBF and GFR.\nOccurs in arterioles throughout the body but is especially studied in renal afferent arterioles.\nKey advantage: Response occurs within SECONDS of pressure increase → faster than TGF."), ("Q46", "What is the key limitation of the myogenic mechanism?", "It has NO MEANS of directly detecting changes in GFR or RBF per se.\nIt only responds to WALL TENSION/STRETCH (i.e., intraluminal pressure).\nTherefore, it cannot respond to changes in GFR caused by factors other than pressure changes (e.g., changes in plasma colloid osmotic pressure).\nTGF is the more specific GFR-sensing mechanism; myogenic is a backup/protector."), ("Q47", "What is the main protective role of myogenic autoregulation?", "Protecting the kidney from HYPERTENSION-INDUCED INJURY.\nSudden increases in blood pressure → rapid myogenic constriction of afferent arterioles (within seconds) → attenuates transmission of elevated arterial pressure to glomerular capillaries → prevents pressure-induced glomerular damage."), ], "Section 10 · Factors Affecting RBF & GFR — Clinical Table": [ ("Q48", "Summarize conditions that DECREASE GFR with their mechanisms.", "↓ Kf: Renal disease, diabetes, hypertension, aging (↓ surface area or ↑ GBM thickness)\n↑ PB: Urinary tract obstruction (kidney stones) → ↑ Bowman's capsule pressure\n↑ πG: ↓ RBF or ↑ plasma proteins → greater protein concentration in glomerulus\n↓ PG: ↓ Arterial pressure (limited by autoregulation); afferent vasoconstriction\n↑ RA: Sympathetic activation, norepinephrine, endothelin, angiotensin II (excess)\n↑ RE (severe): Severe efferent constriction → ↑ πG exceeds ↑ PG → ↓ net filtration"), ("Q49", "Summarize conditions that INCREASE GFR with their mechanisms.", "↑ Kf: Some early kidney conditions (not commonly a regulated mechanism)\n↓ PB: Relief of urinary obstruction\n↓ πG: ↑ RBF (lower filtration fraction) or ↓ plasma proteins\n↑ PG: ↑ Arterial pressure (mild effect due to autoregulation); afferent vasodilation; moderate efferent constriction\n↓ RA: Prostaglandins, nitric oxide, bradykinin, low macula densa NaCl (TGF)\nConditions: High protein meal, early hyperglycemia, early obesity, fever, glucocorticoids"), ("Q50", "How does AGING affect renal blood flow and GFR?", "After age 40: GFR declines ~5-10% PER DECADE.\nBy age 80: substantially reduced GFR and RBF.\nMechanisms: ↓ nitric oxide, ↑ oxidative stress, loss of nephrons, cumulative glomerular injury from BP, metabolic disorders.\nSex difference: Men have higher RBF and GFR than women (corrected for body mass) BUT decline MORE RAPIDLY with aging than premenopausal women (estrogens are protective; androgens are damaging)."), ], "Section 11 · High-Yield Numbers & Equations": [ ("Q51", "List all key numbers for Chapter 27.", "GFR = 125 mL/min = 180 L/day\nFilteration fraction = 0.2 (20%)\nRenal plasma flow = 625 mL/min\nRenal blood flow = 1,100 mL/min = 22% of cardiac output\nPG = 60 mmHg | PB = 18 mmHg | πG = 32 mmHg | πB = 0 mmHg\nNet filtration pressure = 10 mmHg\nKf = 12.5 mL/min/mmHg (400× higher than most tissues)\nAutoregulation range: 75-160 mmHg (GFR changes <10%)\nπG rises: 28 mmHg (afferent) → 36 mmHg (efferent); average = 32 mmHg\nAlbumin filterability = 0.005; albumin diameter = 6 nm; pore size ≈ 8 nm"), ("Q52", "What is the quantitative effect on urine output of a 10% rise in GFR without autoregulation?", "GFR rises: 180 → 198 L/day (+18 L/day)\nIf tubular reabsorption stays constant at 178.5 L/day:\nUrine output: 1.5 → 19.5 L/day = 13-FOLD INCREASE\n\nWith 25% rise in BP (100→125 mmHg) without autoregulation:\nGFR rises 180 → 225 L/day\nUrine output: 1.5 → 46.5 L/day = 30-FOLD INCREASE (plasma volume = 3L → depleted within minutes)\nThis demonstrates why autoregulation is essential."), ("Q53", "Outline the complete renin-angiotensin pathway triggered by TGF.", "↓ [NaCl] at macula densa\n→ JG (granular) cells in afferent/efferent arteriole walls\n→ RENIN released\n→ Cleaves angiotensinogen (liver) → ANGIOTENSIN I\n→ ACE (lung and kidney) converts → ANGIOTENSIN II\n→ Preferentially constricts EFFERENT arterioles\n→ ↑ PG → ↑ GFR\n→ Also: ↑ tubular Na+ reabsorption; ↑ aldosterone secretion (adrenal cortex)"), ], } for section_title, card_list in cards.items(): section_heading(doc, section_title) for card in card_list: add_card(doc, *card) # Footer doc.add_paragraph() fp = doc.add_paragraph("Guyton & Hall Medical Physiology, 14th ed. | Chapter 27 | 53 Flashcards | Final Exam Review") fp.alignment = WD_ALIGN_PARAGRAPH.CENTER fp.runs[0].font.size = Pt(9) fp.runs[0].font.italic = True rgb(fp.runs[0], 0x99, 0x99, 0x99) out_path = "/tmp/workspace/flashcards/GFR_RenalBloodFlow_Flashcards.docx" doc.save(out_path) print(f"Saved: {out_path}") print(f"Total sections: {len(cards)}") print(f"Total cards: {sum(len(v) for v in cards.values())}") EOF
GFR RenalBloodFlow Flashcards
Word Document · DOCX
| Section | Cards | Topics |
|---|---|---|
| 1 | Q1–Q6 | Filtrate composition, GFR, filtration fraction, filterability by size and charge |
| 2 | Q7–Q10 | Glomerular membrane (3 layers, Kf, minimal change nephropathy) |
| 3 | Q11–Q15 | Starling forces — full equation, all 4 forces, net filtration pressure (+10 mmHg) |
| 4 | Q16–Q19 | Afferent vs. efferent arteriolar control (biphasic efferent effect) |
| 5 | Q20–Q24 | Renal blood flow (1100 mL/min, vascular resistance distribution, O₂ consumption) |
| 6 | Q25–Q32 | Sympathetic, Ang II, NSAIDs, nitric oxide, endothelin, prostaglandins — full hormonal table |
| 7 | Q33–Q36 | Autoregulation definition, why it matters, quantitative consequences without it |
| 8 | Q37–Q44 | TGF mechanism — JGA anatomy, both directions of feedback, high-protein meal, hyperglycemia, proximal damage, ACE inhibitors |
| 9 | Q45–Q47 | Myogenic mechanism — how it works, its limitation, its protective role |
| 10 | Q48–Q50 | Clinical table — conditions that ↓GFR vs. ↑GFR; aging |
| 11 | Q51–Q53 | High-yield numbers, 30-fold urine output example, full renin-Ang II pathway |
Acid-Base Regulation keycards
python3 << 'EOF' from docx import Document from docx.shared import Pt, Inches, RGBColor from docx.enum.text import WD_ALIGN_PARAGRAPH from docx.oxml.ns import qn from docx.oxml import OxmlElement import os os.makedirs("/tmp/workspace/flashcards", exist_ok=True) doc = Document() sec = doc.sections[0] sec.left_margin = sec.right_margin = Inches(0.75) sec.top_margin = sec.bottom_margin = Inches(0.75) doc.styles["Normal"].font.name = "Calibri" doc.styles["Normal"].font.size = Pt(11) # Crimson / dark-red theme for Acid-Base Q_BG = "FDECEA" # very light red – question A_BG = "FFFFFF" # white – answer BORDER = "8B1A1A" # dark red border HR, HG, HB = 0x8B, 0x1A, 0x1A # heading red AR, AG, AB = 0x1A, 0x6B, 0x2E # green arrow def set_bg(cell, hex_col): tc = cell._tc; tcPr = tc.get_or_add_tcPr() shd = OxmlElement("w:shd") shd.set(qn("w:val"), "clear"); shd.set(qn("w:color"), "auto") shd.set(qn("w:fill"), hex_col); tcPr.append(shd) def set_border(cell, col=BORDER): tc = cell._tc; tcPr = tc.get_or_add_tcPr() tcB = OxmlElement("w:tcBorders") for s in ("top","left","bottom","right"): b = OxmlElement(f"w:{s}") b.set(qn("w:val"),"single"); b.set(qn("w:sz"),"8") b.set(qn("w:space"),"0"); b.set(qn("w:color"), col) tcB.append(b) tcPr.append(tcB) def rgb(run, r, g, b): run.font.color.rgb = RGBColor(r, g, b) def card(doc, label, q, a): tbl = doc.add_table(rows=2, cols=1); tbl.style = "Table Grid" # Q row qc = tbl.rows[0].cells[0]; set_bg(qc, Q_BG); set_border(qc) qp = qc.paragraphs[0] qp.paragraph_format.space_before = qp.paragraph_format.space_after = Pt(4) qp.paragraph_format.left_indent = Pt(6) lr = qp.add_run(f"{label} "); lr.bold=True; lr.font.size=Pt(8); lr.font.name="Calibri"; rgb(lr,HR,HG,HB) qr = qp.add_run(q); qr.bold=True; qr.font.size=Pt(11); qr.font.name="Calibri"; rgb(qr,0x1A,0x1A,0x2E) # A row ac = tbl.rows[1].cells[0]; set_bg(ac, A_BG); set_border(ac) ap = ac.paragraphs[0] ap.paragraph_format.space_before = ap.paragraph_format.space_after = Pt(4) ap.paragraph_format.left_indent = Pt(6) av = ap.add_run("▶ "); av.bold=True; av.font.size=Pt(10); av.font.name="Calibri"; rgb(av,AR,AG,AB) ar = ap.add_run(a); ar.font.size=Pt(11); ar.font.name="Calibri"; rgb(ar,0x1A,0x1A,0x1A) sp = doc.add_paragraph(); sp.paragraph_format.space_after = Pt(2) def heading(doc, text): doc.add_paragraph() h = doc.add_heading(text, level=2); h.alignment = WD_ALIGN_PARAGRAPH.LEFT for r in h.runs: rgb(r,HR,HG,HB); r.font.size=Pt(13); r.bold=True # ── Title ───────────────────────────────────────────────────────────────────── t = doc.add_heading("Acid-Base Regulation — Flashcards", level=1) t.alignment = WD_ALIGN_PARAGRAPH.CENTER for r in t.runs: rgb(r,HR,HG,HB); r.font.size=Pt(20); r.bold=True s = doc.add_paragraph("Guyton & Hall Medical Physiology | Chapter 31 | Final Exam Review") s.alignment = WD_ALIGN_PARAGRAPH.CENTER s.runs[0].font.italic=True; s.runs[0].font.size=Pt(11); rgb(s.runs[0],0x55,0x55,0x55) doc.add_paragraph() # ═══════════════════════════════════════════════════════════════════════════════ data = { "Section 1 · Core pH & Buffer Concepts": [ ("Q1","What is the normal arterial blood pH and H+ concentration?", "Normal pH = 7.4 (range 7.35-7.45).\nH+ concentration = 40 nEq/L (0.00004 mEq/L — extremely small vs Na+ at 142 mEq/L).\npH and [H+] are INVERSELY related: pH ↑ → [H+] ↓ (alkalosis); pH ↓ → [H+] ↑ (acidosis)."), ("Q2","What are the life-threatening pH limits?", "Lower limit: pH 6.8 ([H+] ~160 nEq/L)\nUpper limit: pH 8.0 ([H+] ~16 nEq/L)\nThese are LETHAL extremes — beyond either limit, death occurs rapidly without intervention."), ("Q3","Define a BUFFER and give the three body buffer systems.", "A buffer is any substance that prevents large changes in pH when an acid or base is added.\nThree body buffer systems:\n1. BICARBONATE buffer system (most important in ECF)\n2. PHOSPHATE buffer system (important in ICF and renal tubules)\n3. PROTEIN buffer system (most powerful intracellular buffer; includes hemoglobin in RBCs)"), ("Q4","What is the Henderson-Hasselbalch equation for the bicarbonate system?", "pH = pKa + log ([HCO3-] / [CO2])\npH = 6.1 + log (24 mEq/L / 1.2 mmol/L)\npH = 6.1 + log (20)\npH = 6.1 + 1.3 = 7.4 ✓\n\nKey ratio: [HCO3-] / [CO2] = 20:1 at normal pH 7.4.\nAltering either the numerator (HCO3-) or denominator (CO2) changes pH."), ("Q5","Why is the bicarbonate buffer system so powerful despite a pKa of only 6.1?", "Normally a buffer works best at pH near its pKa (6.1). The HCO3- system seems poor at pH 7.4.\nBUT it is powerful because:\n1. CO2 is REGULATED by the LUNGS (respiratory control) — can be blown off or retained rapidly\n2. HCO3- is REGULATED by the KIDNEYS (renal control) — can be excreted or retained over hours/days\nThis open-system design allows INFINITE buffering capacity as long as lungs/kidneys function."), ("Q6","What is the isohydric principle?", "ALL buffer systems in body fluids are in EQUILIBRIUM with the same [H+].\nAny change in [H+] causes a shift in ALL buffer systems simultaneously.\nPractical use: measuring ONE buffer system (e.g., HCO3-/CO2) tells you the state of ALL buffers in that compartment."), ], "Section 2 · Respiratory Regulation of Acid-Base": [ ("Q7","How do the lungs regulate acid-base balance?", "Lungs control PaCO2 by adjusting ventilation:\n↑ Ventilation → ↓ PaCO2 → ↓ [H+] → ↑ pH (less acidic)\n↓ Ventilation → ↑ PaCO2 → ↑ [H+] → ↓ pH (more acidic)\n\nCO2 + H2O ⇌ H2CO3 ⇌ H+ + HCO3-\nThe lungs eliminate ~13,000 mEq of H+ per day as CO2 (volatile acid)."), ("Q8","How sensitive is the respiratory center to changes in pH?", "Extremely sensitive: a pH drop of 0.1 unit DOUBLES the respiratory rate.\nMechanism: H+ (and CO2) directly stimulate the medullary respiratory center.\nSpeed: Respiratory compensation begins within MINUTES; nearly maximal within 1-2 hours.\nLimitation: Can compensate 50-75% of an acid-base disturbance but NEVER returns pH fully to 7.4 (complete compensation requires kidneys)."), ("Q9","What is the normal PaCO2 and how does it relate to ventilation?", "Normal PaCO2 = 40 mmHg.\n[H2CO3] (dissolved CO2) = PaCO2 × 0.03 = 1.2 mmol/L\n\n↑ Ventilation (2×) → PaCO2 falls to ~20 mmHg → pH rises to ~7.7\n↓ Ventilation (½) → PaCO2 rises to ~80 mmHg → pH falls to ~7.0\n\nLungs eliminate ~200 mL CO2/min under normal conditions."), ("Q10","What is the respiratory response to METABOLIC ACIDOSIS?", "Metabolic acidosis → ↓ pH → stimulates chemoreceptors → ↑ ventilation → ↓ PaCO2\nKussmaul breathing: deep, rapid breathing seen in severe metabolic acidosis (e.g., diabetic ketoacidosis)\nCompensation: PaCO2 falls by ~1.2 mmHg for every 1 mEq/L fall in HCO3-\nExample: HCO3- drops 10 mEq/L → PaCO2 expected to fall ~12 mmHg (from 40 to ~28 mmHg)"), ("Q11","What is the respiratory response to METABOLIC ALKALOSIS?", "Metabolic alkalosis → ↑ pH → inhibits chemoreceptors → ↓ ventilation → ↑ PaCO2\nCompensation: PaCO2 rises ~0.7 mmHg for every 1 mEq/L rise in HCO3-\nLimited: Hypoxia (↓ PO2) eventually stimulates breathing → PaCO2 rarely rises above ~55-60 mmHg\nResult: Respiratory compensation for metabolic alkalosis is less complete than for metabolic acidosis"), ], "Section 3 · Renal Regulation — H+ Secretion & HCO3- Reabsorption": [ ("Q12","What is the kidneys' overall role in acid-base regulation?", "Kidneys regulate acid-base by:\n1. Excreting FIXED ACIDS (H2SO4, H3PO4 from protein metabolism) — ~50-100 mEq/day\n2. Reabsorbing virtually ALL filtered HCO3- (~4,320 mEq/day filtered; almost all reclaimed)\n3. Generating NEW HCO3- to replace that lost buffering fixed acids\nSpeed: Slower than respiratory (hours to days) but CAPABLE OF COMPLETE CORRECTION of pH."), ("Q13","Where does renal H+ secretion occur and by what mechanisms?", "PROXIMAL TUBULE: ~85% of filtered HCO3- reabsorbed; H+ secreted via Na+/H+ antiporter (NHE3)\nTHICK ASCENDING LIMB: significant HCO3- reabsorption\nDISTAL TUBULE and COLLECTING DUCT: Fine adjustment; H+ secreted via H+-ATPase (proton pump) and H+/K+-ATPase in alpha-intercalated cells\n\nTotal daily H+ secretion: ~4,400 mEq/day (most recombines with HCO3-; only 50-100 mEq truly excreted as titratable acid + NH4+)"), ("Q14","How is HCO3- reabsorbed in the proximal tubule?", "1. H+ secreted into tubular lumen via Na+/H+ antiporter (NHE3)\n2. H+ + HCO3- (filtered) → H2CO3 → CO2 + H2O (catalyzed by CARBONIC ANHYDRASE on brush border)\n3. CO2 diffuses INTO tubular cell\n4. Inside cell: CO2 + H2O → H2CO3 → H+ + HCO3- (carbonic anhydrase again)\n5. H+ recycled back into lumen; HCO3- exits basolateral side via Na+/HCO3- co-transporter → blood\n\nNet result: HCO3- 'reabsorbed' without ever directly crossing the luminal membrane."), ("Q15","What is the maximum urine pH that can be achieved by H+ secretion alone?", "Minimum urine pH ≈ 4.5 ([H+] = ~0.03 mEq/L)\nAt pH 4.5, further H+ secretion is impossible because the tubular cell [H+] gradient becomes too steep (1000:1 gradient between cell and lumen)\n\nProblем: Only 0.03 mEq/L free H+ can be excreted at pH 4.5 → only ~0.05 mEq/day of FREE H+ excreted\nSolution: Buffers (phosphate and ammonia) allow excretion of far more H+ without lowering pH below 4.5"), ], "Section 4 · Urinary Buffers — Phosphate & Ammonia": [ ("Q16","How does the phosphate buffer system allow increased H+ excretion?", "HPO4²- (filtered) + H+ → H2PO4- (excreted as titratable acid)\nThis reaction is IRREVERSIBLE in the tubule — H+ is trapped and excreted.\nNormal titratable acid excretion: ~20 mEq/day\nIn acidosis: ↑ plasma phosphate + ↑ H+ secretion → more titratable acid formed → up to ~30-40 mEq/day\nLimitation: Phosphate supply is limited — can only increase modestly."), ("Q17","What is the ammonium (NH4+) buffer system and why is it important?", "NH3 (ammonia) + H+ → NH4+ (ammonium)\nNH4+ is IONIC → cannot diffuse back across tubular cell membrane → TRAPPED in lumen → excreted\n\nNormal NH4+ excretion: ~50 mEq/day (largest fraction of net acid excretion)\nIn SEVERE ACIDOSIS: NH4+ excretion can increase to 300-500 mEq/day (10× normal!)\nPhosphate has no such large reserve — ammonia is the KEY buffer for large acid loads"), ("Q18","Where is ammonia produced and how does it reach the tubule?", "PRIMARY SOURCE: Glutamine metabolism in PROXIMAL TUBULE cells\nGlutamine → 2 NH4+ + 2 HCO3- (via glutaminase and glutamate dehydrogenase)\nNH4+ secreted into proximal tubular lumen via NHE3 (substituting for H+)\nNH3 diffuses into thick ascending limb interstitium → enters collecting duct lumen by 'diffusion trapping'\nIn collecting duct: NH3 + secreted H+ → NH4+ → excreted in urine\n\nBonus: Each NH4+ excreted = 1 new HCO3- added to blood"), ("Q19","What is 'diffusion trapping' of NH4+ in the collecting duct?", "The collecting duct lumen has LOW pH (acid urine) while the interstitium has higher pH.\nNH3 (uncharged, lipid-soluble) diffuses FROM medullary interstitium INTO the acidic tubular lumen.\nOnce in the lumen, NH3 + H+ → NH4+ (ionic, can't diffuse back) → TRAPPED → excreted.\nAcid urine amplifies this trapping: lower urine pH → more complete trapping → more NH4+ excreted.\nThis is why acidotic patients increase NH4+ excretion — lower urine pH enhances diffusion trapping."), ("Q20","How much net acid does the kidney excrete per day normally vs. in acidosis?", "Normal net acid excretion: ~50-100 mEq/day\n• Titratable acid (mainly phosphate): ~20 mEq/day\n• Ammonium (NH4+): ~50 mEq/day\n• Minus filtered HCO3- that appears in urine (usually ~0 at normal pH)\n\nIn severe acidosis: NH4+ rises to 300-500 mEq/day → total net acid excretion can reach ~500 mEq/day\nThis massive increase is essential for surviving severe metabolic acidosis (e.g., DKA, lactic acidosis)"), ], "Section 5 · New HCO3- Generation": [ ("Q21","How do the kidneys generate NEW bicarbonate?", "When H+ is secreted into the tubule and combines with a NON-HCO3- buffer:\n• With HPO4²-: forms H2PO4- (titratable acid) → excreted\n• With NH3: forms NH4+ → excreted\nIn both cases: For each H+ excreted, ONE NEW HCO3- is added to the blood.\n\nThis new HCO3- REPLACES the HCO3- consumed when buffering fixed acids in the body.\nKey concept: HCO3- reabsorption = reclaiming what was filtered; NEW HCO3- generation = true acid excretion."), ("Q22","What is the difference between HCO3- REABSORPTION and NEW HCO3- GENERATION?", "HCO3- REABSORPTION (~4,320 mEq/day):\n• Reclaims filtered HCO3- that was not yet consumed\n• H+ secreted → combines with filtered HCO3- → CO2 exits (recycled)\n• Net result: plasma HCO3- maintained, not increased\n\nNEW HCO3- GENERATION (~50-100 mEq/day):\n• H+ secreted → combines with phosphate or NH3 → excreted as titratable acid or NH4+\n• New HCO3- created intracellularly → enters blood\n• Net result: plasma HCO3- actually INCREASES → corrects metabolic acidosis"), ], "Section 6 · Regulation of Renal H+ Secretion": [ ("Q23","List the four main factors that regulate renal H+ secretion.", "1. ARTERIAL PaCO2 — ↑ PaCO2 → ↑ H+ secretion and ↑ HCO3- reabsorption\n2. ARTERIAL pH — ↓ pH (acidosis) → ↑ H+ secretion; ↑ pH (alkalosis) → ↓ H+ secretion\n3. ALDOSTERONE — ↑ aldosterone → ↑ H+ secretion by alpha-intercalated cells → metabolic alkalosis\n4. PLASMA HCO3- CONCENTRATION — ↑ filtered HCO3- load → ↑ HCO3- in tubular lumen → more combines with secreted H+ → ↑ net reabsorption"), ("Q24","How does aldosterone affect acid-base balance?", "Aldosterone stimulates H+ secretion (via H+-ATPase in alpha-intercalated cells of collecting duct).\nAlso stimulates Na+ reabsorption (ENaC) → ↑ tubular electronegativity → drives H+ secretion.\n\nEXCESS aldosterone (primary hyperaldosteronism / Conn syndrome):\n→ Excess H+ secretion → excess HCO3- reabsorption → METABOLIC ALKALOSIS\n→ Hypokalemia (K+ lost; K+ and H+ compete for secretion)\n\nAldosterone DEFICIENCY (Addison disease):\n→ ↓ H+ secretion → METABOLIC ACIDOSIS + hyperkalemia"), ("Q25","How does hypokalemia cause metabolic alkalosis?", "Mechanism: K+ depletion → K+ moves OUT of cells in exchange for H+ moving INTO cells\n→ Intracellular ACIDOSIS (H+ enters cells)\n→ In renal tubular cells: intracellular H+ ↑ → ↑ H+ secretion into tubular lumen\n→ ↑ HCO3- reabsorption → metabolic ALKALOSIS in ECF\n\nConversely: Hyperkalemia → K+ enters cells in exchange for H+ leaving → ↓ intracellular H+ → ↓ H+ secretion → metabolic ACIDOSIS"), ], "Section 7 · The Four Primary Acid-Base Disorders": [ ("Q26","Define and list the causes of METABOLIC ACIDOSIS.", "Definition: ↓ HCO3- (primary), compensatory ↓ PaCO2, pH < 7.35\n\nCauses (by mechanism):\n• INCREASED ACID PRODUCTION: DKA, lactic acidosis, salicylate toxicity, methanol/ethylene glycol\n• DECREASED ACID EXCRETION: Renal failure (can't excrete H+/NH4+), RTA (renal tubular acidosis)\n• HCO3- LOSS: Diarrhea (large HCO3- loss in stool), pancreatic fistula\n• ADDITION: Ammonium chloride ingestion\n\nCompensation: Kussmaul breathing (↑ ventilation → ↓ PaCO2)"), ("Q27","Define and list the causes of METABOLIC ALKALOSIS.", "Definition: ↑ HCO3- (primary), compensatory ↑ PaCO2, pH > 7.45\n\nCauses:\n• LOSS OF H+: Vomiting (loss of HCl), nasogastric suction\n• GAIN OF HCO3-: Excess antacid use (milk-alkali syndrome), massive blood transfusion (citrate → HCO3-)\n• ALDOSTERONE EXCESS: Primary hyperaldosteronism (Conn), Cushing syndrome, exogenous corticosteroids\n• DIURETICS: Loop and thiazide diuretics (volume contraction → ↑ aldosterone + direct H+ loss)\n• HYPOKALEMIA: Shifts H+ intracellularly → ↑ tubular H+ secretion\n\nCompensation: Hypoventilation (↑ PaCO2) — limited by developing hypoxia"), ("Q28","Define and list the causes of RESPIRATORY ACIDOSIS.", "Definition: ↑ PaCO2 (primary), compensatory ↑ HCO3-, pH < 7.35\n\nCauses: Anything that reduces alveolar ventilation:\n• CNS depression: Opioids, sedatives, barbiturates, brainstem lesion\n• Neuromuscular disease: Guillain-Barré, myasthenia gravis, ALS\n• Airway obstruction: Severe asthma, COPD exacerbation, foreign body\n• Chest wall disease: Kyphoscoliosis, flail chest\n• Parenchymal disease: Severe pneumonia, ARDS\n\nAcute compensation: Tissue buffers (proteins, Hb) — HCO3- ↑ only ~1 mEq/L per 10 mmHg ↑PaCO2\nChronic compensation: Kidneys ↑ H+ secretion and HCO3- reabsorption — HCO3- ↑ ~3.5 mEq/L per 10 mmHg ↑PaCO2"), ("Q29","Define and list the causes of RESPIRATORY ALKALOSIS.", "Definition: ↓ PaCO2 (primary), compensatory ↓ HCO3-, pH > 7.45\n\nCauses: Anything that increases alveolar ventilation:\n• Hyperventilation: Anxiety/panic attacks (most common), pain, fever\n• Hypoxia: High altitude, pulmonary embolism, severe anemia → hypoxic drive\n• CNS stimulation: Salicylate toxicity (early), brainstem lesion, meningitis\n• Mechanical ventilation: Excessive respiratory rate\n• Pregnancy: Progesterone stimulates respiratory center → mild respiratory alkalosis\n\nAcute compensation: Tissue buffers — HCO3- ↓ ~2 mEq/L per 10 mmHg ↓PaCO2\nChronic compensation: Kidneys ↓ H+ secretion — HCO3- ↓ ~5 mEq/L per 10 mmHg ↓PaCO2"), ("Q30","Complete the acid-base compensation table.", "METABOLIC ACIDOSIS: ↓HCO3-, ↓PaCO2 (compensation), pH ↓\n Expected PaCO2 = 1.5×[HCO3-] + 8 ± 2 (Winter's formula)\n\nMETABOLIC ALKALOSIS: ↑HCO3-, ↑PaCO2 (compensation), pH ↑\n Expected PaCO2 = 0.7×[HCO3-] + 21 ± 2\n\nRESPIRATORY ACIDOSIS: ↑PaCO2, ↑HCO3- (compensation), pH ↓\n Acute: HCO3- ↑ 1 mEq/L per 10 mmHg ↑PaCO2\n Chronic: HCO3- ↑ 3.5 mEq/L per 10 mmHg ↑PaCO2\n\nRESPIRATORY ALKALOSIS: ↓PaCO2, ↓HCO3- (compensation), pH ↑\n Acute: HCO3- ↓ 2 mEq/L per 10 mmHg ↓PaCO2\n Chronic: HCO3- ↓ 5 mEq/L per 10 mmHg ↓PaCO2"), ], "Section 8 · Renal Tubular Acidosis (RTA)": [ ("Q31","What is Renal Tubular Acidosis (RTA)? Describe Type 1 and Type 2.", "RTA = inability of the kidneys to adequately excrete H+ despite systemic acidosis.\nAll types: metabolic acidosis + normal anion gap + inappropriate urine pH.\n\nTYPE 1 (Distal RTA):\n• Defect: Alpha-intercalated cells CANNOT secrete H+ in collecting duct\n• Result: Cannot acidify urine below pH 5.5 (normal minimum = 4.5)\n• Urine pH paradoxically > 5.5 in severe acidosis\n• Causes: Autoimmune (Sjögren), amphotericin B, lithium, medullary sponge kidney\n• Complication: Nephrolithiasis, nephrocalcinosis (alkaline urine → CaPO4 stones)\n\nTYPE 2 (Proximal RTA):\n• Defect: Proximal tubule CANNOT reabsorb HCO3-\n• Result: HCO3- spills into urine; once plasma HCO3- falls low enough, distal tubule can re-acidify\n• Urine pH < 5.5 when serum HCO3- is very low\n• Causes: Fanconi syndrome, multiple myeloma, Wilson disease, carbonic anhydrase inhibitors (acetazolamide)"), ("Q32","What is Type 4 RTA (Hyperkalemic RTA)?", "TYPE 4 RTA:\n• Mechanism: ALDOSTERONE DEFICIENCY or resistance → ↓ H+ secretion + ↓ K+ secretion\n• Result: Metabolic acidosis + HYPERKALEMIA (distinctive feature)\n• Hyperkalemia → K+ enters cells, H+ exits → ↓ intracellular H+ in tubular cells → ↓ NH3 production → ↓ NH4+ excretion\n• Causes: Diabetic nephropathy (most common), Addison disease, ACE inhibitors/ARBs, K+-sparing diuretics, NSAIDs\n• Urine pH may be appropriately acidic (< 5.5) — unlike Type 1"), ], "Section 9 · Anion Gap": [ ("Q33","What is the anion gap and how is it calculated?", "Anion gap = Na+ - (Cl- + HCO3-)\nNormal = 8-12 mEq/L (some labs: 12 ± 2 mEq/L)\nRepresents unmeasured anions (albumin, phosphate, sulfate, organic acids).\n\nPURPOSE: Determines the CAUSE of metabolic acidosis:\n• HIGH anion gap: Acid added to blood — H+ consumed HCO3-, replaced by unmeasured anion\n• NORMAL anion gap (hyperchloremic): HCO3- lost directly (replaced by Cl-), no new acid"), ("Q34","List causes of HIGH anion gap metabolic acidosis (MUDPILES).", "M — Methanol (formic acid)\nU — Uremia (renal failure — sulfate, phosphate, organic acids)\nD — Diabetic ketoacidosis (beta-hydroxybutyrate, acetoacetate)\nP — Propylene glycol / Paraldehyde\nI — Isoniazid / Iron / Inborn errors of metabolism\nL — Lactic acidosis (Type A: hypoxia; Type B: drugs, liver failure)\nE — Ethylene glycol (oxalic acid)\nS — Salicylates (aspirin overdose)\n\nAll involve ADDITION of an acid that consumes HCO3- and adds an unmeasured anion."), ("Q35","List causes of NORMAL anion gap (hyperchloremic) metabolic acidosis.", "Mnemonic: USED CARP\nU — Ureteral diversion (ileal conduit, ureterosigmoidostomy)\nS — Small bowel fistula\nE — Extra Cl- (saline infusion — dilutional acidosis)\nD — Diarrhea (most common — large intestinal HCO3- loss)\nC — Carbonic anhydrase inhibitors (acetazolamide → proximal HCO3- loss)\nA — Adrenal insufficiency (Type 4 RTA)\nR — RTA (Types 1, 2, 4)\nP — Pancreatic fistula (pancreatic juice rich in HCO3-)\n\nHCO3- loss is directly replaced by Cl- → anion gap normal; Cl- rises."), ], "Section 10 · Clinical Diagnosis of Acid-Base Disorders": [ ("Q36","What are the six steps in acid-base interpretation?", "1. Check pH → acidosis (<7.35) or alkalosis (>7.45)?\n2. Check PaCO2 and HCO3- → which is primary disturbance?\n3. Determine primary disorder (metabolic vs. respiratory)\n4. Calculate EXPECTED COMPENSATION — is it appropriate?\n5. If compensation is inadequate or excessive → mixed disorder\n6. Calculate ANION GAP (if metabolic acidosis) → high vs. normal gap\n\nKey rule: Compensation never OVERCORRECTS pH."), ("Q37","How do you determine if compensation is appropriate in metabolic acidosis?", "WINTER'S FORMULA for metabolic acidosis:\nExpected PaCO2 = (1.5 × HCO3-) + 8 ± 2\n\nExample: HCO3- = 12 mEq/L\nExpected PaCO2 = (1.5 × 12) + 8 = 18 + 8 = 26 ± 2 mmHg (expected range: 24-28)\n\nIf actual PaCO2 = 26 → appropriate respiratory compensation\nIf actual PaCO2 = 40 → PaCO2 too high for degree of acidosis → ADDITIONAL respiratory acidosis (mixed disorder)\nIf actual PaCO2 = 18 → PaCO2 too low → ADDITIONAL respiratory alkalosis (mixed disorder)"), ("Q38","Describe the blood gas findings in each of the four primary disorders.", "METABOLIC ACIDOSIS: pH ↓, HCO3- ↓ (primary), PaCO2 ↓ (compensation)\nMETABOLIC ALKALOSIS: pH ↑, HCO3- ↑ (primary), PaCO2 ↑ (compensation)\nRESPIRATORY ACIDOSIS: pH ↓, PaCO2 ↑ (primary), HCO3- ↑ (compensation)\nRESPIRATORY ALKALOSIS: pH ↑, PaCO2 ↓ (primary), HCO3- ↓ (compensation)\n\nMemory tip: Primary change and compensation change always move in the SAME DIRECTION for HCO3- and PaCO2."), ], "Section 11 · Clinical Conditions & Special Topics": [ ("Q39","How does the body handle an acid load step by step?", "1. IMMEDIATE (seconds): Chemical buffers — HCO3- (ECF), proteins, hemoglobin (ICF/RBC), bone\n2. MINUTES-HOURS: Respiratory compensation — ↑ ventilation → ↓ PaCO2 → ↑ pH\n3. HOURS-DAYS: Renal compensation — ↑ H+ secretion, ↑ NH4+ production, ↑ new HCO3- generation\n\nSpeed: Buffers > Respiratory > Renal\nCompleteness: Renal > Respiratory > Buffers alone\nOnly the kidneys can COMPLETELY restore pH to normal (return HCO3- to 24 mEq/L AND pH to 7.4)."), ("Q40","What happens to acid-base balance in VOMITING?", "Loss of HCl from the stomach:\n• ↓ Cl- and H+ in ECF → HCO3- rises (metabolic alkalosis)\n• Volume depletion → ↑ aldosterone → ↑ H+ secretion → PERPETUATES alkalosis\n• Volume depletion → ↑ HCO3- reabsorption in proximal tubule (avid Na+/HCO3- retention)\n• Urine paradoxically becomes ACIDIC despite systemic alkalosis ('paradoxical aciduria')\n — Reason: H+ secreted to reabsorb Na+ and maintain volume\nTreatment: IV 0.9% NaCl → replaces volume and Cl- → stops aldosterone → allows HCO3- to be excreted"), ("Q41","What happens to acid-base balance in DIARRHEA?", "Large intestinal secretions are rich in HCO3- (and K+).\nDiarrhea → HCO3- loss → METABOLIC ACIDOSIS (normal anion gap/hyperchloremic)\nK+ also lost → hypokalemia (which would normally cause alkalosis but acidosis from HCO3- loss dominates)\nCompensation: Kussmaul breathing (↑ ventilation → ↓ PaCO2)\nTreatment: Oral rehydration therapy (ORS) with HCO3- or citrate (metabolizes to HCO3-)"), ("Q42","What happens to acid-base balance in DIABETIC KETOACIDOSIS (DKA)?", "Insulin deficiency → uncontrolled lipolysis → FFA → ketogenesis (beta-hydroxybutyrate + acetoacetate)\nKetoacids added to blood → H+ consumes HCO3- → METABOLIC ACIDOSIS (HIGH anion gap)\nCompensation: Kussmaul breathing → ↓ PaCO2\nAnion gap ↑: Ketoanion replaces HCO3- in the formula\nLab: pH ↓, HCO3- ↓, PaCO2 ↓, anion gap ↑, glucose ↑, positive ketones\nTreatment: Insulin, IV fluids, electrolyte replacement (especially K+ — given once K+ ≥ 3.5 mEq/L)"), ("Q43","Why does RENAL FAILURE cause metabolic acidosis?", "Failed kidneys cannot:\n1. Excrete H+ (↓ H+-ATPase activity in collecting ducts)\n2. Produce NH4+ (↓ glutaminase activity → ↓ NH3 available for buffering)\n3. Regenerate HCO3-\nResult: Retained H2SO4, H3PO4, organic acids → HIGH ANION GAP metabolic acidosis\nAlso: Phosphate and sulfate accumulate → elevated anion gap\nTreatment: Dialysis; oral sodium bicarbonate in CKD to slow progression"), ("Q44","What is the effect of HIGH ALTITUDE on acid-base balance?", "High altitude → ↓ PO2 → hypoxia → stimulates peripheral chemoreceptors → HYPERVENTILATION\n→ ↓ PaCO2 → PRIMARY RESPIRATORY ALKALOSIS\n→ pH ↑ acutely\nCompensation: Kidneys excrete HCO3- over 2-3 days → HCO3- falls → pH returns toward 7.4 (chronic respiratory alkalosis with renal compensation)\n\nAcetazolamide (carbonic anhydrase inhibitor) is used for altitude sickness:\n→ Blocks HCO3- reabsorption → forced HCO3- loss → metabolic acidosis → stimulates breathing further"), ("Q45","What is the effect of DIURETICS on acid-base balance?", "LOOP DIURETICS (furosemide) and THIAZIDES:\n→ Na+, K+, Cl-, water lost → volume contraction\n→ Volume contraction → ↑ aldosterone → ↑ H+ secretion\n→ Cl- depletion → ↓ Cl- available for HCO3- exchange → HCO3- retained\n→ 'Contraction alkalosis' + 'Chloride-responsive metabolic alkalosis'\nTreatment: NaCl replacement\n\nACETAZOLAMIDE (carbonic anhydrase inhibitor):\n→ Blocks proximal HCO3- reabsorption → METABOLIC ACIDOSIS (normal anion gap)\nUsed for: glaucoma, altitude sickness, metabolic alkalosis refractory to other treatments"), ], "Section 12 · High-Yield Numbers & Quick Reference": [ ("Q46","List all key normal acid-base values.", "pH = 7.4 (range 7.35-7.45)\n[H+] = 40 nEq/L\nPaCO2 = 40 mmHg\nPaO2 = 95-100 mmHg\nHCO3- = 24 mEq/L\n[H2CO3] (dissolved CO2) = 1.2 mmol/L\nHCO3- : H2CO3 ratio = 20:1 (essential for pH 7.4)\npKa of bicarbonate system = 6.1\nBase excess = 0 ± 2 mEq/L\nNormal anion gap = 8-12 mEq/L"), ("Q47","What is the speed and completeness of each acid-base defense?", "1. CHEMICAL BUFFERS (ECF + ICF): Seconds; incomplete — dampens but does not correct pH\n2. RESPIRATORY: Minutes (begins); 1-2 hours (nearly maximal); corrects 50-75% of disturbance\n3. RENAL: Hours to days (full effect 3-5 days); COMPLETE correction — only system that can return pH to exactly 7.4\n\nCritical concept: Lungs and buffers can only partially compensate; kidneys achieve full compensation."), ("Q48","Summarize the key formulas for expected compensation.", "METABOLIC ACIDOSIS → respiratory compensation:\nExpected PaCO2 = (1.5 × [HCO3-]) + 8 ± 2 (Winter's formula)\n\nMETABOLIC ALKALOSIS → respiratory compensation:\nExpected PaCO2 = (0.7 × [HCO3-]) + 21 ± 2\n\nRESPIRATORY ACIDOSIS → renal compensation:\nAcute: HCO3- ↑ = 1 × (ΔPaCO2/10)\nChronic: HCO3- ↑ = 3.5 × (ΔPaCO2/10)\n\nRESPIRATORY ALKALOSIS → renal compensation:\nAcute: HCO3- ↓ = 2 × (ΔPaCO2/10)\nChronic: HCO3- ↓ = 5 × (ΔPaCO2/10)"), ("Q49","What happens to serum potassium in acid-base disorders?", "ACIDOSIS → HYPERKALEMIA:\nH+ enters cells → K+ exits cells to maintain electrical neutrality\n~0.6 mEq/L rise in K+ per 0.1 unit fall in pH\nRisk: Cardiac arrhythmias (peaked T waves, wide QRS)\n\nALKALOSIS → HYPOKALEMIA:\nH+ exits cells → K+ enters cells\n~0.6 mEq/L fall in K+ per 0.1 unit rise in pH\nRisk: Hypokalemia → muscle weakness, arrhythmias\n\nImportant: Total body K+ may be normal despite large serum changes — just redistribution"), ("Q50","Summarize the renal response to alkalosis (excretion of HCO3-).", "In metabolic alkalosis, the kidneys excrete excess HCO3- by:\n1. ↓ H+ secretion in distal tubule\n2. If plasma HCO3- exceeds reabsorptive capacity (~26 mEq/L) → HCO3- spills into urine\n3. Alkaline urine (pH ↑)\n\nBUT this is IMPAIRED in:\n• Volume depletion (avid Na+ reabsorption carries HCO3- with it)\n• Cl- depletion (HCO3- exchanged for Cl- in collecting duct; without Cl-, can't excrete HCO3-)\n• Hypokalemia (↑ intracellular H+ → ↑ H+ secretion)\nAll three maintain the alkalosis — 'chloride-responsive' alkalosis requires NaCl to correct."), ], } for sec_title, cards_list in data.items(): heading(doc, sec_title) for c in cards_list: card(doc, *c) doc.add_paragraph() fp = doc.add_paragraph("Guyton & Hall Medical Physiology, 14th ed. | Chapter 31 | 50 Flashcards | Final Exam Review") fp.alignment = WD_ALIGN_PARAGRAPH.CENTER fp.runs[0].font.size=Pt(9); fp.runs[0].font.italic=True; rgb(fp.runs[0],0x99,0x99,0x99) out = "/tmp/workspace/flashcards/AcidBase_Regulation_Flashcards.docx" doc.save(out) print(f"Saved: {out}") print(f"Sections: {len(data)} | Cards: {sum(len(v) for v in data.values())}") EOF
AcidBase Regulation Flashcards
Word Document · DOCX
| Section | Cards | Topics |
|---|---|---|
| 1 | Q1–Q6 | Core pH values, buffer definition, Henderson-Hasselbalch, isohydric principle |
| 2 | Q7–Q11 | Respiratory regulation — speed, sensitivity, PaCO2, Kussmaul breathing, compensation formulas |
| 3 | Q12–Q15 | Renal H+ secretion — where, how, NHE3, carbonic anhydrase mechanism, minimum urine pH 4.5 |
| 4 | Q16–Q20 | Urinary buffers — phosphate (titratable acid), ammonia/NH4+, diffusion trapping, daily excretion amounts |
| 5 | Q21–Q22 | New HCO3- generation vs. HCO3- reabsorption (critical distinction) |
| 6 | Q23–Q25 | Regulation of H+ secretion — PaCO2, pH, aldosterone, hypokalemia mechanism |
| 7 | Q26–Q30 | All 4 primary disorders — definitions, causes, compensation formulas (Winter's formula included) |
| 8 | Q31–Q32 | RTA Types 1, 2, and 4 — mechanisms, urine pH, causes, complications |
| 9 | Q33–Q35 | Anion gap — calculation, MUDPILES (high gap), USED CARP (normal gap) |
| 10 | Q36–Q38 | 6-step clinical interpretation, Winter's formula worked example, blood gas patterns |
| 11 | Q39–Q45 | Clinical scenarios — acid load sequence, vomiting, diarrhea, DKA, renal failure, altitude, diuretics |
| 12 | Q46–Q50 | All normal values, speed/completeness of each defense, full compensation formulas, K+ shifts, alkalosis correction |
Renal Regulation of Potassium, Calcium, Phosphate, and Magnesium; Integration of Renal Mechanisms for Control of Blood Volume and ECF Volume keycards
python3 << 'EOF' from docx import Document from docx.shared import Pt, Inches, RGBColor from docx.enum.text import WD_ALIGN_PARAGRAPH from docx.oxml.ns import qn from docx.oxml import OxmlElement import os os.makedirs("/tmp/workspace/flashcards", exist_ok=True) doc = Document() sec = doc.sections[0] sec.left_margin = sec.right_margin = Inches(0.75) sec.top_margin = sec.bottom_margin = Inches(0.75) doc.styles["Normal"].font.name = "Calibri" doc.styles["Normal"].font.size = Pt(11) # Deep purple / violet theme for Chapter 30 Q_BG = "F0EBF8" # light lavender A_BG = "FFFFFF" BORDER = "5B2C8D" # deep purple HR, HG, HB = 0x5B, 0x2C, 0x8D AR, AG, AB = 0x1B, 0x7A, 0x3E # green arrow def set_bg(cell, hx): tc=cell._tc; tcPr=tc.get_or_add_tcPr() shd=OxmlElement("w:shd"); shd.set(qn("w:val"),"clear") shd.set(qn("w:color"),"auto"); shd.set(qn("w:fill"),hx); tcPr.append(shd) def set_border(cell, col=BORDER): tc=cell._tc; tcPr=tc.get_or_add_tcPr() tcB=OxmlElement("w:tcBorders") for s in ("top","left","bottom","right"): b=OxmlElement(f"w:{s}"); b.set(qn("w:val"),"single") b.set(qn("w:sz"),"8"); b.set(qn("w:space"),"0"); b.set(qn("w:color"),col); tcB.append(b) tcPr.append(tcB) def rgb(run,r,g,b): run.font.color.rgb=RGBColor(r,g,b) def card(doc,label,q,a): tbl=doc.add_table(rows=2,cols=1); tbl.style="Table Grid" qc=tbl.rows[0].cells[0]; set_bg(qc,Q_BG); set_border(qc) qp=qc.paragraphs[0] qp.paragraph_format.space_before=qp.paragraph_format.space_after=Pt(4) qp.paragraph_format.left_indent=Pt(6) lr=qp.add_run(f"{label} "); lr.bold=True; lr.font.size=Pt(8); lr.font.name="Calibri"; rgb(lr,HR,HG,HB) qr=qp.add_run(q); qr.bold=True; qr.font.size=Pt(11); qr.font.name="Calibri"; rgb(qr,0x1A,0x1A,0x2E) ac=tbl.rows[1].cells[0]; set_bg(ac,A_BG); set_border(ac) ap=ac.paragraphs[0] ap.paragraph_format.space_before=ap.paragraph_format.space_after=Pt(4) ap.paragraph_format.left_indent=Pt(6) av=ap.add_run("▶ "); av.bold=True; av.font.size=Pt(10); av.font.name="Calibri"; rgb(av,AR,AG,AB) ar=ap.add_run(a); ar.font.size=Pt(11); ar.font.name="Calibri"; rgb(ar,0x1A,0x1A,0x1A) sp=doc.add_paragraph(); sp.paragraph_format.space_after=Pt(2) def heading(doc,text): doc.add_paragraph() h=doc.add_heading(text,level=2); h.alignment=WD_ALIGN_PARAGRAPH.LEFT for r in h.runs: rgb(r,HR,HG,HB); r.font.size=Pt(13); r.bold=True # ── Title ────────────────────────────────────────────────────────────────── t=doc.add_heading("Renal Regulation of K⁺, Ca²⁺, PO₄, Mg²⁺\n& ECF/Blood Volume Control — Flashcards",level=1) t.alignment=WD_ALIGN_PARAGRAPH.CENTER for r in t.runs: rgb(r,HR,HG,HB); r.font.size=Pt(17); r.bold=True s=doc.add_paragraph("Guyton & Hall Medical Physiology | Chapter 30 | Final Exam Review") s.alignment=WD_ALIGN_PARAGRAPH.CENTER s.runs[0].font.italic=True; s.runs[0].font.size=Pt(11); rgb(s.runs[0],0x55,0x55,0x55) doc.add_paragraph() # ═══════════════════════════════════════════════════════════════════════════ data = { "Section 1 · Potassium Regulation — Overview": [ ("Q1","What are the normal plasma K+ concentration and daily intake/output?", "Normal plasma K+ = 3.5-5.0 mEq/L (average ~4.2 mEq/L).\nDaily intake: ~50-100 mEq/day (variable with diet).\nDaily urinary excretion: ~50-90 mEq/day (matches intake).\nTotal body K+: ~3,500 mEq — 98% is INTRACELLULAR (ICF); only 2% is extracellular.\nSmall shifts between ICF and ECF can cause LARGE changes in plasma [K+]."), ("Q2","Why is tight regulation of plasma K+ critical?", "K+ determines the RESTING MEMBRANE POTENTIAL of cells (especially cardiac and skeletal muscle).\nHYPOKALEMIA (<3.5 mEq/L): Hyperpolarizes cells → muscle weakness, cramps, ileus, U waves on ECG, arrhythmias\nHYPERKALEMIA (>5.5 mEq/L): Depolarizes cells → peaked T waves, wide QRS, ventricular fibrillation, cardiac arrest\nLife-threatening range: <2.5 or >6.5 mEq/L"), ("Q3","What factors shift K+ INTO cells (causing hypokalemia)?", "1. INSULIN — stimulates Na+/K+-ATPase → K+ enters cells (used to treat hyperkalemia)\n2. ALDOSTERONE — same mechanism as insulin on muscle\n3. ALKALOSIS — H+ exits cells, K+ enters to maintain electrical neutrality\n4. BETA-2 ADRENERGIC AGONISTS (epinephrine, albuterol) — stimulate Na+/K+-ATPase\n5. INSULIN + GLUCOSE administration\nNote: These shift K+ but do NOT change total body K+."), ("Q4","What factors shift K+ OUT of cells (causing hyperkalemia)?", "1. ACIDOSIS — H+ enters cells, K+ exits\n2. CELL LYSIS — crush injury, tumor lysis, rhabdomyolysis, hemolysis\n3. INSULIN DEFICIENCY (diabetes) — less K+ uptake by cells\n4. ALPHA ADRENERGIC STIMULATION — inhibits Na+/K+-ATPase\n5. HYPEROSMOLARITY — water exits cells → K+ concentrates → diffuses out\n6. EXERCISE (intense) — K+ released from contracting muscle → transient hyperkalemia"), ], "Section 2 · Renal Handling of Potassium": [ ("Q5","Describe K+ handling at each nephron segment.", "PROXIMAL TUBULE: Reabsorbs ~65% of filtered K+ (passive, follows water)\nTHICK ASCENDING LOOP: Reabsorbs ~25% via NKCC2 (Na+/K+/2Cl- co-transporter)\nDISTAL TUBULE + COLLECTING DUCT: PRIMARY SITE OF REGULATION\n• K+ SECRETED by principal cells (via ROMK channels + BK channels)\n• K+ REABSORBED by alpha-intercalated cells (H+/K+-ATPase)\n\nNet result: Amount of K+ in final urine depends almost entirely on SECRETION in the distal nephron."), ("Q6","What are the two cell types of the collecting duct and their K+ roles?", "PRINCIPAL CELLS (~65%):\n• Secrete K+ into the lumen (via ROMK — luminal K+ channel)\n• Reabsorb Na+ (ENaC) — creates lumen-negative potential → drives K+ secretion\n• Stimulated by ALDOSTERONE → ↑ ENaC + ↑ K+ secretion\n\nALPHA-INTERCALATED CELLS (~35%):\n• REABSORB K+ via H+/K+-ATPase (pumps H+ out, K+ in)\n• Active during K+ depletion\n• Also secrete H+ → role in acid-base regulation"), ("Q7","What are the four main factors regulating K+ secretion by principal cells?", "1. ALDOSTERONE — most important; ↑ ENaC (Na+ in) + ↑ ROMK (K+ out) → ↑ K+ secretion\n2. PLASMA K+ CONCENTRATION — ↑ K+ → directly stimulates principal cells to secrete MORE K+; also stimulates aldosterone release\n3. TUBULAR FLOW RATE — ↑ flow (e.g., loop diuretics) → washes K+ away from lumen → maintains gradient → ↑ K+ secretion\n4. SODIUM DELIVERY TO DISTAL TUBULE — ↑ Na+ delivery → ↑ Na+ reabsorption → ↑ lumen-negative potential → ↑ K+ secretion"), ("Q8","How does aldosterone regulate K+ secretion specifically?", "Aldosterone binds mineralocorticoid receptors in principal cells → gene transcription:\n1. ↑ Na+ channels (ENaC) on luminal membrane → ↑ Na+ entry → lumen becomes MORE NEGATIVE\n2. ↑ Na+/K+-ATPase on basolateral membrane → pumps Na+ out / K+ in → keeps intracellular K+ HIGH\n3. ↑ K+ channels (ROMK) on luminal membrane → K+ flows from cell into lumen\nNet: EACH Na+ reabsorbed → ONE K+ secreted (approximate 1:1 exchange)"), ("Q9","Why do loop diuretics and thiazides cause hypokalemia?", "LOOP DIURETICS (furosemide): Block NKCC2 in thick ascending limb → ↑ Na+ delivery to distal tubule → ↑ distal Na+ reabsorption → ↑ lumen electronegativity → ↑ K+ secretion → HYPOKALEMIA\nAlso: ↑ tubular flow rate washes K+ away → maintains secretion gradient\n\nTHIAZIDES: Block NCC in early distal tubule → same mechanism (↑ Na+ delivery to collecting duct)\n\nBoth also trigger aldosterone release (volume depletion) → further ↑ K+ secretion"), ("Q10","Why does ACIDOSIS cause hyperkalemia and ALKALOSIS cause hypokalemia?", "ACIDOSIS: H+ enters cells → K+ exits to maintain electroneutrality → ↑ plasma K+ (hyperkalemia)\nIn renal tubules: H+ competes with K+ for secretion; acidosis → more H+ secreted, less K+ secreted → ↑ plasma K+\n\nALKALOSIS: H+ exits cells → K+ enters cells → ↓ plasma K+ (hypokalemia)\nIn renal tubules: ↑ K+ secretion (less H+ competition) → ↓ plasma K+\n\nRule: pH and K+ move in OPPOSITE directions."), ], "Section 3 · Calcium Regulation": [ ("Q11","What are the normal plasma calcium values and distribution?", "Total plasma Ca²+ = 9.4 mg/dL (2.4 mmol/L)\n• 41% bound to plasma proteins (mainly albumin) — NOT filtered\n• 9% complexed to anions (citrate, phosphate) — partially filtered \n• 50% IONIZED (free) Ca²+ = ~4.7 mg/dL (1.2 mmol/L) — PHYSIOLOGICALLY ACTIVE\n\nOnly ionized Ca²+ matters for clinical effects.\nImportant: Low albumin → low TOTAL Ca²+ but normal IONIZED Ca²+ → no symptoms\nCorrected Ca²+ = Measured Ca²+ + 0.8 × (4 - albumin g/dL)"), ("Q12","What are the three hormones that regulate calcium and their mechanisms?", "1. PARATHYROID HORMONE (PTH) — primary regulator:\n • Bone: ↑ osteoclast activity → ↑ Ca²+ and PO4 release\n • Kidney: ↑ Ca²+ reabsorption (distal tubule) + ↑ PO4 excretion + ↑ 1,25-OH-vitamin D production\n • Net: ↑ plasma Ca²+, ↓ plasma PO4\n\n2. 1,25-DIHYDROXYVITAMIN D (calcitriol):\n • GI tract: ↑ Ca²+ and PO4 absorption\n • Bone: ↑ mineralization (long term); can mobilize Ca²+ with PTH\n • Net: ↑ plasma Ca²+ AND PO4\n\n3. CALCITONIN (thyroid C-cells):\n • Bone: ↓ osteoclast activity → ↓ Ca²+ release\n • Kidney: ↓ Ca²+ reabsorption\n • Net: ↓ plasma Ca²+ (weak effect in adults)"), ("Q13","Describe renal handling of calcium at each nephron segment.", "~60% of plasma Ca²+ is filterable (ionized + complexed).\nFiltered Ca²+ load: ~10,000 mg/day; excreted: ~200 mg/day (98% reabsorbed).\n\nPROXIMAL TUBULE: ~65% reabsorbed (passive, follows Na+ and water)\nTHICK ASCENDING LOOP: ~25% reabsorbed (passive, paracellular; driven by lumen-positive potential from K+ recycling)\nDISTAL CONVOLUTED TUBULE: ~8% reabsorbed — PRIMARY SITE OF REGULATION\n • PTH → ↑ Ca²+ reabsorption via TRPV5 channels (apical) + calbindin + PMCA/NCX (basolateral)\n • Thiazide diuretics → ↑ Ca²+ reabsorption (by ↓ intracellular Na+ → ↑ NCX activity)"), ("Q14","What stimulates and inhibits PTH secretion?", "STIMULATES PTH release:\n• ↓ Plasma Ca²+ (primary stimulus — sensed by Ca²+-sensing receptor on parathyroid cells)\n• ↑ Plasma PO4 (indirectly via ↓ ionized Ca²+)\n• ↓ Calcitriol (reduced negative feedback)\n\nINHIBITS PTH release:\n• ↑ Plasma Ca²+ (direct suppression via CaSR)\n• ↑ Calcitriol (negative feedback on parathyroid gland)\n• Calcimimetics (cinacalcet) — sensitize CaSR → treat hyperparathyroidism"), ("Q15","What are the clinical effects of hypocalcemia vs. hypercalcemia?", "HYPOCALCEMIA (<8.5 mg/dL total; <4.3 mg/dL ionized):\n• ↑ Neuromuscular excitability: muscle cramps, tetany, seizures\n• Chvostek's sign (facial muscle twitch when tapping CN VII)\n• Trousseau's sign (carpal spasm with BP cuff inflation)\n• Prolonged QT interval → arrhythmias\n• Causes: Hypoparathyroidism, vitamin D deficiency, renal failure, hypomagnesemia\n\nHYPERCALCEMIA (>10.5 mg/dL):\n• 'Stones, Bones, Groans, Psychic Moans': nephrolithiasis, bone pain, constipation/nausea, confusion/depression\n• Short QT interval, polyuria/polydipsia (nephrogenic DI)\n• Causes: Primary hyperparathyroidism, malignancy (most common in hospitalized patients)"), ("Q16","Why do THIAZIDE diuretics decrease urinary calcium excretion (and how is this used clinically)?", "Thiazides block NCC (Na+/Cl- co-transporter) in early distal tubule:\n→ ↓ intracellular Na+ in tubular cells\n→ ↑ NCX (Na+/Ca²+ exchanger) activity on basolateral membrane\n→ More Ca²+ pumped from cell into blood\n→ ↓ intracellular Ca²+ → ↑ apical Ca²+ entry via TRPV5\n→ ↑ Ca²+ reabsorption from tubular lumen → ↓ urinary Ca²+ excretion\n\nClinical use: Thiazides are used to PREVENT CALCIUM KIDNEY STONES (hypercalciuria)\nContrast: Loop diuretics INCREASE urinary Ca²+ (used to treat acute hypercalcemia)"), ], "Section 4 · Phosphate Regulation": [ ("Q17","What are normal plasma phosphate levels and daily balance?", "Normal plasma PO4: 2.5-4.5 mg/dL (0.8-1.4 mmol/L)\nDaily intake: ~800-1500 mg; absorption: ~60-70% from GI tract (enhanced by calcitriol)\nDaily urinary excretion: ~600-900 mg/day\nTotal body PO4: ~1 kg — 85% in BONE (as hydroxyapatite); 14% intracellular; <1% ECF"), ("Q18","How does PTH regulate phosphate excretion in the kidney?", "PTH → acts on proximal tubule → DECREASES phosphate reabsorption\nMechanism: PTH → cAMP → internalization of NaPi-IIa (sodium-phosphate co-transporter) on brush border → less PO4 reabsorbed → more PO4 excreted (phosphaturia)\nEffect: ↓ plasma PO4 (phosphaturic effect of PTH)\n\nContrast: PTH simultaneously ↑ Ca²+ reabsorption in DISTAL tubule\nNet: PTH → ↑ Ca²+ (reabsorption + bone + calcitriol) and ↓ PO4"), ("Q19","What is FGF-23 and what is its role in phosphate regulation?", "FGF-23 (Fibroblast Growth Factor-23): Phosphaturic hormone secreted by OSTEOCYTES/OSTEOBLASTS in bone.\nStimulus: ↑ plasma PO4 and ↑ calcitriol\nActions:\n1. KIDNEY: ↓ NaPi-IIa → ↓ phosphate reabsorption → phosphaturia\n2. KIDNEY: ↓ 1-alpha-hydroxylase → ↓ calcitriol production\n3. Net: ↓ plasma PO4 and ↓ calcitriol\n\nClinical: ↑ FGF-23 in chronic kidney disease → phosphaturia + ↓ calcitriol → renal osteodystrophy\nX-linked hypophosphatemia: Loss-of-function mutation in PHEX → ↑ FGF-23 → severe phosphaturia → rickets"), ("Q20","What is the transport maximum (Tm) for phosphate reabsorption?", "Phosphate has a TRANSPORT MAXIMUM (Tm) for reabsorption in the proximal tubule.\nWhen plasma PO4 is low: all filtered PO4 is reabsorbed (below Tm)\nWhen plasma PO4 is HIGH: filtered load exceeds Tm → excess excreted in urine\nPTH: Lowers the Tm for phosphate → phosphaturia even at normal plasma PO4 levels\n\nClinical significance: Unlike glucose, phosphate has a relatively low Tm that is easily exceeded with high dietary intake or PTH excess → serves as overflow valve"), ], "Section 5 · Magnesium Regulation": [ ("Q21","What are normal plasma magnesium levels and body distribution?", "Normal plasma Mg²+: 1.8-2.4 mg/dL (1.5-2.0 mEq/L or 0.75-1.0 mmol/L)\nTotal body Mg²+: ~25 g — 60% in BONE; 39% intracellular; <1% ECF\nPlasma: 55% free ionized (active); 30% protein-bound; 15% complexed\nFiltered fraction: ~70-80% (free + complexed forms)\nUrinary excretion: 3-5% of filtered load (highly conserved)"), ("Q22","Where is magnesium reabsorbed in the kidney?", "PROXIMAL TUBULE: Only ~15-20% reabsorbed (less than Na+ and Ca²+)\nTHICK ASCENDING LIMB: 50-60% reabsorbed — PRIMARY SITE (paracellular via claudin-16 and claudin-19 tight junction proteins)\n • Driven by lumen-positive potential generated by K+ recycling via ROMK\n • Loop diuretics (block NKCC2) → abolish lumen-positive potential → ↓ Mg²+ reabsorption → HYPOMAGNESEMIA\nDISTAL CONVOLUTED TUBULE: ~5-10% reabsorbed (TRPM6 channel — PTH and EGF regulated)\n\nTotal reabsorption: ~95-97%; urinary excretion: 3-5%"), ("Q23","What are the clinical effects of hypomagnesemia?", "HYPOMAGNESEMIA (<1.8 mg/dL):\n• Neuromuscular: Tremors, muscle weakness, tetany, seizures (similar to hypocalcemia)\n• Cardiac: Torsades de pointes, atrial and ventricular arrhythmias, digoxin toxicity (Mg²+ blocks K+ exit from cardiac cells)\n• REFRACTORY HYPOKALEMIA: Mg²+ deficiency → ↑ ROMK channel activity → K+ leaks out of tubular cells → K+ wasting despite K+ supplementation\n• REFRACTORY HYPOCALCEMIA: Mg²+ needed for PTH secretion and PTH action\n\nCauses: Alcoholism, PPIs (block intestinal Mg²+ absorption), loop diuretics, cisplatin, aminoglycosides, diarrhea"), ], "Section 6 · Control of ECF Volume & Blood Volume — Overview": [ ("Q24","What is the key principle linking sodium, ECF volume, and blood pressure?", "ECF VOLUME is determined almost entirely by total body SODIUM CONTENT.\nNa+ is the dominant ECF osmole (with Cl-); water follows sodium by osmosis.\n↑ Total body Na+ → ↑ ECF volume → ↑ blood volume → ↑ cardiac output → ↑ arterial pressure\n↓ Total body Na+ → ↓ ECF volume → ↓ blood volume → ↓ cardiac output → ↓ arterial pressure\n\nTherefore: BLOOD PRESSURE is regulated primarily through SODIUM BALANCE.\nThe kidney's most critical long-term BP function = controlling sodium and water excretion."), ("Q25","What is the normal ECF volume and how is it divided?", "Total body water: ~60% of body weight (~42 L in 70-kg person)\nICF: ~28 L (67% of total body water)\nECF: ~14 L (33% of total body water)\n • Interstitial fluid: ~11 L (80% of ECF)\n • Plasma volume: ~3 L (20% of ECF)\n\nPlasma volume regulation is CRITICAL — too low → shock; too high → hypertension and edema."), ], "Section 7 · Pressure Natriuresis and the Renal-Body Fluid Feedback": [ ("Q26","What is pressure natriuresis (and pressure diuresis)?", "PRESSURE NATRIURESIS: When arterial blood pressure rises → kidneys excrete MORE sodium\nPRESSURE DIURESIS: Simultaneous ↑ water excretion\n\nMechanism:\n1. ↑ BP → ↑ GFR (slight) → ↑ filtered Na+ load\n2. ↑ BP → ↓ angiotensin II (less efferent constriction) → ↓ peritubular capillary oncotic pressure → ↓ proximal tubule Na+ reabsorption\n3. ↑ BP → ↑ ANP release (atria stretched) → ↓ Na+ reabsorption in collecting duct\n\nResult: ↑ BP → ↑ Na+ and water excretion → ↓ ECF volume → ↓ BP (negative feedback)"), ("Q27","Explain the infinite gain concept of the renal-body fluid feedback loop.", "The renal-body fluid feedback mechanism has INFINITE GAIN for long-term BP regulation.\n\n'Infinite gain' = The kidney ALWAYS returns sodium output to exactly equal sodium intake at some arterial pressure (the set point).\n\nWhy infinite? Because:\n• If BP is above set point → kidney excretes EXCESS Na+ until BP falls to set point\n• If BP is below set point → kidney retains Na+ until BP rises to set point\n• Steady state CANNOT exist unless intake = output → the feedback loop never 'gives up'\n\nContrast: Baroreceptors have finite gain; reset after 1-2 days → cannot control long-term BP."), ("Q28","Why are baroreceptor reflexes inadequate for long-term blood pressure control?", "Baroreceptors detect acute pressure changes → reflexly adjust heart rate and vascular resistance.\nHOWEVER: Baroreceptors RESET over 1-3 days to whatever the new 'normal' BP is.\nAfter resetting: baroreceptors fire at the same rate whether BP is 100 or 160 mmHg.\nResult: Baroreceptors can only buffer SHORT-TERM pressure changes (minutes to days).\n\nThe ONLY mechanism that can control BP in the LONG TERM is the renal-body fluid feedback (pressure natriuresis).\nEvidence: In isolated kidney experiments, when blood pressure is changed, the kidney continues to adjust Na+ excretion until a unique steady-state BP is reached."), ], "Section 8 · Renin-Angiotensin-Aldosterone System (RAAS)": [ ("Q29","Trace the complete RAAS pathway from stimulus to final effect.", "STIMULUS: ↓ BP / ↓ renal perfusion / ↓ [NaCl] at macula densa / ↑ sympathetic activity\n↓\nJuxtaglomerular cells → secrete RENIN\n↓\nRENIN cleaves angiotensinogen (liver) → ANGIOTENSIN I\n↓\nACE (lung, kidney) → ANGIOTENSIN II\n↓\nEffects of Ang II:\n1. Vasoconstriction (afferent < efferent) → ↑ BP directly\n2. ↑ Aldosterone (adrenal cortex) → ↑ Na+ reabsorption → ↑ ECF volume\n3. ↑ ADH release (posterior pituitary) → ↑ water reabsorption\n4. ↑ Thirst → ↑ water intake\n5. Proximal tubule: directly ↑ Na+ reabsorption via AT1 receptor → NHE3 activation"), ("Q30","What stimulates renin release from JG cells?", "THREE stimuli for renin release:\n1. MACULA DENSA pathway: ↓ [NaCl] in tubular fluid → macula densa signals JG cells → ↑ renin\n2. SYMPATHETIC NERVOUS SYSTEM: β1-adrenergic receptors on JG cells → ↑ renin (via cAMP)\n3. BARORECEPTOR (intrarenal): ↓ stretch of afferent arteriole wall (↓ renal perfusion pressure) → directly ↑ renin release\n\nAll three are activated by: hemorrhage, volume depletion, low sodium diet, heart failure, renal artery stenosis"), ("Q31","What are the renal effects of Angiotensin II?", "1. AFFERENT arteriole: mild constriction → slight ↓ GFR\n2. EFFERENT arteriole: PREFERENTIAL constriction → ↑ PG → maintains GFR + ↑ filtration fraction\n3. PROXIMAL TUBULE: ↑ Na+/H+ antiporter (NHE3) and ↑ Na+/HCO3- co-transporter → ↑ Na+ and HCO3- reabsorption\n4. ALDOSTERONE: stimulates adrenal cortex → ↑ ENaC and K+ secretion in collecting duct\n5. NET: ↓ RBF + maintained or slightly ↓ GFR + ↑ tubular Na+ reabsorption → ↑ ECF volume"), ("Q32","What is aldosterone's mechanism and timeline of action?", "ALDOSTERONE binds mineralocorticoid receptors in principal cells (CYTOSOLIC NUCLEAR RECEPTOR).\nGENOMIC (hours): ↑ transcription of ENaC subunits, ROMK, and Na+/K+-ATPase → ↑ Na+ reabsorption + ↑ K+ secretion\nNON-GENOMIC (minutes): Some rapid effects on existing channels\n\nStimuli for aldosterone release:\n• ↑ Angiotensin II (most important)\n• ↑ Plasma K+ (direct stimulation of zona glomerulosa)\n• ↑ ACTH (minor)\n\nEffects: ↑ Na+ retention → ↑ ECF volume → ↑ BP; ↑ K+ excretion; ↑ H+ excretion (metabolic alkalosis)"), ], "Section 9 · ANP and Other Natriuretic Peptides": [ ("Q33","What is ANP, what stimulates its release, and what are its effects?", "ANP = Atrial Natriuretic Peptide; secreted by ATRIAL CARDIOMYOCYTES when atrial walls are STRETCHED (↑ volume).\n\nEFFECTS (all promote Na+ and water excretion):\n1. ↑ GFR: dilates afferent, constricts efferent → ↑ glomerular hydrostatic pressure\n2. ↓ Na+ reabsorption in collecting duct (blocks ENaC and Na+/K+-ATPase)\n3. ↓ Renin secretion → ↓ Ang II → ↓ aldosterone\n4. ↓ ADH secretion\n5. Vasodilation → ↓ systemic vascular resistance\n\nNet: ↑ Na+ and water excretion → ↓ blood volume → ↓ BP\nANP is the COUNTER-REGULATORY hormone to RAAS."), ("Q34","What is BNP and how is it used clinically?", "BNP = B-type (Brain) Natriuretic Peptide; secreted primarily by VENTRICULAR myocytes in response to VOLUME OVERLOAD and elevated filling pressures.\nActions: Similar to ANP (natriuresis, vasodilation, ↓ RAAS, ↓ ADH)\n\nClinical use:\n• Serum BNP or NT-proBNP is a BIOMARKER for heart failure\n• BNP > 100 pg/mL → strongly suggests heart failure as cause of dyspnea\n• BNP < 35 pg/mL → makes heart failure unlikely\n• NT-proBNP > 300 pg/mL → suggests heart failure\n• Used to guide heart failure treatment and assess prognosis"), ], "Section 10 · ADH (Vasopressin) and Volume Control": [ ("Q35","How does ADH contribute to ECF volume and blood pressure control?", "ADH (vasopressin) has TWO roles in volume control:\n1. WATER REABSORPTION (primary): Osmoreceptor-driven; increases AQP-2 in collecting duct → water retention → ↑ ECF volume\n2. VASOCONSTRICTION (V1 receptors): At HIGH concentrations (hemorrhage) → direct arteriolar constriction → ↑ BP\n\nVolume stimuli for ADH (in addition to osmolarity):\n• ↓ Blood volume (cardiopulmonary baroreceptors via vagus)\n• ↓ Arterial pressure (carotid/aortic baroreceptors)\n• ↑ Angiotensin II → directly stimulates posterior pituitary\nVolume must change ~10% to significantly stimulate ADH (less sensitive than osmoreceptors which respond to 1% change)"), ("Q36","What is SIADH and how does it affect ECF volume and Na+?", "SIADH = Syndrome of Inappropriate ADH Secretion\nExcess ADH despite LOW or normal plasma osmolarity\n\nPathophysiology:\n• ↑ ADH → ↑ water reabsorption → initially ↑ ECF volume\n• ↑ ECF volume → pressure natriuresis → kidney excretes Na+\n• ECF volume normalizes (only 5-10% expanded) but PLASMA Na+ FALLS (dilutional hyponatremia)\n• Result: Euvolemic (or mildly hypervolemic) HYPONATREMIA\n\nCauses: CNS disease (stroke, meningitis), pulmonary disease (TB, pneumonia), malignancy (small cell lung cancer), pain, nausea, drugs (SSRIs, carbamazepine)\nTreatment: Fluid restriction; tolvaptan (V2 receptor antagonist) for severe cases"), ], "Section 11 · Integrated Control of ECF Volume": [ ("Q37","What is the sequence of compensatory responses to HEMORRHAGE?", "Immediate (seconds-minutes):\n1. ↓ BP → baroreceptor reflex → ↑ sympathetic → ↑ HR + vasoconstriction → partially restore BP\n2. ↑ Sympathetic → constricts afferent arterioles → ↓ GFR → ↓ Na+ and water excretion\n\nMinutes-hours:\n3. ↓ Capillary pressure → transcapillary refill (ISF → plasma) → restores plasma volume\n4. ↑ Angiotensin II → vasoconstriction + ↑ aldosterone + ↑ ADH + ↑ thirst\n5. ↑ ADH → ↑ water reabsorption → concentrated urine\n\nHours-days:\n6. ↑ Aldosterone → ↑ Na+ reabsorption → ↑ ECF volume\n7. Erythropoietin → ↑ RBC production (days-weeks)\n8. Long term: pressure natriuresis curve resets to new operating point"), ("Q38","What is 'escape' from aldosterone and why does it occur?", "'Aldosterone escape' = Despite sustained aldosterone excess, Na+ retention STOPS after a few days and Na+ balance is restored (though at a higher ECF volume).\n\nMechanism:\n1. Aldosterone → ↑ Na+ retention → ↑ ECF volume → ↑ BP\n2. ↑ BP → PRESSURE NATRIURESIS → kidneys excrete excess Na+\n3. Na+ balance re-established at a higher ECF volume\n\nResult: ECF volume is expanded 1-2 L above normal, but EDEMA does not develop (Starling forces prevent this in mild expansion).\nNOTE: 'Escape' applies to Na+ only, NOT to K+ — aldosterone continues to drive K+ excretion → progressive hypokalemia in hyperaldosteronism"), ("Q39","How does heart failure cause sodium and water retention?", "Heart failure → ↓ cardiac output → ↓ effective arterial blood volume (EABV)\n\nDespite EXPANDED total ECF volume, the body perceives underfilling:\n1. ↓ EABV → baroreceptors sense ↓ BP → ↑ sympathetic → ↑ renal vasoconstriction → ↓ GFR\n2. ↑ Ang II (↓ renal perfusion → ↑ renin) → ↑ aldosterone → ↑ Na+ reabsorption\n3. ↑ ADH (non-osmotic release) → ↑ water retention → dilutional hyponatremia\n4. ↑ ANP (atria stretched) but RAAS/ADH overwhelm ANP\nResult: Fluid retention → edema (pulmonary edema, peripheral edema, ascites) — despite already high ECF volume"), ("Q40","How does CIRRHOSIS cause ascites and sodium retention?", "Cirrhosis → portal hypertension + ↓ albumin synthesis:\n1. Portal hypertension → ↑ portal venous pressure → fluid weeps into peritoneum (ASCITES)\n2. ↓ Albumin → ↓ plasma oncotic pressure → fluid leaves capillaries → ↓ plasma volume\n3. ↓ Effective circulating volume → ↑ RAAS + ↑ ADH + ↑ sympathetic\n4. Kidneys retain Na+ and water → more fluid accumulates in abdomen\n5. Hepatorenal syndrome (end-stage): severe renal vasoconstriction → ↓ GFR → acute renal failure\nTreatment: Low-sodium diet, diuretics (spironolactone + furosemide), albumin infusion, paracentesis, TIPS, liver transplant"), ], "Section 12 · High-Yield Numbers & Clinical Pearls": [ ("Q41","Summarize normal values for all four electrolytes regulated in Chapter 30.", "POTASSIUM: Plasma 3.5-5.0 mEq/L; intake ~50-100 mEq/day; 98% intracellular\nCALCIUM: Total 9.4 mg/dL; ionized 4.7 mg/dL; 41% albumin-bound; 50% free\nPHOSPHATE: Plasma 2.5-4.5 mg/dL; 85% in bone; intake 800-1500 mg/day\nMAGNESIUM: Plasma 1.8-2.4 mg/dL; 60% bone; 55% free ionized in plasma; urinary excretion = 3-5% of filtered load"), ("Q42","Compare aldosterone vs. ADH: what each regulates and how.", "ALDOSTERONE:\n• Regulates: ECF Na+ CONTENT (volume)\n• Stimulus: ↓ ECF volume → ↑ Ang II → adrenal cortex; also ↑ plasma K+\n• Action: ↑ ENaC + Na+/K+-ATPase in principal cells → ↑ Na+ reabsorption → ↑ ECF volume\n• Also: ↑ K+ secretion + ↑ H+ secretion\n\nADH:\n• Regulates: ECF Na+ CONCENTRATION (osmolarity)\n• Stimulus: ↑ plasma osmolarity (primary — 1% change); also ↓ volume (10% change)\n• Action: AQP-2 insertion in collecting duct → ↑ water reabsorption → ↓ osmolarity\n• Also: Urea transport in medulla; vasoconstriction at high doses (V1 receptor)"), ("Q43","What are the causes of hyperkalemia and their treatments?", "CAUSES (6 H's): Hypoaldosteronism, Hypo-insulin, Hemolysis/tissue lysis, Hyperkalemic drugs, High K+ intake (with ↓ excretion), H+ excess (acidosis)\n\nTREATMENT (4 C's — in order):\n1. CARDIAC PROTECTION: IV calcium gluconate (stabilizes cardiac membrane — immediate)\n2. CELLULAR SHIFT: Insulin + glucose (drives K+ into cells); NaHCO3 (alkalinizes); beta-2 agonists (salbutamol)\n3. CLEARANCE: Furosemide (↑ urinary K+); kayexalate/patiromer (GI exchange resins); dialysis (fastest removal)\n4. CORRECT underlying cause: Stop ACE inhibitors, K+-sparing diuretics, NSAIDs"), ("Q44","What are the main causes and treatments of hypokalemia?", "CAUSES:\n• GI LOSS: Diarrhea, vomiting, fistulas (most common overall)\n• RENAL LOSS: Loop/thiazide diuretics, hyperaldosteronism, RTA type 1/2, Bartter/Gitelman syndrome, hypomagnesemia\n• CELLULAR SHIFT: Insulin, alkalosis, beta-2 agonists, periodic paralysis\n• POOR INTAKE: Rare alone but contributes\n\nTREATMENT:\n• Oral KCl supplementation (preferred when GI tract works)\n• IV KCl (rate <10 mEq/hr peripheral; <20 mEq/hr central — never IV bolus → cardiac arrest)\n• Correct HYPOMAGNESEMIA first — refractory hypokalemia until Mg²+ is replaced\n• Treat underlying cause (stop offending diuretic, treat aldosteronism)"), ("Q45","Summarize the roles of ANP vs. RAAS in ECF volume control.", "RAAS (activated by ↓ volume/BP):\n• Renin → Ang II: vasoconstriction + proximal Na+ reabsorption\n• Aldosterone: ↑ ENaC → Na+ retention in collecting duct\n• ADH: water retention\n• Net: ↑ ECF volume, ↑ BP, ↓ urine output\n\nANP/BNP (activated by ↑ volume/stretch):\n• ↑ GFR (afferent dilation / efferent constriction)\n• ↓ Na+ reabsorption in collecting duct\n• ↓ Renin → ↓ Ang II → ↓ aldosterone\n• ↓ ADH\n• Vasodilation\n• Net: ↓ ECF volume, ↓ BP, ↑ urine output\n\nThese two systems are ANTAGONISTIC — balance determines steady-state ECF volume."), ("Q46","What is Bartter syndrome and Gitelman syndrome?", "BARTTER SYNDROME: Loss-of-function mutation in NKCC2 (thick ascending limb) or ROMK or ClC-Kb\n→ Mimics chronic furosemide use\n→ Salt wasting + volume depletion → ↑ RAAS + ↑ aldosterone → HYPOKALEMIA + metabolic alkalosis\n→ Normotensive (despite high aldosterone) — salt wasting prevents HTN\n\nGITELMAN SYNDROME: Loss-of-function mutation in NCC (distal tubule)\n→ Mimics chronic thiazide use\n→ Hypokalemia + metabolic alkalosis + HYPOMAGNESEMIA + HYPOcalciuria\n→ Milder than Bartter; often asymptomatic or presents with fatigue/cramps\n→ Key: Hypocalciuria distinguishes Gitelman from Bartter (thiazide effect saves Ca²+)"), ("Q47","What is Conn syndrome (primary hyperaldosteronism) and its findings?", "CAUSE: Adrenal adenoma (most common) or bilateral adrenal hyperplasia → autonomous aldosterone excess\n\nFINDINGS:\n• Hypertension (Na+ retention → ↑ ECF volume)\n• Hypokalemia (aldosterone → ↑ K+ secretion)\n• Metabolic alkalosis (aldosterone → ↑ H+ secretion)\n• ↓ Plasma renin (aldosterone autonomously suppresses renin via volume expansion)\n• Normal or mild hypernatremia (aldosterone escape limits Na+ retention)\n\nDIAGNOSIS: Aldosterone:renin ratio >30 (with aldosterone >15 ng/dL)\nTREATMENT: Adrenalectomy (adenoma); spironolactone/eplerenone (bilateral hyperplasia)"), ("Q48","Compare the effects of loop diuretics vs. thiazides on electrolyte excretion.", "LOOP DIURETICS (furosemide, bumetanide, torsemide):\nBlock: NKCC2 (thick ascending limb)\n↑ Excretion: Na+, K+, Cl-, Ca²+, Mg²+, H2O\n↓ Excretion: nothing notable\nClinical: Most potent diuretic; treat pulmonary edema, acute hypercalcemia; causes hypokalemia, hypomagnesemia\n\nTHIAZIDES (hydrochlorothiazide, chlorthalidone):\nBlock: NCC (early distal tubule)\n↑ Excretion: Na+, K+, Cl-, Mg²+, H2O\n↓ Excretion: Ca²+ (DECREASED — unique!)\nClinical: First-line HTN; treat hypercalciuria/calcium stones; causes hypokalemia, hyponatremia, hypercalcemia, hyperuricemia, hyperglycemia"), ], } for sec_title, cards_list in data.items(): heading(doc, sec_title) for c in cards_list: card(doc, *c) doc.add_paragraph() fp=doc.add_paragraph("Guyton & Hall Medical Physiology, 14th ed. | Chapter 30 | 48 Flashcards | Final Exam Review") fp.alignment=WD_ALIGN_PARAGRAPH.CENTER fp.runs[0].font.size=Pt(9); fp.runs[0].font.italic=True; rgb(fp.runs[0],0x99,0x99,0x99) out="/tmp/workspace/flashcards/Ch30_Electrolytes_ECFVolume_Flashcards.docx" doc.save(out) print(f"Saved: {out}") print(f"Sections: {len(data)} | Cards: {sum(len(v) for v in data.values())}") EOF