forty five years old female with ventral hernia scheduled for hernia reduction and abdominal wall repair. give a details for short case presentation for md anaesthesiology

Reading File
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Searching PubMed

ventral hernia repair anesthesia management

Searching the Web

anaesthesia short case presentation ventral hernia abdominal wall repair MD anaesthesiology

I now have sufficient information to compose a detailed, well-structured MD Anaesthesiology short case presentation. Let me put this together.

Short Case Presentation: Anaesthesia for Ventral Hernia Reduction and Abdominal Wall Repair

MD Anaesthesiology - Short Case Format

CASE SUMMARY

Patient: 45-year-old female Diagnosis: Ventral hernia (incisional/primary) Planned procedure: Hernia reduction + abdominal wall repair (open/laparoscopic) ASA Physical Status: To be determined after full evaluation (likely ASA II)

I. PREOPERATIVE ASSESSMENT

A. History

Chief Complaint: Reducible/irreducible swelling over the anterior abdominal wall
History of Present Illness:
  • Duration, size, and progression of the hernia
  • Reducibility - is it reducible/irreducible/obstructed/strangulated?
  • Associated symptoms: pain, nausea, vomiting, constipation, signs of bowel obstruction
  • Previous repair attempts (recurrent hernia vs. primary)
Surgical & Anaesthetic History:
  • Prior abdominal surgeries (the most common cause of ventral/incisional hernia - occurs in ~12% after open abdominal surgery)
  • Previous anaesthetic exposures - any adverse reactions, difficult airway, PONV
  • History of difficult intubation, stridor, or sleep apnoea
Relevant Past Medical History:
  • Diabetes mellitus (impairs wound healing, increases risk of SSI)
  • Hypertension (common in middle-aged females)
  • Obesity / BMI (a major risk factor for hernia and for airway difficulty)
  • Cardiovascular disease (IHD, valvular disease)
  • Respiratory disease (COPD, asthma - particularly relevant since abdominal wall repair impacts respiratory mechanics)
  • Renal/hepatic disease (affects drug metabolism and clearance)
  • Thyroid disease (perioperative implications)
