# Chapter 22 respiratory implementation audit

Implemented 2026-11-16 in `/exam-4/`, alongside the unchanged Chapter 21 bank. The layout uses the existing chapter/round pickers, Flashcards, Quiz and Locate. Chapter 22 also exposes the shared respiratory Model tab. No subtopic selector, future-chapter placeholders or project roadmap appears in the study interface.

## Inventory

| Round | Cards | Questions | Locate |
| --- | ---: | ---: | --- |
| R1 Airway route and lung anatomy | 10 | 22 | Airways and lung lobes, 9 targets |
| R2 Alveoli, epithelium and exchange | 7 | 14 | Alveolar cells and gas exchange, 5 targets |
| R3 Breathing mechanics and spirometry | 9 | 20 | Lung volumes and capacities, 8 targets |
| R4 Oxygen and carbon dioxide transport | 8 | 18 | Illustrated cards/quiz |
| R5 Respiratory control | 4 | 10 | Illustrated cards/quiz |
| Chapter 22 total | 38 | 84 | 3 maps / 22 targets |

Six questions accept numerical answers with explicit units: VC, TLC, IC, FRC, a liters-based reverse VC calculation and a sealed-gas Boyle calculation. The complete Exam 4 bank is 73 cards, 156 questions and five maps / 34 targets. Chapter 21 retains 35 cards, 72 questions and two maps / 12 targets.

## Objective coverage

The final guide supplies twelve Chapter 22 prompts. Source PDF page numbers and outline sections are retained on every authored item; corrections are documented in [the plan](chapter-22-plan.md). All required prompts have both teaching and graded retrieval coverage.

| Objective | Card IDs | Question IDs |
| --- | --- | --- |
| C22-01 | C22-F011, C22-F012, C22-F013 | C22-Q023, C22-Q024, C22-Q025, C22-Q026, C22-Q027, C22-Q028 |
| C22-02 | C22-F001, C22-F002, C22-F003, C22-F005, C22-F006, C22-F010 | C22-Q001, C22-Q004, C22-Q006, C22-Q007, C22-Q019, C22-Q021 |
| C22-03 | C22-F001, C22-F002, C22-F003, C22-F005, C22-F010 | C22-Q002, C22-Q003, C22-Q008, C22-Q009, C22-Q010, C22-Q011, C22-Q020, C22-Q022 |
| C22-04 | C22-F004 | C22-Q005 |
| C22-05 | C22-F014, C22-F015, C22-F017 | C22-Q029, C22-Q030, C22-Q031, C22-Q032 |
| C22-06 | C22-F016, C22-F017 | C22-Q033, C22-Q034, C22-Q035, C22-Q036 |
| C22-07 | C22-F018, C22-F019, C22-F020 | C22-Q037, C22-Q038, C22-Q039, C22-Q040, C22-Q041, C22-Q042, C22-Q056 |
| C22-08 | C22-F007, C22-F008, C22-F009 | C22-Q012, C22-Q013, C22-Q014, C22-Q015, C22-Q016, C22-Q017, C22-Q018 |
| C22-09 | C22-F028, C22-F029, C22-F030 | C22-Q059, C22-Q060, C22-Q061, C22-Q062, C22-Q063, C22-Q064, C22-Q065 |
| C22-10 | C22-F027, C22-F031, C22-F032, C22-F033, C22-F034 | C22-Q057, C22-Q058, C22-Q066, C22-Q067, C22-Q068, C22-Q069, C22-Q070, C22-Q071, C22-Q072, C22-Q073, C22-Q074 |
| C22-11 | C22-F035, C22-F036, C22-F037, C22-F038 | C22-Q075, C22-Q076, C22-Q077, C22-Q078, C22-Q079, C22-Q080, C22-Q081, C22-Q082, C22-Q083, C22-Q084 |
| C22-12 | C22-F021, C22-F022, C22-F023, C22-F024, C22-F025, C22-F026 | C22-Q043, C22-Q044, C22-Q045, C22-Q046, C22-Q047, C22-Q048, C22-Q049, C22-Q050, C22-Q051, C22-Q052, C22-Q053, C22-Q054, C22-Q055 |

## Source decisions

