07. Clinical & Metabolic Primer for Systems Engineers
Diátaxis Type: Explanation & Reference | Status: Canonical | Review: Continuous
This document bridges physiological principles and software engineering semantics for developers maintaining the Bio-Quant platform.
1. Core Endocrine Mechanics
In healthy physiology, the pancreas continuously modulates insulin and glucagon secretion to maintain euglycemia (\(4.0 - 7.8 \text{ mmol/L}\) / \(72 - 140 \text{ mg/dL}\)).
In Type 1 Diabetes (T1D), autoimmune destruction of pancreatic beta cells permanently eliminates endogenous insulin production. Patients must manually estimate and inject exogenous insulin to match carbohydrate absorption, basal metabolic demand, and physical exertion.
flowchart LR
FOOD["Carbohydrates / Meals"] -->|Enzymatic Breakdown| GLUCOSE_UP["Blood Glucose Increases (+)"]
INSULIN["Exogenous Insulin Bolus"] -->|Cellular Glucose Uptake| GLUCOSE_DOWN["Blood Glucose Decreases (-)"]
EXERCISE["Physical Exertion"] -->|Muscle Glycogen Depletion| GLUCOSE_DOWN
STRESS["Stress / Cortisol / Dawn"] -->|Hepatic Glucose Output| GLUCOSE_UP
2. Glycemic Units & Strict Authority Invariant
Two primary units are used globally for blood glucose measurement:
- \(\text{mmol/L}\) (Millimoles per liter): International standard (SI unit), molar concentration of glucose in blood plasma.
- \(\text{mg/dL}\) (Milligrams per deciliter): Traditional mass concentration unit (predominant in the US and parts of Asia).
Conversion Constant
Strict Domain Authority Rule
- All internal computations, Kalman state vectors, risk matrices, and neural inputs use \(\text{mmol/L}\).
- Conversions to \(\text{mg/dL}\) take place exclusively at presentation time in
diabetic.ui.glucose_display.
3. Neuroglycopenic Faint Risk & Kinematics
When blood glucose drops below \(3.5 \text{ mmol/L}\) with a high negative velocity (\(v < -0.15 \text{ mmol/L/min}\)), cerebral glucose supply becomes insufficient to maintain consciousness, leading to sudden neuroglycopenic syncope (fainting).
Bio-Quant calculates Time-to-Faint (\(TTF\)):
When \(TTF \le 15 \text{ minutes}\), the engine triggers high-priority visual and haptic alarms to prompt immediate intake of rapid-acting carbohydrates (15g glucose tablets/juice).