Drug History:
  • Antihypertensives (ACE inhibitors - consider withholding on morning of surgery; beta-blockers - continue)
  • Anticoagulants / antiplatelet agents (timing of cessation, bridging)
  • Steroids (adrenal suppression - steroid cover required)
  • Oral hypoglycaemics / insulin (perioperative glycaemia management)
  • Herbal medications (garlic, ginkgo - antiplatelet effects; St John's Wort - drug interactions)
Allergies: Latex (relevant - latex precautions if positive), drug allergies
Social History: Smoking (impairs wound healing, increases PPCs), alcohol, obesity (BMI)
Menstrual History: Last menstrual period, pregnancy status (mandatory to exclude in a 45-year-old female - perimenopause)

B. Systemic Examination

Airway Assessment (Mallampati, LEMON):
  • Mouth opening (>3 finger breadths), Mallampati class, TMJ distance, neck mobility, thyromental distance (>6.5 cm normal), sternomental distance
  • Obesity raises index of suspicion for difficult airway
  • Note any scar/mass near neck
Cardiovascular:
  • Pulse (rate, rhythm, volume), BP (both arms if indicated)
  • JVP, cardiac auscultation (murmurs), peripheral oedema
  • Signs of cardiac failure
Respiratory:
  • Rate, SpO2, tracheal position, respiratory excursion
  • Auscultation (wheeze, crepts)
  • Note: postoperative pain from abdominal wall repair causes splinting, reducing FRC - pre-existing compromise is significant
Abdominal:
  • Hernia: location (epigastric, umbilical, incisional, paraumbilical, Spigelian), size, reducibility, overlying skin condition, content (omentum vs. bowel), cough impulse
  • Signs of bowel obstruction or strangulation (tenderness, skin discolouration, fever - emergency if present)
  • Other abdominal masses, hepatosplenomegaly
Spine (if neuraxial considered):
  • Lumbar spine - scoliosis, previous spinal surgery, tattoos, infection over puncture site

II. INVESTIGATIONS

InvestigationRationale
CBC / HbAnaemia - transfusion threshold; WBC for infection
BGL / HbA1cGlycaemic control
Serum electrolytes, BUN, creatinineBaseline renal function; hypokalaemia if on diuretics
LFTsBaseline; affects drug metabolism
Coagulation profile (PT, aPTT, INR)Especially if anticoagulated or bowel obstruction (VK deficiency)
Blood group & crossmatchExtensive AWR may have significant EBL
Serum proteins / AlbuminWound healing, nutritional status
ECGBaseline cardiac; age >40
Chest X-rayBaseline pulmonary, cardiomegaly, mediastinum
EchocardiographyIf clinically indicated (murmur, cardiac symptoms, poor functional capacity)
PFTsIf respiratory compromise suspected
Urine pregnancy testMandatory in reproductive-age/perimenopausal female
Urine routineBaseline
CT AbdomenHernia sac content, size of defect, abdominal domain loss (relevant for large/complex AWR)

III. PREMEDICATION & PREPARATION

  • Fasting: NPO - solids 6-8 hours, clear liquids 2 hours (2023 ASA guidelines)
  • Anxiolytic: Tab alprazolam 0.25 mg or Tab lorazepam 0.5-1 mg night before (individualized)
  • Antiemetic premedication: Tab ondansetron 4-8 mg (PONV risk - female, non-smoker, opioid use, abdominal surgery = high PONV risk by Apfel score)
  • Antacid: Tab ranitidine 150 mg or omeprazole 20 mg (full stomach risk if bowel content in sac)
  • Aspiration prophylaxis: Sodium citrate 30 mL orally if strangulated/obstructed
  • Antihypertensives: Continue beta-blockers and CCBs; withhold ACE inhibitors and ARBs on morning of surgery (risk of refractory intraoperative hypotension)
  • Insulin management: Sliding scale / VRIII protocol perioperatively
  • DVT prophylaxis: Compression stockings + LMWH (start postoperatively; abdominal wall repair is moderate-high risk)
  • Antibiotics: 1st gen cephalosporin (cefazolin 1-2 g IV) 30-60 min before incision (mesh insertion - SSI prophylaxis)

IV. ANAESTHETIC TECHNIQUE

Choice of Anaesthesia

General Anaesthesia is the preferred technique for abdominal wall repair.
  • Provides optimal muscle relaxation for fascial closure
  • Allows airway control (especially important if large hernia with raised intraabdominal pressure)
  • Allows controlled ventilation
Neuraxial (spinal/epidural): May be considered for small/superficial defects or high-risk patients (combined with sedation), but limited by the inability to provide adequate muscle relaxation for large defects and patient discomfort with long surgical duration.
Combined GA + Epidural: Excellent option for open repair, especially large incisional hernias - reduces intraoperative opioid requirement and provides superior postoperative analgesia. Epidural catheter at T8-T10 level.

Airway Plan

  • Standard plan: RSI (if strangulated/obstructed) or standard IV induction + direct laryngoscopy + ETT (cuffed, size 7.0 mm)
  • Backup: Video laryngoscope, LMA (for failed intubation rescue), difficult airway trolley at bedside
  • Obese patient: Ramped position for intubation

IV Access and Monitoring

  • IV access: 2 large-bore peripheral IV lines (16G or 18G)
  • Standard ASA/AAGBI monitoring:
    • ECG (continuous, 5-lead preferred)
    • Pulse oximetry (SpO2)
    • Non-invasive BP (NIBP) q3-5 min
    • Capnography (EtCO2) - mandatory during GA
    • Temperature monitoring (large abdominal surgeries - risk of hypothermia)
    • Urine output (Foley catheter, hourly UO - target >0.5 mL/kg/hr)
  • Invasive monitoring (if indicated): IBP via radial arterial line (haemodynamically unstable, complex AWR, significant cardiac disease), CVP (large fluid shifts, poor peripheral access)
  • Neuromuscular monitoring (TOF): Mandatory when using NMBDs - adductor pollicis muscle

Induction

Preoxygenation: 100% O2 for 3-5 min (8 deep breaths technique in obese), SpO2 target >98%
Drugs:
DrugDoseRationale
Inj. Fentanyl1-2 mcg/kg IVPreemptive analgesia, blunt laryngoscopy response
Inj. Propofol1.5-2.5 mg/kg IVSmooth induction, antiemetic properties
(Alternative: Thiopentone)4-5 mg/kg IVIf propofol unavailable
Inj. Succinylcholine1.5 mg/kg IV (RSI)If risk of aspiration (obstructed/strangulated hernia)
Inj. Atracurium/Vecuronium0.5 mg/kg / 0.1 mg/kgIntubating NMB for elective case
Inj. Lidocaine1.5 mg/kg IVBlunt intubation response, reduces coughing
Technique: Modified RSI if full stomach; standard induction for elective reducible hernia

Maintenance

Airway: Cuffed ETT, IPPV (volume-controlled or pressure-controlled)
Ventilation strategy:
  • Tidal volume: 6-8 mL/kg IBW (lung-protective ventilation)
  • RR: 12-14/min
  • PEEP: 5-8 cmH2O (prevent atelectasis, maintain FRC)
  • EtCO2 target: 35-40 mmHg
Anaesthetic agents:
  • Inhalational: Isoflurane (1-1.2 MAC) or Sevoflurane in O2:air (50:50 or 60:40) - avoid N2O if bowel distension is a concern
  • IV adjuncts: Propofol infusion (TIVA) alternatively
  • Opioids: Fentanyl top-ups (0.5-1 mcg/kg) OR morphine infusion 0.1-0.2 mg/kg/hr
  • NMBD maintenance: Atracurium 0.1-0.15 mg/kg increments or infusion - ensures adequate abdominal wall relaxation for fascia closure. Vecuronium 0.01-0.015 mg/kg increments
  • Multimodal analgesia: IV paracetamol 1 g 8-hourly, IV ketorolac 15-30 mg (if no contraindications)
  • Dexamethasone 8 mg IV: At induction - antiemetic + anti-inflammatory
Fluid management:
  • Balanced crystalloid (Ringer's lactate / PlasmaLyte) - goal-directed
  • Target: euvolaemia; avoid large volumes of NS (hyperchloraemic acidosis)
  • Replace insensible losses: 1-2 mL/kg/hr for open abdomen + 4-6 mL/kg/hr surgical losses
  • Blood transfusion trigger: Hb <7 g/dL (or <8 g/dL in cardiac patients)

Specific Intraoperative Considerations

  1. Abdominal wall closure and raised IAP: When the hernia sac is large (loss of abdominal domain), reduction of contents and fascial closure causes a sudden rise in intraabdominal pressure (IAP). This can cause:
    • Impaired diaphragmatic excursion - reduced lung compliance, raised airway pressures
    • Inferior vena cava compression - reduced venous return, hypotension
    • Reduced renal perfusion - oliguria
    • Surgeon should be alerted; ventilator adjustments (increase PIP tolerance), vasopressors PRN
    • Abdominal compartment syndrome risk if large hernia
  2. Muscle relaxation: Adequate NMB is critical for fascial closure. Adductor pollicis TOF count should be 0/4 at time of abdominal wall closure.
  3. Temperature: Use warm IV fluids, forced-air warming blanket (Bair Hugger), warm humidified gases. Target normothermia (>36.0°C).
  4. Positioning: Supine, arms out (standard open abdominal position). Padding of pressure points.
  5. Mesh insertion: If prosthetic mesh used, confirm antibiotic prophylaxis administered.

V. REGIONAL ANALGESIA TECHNIQUES

Multimodal analgesia with regional blocks is recommended to reduce opioid consumption:
BlockLandmarkDrugsIndication
TAP block (Transversus Abdominis Plane)US-guided bilateral0.25% bupivacaine 20 mL each sideOpen VHR - effective, well-studied (PMID: 40069343 - 2025 meta-analysis confirms efficacy)
Erector Spinae Plane (ESP) blockUS-guided bilateral T8-T100.25% bupivacaine 20 mL each sideExcellent for incisional hernia AWR
Rectus Sheath BlockUS-guided bilateral0.25% bupivacaine 15 mL each sideMidline incisions
Epidural (T8-T10)Combined with GA0.125-0.25% bupivacaine + fentanylLarge open AWR, complex cases
Wound infiltrationBy surgeon0.5% bupivacaineAll cases as adjunct

VI. EMERGENCE AND EXTUBATION

  • Reverse NMB: Neostigmine 0.05 mg/kg + Glycopyrrolate 0.01 mg/kg IV (when TOF ratio ≥0.4 or T2 on TOF count) OR Sugammadex 2 mg/kg IV (when TOF count 2/4 - preferred for rapid, complete reversal)
  • Criteria for extubation:
    • TOF ratio ≥0.9 (quantitative monitoring)
    • Awake, responsive to commands
    • Adequate spontaneous ventilation (TV >5 mL/kg, RR 10-20)
    • SpO2 ≥95% on room air
    • Normothermic, haemodynamically stable
  • Technique: Avoid coughing/straining at extubation (strains repair) - consider deep extubation if appropriate, or lignocaine 1.5 mg/kg IV 3-4 min before extubation, or remifentanil infusion during emergence
  • Semi-recumbent position (head-up 30°) for extubation - reduces aspiration risk, improves FRC

VII. POSTOPERATIVE MANAGEMENT

Recovery Room (PACU)

  • Standard monitoring: SpO2, NIBP, ECG, temp, pain score (NRS), sedation score
  • Supplemental O2 via face mask (maintain SpO2 >95%)
  • Hourly UO monitoring
  • IV fluid maintenance (RL at 80-100 mL/hr until oral intake established)

Pain Management (Multimodal)

DrugRouteDoseFrequency
ParacetamolIV/PO1 gq6h
Ketorolac / DiclofenacIV/PR/PO15-30 mg / 75 mgq8h (48h max for ketorolac)
TAP block (if not done intraop)US-guidedAs aboveSingle shot
Morphine / TramadolIV/IM0.1 mg/kg / 1-2 mg/kgPRN (NRS ≥4)
Epidural infusion (if placed)Epidural0.1% bupivacaine + fentanyl 2 mcg/mLContinuous

Antiemesis

  • Ondansetron 4 mg IV q8h (high PONV risk - female, non-smoker, opioid use)
  • Dexamethasone (given at induction provides 24h coverage)

Respiratory Care

  • Incentive spirometry - early mobilization
  • Deep breathing exercises
  • Chest physiotherapy if at-risk

Early mobilization

  • Day 1 POD: sit up, ambulate with support
  • Reduces DVT risk, ileus, PPCs

DVT Prophylaxis

  • LMWH (enoxaparin 40 mg SC) once daily starting 6-12h postoperatively
  • Compression stockings

Monitoring for Complications

ComplicationSignsManagement
Abdominal compartment syndromeRaised airway pressures, oliguria, abdominal rigidity, IAP >20 mmHgUrgent surgical decompression
Wound infection / SSIFever, wound discharge, erythemaCultures, antibiotics, wound care
SeromaFluctuant swelling over repairUsually self-limiting; aspiration if large
HaematomaSwelling, pain, anaemiaSurgical evacuation if expanding
RecurrenceBulge at repair siteRe-exploration
Respiratory compromiseHypoxia, tachypnoeaO2, physio, CPAP/NIV if needed
PONVNausea, vomitingRescue antiemetics, metoclopramide

VIII. ANTICIPATED QUESTIONS FOR VIVA

Q: Why is muscle relaxation important in this case? Adequate neuromuscular blockade (TOF count 0/4) is essential during abdominal wall closure to facilitate fascial approximation and prevent wound dehiscence from straining. Deep NMB improves surgical conditions and reduces intraabdominal pressure during laparoscopic repair.
Q: What is "loss of abdominal domain"? When a large hernia contains >20-30% of the abdominal viscera, the abdominal cavity has "lost its domain" and repatriation of contents results in a sudden rise in IAP. This manifests as raised airway pressures, hypotension, and oliguria. Preoperative Botulinum Toxin A (to lateral abdominal muscles) and progressive pneumoperitoneum may be used to expand the abdominal cavity before repair.
Q: Which regional technique would you choose? For open repair, a bilateral TAP block with 0.25% bupivacaine 20 mL each side is the first choice (supported by 2025 meta-analysis - PMID 40069343). For extensive AWR with component separation, a thoracic epidural at T8-T10 or bilateral ESP blocks provide superior coverage.
Q: Why avoid N2O? Nitrous oxide diffuses into gas-containing cavities faster than nitrogen exits, potentially causing bowel distension - especially problematic if bowel is within the hernia sac or if bowel obstruction is present.
Q: How do you manage a strangulated hernia? Treat as an emergency with full stomach precautions. Perform RSI with cricoid pressure (Sellick's manoeuvre). Avoid fentanyl at induction to prevent masking of aspiration. Insert NGT after intubation to decompress the stomach.
Q: What is the significance of the patient being female aged 45? Perimenopausal status - rule out pregnancy. Higher PONV risk (female sex is one of the 4 Apfel risk factors). Metabolic syndrome and abdominal adiposity are more common in this age group, predisposing to hernia and technically challenging repair. Hormonal changes may affect coagulation. DVT risk counselling is important.

IX. SUMMARY TABLE

PhaseKey Actions
PreopFull systemic assessment, optimize comorbidities, consent, NBM, premedication
IntraopGA + ETT, TOF monitoring, lung-protective ventilation, adequate NMB, multimodal analgesia, TAP/ESP block
EmergenceEnsure full NMB reversal (TOF >0.9), smooth extubation, avoid coughing
PostopMultimodal analgesia, antiemetics, DVT prophylaxis, respiratory physiotherapy, monitor for complications

References:

please make me a pdf

Reading File
Running Command

ls -la /tmp/workspace/ 2>/dev/null || mkdir -p /tmp/workspace && echo "Created workspace"

Running Command

mkdir -p /tmp/workspace/hernia-anaesthesia && cat > /tmp/workspace/hernia-anaesthesia/generate_pdf.py << 'PYEOF' from reportlab.lib.pagesizes import A4 from reportlab.lib import colors from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle from reportlab.lib.units import cm, mm from reportlab.platypus import (SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, HRFlowable, KeepTogether) from reportlab.lib.enums import TA_CENTER, TA_LEFT, TA_JUSTIFY from reportlab.platypus import PageBreak OUTPUT = "/tmp/workspace/hernia-anaesthesia/VentralHernia_Anaesthesia_ShortCase.pdf" doc = SimpleDocTemplate( OUTPUT, pagesize=A4, leftMargin=2*cm, rightMargin=2*cm, topMargin=2.2*cm, bottomMargin=2.2*cm, title="Short Case: Anaesthesia for Ventral Hernia Repair", author="MD Anaesthesiology" ) W, H = A4 styles = getSampleStyleSheet() # Custom styles NAVY = colors.HexColor("#1a3a5c") TEAL = colors.HexColor("#0d7377") LIGHT_BLUE = colors.HexColor("#e8f4f8") LIGHT_TEAL = colors.HexColor("#e0f5f5") HEADER_BG = colors.HexColor("#1a3a5c") ROW_ALT = colors.HexColor("#f2f8fc") WHITE = colors.white def style(name, **kwargs): s = ParagraphStyle(name, **kwargs) return s title_style = style("TitleStyle", fontSize=18, fontName="Helvetica-Bold", textColor=WHITE, alignment=TA_CENTER, spaceAfter=4) subtitle_style = style("SubtitleStyle", fontSize=11, fontName="Helvetica", textColor=colors.HexColor("#cce8f4"), alignment=TA_CENTER, spaceAfter=2) section_style = style("SectionStyle", fontSize=12, fontName="Helvetica-Bold", textColor=WHITE, spaceBefore=6, spaceAfter=4, leftIndent=0) subsection_style = style("SubsectionStyle", fontSize=10.5, fontName="Helvetica-Bold", textColor=NAVY, spaceBefore=6, spaceAfter=2) body_style = style("BodyStyle", fontSize=9.5, fontName="Helvetica", textColor=colors.HexColor("#222222"), leading=14, spaceBefore=2, spaceAfter=2, alignment=TA_JUSTIFY) bullet_style = style("BulletStyle", fontSize=9.5, fontName="Helvetica", textColor=colors.HexColor("#222222"), leading=13, leftIndent=14, firstLineIndent=-10, spaceBefore=1, spaceAfter=1) bold_body = style("BoldBody", fontSize=9.5, fontName="Helvetica-Bold", textColor=NAVY, leading=14, spaceBefore=2, spaceAfter=2) note_style = style("NoteStyle", fontSize=8.5, fontName="Helvetica-Oblique", textColor=colors.HexColor("#555555"), leading=12, spaceBefore=2, spaceAfter=2, alignment=TA_JUSTIFY) def hr(): return HRFlowable(width="100%", thickness=0.5, color=colors.HexColor("#ccddee"), spaceAfter=4, spaceBefore=4) def section_header(text): data = [[Paragraph(text, section_style)]] t = Table(data, colWidths=[doc.width]) t.setStyle(TableStyle([ ("BACKGROUND", (0,0), (-1,-1), HEADER_BG), ("LEFTPADDING", (0,0), (-1,-1), 10), ("RIGHTPADDING", (0,0), (-1,-1), 10), ("TOPPADDING", (0,0), (-1,-1), 6), ("BOTTOMPADDING", (0,0), (-1,-1), 6), ("ROWBACKGROUNDS", (0,0), (-1,-1), [HEADER_BG]), ])) return t def subsection_header(text): data = [[Paragraph(text, subsection_style)]] t = Table(data, colWidths=[doc.width]) t.setStyle(TableStyle([ ("BACKGROUND", (0,0), (-1,-1), LIGHT_BLUE), ("LEFTPADDING", (0,0), (-1,-1), 8), ("TOPPADDING", (0,0), (-1,-1), 4), ("BOTTOMPADDING", (0,0), (-1,-1), 4), ("LINEBELOW", (0,0), (-1,-1), 0.5, TEAL), ])) return t def bullet(text, indent=1): prefix = " " * (indent-1) + "\u2022 " return Paragraph(prefix + text, bullet_style) def make_table(headers, rows, col_widths=None): data = [] # Header row header_row = [Paragraph(f"<b>{h}</b>", style("TH", fontSize=9, fontName="Helvetica-Bold", textColor=WHITE, alignment=TA_CENTER, leading=12)) for h in headers] data.append(header_row) for i, row in enumerate(rows): bg = ROW_ALT if i % 2 == 0 else WHITE styled_row = [] for cell in row: styled_row.append(Paragraph(str(cell), style(f"TC{i}", fontSize=9, fontName="Helvetica", textColor=colors.HexColor("#222222"), leading=12, leftIndent=2))) data.append(styled_row) if col_widths is None: col_widths = [doc.width / len(headers)] * len(headers) t = Table(data, colWidths=col_widths, repeatRows=1) row_bgs = [TEAL] + [ROW_ALT if i % 2 == 0 else WHITE for i in range(len(rows))] t.setStyle(TableStyle([ ("BACKGROUND", (0,0), (-1,0), TEAL), ("ROWBACKGROUNDS", (0,1), (-1,-1), [ROW_ALT, WHITE]), ("GRID", (0,0), (-1,-1), 0.4, colors.HexColor("#bbccdd")), ("LEFTPADDING", (0,0), (-1,-1), 5), ("RIGHTPADDING", (0,0), (-1,-1), 5), ("TOPPADDING", (0,0), (-1,-1), 4), ("BOTTOMPADDING", (0,0), (-1,-1), 4), ("VALIGN", (0,0), (-1,-1), "MIDDLE"), ])) return t story = [] # ─── TITLE BANNER ──────────────────────────────────────────────────────────── title_data = [ [Paragraph("SHORT CASE PRESENTATION", title_style)], [Paragraph("Anaesthesia for Ventral Hernia Reduction &amp; Abdominal Wall Repair", subtitle_style)], [Paragraph("45-Year-Old Female | MD Anaesthesiology", subtitle_style)], ] title_table = Table(title_data, colWidths=[doc.width]) title_table.setStyle(TableStyle([ ("BACKGROUND", (0,0), (-1,-1), HEADER_BG), ("TOPPADDING", (0,0), (-1,-1), 8), ("BOTTOMPADDING", (0,0), (-1,-1), 8), ("LEFTPADDING", (0,0), (-1,-1), 12), ("RIGHTPADDING", (0,0), (-1,-1), 12), ])) story.append(title_table) story.append(Spacer(1, 8)) # ─── CASE SUMMARY BOX ──────────────────────────────────────────────────────── summary_data = [ [Paragraph("<b>Patient:</b> 45-year-old female", body_style), Paragraph("<b>Diagnosis:</b> Ventral hernia", body_style)], [Paragraph("<b>Procedure:</b> Hernia reduction + Abdominal wall repair", body_style), Paragraph("<b>ASA Status:</b> To be determined (likely ASA II)", body_style)], ] summary_table = Table(summary_data, colWidths=[doc.width/2, doc.width/2]) summary_table.setStyle(TableStyle([ ("BACKGROUND", (0,0), (-1,-1), LIGHT_TEAL), ("GRID", (0,0), (-1,-1), 0.3, TEAL), ("LEFTPADDING", (0,0), (-1,-1), 8), ("RIGHTPADDING", (0,0), (-1,-1), 8), ("TOPPADDING", (0,0), (-1,-1), 5), ("BOTTOMPADDING", (0,0), (-1,-1), 5), ])) story.append(summary_table) story.append(Spacer(1, 10)) # ─── I. PREOPERATIVE ASSESSMENT ────────────────────────────────────────────── story.append(section_header("I. PREOPERATIVE ASSESSMENT")) story.append(Spacer(1, 4)) story.append(subsection_header("A. History")) story.append(Paragraph("<b>Chief Complaint:</b> Reducible/irreducible swelling over the anterior abdominal wall", body_style)) story.append(Paragraph("<b>History of Present Illness:</b>", bold_body)) for b in [ "Duration, size, and progression of the hernia", "Reducibility — reducible / irreducible / obstructed / strangulated", "Associated symptoms: pain, nausea, vomiting, constipation, signs of bowel obstruction", "Previous repair attempts (recurrent vs. primary hernia)", ]: story.append(bullet(b)) story.append(Paragraph("<b>Surgical &amp; Anaesthetic History:</b>", bold_body)) for b in [ "Prior abdominal surgeries — most common cause of incisional hernia (~12% after open abdominal surgery)", "Previous anaesthetic exposures — adverse reactions, difficult airway, PONV", "History of difficult intubation, stridor, or obstructive sleep apnoea", ]: story.append(bullet(b)) story.append(Paragraph("<b>Relevant Past Medical History:</b>", bold_body)) for b in [ "Diabetes mellitus — impairs wound healing, increases SSI risk", "Hypertension — common in middle-aged females; perioperative BP management", "Obesity / BMI — major risk factor for hernia, difficult airway, and technically challenging repair", "Cardiovascular disease (IHD, valvular disease) — preoperative optimisation", "Respiratory disease (COPD, asthma) — abdominal wall repair significantly impacts respiratory mechanics", "Renal / hepatic disease — affects drug metabolism and clearance", "Thyroid disease — perioperative implications", ]: story.append(bullet(b)) story.append(Paragraph("<b>Drug History:</b>", bold_body)) for b in [ "Antihypertensives: ACE inhibitors — withhold on morning of surgery; beta-blockers — continue", "Anticoagulants / antiplatelets — timing of cessation, bridging therapy", "Steroids — adrenal suppression; steroid cover required perioperatively", "Oral hypoglycaemics / insulin — perioperative glycaemia management protocol", "Herbal medications (garlic, ginkgo — antiplatelet; St John's Wort — drug interactions)", ]: story.append(bullet(b)) story.append(Paragraph("<b>Allergies:</b> Latex (relevant — latex precautions if positive), drug allergies", body_style)) story.append(Paragraph("<b>Menstrual History:</b> Last menstrual period; pregnancy status (mandatory — perimenopausal female)", body_style)) story.append(Paragraph("<b>Social History:</b> Smoking (impairs healing, increases PPCs), alcohol, BMI/obesity", body_style)) story.append(Spacer(1, 6)) story.append(subsection_header("B. Systemic Examination")) exam_headers = ["System", "Key Assessment Points"] exam_rows = [ ["Airway", "Mallampati class, mouth opening (>3 finger-breadths), TMJ distance, thyromental distance (>6.5 cm), neck mobility, sternomental distance. Obesity raises suspicion for difficult airway."], ["Cardiovascular", "Pulse (rate, rhythm, volume), BP both arms if indicated, JVP, cardiac auscultation (murmurs), peripheral oedema, signs of cardiac failure"], ["Respiratory", "Rate, SpO2, tracheal position, respiratory excursion, auscultation (wheeze, crepts). Postoperative pain from AWR causes splinting → reduced FRC"], ["Abdominal", "Hernia location (epigastric/umbilical/incisional/paraumbilical/Spigelian), size, reducibility, overlying skin, content, cough impulse. Signs of obstruction/strangulation (tenderness, fever) = EMERGENCY"], ["Spine", "Lumbar spine — scoliosis, previous spinal surgery, tattoos, infection at puncture site (if neuraxial considered)"], ["Nutritional", "BMI, muscle wasting, serum albumin (wound healing, drug distribution)"], ] story.append(make_table(exam_headers, exam_rows, [3*cm, doc.width - 3*cm])) story.append(Spacer(1, 8)) # ─── II. INVESTIGATIONS ─────────────────────────────────────────────────────── story.append(section_header("II. INVESTIGATIONS")) story.append(Spacer(1, 4)) inv_headers = ["Investigation", "Rationale"] inv_rows = [ ["CBC / Haemoglobin", "Anaemia — transfusion threshold; WBC for infection/leucocytosis"], ["Blood glucose / HbA1c", "Glycaemic control — affects wound healing and infection risk"], ["Serum electrolytes, BUN, Creatinine", "Baseline renal function; hypokalaemia if on diuretics"], ["LFTs", "Baseline; affects drug metabolism (benzodiazepines, opioids)"], ["Coagulation profile (PT, aPTT, INR)", "Especially if anticoagulated, prolonged bowel obstruction (Vit K deficiency)"], ["Blood group & crossmatch", "Extensive AWR may have significant estimated blood loss"], ["Serum albumin / proteins", "Wound healing, nutritional status, drug binding"], ["ECG", "Baseline cardiac assessment; mandatory age >40"], ["Chest X-ray", "Baseline pulmonary, cardiomegaly, mediastinum, diaphragm"], ["Echocardiography", "If clinically indicated: murmur, cardiac symptoms, poor functional capacity (<4 METs)"], ["PFTs (Spirometry)", "If respiratory compromise suspected — COPD, obesity"], ["Urine pregnancy test", "MANDATORY in reproductive-age/perimenopausal female"], ["CT Abdomen", "Hernia sac content, defect size, loss of abdominal domain assessment (large/complex AWR)"], ] story.append(make_table(inv_headers, inv_rows, [5.5*cm, doc.width - 5.5*cm])) story.append(Spacer(1, 8)) # ─── III. PREMEDICATION ────────────────────────────────────────────────────── story.append(section_header("III. PREMEDICATION & PREPARATION")) story.append(Spacer(1, 4)) pre_headers = ["Drug/Measure", "Dose/Detail", "Rationale"] pre_rows = [ ["NPO / Fasting", "Solids 6–8 h; clear liquids 2 h (2023 ASA)", "Reduce aspiration risk"], ["Tab. Alprazolam / Lorazepam", "0.25 mg / 0.5–1 mg PO night before", "Anxiolysis"], ["Tab. Ondansetron", "4–8 mg PO 1 h before surgery", "PONV prophylaxis — high risk (Apfel score 3–4: female, non-smoker, abdominal surgery, opioids)"], ["Tab. Omeprazole / Ranitidine", "20 mg / 150 mg PO night before", "Aspiration prophylaxis — reduce gastric acidity"], ["Sodium citrate 30 mL", "PO immediately before induction", "If obstructed/strangulated hernia — neutralise gastric acid"], ["Continue beta-blockers, CCBs", "Continue on morning of surgery", "Prevent perioperative hypertension/tachycardia"], ["Withhold ACE-I / ARBs", "Omit morning dose", "Prevent refractory intraoperative hypotension"], ["Insulin management", "Sliding scale / VRIII protocol", "Perioperative glycaemic control (target 6–10 mmol/L)"], ["Inj. Cefazolin", "1–2 g IV 30–60 min before incision", "Antibiotic prophylaxis — mesh insertion, SSI prevention"], ["Compression stockings + LMWH", "Enoxaparin 40 mg SC — start postoperatively", "DVT/VTE prophylaxis — moderate–high risk surgery"], ["Dexamethasone 8 mg IV", "At induction", "PONV prophylaxis + anti-inflammatory"], ] story.append(make_table(pre_headers, pre_rows, [4.5*cm, 4.5*cm, doc.width - 9*cm])) story.append(Spacer(1, 8)) # ─── IV. ANAESTHETIC TECHNIQUE ─────────────────────────────────────────────── story.append(section_header("IV. ANAESTHETIC TECHNIQUE")) story.append(Spacer(1, 4)) story.append(subsection_header("Choice of Anaesthesia")) story.append(Paragraph( "<b>General Anaesthesia is the preferred technique</b> for abdominal wall repair — provides optimal muscle relaxation for fascial closure, allows airway control (especially with raised IAP from large hernia), and controlled ventilation.", body_style)) story.append(Paragraph( "Combined GA + Epidural (T8–T10): Excellent for open repair of large incisional hernias — reduces intraoperative opioid requirement, provides superior postoperative analgesia.", body_style)) story.append(Paragraph( "Neuraxial alone (spinal/epidural): May be considered for small defects or high-risk patients, but limited by inability to provide adequate muscle relaxation for large defects.", body_style)) story.append(Spacer(1, 5)) story.append(subsection_header("Airway Plan")) for b in [ "Standard plan: Standard IV induction + direct laryngoscopy + cuffed ETT (7.0 mm female)", "RSI with succinylcholine: If strangulated/obstructed hernia (full stomach precautions, cricoid pressure)", "Backup: Video laryngoscope, LMA for failed intubation rescue, difficult airway trolley at bedside", "Obese patient: Ramped position (ear-to-sternal-notch) for intubation", ]: story.append(bullet(b)) story.append(Spacer(1, 5)) story.append(subsection_header("IV Access & Monitoring")) mon_headers = ["Monitor/Access", "Detail"] mon_rows = [ ["IV Access", "2 large-bore peripheral IV cannulas (16G or 18G)"], ["ECG", "Continuous 5-lead monitoring"], ["SpO2", "Pulse oximetry (continuous)"], ["NIBP", "Non-invasive BP every 3–5 minutes"], ["Capnography (EtCO2)", "Mandatory during GA — target 35–40 mmHg"], ["Temperature", "Continuous — risk of hypothermia in open abdominal surgery"], ["Urinary catheter", "Hourly UO — target >0.5 mL/kg/hr"], ["TOF (Neuromuscular)", "Train-of-four at adductor pollicis — MANDATORY when using NMBDs"], ["IBP (Arterial line)", "If indicated: haemodynamically unstable, complex AWR, significant cardiac disease"], ["CVP", "If indicated: large fluid shifts, poor peripheral access"], ] story.append(make_table(mon_headers, mon_rows, [5*cm, doc.width - 5*cm])) story.append(Spacer(1, 6)) story.append(subsection_header("Induction")) story.append(Paragraph("<b>Preoxygenation:</b> 100% O₂ for 3–5 minutes; 8 deep breaths technique in obese; SpO₂ target >98%", body_style)) story.append(Spacer(1, 3)) ind_headers = ["Drug", "Dose", "Rationale"] ind_rows = [ ["Inj. Fentanyl", "1–2 mcg/kg IV", "Preemptive analgesia; blunt laryngoscopy response"], ["Inj. Propofol", "1.5–2.5 mg/kg IV", "Smooth induction; antiemetic properties"], ["Inj. Thiopentone (alternative)", "4–5 mg/kg IV", "If propofol contraindicated/unavailable"], ["Inj. Succinylcholine (RSI)", "1.5 mg/kg IV", "Intubating NMB — full stomach/strangulated hernia"], ["Inj. Atracurium / Vecuronium", "0.5 mg/kg / 0.1 mg/kg IV", "Intubating NMB — elective case"], ["Inj. Lignocaine", "1.5 mg/kg IV", "Blunt intubation response; reduces coughing on extubation"], ] story.append(make_table(ind_headers, ind_rows, [5*cm, 3.5*cm, doc.width - 8.5*cm])) story.append(Spacer(1, 6)) story.append(subsection_header("Maintenance")) maint_headers = ["Component", "Detail"] maint_rows = [ ["Airway", "Cuffed ETT, IPPV (volume-controlled or pressure-controlled ventilation)"], ["Tidal volume", "6–8 mL/kg IBW (lung-protective ventilation)"], ["RR / PEEP", "12–14/min | PEEP 5–8 cmH₂O (prevent atelectasis, maintain FRC)"], ["EtCO₂ target", "35–40 mmHg"], ["Gas mixture", "O₂:Air 50:50 or 60:40 — AVOID N₂O (risk of bowel distension)"], ["Volatile agent", "Isoflurane 1–1.2 MAC or Sevoflurane (alternatively TIVA with propofol)"], ["Opioids", "Fentanyl 0.5–1 mcg/kg top-ups OR morphine infusion 0.1–0.2 mg/kg/hr"], ["NMBD maintenance", "Atracurium 0.1–0.15 mg/kg increments / vecuronium 0.01–0.015 mg/kg — adequate abdominal relaxation for fascial closure"], ["Multimodal analgesia", "IV Paracetamol 1 g q8h + IV Ketorolac 15–30 mg q8h (if no contraindications)"], ["Fluids", "Balanced crystalloid (Ringer's Lactate / PlasmaLyte) — goal-directed; 1–2 mL/kg/hr maintenance + surgical losses 4–6 mL/kg/hr"], ["Blood transfusion trigger", "Hb <7 g/dL (or <8 g/dL in cardiac patients)"], ] story.append(make_table(maint_headers, maint_rows, [5*cm, doc.width - 5*cm])) story.append(Spacer(1, 6)) story.append(subsection_header("Specific Intraoperative Considerations")) considerations = [ ("<b>Raised Intraabdominal Pressure (IAP):</b>", [ "When large hernia contents are reduced, sudden rise in IAP occurs — reduced diaphragmatic excursion, raised airway pressures, IVC compression → hypotension, reduced renal perfusion → oliguria", "Action: Alert surgeon; tolerate higher PIP, administer vasopressors (phenylephrine/noradrenaline) PRN", "Risk of Abdominal Compartment Syndrome (IAP >20 mmHg) — monitor and act promptly", ]), ("<b>Neuromuscular Blockade:</b>", [ "TOF count must be 0/4 at time of abdominal wall fascial closure — ensures optimal conditions", "Deep NMB also reduces insufflation pressure in laparoscopic repair", ]), ("<b>Temperature Management:</b>", [ "Use warm IV fluids, forced-air warming blanket (Bair Hugger), warm humidified gases", "Target normothermia — core temperature >36.0°C throughout", ]), ("<b>N₂O Avoidance:</b>", [ "Nitrous oxide diffuses into bowel loops causing distension — particularly dangerous if bowel within hernia sac or obstruction present", ]), ("<b>Positioning:</b>", [ "Supine, arms out (open abdominal position); padding of all bony pressure points", ]), ] for heading, bullets in considerations: story.append(Paragraph(heading, bold_body)) for b in bullets: story.append(bullet(b)) story.append(Spacer(1, 8)) # ─── V. REGIONAL ANALGESIA ─────────────────────────────────────────────────── story.append(section_header("V. REGIONAL ANALGESIA TECHNIQUES")) story.append(Spacer(1, 4)) story.append(Paragraph( "Multimodal analgesia with regional blocks is recommended to reduce opioid consumption, improve pain scores, and shorten recovery time.", body_style)) story.append(Spacer(1, 4)) reg_headers = ["Block", "Technique", "Drug & Volume", "Indication"] reg_rows = [ ["TAP Block\n(Transversus Abdominis Plane)", "US-guided, bilateral", "0.25% Bupivacaine 20 mL each side", "Open VHR — effective (2025 meta-analysis confirms efficacy, PMID 40069343)"], ["Erector Spinae Plane (ESP) Block", "US-guided bilateral T8–T10", "0.25% Bupivacaine 20 mL each side", "Incisional hernia AWR — broad somatic coverage"], ["Rectus Sheath Block", "US-guided, bilateral", "0.25% Bupivacaine 15 mL each side", "Midline incisions"], ["Epidural (T8–T10)", "Combined with GA for large open AWR", "0.125–0.25% Bupivacaine + Fentanyl 2 mcg/mL", "Complex AWR — continuous postoperative analgesia"], ["Wound Infiltration", "By surgeon at closure", "0.5% Bupivacaine", "All cases — simple adjunct"], ] story.append(make_table(reg_headers, reg_rows, [3.5*cm, 3.5*cm, 4.5*cm, doc.width - 11.5*cm])) story.append(Spacer(1, 8)) # ─── VI. EMERGENCE ──────────────────────────────────────────────────────────── story.append(section_header("VI. EMERGENCE & EXTUBATION")) story.append(Spacer(1, 4)) story.append(Paragraph("<b>NMB Reversal:</b>", bold_body)) for b in [ "Neostigmine 0.05 mg/kg + Glycopyrrolate 0.01 mg/kg IV (when TOF count ≥2/4 or T2 present)", "Sugammadex 2 mg/kg IV (when TOF count 2/4) — preferred for rapid, complete, reliable reversal", "Confirm TOF ratio ≥0.9 before extubation (quantitative neuromuscular monitoring)", ]: story.append(bullet(b)) story.append(Paragraph("<b>Extubation Criteria:</b>", bold_body)) for b in [ "TOF ratio ≥0.9 (full neuromuscular recovery)", "Awake and responsive to verbal commands", "Adequate spontaneous ventilation (TV >5 mL/kg, RR 10–20/min)", "SpO₂ ≥95% on room air or supplemental O₂", "Normothermic, haemodynamically stable", ]: story.append(bullet(b)) story.append(Paragraph("<b>Smooth Extubation Techniques (to prevent straining/coughing at repair site):</b>", bold_body)) for b in [ "Deep extubation (if appropriate airway and no aspiration risk)", "IV Lignocaine 1.5 mg/kg 3–4 min before extubation", "Remifentanil infusion during emergence — smooth, controlled", "Head-up 30° (semi-recumbent) position for extubation — reduces aspiration risk, improves FRC", ]: story.append(bullet(b)) story.append(Spacer(1, 8)) # ─── VII. POSTOPERATIVE MANAGEMENT ─────────────────────────────────────────── story.append(section_header("VII. POSTOPERATIVE MANAGEMENT")) story.append(Spacer(1, 4)) story.append(subsection_header("PACU Monitoring")) for b in [ "Standard monitoring: SpO₂, NIBP, ECG, temperature, pain score (NRS 0–10), sedation score (Ramsay)", "Supplemental O₂ via face mask — maintain SpO₂ >95%", "Hourly UO via indwelling catheter — target >0.5 mL/kg/hr", "IV fluid maintenance: RL at 80–100 mL/hr until oral intake established", ]: story.append(bullet(b)) story.append(Spacer(1, 4)) story.append(subsection_header("Multimodal Pain Management")) pain_headers = ["Drug", "Route", "Dose", "Frequency"] pain_rows = [ ["Paracetamol", "IV / PO", "1 g", "Every 6 h (max 4 g/day)"], ["Ketorolac", "IV / IM", "15–30 mg", "Every 8 h (max 48 h)"], ["Diclofenac", "PO / PR", "75 mg", "Every 12 h"], ["TAP / ESP Block", "US-guided (if not done intraop)", "0.25% Bupivacaine 20 mL/side", "Single shot"], ["Morphine / Tramadol", "IV / IM", "0.1 mg/kg / 1–2 mg/kg", "PRN (NRS ≥4)"], ["Epidural infusion (if placed)", "Epidural", "0.1% Bupivacaine + Fentanyl 2 mcg/mL", "Continuous infusion"], ] story.append(make_table(pain_headers, pain_rows, [4.5*cm, 3*cm, 4*cm, doc.width - 11.5*cm])) story.append(Spacer(1, 5)) story.append(subsection_header("Other Postoperative Measures")) for b in [ "PONV: Ondansetron 4 mg IV q8h + rescue antiemetics (metoclopramide 10 mg IV); dexamethasone given at induction provides 24h coverage", "DVT Prophylaxis: LMWH (Enoxaparin 40 mg SC once daily) — start 6–12 h postoperatively + compression stockings", "Respiratory Care: Incentive spirometry, deep breathing exercises, chest physiotherapy — prevents PPCs and atelectasis", "Early mobilisation: Day 1 POD — sit up and ambulate with support; reduces DVT, ileus, and PPCs", "Glycaemic control: Target BGL 6–10 mmol/L; sliding scale insulin as required", "Wound care: Sterile dressing; monitor for seroma, haematoma, SSI", ]: story.append(bullet(b)) story.append(Spacer(1, 5)) story.append(subsection_header("Complications to Monitor")) comp_headers = ["Complication", "Clinical Features", "Management"] comp_rows = [ ["Abdominal Compartment Syndrome", "Raised airway pressures, oliguria, abdominal rigidity, IAP >20 mmHg, hypotension", "Urgent surgical decompression"], ["Surgical Site Infection (SSI)", "Fever, wound erythema, purulent discharge", "Wound swab cultures, IV antibiotics, wound care"], ["Seroma", "Fluctuant, non-tender swelling over repair", "Usually self-limiting (4–6 wks); aspiration if large"], ["Haematoma", "Tense painful swelling, falling Hb", "Surgical evacuation if expanding"], ["Recurrence", "Bulge at repair site", "Re-exploration and re-repair"], ["Respiratory Compromise (PPCs)", "Hypoxia, tachypnoea, atelectasis", "O₂ therapy, physio, CPAP/NIV if needed"], ["PONV", "Nausea, retching, vomiting", "Rescue antiemetics, IV fluid hydration"], ["Urinary Retention", "Inability to void post-catheter removal", "Urinary catheter, alpha-blockers, investigate"], ] story.append(make_table(comp_headers, comp_rows, [4.5*cm, 6*cm, doc.width - 10.5*cm])) story.append(Spacer(1, 8)) # ─── VIII. VIVA QUESTIONS ───────────────────────────────────────────────────── story.append(section_header("VIII. ANTICIPATED VIVA QUESTIONS")) story.append(Spacer(1, 4)) vivas = [ ("Why is muscle relaxation important in this case?", "Adequate NMB (TOF count 0/4) is essential during abdominal wall fascial closure to facilitate tissue approximation and prevent wound dehiscence from straining. Deep NMB also reduces insufflation pressure in laparoscopic repair, improving surgical conditions and reducing risk of port-site injury."), ("What is 'loss of abdominal domain'?", "When a large hernia contains >20–30% of abdominal viscera, the abdominal cavity loses its domain. Reduction of contents causes a sudden rise in IAP, manifesting as raised airway pressures, hypotension (IVC compression), and oliguria. Preoperative measures include Botulinum Toxin A injection to lateral abdominal muscles (paralysis allows gradual stretching) and progressive pneumoperitoneum to expand the cavity before repair."), ("Which regional technique would you choose?", "For open repair, bilateral TAP blocks with 0.25% bupivacaine 20 mL each side are the first choice — well-supported by a 2025 systematic review and meta-analysis (PMID: 40069343). For extensive AWR with component separation, thoracic epidural at T8–T10 or bilateral ESP blocks provide superior coverage of the surgical field."), ("Why avoid nitrous oxide?", "N₂O diffuses into gas-containing cavities faster than nitrogen exits, causing bowel distension. This is particularly dangerous if bowel is within the hernia sac, if bowel obstruction is present, or in laparoscopic repairs where bowel handling is required."), ("How do you manage a strangulated hernia?", "Treat as emergency with full-stomach precautions. Perform RSI with succinylcholine 1.5 mg/kg and cricoid pressure (Sellick's manoeuvre). Avoid giving opioids before induction in the emergency setting (may mask signs). Insert NGT after intubation to decompress the stomach. Alert surgical team — bowel viability assessment is critical."), ("Significance of female aged 45 years?", "Perimenopausal status — urine pregnancy test is mandatory. Female sex is one of the 4 Apfel risk factors for PONV (Apfel score likely 3–4 = >60% risk). Metabolic syndrome and abdominal adiposity are prevalent in this age group — predisposes to hernia and technically challenging repair. Hormonal changes may affect coagulation. DVT risk counselling is important."), ("What ventilation strategy would you use?", "Lung-protective ventilation: TV 6–8 mL/kg IBW, RR 12–14/min, PEEP 5–8 cmH₂O, EtCO₂ target 35–40 mmHg. Avoid high tidal volumes — abdominal wall repair changes lung mechanics significantly. Monitor peak airway pressure and plateau pressure; if PIP rises sharply after fascial closure, suspect raised IAP."), ] for q, a in vivas: qa_data = [ [Paragraph(f"Q: {q}", style("QStyle", fontSize=9.5, fontName="Helvetica-Bold", textColor=NAVY, leading=13))], [Paragraph(a, style("AStyle", fontSize=9.5, fontName="Helvetica", textColor=colors.HexColor("#222222"), leading=13, leftIndent=8))], ] qa_table = Table(qa_data, colWidths=[doc.width]) qa_table.setStyle(TableStyle([ ("BACKGROUND", (0,0), (0,0), LIGHT_BLUE), ("BACKGROUND", (0,1), (0,1), WHITE), ("BOX", (0,0), (-1,-1), 0.5, TEAL), ("LEFTPADDING", (0,0), (-1,-1), 8), ("RIGHTPADDING", (0,0), (-1,-1), 8), ("TOPPADDING", (0,0), (-1,-1), 5), ("BOTTOMPADDING", (0,0), (-1,-1), 5), ])) story.append(KeepTogether([qa_table, Spacer(1, 5)])) story.append(Spacer(1, 4)) # ─── IX. SUMMARY TABLE ──────────────────────────────────────────────────────── story.append(section_header("IX. ANAESTHETIC SUMMARY")) story.append(Spacer(1, 4)) sum_headers = ["Phase", "Key Actions"] sum_rows = [ ["Pre-operative", "Full systemic assessment (airway, CVS, respiratory, GI); optimise comorbidities; consent; NPO; premedication (anxiolytic, antacid, antiemetic, antibiotics); investigations; LMWH/stockings"], ["Induction", "Preoxygenate; RSI if full stomach; propofol + fentanyl + atracurium; cuffed ETT; confirm capnography"], ["Intra-operative", "GA + ETT + IPPV (lung-protective); TOF monitoring; maintain adequate NMB; O₂:Air (no N₂O); multimodal analgesia; TAP/ESP block; temperature management; goal-directed fluids"], ["Emergence", "Confirm TOF ≥0.9 before reversal; neostigmine or sugammadex; smooth extubation (avoid coughing/straining); semi-recumbent position"], ["Post-operative", "PACU monitoring; multimodal analgesia (paracetamol + NSAID + opioid PRN); antiemetics; DVT prophylaxis; respiratory physio; early mobilisation; monitor for complications"], ] story.append(make_table(sum_headers, sum_rows, [3.5*cm, doc.width - 3.5*cm])) story.append(Spacer(1, 8)) # ─── REFERENCES ─────────────────────────────────────────────────────────────── story.append(section_header("REFERENCES")) story.append(Spacer(1, 4)) refs = [ "Miller's Anesthesia, 10th Edition — Gropper MA (ed.) Elsevier, 2020", "Barash, Cullen & Stoelting's Clinical Anesthesia, 9th Edition — LWW, 2023", "Morgan & Mikhail's Clinical Anesthesiology, 7th Edition — McGraw-Hill, 2022", "2023 ASA Practice Guidelines for Preoperative Fasting — Anesthesiology 2023;138:132–151", "Rasador ACD et al. TAP block for postoperative pain after ventral hernia repair: updated systematic review and meta-analysis. Hernia. 2025 Mar 12. [PMID: 40069343]", "WikiAnesthesia — Ventral Hernia Repair. wikianesthesia.org/wiki/Ventral_hernia_repair", ] for i, ref in enumerate(refs, 1): story.append(Paragraph(f"{i}. {ref}", note_style)) story.append(Spacer(1, 6)) # Build doc.build(story) print(f"PDF generated: {OUTPUT}") PYEOF echo "Script written successfully"

Running Command

cd /tmp/workspace/hernia-anaesthesia && python generate_pdf.py

Running Command

ls -lh /tmp/workspace/hernia-anaesthesia/VentralHernia_Anaesthesia_ShortCase.pdf

Your PDF is ready! Here's your download link:

VentralHernia Anaesthesia ShortCase

PDF Document · PDF

The PDF is fully formatted with colour-coded section headers, structured tables, and covers all nine sections:
  1. Preoperative Assessment - History, systemic examination
  2. Investigations - Complete table with rationale
  3. Premedication & Preparation - Drugs, doses, and rationale
  4. Anaesthetic Technique - Choice, airway plan, monitoring, induction, maintenance, intraoperative considerations
  5. Regional Analgesia - TAP, ESP, rectus sheath, epidural
  6. Emergence & Extubation - NMB reversal criteria, smooth extubation techniques
  7. Postoperative Management - Pain management table, complications monitoring table
  8. Anticipated Viva Questions - 7 expected viva Q&As
  9. Summary Table + References
This is a shared conversation. Sign in to Orris to start your own chat.