The archived 43-page lecture PDF and full outline are the course references. The bank corrects pulmonary flow to right ventricle → pulmonary trunk → pulmonary arteries; distinguishes bicarbonate from carbonic acid; avoids disputed small CO₂ percentages; treats a fixed 4 mmHg pleural difference as an example rather than a universal constant; and avoids the DRG-only pacemaker assertion. Hb pH/temperature questions hold PO₂ constant. Boyle calculations explicitly fix temperature and gas amount.

The spirometry chart uses supplied teaching volumes: TV 500, IRV 3000, ERV 1100 and RV 1200 mL. The derived VC 4600, TLC 5800, IC 3500 and FRC 2300 mL are consistent. RV and capacities containing RV are identified as reference values not directly measured by ordinary spirometry. Hb curves are qualitative, without invented experimental saturation values.

Detailed embryology, altitude, child respiratory-rate ranges and extra laryngeal cartilage memorization remain outside required scored coverage. Core-source verification links remain in the chapter plan.

## Visuals and model

The airway/lung Locate uses two fixed renders of the existing Z-Anatomy respiratory asset. Nine anchors are measured on visible mesh-ID pixels, with minimum interior depth 21 pixels. PNG/source hashes and coordinates are recorded in `exam-4/assets/respiratory/provenance.json`. No hidden mesh center was used as a visible endpoint. Patient right is viewer left.

Original schematics explain upper airway/epiglottis, Type I/II cells and the air–blood interface, inspiration/expiration, volume/capacity intervals, Hb affinity, bicarbonate transport and pontine control. The airway sketch keeps the trachea anterior to the esophageal route. Lung-volume brackets remain fixed in Study/Find/Name. The alveolar targets distinguish the air space, thin Type I cell, cuboidal Type II cell, capillary and respiratory membrane.

The Model tab loads `/models/?chapter=22&view=respiratory`. It shares `study-respiratory.glb` with Lab 22, with the same nine structures: trachea, two main bronchi, five lobes and diaphragm. No geometry or GLB is duplicated or modified. Select/isolate/reset and the Lab 22 route were verified.

Atlas-derived PNGs retain CC BY-SA 4.0 and their existing Z-Anatomy/BodyParts3D credits. The central registry records the new original inline schematics separately. No course-slide raster artwork is distributed.

## Validation

`tools/verify-chapter22.cjs` checks all twelve objective mappings, IDs, choices, numerical results, map/target counts, source/feedback metadata, visible-anchor depths and the existing Chapter 21 bank.

`tools/verify-chapter22-browser.cjs` passed at 390px, 1280px and 320px (dark mode): all 38 card backs, all five round counts, complete 84-question one-pass sessions, all six numerical forms, deliberate numerical misses, a full repeated-recall session with a miss, and all 22 Find/Name targets. Study highlighting, stationary geometry and 44px touch areas passed. Model loading/isolate/reset, conditional Model visibility, and round hiding in Model mode passed. Existing Chapter 21 marks and separate Exam 3 storage survived reload and chapter changes. No missing local resources, JavaScript errors or horizontal page overflow occurred.

Desktop/phone screenshots were inspected for upper airway, alveoli, volumes, affinity curves, brainstem control, fixed atlas views, Locate legends and the model iframe. Test screenshots remain outside the repository. Chapter 21 and shared credits have separate regression checks.

## Model tab expansion 2026-11-18

Chapter 22 now has four views: Lung lobes; Trachea and main bronchi; Lungs in the thorax; and Upper airway and larynx. The source atlas supplied verified nasal lining, all three pharyngeal regions and the epiglottis for a sagittal cutaway. The combined thorax adds aligned heart chambers and optional rib-cage context. Lung surfaces can be solid, transparent or hidden, and the context can be toggled. Front/Back/Side/Oblique and reset are available.

The new 52-mesh thorax and 20-mesh upper-airway assets are separate from the unchanged nine-mesh respiratory GLB. Lab 22, the existing Locate renders and all card/question IDs remain intact. Respiratory notes replace thyroid-orientation notes in the upper-airway view. Source/output hashes and per-component attribution are recorded in manifests and the central registry.

Fresh checks passed: Chapter 22 static bank verification; model asset integrity; all new model interactions at 320/390/1280px; the complete existing Chapter 22 browser suite at the same widths; and the credits inventory. Screenshots were reviewed, including the phone sagittal cutaway and desktop thorax. The model suite also checks the unchanged Lab 22 route and rapid asynchronous view changes. See [model implementation details](chapter-22-models.md).
