Make a detailed note on obesity and anaesthesia… include everything yperventilation, osq and everything
obesity anesthesia perioperative management
| Class | BMI (kg/m²) | Risk |
|---|---|---|
| Overweight | 25-29.9 | Increased |
| Obese Class I | 30-34.9 | High |
| Obese Class II | 35-39.9 | Very high |
| Obese Class III (Morbid obesity) | 40-49.9 | Extremely high |
| Super obesity | 50-59.9 | — |
| Super-super obesity | ≥60 | — |
| Drug Class | Dosing Weight | Rationale |
|---|---|---|
| Propofol (induction) | LBW | Dose based on LBW to avoid overdose |
| Propofol (maintenance) | TBW | Lipophilic; distribute into fat |
| Thiopentone | LBW | Initial dose on LBW; titrate |
| Succinylcholine | TBW | Pseudocholinesterase activity increases with obesity - need higher dose |
| Non-depolarising NMBDs | IBW | Hydrophilic; minimal distribution into fat |
| Sugammadex | TBW | See below |
| Fentanyl (induction bolus) | LBW | |
| Remifentanil | LBW | |
| Morphine | IBW | |
| Neostigmine | IBW |
| Phase | Key Actions |
|---|---|
| Preoperative | Screen with STOP-BANG; assess for OHS; continue CPAP; optimise comorbidities |
| Induction | RSI; ramped position; video laryngoscopy; full preoxygenation |
| Intraoperative | PEEP ventilation; lung-protective tidal volumes; NMB monitoring |
| Emergence | Fully awake extubation; complete NMB reversal; head-up |
| Postoperative | CPAP resumed; continuous SpO₂ monitoring; HDU if needed; opioid-sparing analgesia |
| Drug | Dose Weight | Notes |
|---|---|---|
| Propofol induction | LBW | Avoid TBW overdose |
| Propofol maintenance | TBW | Highly lipophilic |
| Thiopentone | LBW | |
| Succinylcholine | TBW | ↑ Pseudocholinesterase |
| Rocuronium / vecuronium | IBW | Hydrophilic |
| Sugammadex | TBW | Must capture all free rocuronium |
| Fentanyl bolus | LBW | |
| Remifentanil infusion | LBW | |
| Morphine | IBW | |
| Neostigmine | IBW |
Yes
Word
ls -la /home/daytona/workspace/ && ls /home/daytona/skills/docx/scripts/office/ 2>/dev/null || echo "no scripts dir"
mkdir -p /home/daytona/workspace/obesity-anaesthesia && node -e "require('docx'); console.log('docx ok')"
~/obesity-anaesthesia/build.js
const {
Document, Packer, Paragraph, TextRun, Table, TableRow, TableCell,
HeadingLevel, AlignmentType, BorderStyle, WidthType, VerticalAlign,
ShadingType, PageNumber, Header, Footer, TabStopType, TabStopPosition
} = require('docx');
const fs = require('fs');
// ── Helpers ──────────────────────────────────────────────────────────────────
function h1(text) {
return new Paragraph({
text, heading: HeadingLevel.HEADING_1,
spacing: { before: 400, after: 120 },
});
}
function h2(text) {
return new Paragraph({
text, heading: HeadingLevel.HEADING_2,
spacing: { before: 280, after: 100 },
});
}
function h3(text) {
return new Paragraph({
text, heading: HeadingLevel.HEADING_3,
spacing: { before: 200, after: 80 },
});
}
function body(text, opts = {}) {
return new Paragraph({
children: [new TextRun({ text, size: 22, font: 'Calibri', ...opts })],
spacing: { before: 60, after: 60 },
});
}
function bullet(text, level = 0) {
return new Paragraph({
children: [new TextRun({ text, size: 22, font: 'Calibri' })],
bullet: { level },
spacing: { before: 40, after: 40 },
});
}
function boldBullet(label, rest, level = 0) {
return new Paragraph({
children: [
new TextRun({ text: label, bold: true, size: 22, font: 'Calibri' }),
new TextRun({ text: rest, size: 22, font: 'Calibri' }),
],
bullet: { level },
spacing: { before: 40, after: 40 },
});
}
function kv(key, val) {
return new Paragraph({
children: [
new TextRun({ text: key + ': ', bold: true, size: 22, font: 'Calibri' }),
new TextRun({ text: val, size: 22, font: 'Calibri' }),
],
spacing: { before: 40, after: 40 },
});
}
function spacer() {
return new Paragraph({ text: '', spacing: { before: 80, after: 80 } });
}
function hr() {
return new Paragraph({
text: '',
border: { bottom: { style: BorderStyle.SINGLE, size: 6, color: '2E74B5' } },
spacing: { before: 200, after: 200 },
});
}
// ── Table helper ─────────────────────────────────────────────────────────────
function makeTable(headers, rows, colWidths) {
const headerCells = headers.map((h, i) =>
new TableCell({
children: [new Paragraph({
children: [new TextRun({ text: h, bold: true, size: 20, font: 'Calibri', color: 'FFFFFF' })],
alignment: AlignmentType.CENTER,
})],
shading: { type: ShadingType.SOLID, color: '2E74B5' },
width: colWidths ? { size: colWidths[i], type: WidthType.PERCENTAGE } : undefined,
verticalAlign: VerticalAlign.CENTER,
})
);
const dataRows = rows.map((row, ri) =>
new TableRow({
children: row.map((cell, ci) =>
new TableCell({
children: [new Paragraph({
children: [new TextRun({ text: cell, size: 20, font: 'Calibri' })],
})],
shading: ri % 2 === 0
? { type: ShadingType.SOLID, color: 'EBF3FB' }
: { type: ShadingType.SOLID, color: 'FFFFFF' },
width: colWidths ? { size: colWidths[ci], type: WidthType.PERCENTAGE } : undefined,
})
),
})
);
return new Table({
rows: [new TableRow({ children: headerCells, tableHeader: true }), ...dataRows],
width: { size: 100, type: WidthType.PERCENTAGE },
});
}
// ── Document ─────────────────────────────────────────────────────────────────
const doc = new Document({
styles: {
default: {
document: { run: { font: 'Calibri', size: 22 } },
},
paragraphStyles: [
{
id: 'Heading1', name: 'Heading 1', basedOn: 'Normal', next: 'Normal',
run: { size: 28, bold: true, color: '1F3864', font: 'Calibri' },
paragraph: { spacing: { before: 400, after: 120 } },
},
{
id: 'Heading2', name: 'Heading 2', basedOn: 'Normal', next: 'Normal',
run: { size: 24, bold: true, color: '2E74B5', font: 'Calibri' },
paragraph: { spacing: { before: 280, after: 100 } },
},
{
id: 'Heading3', name: 'Heading 3', basedOn: 'Normal', next: 'Normal',
run: { size: 22, bold: true, color: '2E74B5', font: 'Calibri' },
paragraph: { spacing: { before: 200, after: 80 } },
},
],
},
sections: [{
properties: {
page: {
margin: { top: 1080, bottom: 1080, left: 1080, right: 1080 },
},
},
headers: {
default: new Header({
children: [new Paragraph({
children: [new TextRun({ text: 'Obesity and Anaesthesia - Clinical Note', italics: true, size: 18, color: '888888', font: 'Calibri' })],
alignment: AlignmentType.RIGHT,
})],
}),
},
footers: {
default: new Footer({
children: [new Paragraph({
children: [
new TextRun({ text: 'Sources: Barash Clinical Anesthesia 9e | Miller\'s Anesthesia 10e Page ', size: 18, color: '888888', font: 'Calibri' }),
new TextRun({ children: [PageNumber.CURRENT], size: 18, color: '888888', font: 'Calibri' }),
],
alignment: AlignmentType.CENTER,
})],
}),
},
children: [
// ── Title block ──
new Paragraph({
children: [new TextRun({ text: 'OBESITY AND ANAESTHESIA', bold: true, size: 40, color: '1F3864', font: 'Calibri' })],
alignment: AlignmentType.CENTER,
spacing: { before: 200, after: 100 },
}),
new Paragraph({
children: [new TextRun({ text: 'Comprehensive Clinical Note', size: 26, color: '2E74B5', italics: true, font: 'Calibri' })],
alignment: AlignmentType.CENTER,
spacing: { before: 0, after: 60 },
}),
new Paragraph({
children: [new TextRun({ text: 'Barash, Cullen & Stoelting\'s Clinical Anesthesia 9e | Miller\'s Anesthesia 10e', size: 20, color: '888888', font: 'Calibri' })],
alignment: AlignmentType.CENTER,
spacing: { before: 0, after: 320 },
}),
hr(),
// ── 1. DEFINITIONS ──
h1('1. DEFINITIONS AND CLASSIFICATION'),
body('Body Mass Index (BMI) = Body weight (kg) / Height² (m²)', { bold: true }),
spacer(),
makeTable(
['Class', 'BMI (kg/m²)', 'Risk Level'],
[
['Overweight', '25 – 29.9', 'Increased'],
['Obese Class I', '30 – 34.9', 'High'],
['Obese Class II', '35 – 39.9', 'Very High'],
['Obese Class III (Morbid)', '40 – 49.9', 'Extremely High'],
['Super Obesity', '50 – 59.9', 'Extremely High'],
['Super-Super Obesity', '≥ 60', 'Extremely High'],
],
[40, 30, 30]
),
spacer(),
h2('Weight Descriptors for Drug Dosing'),
boldBullet('IBW (Ideal Body Weight) – Broca Index: ', 'Males = height(cm) − 100; Females = height(cm) − 105'),
boldBullet('PBW (Predicted Body Weight): ', 'Males = 50 + 0.91 × (ht[cm] − 152.4); Females = 45.5 + 0.91 × (ht[cm] − 152.4)'),
boldBullet('LBW (Lean Body Weight): ', 'TBW minus fat mass; ~80% TBW (males), ~75% TBW (females). In morbidly obese: LBW ≈ IBW + 20–30%'),
boldBullet('TBW (Total Body Weight): ', 'Actual measured weight'),
hr(),
// ── 2. PATHOPHYSIOLOGY ──
h1('2. PATHOPHYSIOLOGY'),
h2('2.1 Respiratory System'),
h3('Lung Volumes and Mechanics'),
bullet('Reduction in FRC, ERV, TLC, and respiratory compliance due to diaphragmatic elevation from abdominal fat'),
bullet('In the supine position, FRC can fall below closing capacity (CC) → small airway closure → V/Q mismatch → shunting → hypoxaemia'),
bullet('Increased VO₂ and VCO₂ due to excess tissue metabolic demand'),
bullet('Increased work of breathing due to chest wall load and reduced compliance'),
bullet('Time to critical desaturation (SpO₂ < 90%) is significantly shorter in obese patients'),
spacer(),
h3('Obstructive Sleep Apnoea (OSA)'),
bullet('Repetitive episodes of complete (apnoea) or partial (hypopnoea) upper airway obstruction during sleep'),
bullet('Caused by soft tissue pharyngeal collapse – worsened by sedation and general anaesthesia'),
bullet('Screen with STOP-BANG score preoperatively (score ≥5 = high risk)'),
bullet('Perioperative risks: respiratory depression from opioids/sedatives, difficult airway, postoperative apnoeic episodes'),
spacer(),
h3('Obesity Hypoventilation Syndrome (OHS) – formerly Pickwickian Syndrome'),
new Paragraph({
children: [new TextRun({ text: 'Definition: ', bold: true, size: 22, font: 'Calibri' }),
new TextRun({ text: 'Daytime hypercapnia (PaCO₂ >45 mmHg) + obesity (BMI ≥30 kg/m²) + exclusion of other causes of hypoventilation', size: 22, font: 'Calibri' })],
spacing: { before: 60, after: 60 },
}),
bullet('Prevalence: up to 50% of obese patients with OSA; up to 50% with BMI ≥50 kg/m²'),
bullet('90% of OHS patients also have OSA'),
bullet('Normally, severe obesity increases respiratory drive to maintain eucapnia (compensates for chest wall loading)'),
boldBullet('In OHS, this compensatory mechanism is abolished', ' – partly due to leptin resistance'),
bullet('Results in: ↓ lung capacity, ↓ FRC, ↓ ERV, ↓ respiratory compliance, ↓ inspiratory muscle strength'),
bullet('Serum bicarbonate elevated (chronic metabolic compensation for CO₂ retention)'),
bullet('Alveolar PCO₂ elevated; CO₂ response may be blunted'),
bullet('Cranial displacement of diaphragm in supine position from central fat distribution'),
bullet('Diaphragmatic myopathy may be a contributing factor'),
boldBullet('Treatment: ', 'Weight loss and NIV (CPAP/BiPAP)'),
spacer(),
h3('Hyperventilation vs. Hypoventilation in Obesity'),
bullet('Obese patients WITHOUT OHS may hyperventilate (increased respiratory drive to compensate for increased metabolic demand)'),
bullet('Under anaesthesia, this compensatory drive is suppressed – major perioperative risk'),
bullet('Post-extubation hypoventilation risks: residual NMB, opioids, upper airway obstruction, supine position impairment'),
bullet('OHS patients are at greatest risk of postoperative respiratory failure'),
spacer(),
h2('2.2 Cardiovascular and Haematologic Systems'),
bullet('Blood volume, cardiac output, and muscle mass all increase linearly with obesity'),
bullet('Chronic pressure and volume overload → LV hypertrophy and dilation'),
bullet('Pulmonary hypertension from OSA-induced hypoxic pulmonary vasoconstriction + increased pulmonary blood flow'),
bullet('Biventricular failure in advanced cases (obesity cardiomyopathy)'),
boldBullet('Key: ', 'Obese patients often appear asymptomatic from cardiac disease due to limited exercise tolerance'),
bullet('Increased risks: coronary artery disease, atrial fibrillation, DVT, PE, stroke'),
boldBullet('Morbid obesity = major independent risk factor for DVT and sudden death from acute PE'),
bullet('Haematologic: polycythaemia (chronic hypoxia), hypercoagulable state, venous stasis'),
spacer(),
h2('2.3 Gastrointestinal System'),
bullet('Increased intra-abdominal pressure → raised intragastric pressure → aspiration risk'),
bullet('Higher incidence of hiatus hernia and GORD (gastro-oesophageal reflux disease)'),
bullet('Non-alcoholic fatty liver disease (NAFLD) – elevated ALT common; no clear correlation with hepatic drug metabolism'),
spacer(),
h2('2.4 Renal and Endocrine Systems'),
bullet('Type 2 diabetes mellitus – extremely common; insulin resistance'),
bullet('Metabolic syndrome: hypertension + dyslipidaemia + hyperglycaemia + central obesity + prothrombotic state'),
bullet('Hypothyroidism may compound respiratory depression'),
bullet('Renal: glomerulomegaly, hyperfiltration, proteinuria, CKD risk'),
hr(),
// ── 3. PREOPERATIVE ──
h1('3. PREOPERATIVE EVALUATION'),
h2('Key History Points'),
boldBullet('OSA Screening – STOP-BANG: ', ''),
new Paragraph({
children: [new TextRun({ text: 'S', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: 'noring ', size: 22, font: 'Calibri' }),
new TextRun({ text: 'T', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: 'ired ', size: 22, font: 'Calibri' }),
new TextRun({ text: 'O', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: 'bserved apnoeas ', size: 22, font: 'Calibri' }),
new TextRun({ text: 'P', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: 'ressure (HTN) ', size: 22, font: 'Calibri' }),
new TextRun({ text: 'B', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: 'MI >35 ', size: 22, font: 'Calibri' }),
new TextRun({ text: 'A', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: 'ge >50 ', size: 22, font: 'Calibri' }),
new TextRun({ text: 'N', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: 'eck >40 cm ', size: 22, font: 'Calibri' }),
new TextRun({ text: 'G', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: 'ender male', size: 22, font: 'Calibri' })],
bullet: { level: 1 },
spacing: { before: 40, after: 40 },
}),
bullet('Score 5–8 = High risk for OSA', 1),
bullet('Ask about CPAP/BiPAP use at home'),
bullet('OHS symptoms: daytime somnolence, morning headaches (CO₂ retention), cor pulmonale signs'),
spacer(),
h2('Physical Examination'),
boldBullet('Neck circumference ≥40 cm', ' = single biggest predictor of difficult mask ventilation, difficult laryngoscopy, and difficult intubation'),
bullet('Mallampati score, mouth opening, neck mobility, jaw protrusion'),
bullet('BP measurement: use appropriately sized large cuff; too-small cuff gives falsely elevated readings'),
bullet('Forearm BP with standard cuff acceptable in supine position'),
spacer(),
h2('Investigations'),
bullet('ECG; echocardiography if cardiac disease suspected'),
bullet('Chest X-ray; spirometry/PFTs'),
bullet('ABG if OHS suspected (daytime hypercapnia, elevated serum bicarbonate)'),
bullet('FBC (polycythaemia?), U&E, LFTs, HbA1c/glucose'),
bullet('Polysomnography (sleep study) if OSA not previously diagnosed'),
hr(),
// ── 4. PHARMACOLOGY ──
h1('4. PHARMACOLOGY IN OBESITY'),
h2('Drug Dosing Weight Reference'),
makeTable(
['Drug', 'Dosing Weight', 'Notes'],
[
['Propofol (induction)', 'LBW', 'Avoid overdose; titrate'],
['Propofol (maintenance)', 'TBW', 'Highly lipophilic; distributes into fat'],
['Thiopentone', 'LBW', 'Titrate carefully'],
['Succinylcholine', 'TBW', '↑ Pseudocholinesterase activity with obesity'],
['Rocuronium / Vecuronium', 'IBW', 'Hydrophilic; minimal fat distribution'],
['Sugammadex', 'TBW', 'Must capture all free rocuronium molecules'],
['Fentanyl (bolus)', 'LBW', ''],
['Remifentanil (infusion)', 'LBW', ''],
['Morphine', 'IBW', 'Avoid overdose'],
['Neostigmine', 'IBW', ''],
],
[30, 25, 45]
),
spacer(),
h2('Sugammadex in Obesity – Special Consideration'),
bullet('NMBDs (rocuronium) dosed on IBW/LBW – hydrophilic, minimal adipose distribution'),
boldBullet('Sugammadex must be dosed on TBW (actual body weight)', ' – current recommendation'),
bullet('Rationale: must encapsulate ALL free rocuronium molecules including those redistributing from peripheral compartments'),
bullet('When dosed on lean/IBW alone: ~40% of morbidly obese patients have inadequate reversal'),
bullet('Dosing on LBW + 40% adequately reverses moderate block in most patients'),
bullet('Reoccurrence of NMB after sub-optimal sugammadex dosing has been reported in morbidly obese patients'),
boldBullet('Critical: ', 'Residual NMB in obese patients → upper airway collapse → respiratory failure; complete reversal mandatory before extubation'),
hr(),
// ── 5. INTRAOPERATIVE ──
h1('5. INTRAOPERATIVE MANAGEMENT'),
h2('5.1 Equipment and Monitoring'),
bullet('Check operating table weight limit (standard ~200–250 kg; bariatric tables ~450+ kg)'),
bullet('Wide padded table extensions; pad all pressure points (high risk of pressure injury)'),
bullet('IV access: may require ultrasound guidance; consider early central venous access'),
bullet('Arterial line: strongly consider for major cases, OHS patients – continuous BP and ABG'),
boldBullet('Neuromuscular monitoring (TOF/TOF-ratio): MANDATORY', ' – exclude residual NMB before extubation'),
bullet('BIS/processed EEG: recommended – complex propofol dosing, avoid awareness and excessive depth'),
spacer(),
h2('5.2 Airway Management'),
h3('Predicted Difficult Airway Indicators'),
bullet('Neck circumference ≥40 cm (strongest predictor)'),
bullet('High Mallampati score, limited neck extension, large tongue'),
bullet('STOP-BANG ≥5 + neck >40 cm: significantly increased difficult intubation risk'),
spacer(),
h3('Preoxygenation'),
bullet('Critical step – obese patients desaturate far more rapidly than non-obese due to ↓ FRC + ↑ VO₂'),
bullet('Position: head-up (ramped, 20–30° elevation) during pre-oxygenation'),
bullet('Tight-fitting face mask, 100% O₂ for ≥3–5 minutes (or 8 vital capacity breaths)'),
bullet('Consider high-flow nasal oxygen (HFNO) during apnoeic phase'),
bullet('Consider CPAP/NIV pre-oxygenation in severely obese patients – recruits atelectatic alveoli, augments FRC'),
spacer(),
h3('The Ramped / HELP Position'),
bullet('Standard sniffing position inadequate in morbidly obese (large occipital fat pad)'),
boldBullet('Ramped position: ', 'upper body elevated until external auditory meatus is at the same horizontal level as the sternal notch'),
bullet('Aligns oral, pharyngeal, and laryngeal axes optimally'),
bullet('Improves laryngoscopic view AND improves FRC during preoxygenation'),
spacer(),
h3('RSI (Rapid Sequence Induction)'),
bullet('Strongly recommended in morbidly obese patients due to raised aspiration risk'),
bullet('Succinylcholine (TBW-dosed) OR high-dose rocuronium 1.2 mg/kg IBW with sugammadex available'),
bullet('Cricoid pressure (Sellick\'s manoeuvre) applied'),
bullet('Avoid mask ventilation between induction and intubation in full RSI'),
spacer(),
h3('Intubation Strategy'),
bullet('Video laryngoscopy: preferred when difficult airway is anticipated'),
bullet('Awake fibre-optic intubation (AFOI): for the truly predicted difficult airway'),
bullet('LMA: generally avoided (aspiration risk, poor seal at high airway pressures) – use only as rescue device'),
bullet('ALWAYS have a failed intubation plan ready + surgical airway kit available'),
bullet('2025 SOBA Guidelines: video laryngoscopy is first-line for obese patients with anticipated difficult airway (PMID 40468902)'),
spacer(),
h2('5.3 Mechanical Ventilation – Lung Protective Strategy'),
makeTable(
['Parameter', 'Target / Strategy', 'Rationale'],
[
['Tidal Volume', '6–8 ml/kg IBW/PBW (NOT TBW)', 'Prevent VILI – TBW-based causes dangerous over-distension'],
['PEEP', '8–12 cmH₂O; titrate to SpO₂/PaO₂', 'Only parameter consistently improving respiratory function in obese patients'],
['Recruitment Manoeuvres', 'Sustained inflation 30–40 cmH₂O for 30–40 sec', 'Re-opens collapsed alveoli; check haemodynamics after'],
['FiO₂', 'Start 60–80%; titrate down with PEEP', 'Minimise absorption atelectasis'],
['Respiratory Rate', 'Adjust for normocapnia', 'OHS patients: permissive hypercapnia near their baseline'],
],
[25, 45, 30]
),
spacer(),
boldBullet('PEEP Note: ', 'PEEP decreases venous return and cardiac output – monitor haemodynamics when titrating up'),
spacer(),
h2('5.4 Regional Anaesthesia'),
bullet('Strongly encouraged – opioid-sparing, avoids airway instrumentation'),
boldBullet('Ultrasound guidance is essential', ' – landmark techniques very difficult due to adiposity'),
bullet('Spinal/epidural: increased epidural fat reduces epidural space volume → more cephalad spread → use REDUCED doses'),
bullet('Risk of high/total spinal block in obese patients'),
bullet('Post-spinal: significant reduction in lung volumes – respiratory monitoring essential'),
spacer(),
h2('5.5 Emergence and Extubation'),
new Paragraph({
children: [new TextRun({ text: 'Extubation checklist – ALL must be confirmed:', bold: true, size: 22, font: 'Calibri' })],
spacing: { before: 80, after: 60 },
}),
bullet('Patient fully awake and following commands'),
bullet('TOF ratio ≥0.9 (ideally ≥0.95) confirmed – use sugammadex dosed on TBW'),
bullet('Adequate spontaneous ventilation: rate, tidal volume, airway reflexes intact'),
bullet('Able to open eyes, lift head for 5 seconds, grip'),
boldBullet('Extubate in the head-up / semi-recumbent position', ' – NEVER supine'),
bullet('Video laryngoscopy / re-intubation equipment immediately available'),
bullet('Consider applying CPAP at extubation (patient\'s home CPAP mask)'),
hr(),
// ── 6. POSTOPERATIVE ──
h1('6. POSTOPERATIVE CONSIDERATIONS'),
h2('6.1 Respiratory Monitoring'),
bullet('Maximum respiratory risk in the first 24–72 hours postoperatively'),
bullet('Key threats: opioid-induced respiratory depression, residual NMB, supine position, wound pain'),
boldBullet('Continuous pulse oximetry: mandatory', '; consider capnography in high-risk cases'),
bullet('Nurse semi-recumbent (45°) or lateral – never supine'),
bullet('Resume home CPAP/BiPAP immediately postoperatively; early institution is key for OHS'),
spacer(),
h3('HDU/ICU Indications'),
bullet('BMI >50 kg/m²'),
bullet('Significant OSA or OHS'),
bullet('Significant cardiac or pulmonary disease'),
bullet('Major surgery or prolonged anaesthesia'),
spacer(),
h2('6.2 Postoperative Analgesia – OSA-Aware Multimodal Approach'),
body('Goal: Opioid-sparing multimodal analgesia to minimise respiratory depression risk'),
makeTable(
['Agent', 'Role / Notes'],
[
['NSAIDs', 'Opioid-sparing; use if no contraindications'],
['Paracetamol (IV/oral)', 'First-line adjunct'],
['Regional analgesia', 'Most effective opioid-sparing strategy (epidural, TAP, PNBs)'],
['Dexamethasone', 'Anti-inflammatory; reduces opioid requirements'],
['Low-dose Ketamine', 'Anti-hyperalgesic adjunct'],
['Dexmedetomidine', 'Analgesic + sedation-sparing; reduces opioid use'],
['Gabapentin/Pregabalin', 'Use cautiously – can worsen respiratory depression in OSA'],
['Opioids', 'Minimum effective dose only; avoid long-acting in high-risk patients'],
],
[35, 65]
),
spacer(),
boldBullet('Neuraxial opioids: ', 'Risk of delayed respiratory depression – lipophilic opioids spread rostrally over time; close monitoring mandatory'),
spacer(),
h2('6.3 DVT / PE Prophylaxis'),
boldBullet('Morbid obesity = major independent risk factor for DVT and fatal PE'),
bullet('LMWH: dose based on actual body weight (with centre-specific maximum dose protocols)'),
bullet('Sequential compression devices (SCDs/TED stockings): apply intra- and postoperatively'),
bullet('Early mobilisation: difficult but critical; physiotherapy involvement'),
bullet('Consider extended prophylaxis (post-discharge LMWH) for high-risk patients'),
hr(),
// ── 7. OSA PERIOPERATIVE SUMMARY TABLE ──
h1('7. OSA / OHS – PERIOPERATIVE MANAGEMENT SUMMARY'),
makeTable(
['Phase', 'Key Actions'],
[
['Preoperative', 'Screen with STOP-BANG; assess for OHS (ABG, serum HCO₃); continue CPAP; optimise comorbidities'],
['Induction', 'RSI; ramped position; video laryngoscopy; full preoxygenation with head-up; HFNO apnoeic oxygenation'],
['Intraoperative', 'PEEP ventilation; lung-protective TV on IBW; mandatory NMB monitoring; head-up positioning'],
['Emergence', 'Fully awake extubation; confirm complete NMB reversal (sugammadex TBW); extubate head-up'],
['Postoperative', 'Resume CPAP immediately; continuous SpO₂ ± capnography; HDU if needed; opioid-sparing analgesia; DVT prophylaxis'],
],
[20, 80]
),
hr(),
// ── 8. KEY POINTS ──
h1('8. KEY POINTS (Barash Clinical Anesthesia 9e – Chapter 45)'),
new Paragraph({
children: [new TextRun({ text: '1.', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: ' Obese patients may have significant cardiovascular disease and appear asymptomatic because they often have limited exercise tolerance.', size: 22, font: 'Calibri' })],
spacing: { before: 60, after: 60 },
}),
new Paragraph({
children: [new TextRun({ text: '2.', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: ' Elevated LFTs (mainly ALT) are seen in many obese patients, but no clear correlation exists with the capacity of the liver to metabolise drugs.', size: 22, font: 'Calibri' })],
spacing: { before: 60, after: 60 },
}),
new Paragraph({
children: [new TextRun({ text: '3.', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: ' Neck circumference ≥40 cm is the biggest predictor of difficult mask ventilation, difficult laryngoscopy, and difficult intubation.', size: 22, font: 'Calibri' })],
spacing: { before: 60, after: 60 },
}),
new Paragraph({
children: [new TextRun({ text: '4.', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: ' Evidence of OSA and OHS should be obtained preoperatively – frequently associated with difficult airway and increased perioperative pulmonary complications.', size: 22, font: 'Calibri' })],
spacing: { before: 60, after: 60 },
}),
new Paragraph({
children: [new TextRun({ text: '5.', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: ' Blood pressure measurements can be falsely elevated if cuff is too small; forearm BP with standard cuff is acceptable in supine position.', size: 22, font: 'Calibri' })],
spacing: { before: 60, after: 60 },
}),
new Paragraph({
children: [new TextRun({ text: '6.', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: ' The "ramped" position improves laryngoscopic view compared to the standard sniffing position in obese patients.', size: 22, font: 'Calibri' })],
spacing: { before: 60, after: 60 },
}),
new Paragraph({
children: [new TextRun({ text: '7.', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: ' Larger doses of induction agents are required; succinylcholine dose is increased (pseudocholinesterase activity increases with obesity).', size: 22, font: 'Calibri' })],
spacing: { before: 60, after: 60 },
}),
new Paragraph({
children: [new TextRun({ text: '8.', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: ' PEEP is the only ventilatory parameter consistently shown to improve respiratory function in obese patients – but decreases venous return and cardiac output.', size: 22, font: 'Calibri' })],
spacing: { before: 60, after: 60 },
}),
new Paragraph({
children: [new TextRun({ text: '9.', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: ' Prompt but safe extubation reduces the likelihood that the morbidly obese patient will become ventilator dependent.', size: 22, font: 'Calibri' })],
spacing: { before: 60, after: 60 },
}),
new Paragraph({
children: [new TextRun({ text: '10.', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: ' Opioid-sparing multimodal analgesia and regional techniques reduce the risk of opioid-related respiratory complications.', size: 22, font: 'Calibri' })],
spacing: { before: 60, after: 60 },
}),
new Paragraph({
children: [new TextRun({ text: '11.', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: ' Obese patients receiving neuraxial or parenteral opioids require careful postoperative monitoring – delayed respiratory depression risk.', size: 22, font: 'Calibri' })],
spacing: { before: 60, after: 60 },
}),
new Paragraph({
children: [new TextRun({ text: '12.', bold: true, size: 22, font: 'Calibri' }), new TextRun({ text: ' Morbid obesity is a major independent risk factor for DVT and sudden death from acute postoperative pulmonary embolism. Early mobilisation is critical.', size: 22, font: 'Calibri' })],
spacing: { before: 60, after: 60 },
}),
hr(),
// ── SOURCES ──
h1('Sources'),
bullet('Barash, Cullen, and Stoelting\'s Clinical Anesthesia, 9e – Chapter 45: Anesthesia and Obesity'),
bullet('Miller\'s Anesthesia, 10e – Chapter 54: Obesity as a Disease; Chapter 9: OHS and Sleep'),
bullet('McKechnie A et al. (2025). Airway management in patients living with obesity: SOBA best practice recommendations. Anaesthesia. PMID: 40468902'),
bullet('Carron M et al. (2024). Multimodal analgesia in obesity – systematic review and network meta-analysis. Br J Anaesth. PMID: 39366846'),
],
}],
});
Packer.toBuffer(doc).then(buffer => {
fs.writeFileSync('/home/daytona/workspace/obesity-anaesthesia/Obesity_and_Anaesthesia.docx', buffer);
console.log('Done');
});
cd /home/daytona/workspace/obesity-anaesthesia && node build.js 2>&1
python /home/daytona/skills/docx/scripts/office/validate.py /home/daytona/workspace/obesity-anaesthesia/Obesity_and_Anaesthesia.docx 2>&1
ls -lh /home/daytona/workspace/obesity-anaesthesia/Obesity_and_Anaesthesia.docx && python3 -c " import zipfile with zipfile.ZipFile('/home/daytona/workspace/obesity-anaesthesia/Obesity_and_Anaesthesia.docx') as z: names = z.namelist() print('Files in docx:', names[:8]) print('Valid docx structure:', 'word/document.xml' in names) "
Obesity and Anaesthesia
Word Document · DOCX