Nsaid
1. Definition 2. Classification 3. Mechanism 4. Pharmacological actions 5. Therapeutic uses 6. Adverse effects 7. Contraindications 8. Management if [Classification (with examples under each subgroup) Mechanism of Action (write + draw a simple flowchart) Pharmacokinetics (only special points: route, metabolism, excretion, half-life if important) Uses / Indications (primary + secondary) Adverse Effects (specific ones, not generic “nausea, vomiting”) Contraindications + Important Drug Interactions Antidote / Toxicity management (if relevant)] cover this points for nsaid 2mbbs pharma muhs
Which NSAID topic should I go deep on first?
cd /tmp/workspace && 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 def add_heading_with_line(doc, text, level=1): """Add a heading with underline""" h = doc.add_heading(text, level=level) h.runs[0].font.color.rgb = RGBColor(0, 51, 102) # Dark blue return h def shade_cell(cell, color): """Add shading to table cell""" shading_elm = OxmlElement('w:shd') shading_elm.set(qn('w:fill'), color) cell._element.get_or_add_tcPr().append(shading_elm) def add_table_row(table, row_data, is_header=False): """Add a row to table""" row = table.add_row() for i, text in enumerate(row_data): cell = row.cells[i] cell.text = text if is_header: shade_cell(cell, 'D3D3D3') for paragraph in cell.paragraphs: for run in paragraph.runs: run.font.bold = True # Create document doc = Document() # Set default font style = doc.styles["Normal"] style.font.name = "Calibri" style.font.size = Pt(11) # Title title = doc.add_heading("NON-STEROIDAL ANTI-INFLAMMATORY DRUGS (NSAIDs)", level=0) title.alignment = WD_ALIGN_PARAGRAPH.CENTER title_run = title.runs[0] title_run.font.size = Pt(16) title_run.font.bold = True title_run.font.color.rgb = RGBColor(0, 0, 128) subtitle = doc.add_paragraph("Comprehensive Study Guide for MUHS 2nd MBBS Pharmacology") subtitle.alignment = WD_ALIGN_PARAGRAPH.CENTER subtitle_run = subtitle.runs[0] subtitle_run.font.italic = True doc.add_paragraph() # 1. DEFINITION add_heading_with_line(doc, "1. DEFINITION", level=1) doc.add_paragraph( "NSAIDs are a heterogeneous group of drugs that inhibit cyclooxygenase (COX) enzymes, thereby reducing " "the synthesis of prostaglandins (PGs) and thromboxanes (Tx). They are called 'non-steroidal' to distinguish " "them from glucocorticoids, which also have anti-inflammatory properties but work through different mechanisms." ) doc.add_paragraph().add_run("Key characteristics:").bold = True for item in [ "Among the most commonly used medications worldwide", "Approximately 30 million individuals take NSAIDs globally", "Over 100 million prescriptions filled yearly in the USA", "Combined analgesic, anti-inflammatory, and antipyretic properties", "Reversible enzyme inhibition (except aspirin which is irreversible)" ]: doc.add_paragraph(item, style='List Bullet') doc.add_paragraph() # 2. CLASSIFICATION add_heading_with_line(doc, "2. CLASSIFICATION", level=1) doc.add_paragraph( "NSAIDs are classified based on chemical structure and COX selectivity. The major categories are:" ).runs[0].bold = False # Create classification table table = doc.add_table(rows=1, cols=3) table.style = 'Light Grid Accent 1' add_table_row(table, ["CLASS", "EXAMPLES", "CHARACTERISTICS"], is_header=True) classifications = [ ("Salicylates", "Aspirin, Sodium salicylate", "Irreversible COX inhibition; low dose = antiplatelet; high dose = anti-inflammatory"), ("Propionic Acids", "Ibuprofen, Naproxen, Ketoprofen, Flurbiprofen", "Fast acting; short half-life except naproxen; relatively safe"), ("Acetic Acids", "Indomethacin, Diclofenac, Tolmetin, Ketorolac", "Potent; more toxicity; used for specific conditions"), ("Oxicams", "Piroxicam, Meloxicam, Tenoxicam", "Long half-life; once-daily dosing; higher GI bleeding risk (piroxicam)"), ("Selective COX-2 Inhibitors (Coxibs)", "Celecoxib, Rofecoxib (withdrawn)", "Selective for COX-2; lower GI toxicity; higher CV risk"), ("Non-acetylated Salicylates", "Choline magnesium salicylate, Sodium salicylate", "Weak COX inhibitors; safer in renal disease; no antiplatelet effect") ] for cls, examples, chars in classifications: add_table_row(table, [cls, examples, chars]) doc.add_paragraph() # 3. MECHANISM OF ACTION add_heading_with_line(doc, "3. MECHANISM OF ACTION", level=1) doc.add_paragraph().add_run("Step-by-Step Mechanism:").bold = True mechanism_steps = [ ("1. COX Enzyme Inhibition", "NSAIDs inhibit cyclooxygenase enzymes (COX-1 and/or COX-2) in a dose-dependent manner"), ("2. Reduced Prostaglandin Synthesis", "Inhibition blocks conversion of arachidonic acid → PG precursors (PGG2 → PGH2 → PGE2, PGI2, PGD2, PGF2α)"), ("3. Reduced Thromboxane Synthesis", "Decreased TxA2 (pro-thrombotic, pro-inflammatory) in platelets and other cells"), ("4. Anti-inflammatory Effect", "↓ Vasodilation, ↓ vascular permeability, ↓ leukocyte infiltration, ↓ pain sensation"), ("5. Analgesic Effect", "PGE2 & PGI2 lower nociceptor threshold → NSAID reduces peripheral and central sensitization"), ("6. Antipyretic Effect", "PGE2 in hypothalamus raises fever set-point → NSAID resets body temp to normal") ] for step, description in mechanism_steps: p = doc.add_paragraph() p.add_run(step).bold = True p.add_run(": " + description) # Add simplified flowchart description doc.add_paragraph().add_run("Simplified Mechanism Flowchart:").italic = True flowchart = doc.add_paragraph() flowchart.add_run("Arachidonic Acid (cell membrane)\n") flowchart.add_run(" ↓\n").font.size = Pt(10) flowchart.add_run(" [COX-1, COX-2] ←-- NSAIDs BLOCK HERE\n").font.bold = True flowchart.add_run(" ↓\n").font.size = Pt(10) flowchart.add_run("Prostaglandins + Thromboxanes\n") flowchart.add_run("(PGE2, PGI2, PGF2α, TxA2, PGD2)\n") flowchart.add_run(" ↓\n").font.size = Pt(10) flowchart.add_run("INFLAMMATION ↓ | PAIN ↓ | FEVER ↓ | PLATELETS ↓") doc.add_paragraph() doc.add_paragraph().add_run("Key Distinction - COX Selectivity:").bold = True p = doc.add_paragraph() p.add_run("• Non-selective NSAIDs: ").bold = True p.add_run("Inhibit both COX-1 & COX-2 (cause more GI & renal toxicity but effective anti-inflammatory)") doc.add_paragraph("• COX-2 Selective: Inhibit COX-2 > COX-1 (celecoxib) - lower GI bleeding but ↑ CV thrombotic risk") doc.add_paragraph() # 4. PHARMACOKINETICS add_heading_with_line(doc, "4. PHARMACOKINETICS", level=1) doc.add_paragraph().add_run("Special Important Points:").bold = True pk_points = [ ("Absorption", "Rapid oral absorption; peak levels 1-3 hours; delayed by food (most NSAIDs). Aspirin bioavailability only 40-50%."), ("Distribution", ">90% plasma protein bound (albumin); high protein binding → drug interactions at binding sites; good tissue penetration including joints"), ("Metabolism", "Hepatic via CYP P450 system (mainly CYP2C9, CYP3A4). Aspirin undergoes rapid esterase hydrolysis to salicylate (t½ = 15-20 min); salicylate has longer t½"), ("Excretion", "Primarily renal (urine) as inactive metabolites; some biliary excretion. Salicylates: excretion is dose-dependent (saturation kinetics)"), ("Half-life", "SHORT: Ibuprofen (2h), Indomethacin (4-6h), Aspirin (15-20 min); LONG: Naproxen (12-17h), Oxicams like Piroxicam (57h)") ] for category, detail in pk_points: p = doc.add_paragraph() p.add_run(category + ": ").bold = True p.add_run(detail) doc.add_paragraph().add_run("Clinical Implications:").italic = True doc.add_paragraph("Longer half-life NSAIDs → once-daily dosing (convenient); higher cumulative toxicity risk", style='List Bullet') doc.add_paragraph("Short half-life NSAIDs → frequent dosing; lower cumulative toxicity; better for short-term use", style='List Bullet') doc.add_paragraph("High protein binding → care with other highly protein-bound drugs; risk of displacement interactions", style='List Bullet') doc.add_paragraph() # 5. PHARMACOLOGICAL ACTIONS add_heading_with_line(doc, "5. PHARMACOLOGICAL ACTIONS", level=1) doc.add_paragraph( "NSAIDs exert their therapeutic effects through multiple mechanisms related to COX inhibition:" ) actions = [ ("Anti-inflammatory", "Decreases PGE2 & PGI2 → ↓ vasodilation, ↓ capillary permeability, ↓ leukocyte recruitment, ↓ cytokine release; effective in: RA, OA, ankylosing spondylitis, lupus"), ("Analgesic", "Peripheral: ↓ PG production in tissues ↓ sensitization of nociceptors\n" "Central: ↓ PGE2 in spinal cord & brain ↓ central sensitization & hyperalgesia"), ("Antipyretic", "PGE2 acts in hypothalamic temperature set-point → NSAIDs reset it to normal (not ↓ normal temp)"), ("Antiplatelet", "Aspirin: IRREVERSIBLE acetylation of COX-1 → persistent ↓ TxA2 → ↓ platelet aggregation (lifetime of platelet)\n" "Other NSAIDs: Reversible COX inhibition → temporary antiplatelet effect (not used for cardioprotection)"), ("Uterotonic (at term)", "Increased PGE2 & PGF2α (in pregnancy NSAIDs are generally avoided)") ] for action, description in actions: p = doc.add_paragraph() p.add_run(action).bold = True p.add_run(": " + description) doc.add_paragraph() # 6. THERAPEUTIC USES / INDICATIONS add_heading_with_line(doc, "6. THERAPEUTIC USES & INDICATIONS", level=1) doc.add_paragraph().add_run("PRIMARY INDICATIONS:").bold = True primary = [ "Mild to moderate pain (postoperative, traumatic, postpartum, headache, dysmenorrhea, dental)", "Fever (antipyretic therapy for symptomatic relief when needed)", "Inflammation: Rheumatoid arthritis (RA), Osteoarthritis (OA), Ankylosing spondylitis (AS), Systemic lupus erythematosus (SLE)" ] for item in primary: doc.add_paragraph(item, style='List Bullet') doc.add_paragraph().add_run("SECONDARY INDICATIONS:").bold = True secondary = [ "Acute gout (indomethacin, naproxen preferred)", "Migraine headache (naproxen with sumatriptan)", "Biliary colic (diclofenac IV/IM)", "Renal colic (indomethacin, diclofenac)", "Corneal abrasion/ulceration (topical diclofenac)", "Patent ductus arteriosus (indomethacin - closes PDA in neonates)", "Systemic mastocytosis (aspirin or ketoprofen - blocks mast cell degranulation)", "Pericarditis (NSAIDs reduce inflammation)" ] for item in secondary: doc.add_paragraph(item, style='List Bullet') doc.add_paragraph().add_run("CARDIOPROTECTIVE USE (Aspirin only):").bold = True doc.add_paragraph( "Low-dose aspirin (≤100 mg/day) for SECONDARY prevention of MI/stroke. Efficacy: " "20-25% reduction in serious vascular events. PRIMARY prevention not recommended due to equal GI bleeding risk." ) doc.add_paragraph() # 7. ADVERSE EFFECTS add_heading_with_line(doc, "7. ADVERSE EFFECTS", level=1) doc.add_paragraph( "NSAIDs have a significant adverse effect profile. Side effects are dose- and duration-dependent." ) # Adverse effects table ae_table = doc.add_table(rows=1, cols=3) ae_table.style = 'Light Grid Accent 1' add_table_row(ae_table, ["SYSTEM", "ADVERSE EFFECT", "MECHANISM / NOTES"], is_header=True) adverse_effects = [ ("GI TRACT\n(Most Common)\n40-50% of users", "Dyspepsia, abdominal pain, nausea, diarrhea, gastritis", "↓ PGE2 & PGI2 → ↓ mucus, ↓ HCO3 secretion, ↓ mucosal blood flow"), ("", "Peptic ulcer disease (15-30% endoscopic ulcers in regular users)", "10-40% of regular NSAID users develop ulcers; often ASYMPTOMATIC"), ("", "GI bleeding & perforation (1-2% annually)", "MOST SERIOUS: 60,000-120,000 hospital admissions/year (USA); 16,000 deaths/year"), ("RENAL", "Acute renal failure, hyperkalemia, hyponatremia", "↓ PGI2 → ↓ renal blood flow & GFR (reversible); NSAIDs contraindicated in renal disease"), ("", "Interstitial nephritis, nephrotic syndrome", "Rare but serious; can be irreversible"), ("", "Renal papillary necrosis", "Chronic use; especially with analgesic combinations (aspirin + phenacetin)"), ("PLATELET/HEMATOLOGIC", "↓ Platelet aggregation, ↑ bleeding time", "Aspirin: IRREVERSIBLE; Others: reversible. Risk ↑ with anticoagulants/SSRIs"), ("", "Thrombocytopenia (rare)", "Immune-mediated"), ("CARDIOVASCULAR", "MI, stroke, thrombotic events", "COX-2 selective > selective NSAIDs (unopposed TxA2). Especially with chronic use"), ("", "Hypertension, fluid retention", "↓ PGI2 in vasculature → ↑ vasoconstriction; aldosterone ↑"), ("HEPATIC", "↑ Liver enzymes (AST, ALT), hepatitis", "Diclofenac & sulindac: higher risk; usually reversible"), ("HYPERSENSITIVITY", "Rash, urticaria, angioedema, anaphylaxis", "More common with NSAIDs than other drugs (~2% patients); aspirin > others"), ("", "Asthma exacerbation (NSAID-exacerbated respiratory disease = NERD)", "In ~10% of asthmatics; mechanism: ↑ LT production (unopposed when COX blocked)"), ("CNS", "Headache, dizziness, aseptic meningitis", "Aseptic meningitis: rare; seen with NSAIDs & sulfonamides"), ("SKIN", "Stevens-Johnson Syndrome (SJS), Toxic Epidermal Necrolysis (TEN)", "Rare but serious; NSAIDs second most common cause after antibiotics"), ("", "Photosensitivity, pseudoporphyria", "Especially with naproxen"), ] for system, effect, mechanism in adverse_effects: add_table_row(ae_table, [system, effect, mechanism]) doc.add_paragraph() doc.add_paragraph().add_run("RISK FACTORS FOR SERIOUS NSAID COMPLICATIONS:").bold = True risk_factors = [ "Advanced age (>65 years) - RR ↑ 3-4 fold", "History of peptic ulcer or GI bleeding", "H. pylori infection", "Concurrent corticosteroids", "Concurrent anticoagulants or clopidogrel", "High-dose or prolonged NSAID use", "Multiple NSAIDs simultaneously", "Renal impairment or chronic kidney disease", "Liver cirrhosis", "Heart failure or other cardiac disease", "Smoking & excessive alcohol", "Female gender (for bleeding risk)" ] for factor in risk_factors: doc.add_paragraph(factor, style='List Bullet') doc.add_paragraph().add_run("IMPORTANT NOTE:").italic = True doc.add_paragraph( "80-85% of patients with serious NSAID-related complications had NO prior dyspepsia or warning symptoms! " "Therefore, presence/absence of GI symptoms does NOT predict risk." ) doc.add_paragraph() # 8. CONTRAINDICATIONS & DRUG INTERACTIONS add_heading_with_line(doc, "8. CONTRAINDICATIONS & IMPORTANT DRUG INTERACTIONS", level=1) doc.add_paragraph().add_run("ABSOLUTE CONTRAINDICATIONS:").bold = True abs_contra = [ "Peptic ulcer disease (active or recent history without gastroprotection)", "GI bleeding or perforation (current)", "Severe renal impairment (Cr clearance <30 mL/min)", "Severe hepatic disease or cirrhosis", "Aspirin/NSAID allergy or NERD (NSAID-exacerbated respiratory disease)", "Perioperative period (≥48 hrs before/after coronary artery bypass graft - CABG)", "Acute myocardial infarction (recent)", "Uncontrolled hypertension", "Severe heart failure (NYHA IV)", "3rd trimester of pregnancy" ] for item in abs_contra: doc.add_paragraph(item, style='List Bullet') doc.add_paragraph().add_run("RELATIVE CONTRAINDICATIONS:").bold = True rel_contra = [ "Mild-moderate renal impairment (use with caution; monitor Cr, K+)", "Mild-moderate hepatic disease", "Hypertension (NSAIDs ↑ BP; monitor)", "Heart failure (NSAIDs cause fluid retention)", "History of asthma (risk of exacerbation)", "1st & 2nd trimester pregnancy (teratogenic risk; PDA closure in fetus)", "Elderly patients (>65 years; ↑ risk of adverse effects)" ] for item in rel_contra: doc.add_paragraph(item, style='List Bullet') doc.add_paragraph().add_run("SIGNIFICANT DRUG INTERACTIONS:").bold = True # Drug interactions table di_table = doc.add_table(rows=1, cols=3) di_table.style = 'Light Grid Accent 1' add_table_row(di_table, ["DRUG CLASS", "INTERACTION", "MECHANISM / MANAGEMENT"], is_header=True) interactions = [ ("Anticoagulants (Warfarin)", "↑ Bleeding risk; ↑ INR", "NSAIDs displace warfarin from protein binding + ↓ platelet function. Avoid if possible; monitor INR closely"), ("Antiplatelet agents (Aspirin, Clopidogrel)", "↑↑ GI bleeding risk (synergistic)", "Avoid combining NSAIDs with clopidogrel/aspirin if possible"), ("ACE inhibitors / ARBs", "↓ Antihypertensive effect; ↑ renal failure risk", "NSAIDs antagonize vasodilation; renal hypoperfusion. Monitor BP & Cr"), ("Diuretics (loop, thiazide)", "↓ Diuretic efficacy; hypokalemia risk", "NSAIDs ↑ Na reabsorption; ↓ renal perfusion"), ("Beta-blockers", "↓ Antihypertensive effect", "Mechanism unclear; NSAIDs antagonize vasodilation"), ("Methotrexate", "↑ MTX toxicity (bone marrow, renal, GI)", "NSAIDs ↓ renal clearance of MTX. Avoid or use very careful monitoring"), ("Lithium", "↑ Lithium toxicity (tremor, renal damage)", "NSAIDs ↓ renal clearance of Li. Monitor serum Li levels"), ("Cyclosporine/Tacrolimus", "↓ Renal clearance; ↑ nephrotoxicity", "NSAIDs antagonize renal vasodilation; cumulative renal injury"), ("SSRIs (Selective Serotonin Reuptake Inhibitors)", "↑ GI bleeding risk (2-4 fold)", "SSRIs ↓ platelet serotonin → ↓ aggregation; synergistic with NSAID platelet effects"), ("Corticosteroids", "↑↑ GI ulceration & bleeding risk", "Both reduce mucosal defense. Combined use = very high GI risk"), ("CYP2C9 Inhibitors (Fluconazole, Voriconazole)", "↑ NSAID levels & toxicity", "Increased plasma concentrations (especially diclofenac). Consider dose reduction"), ] for drug_class, interaction, management in interactions: add_table_row(di_table, [drug_class, interaction, management]) doc.add_paragraph() # 9. MANAGEMENT OF OVERDOSE / TOXICITY add_heading_with_line(doc, "9. TOXICITY MANAGEMENT & ANTIDOTE", level=1) doc.add_paragraph().add_run("NSAID OVERDOSE / TOXICITY MANAGEMENT:").bold = True doc.add_paragraph().add_run("General Principles:").italic = True doc.add_paragraph("No specific antidote for NSAIDs (except supportive care)", style='List Bullet') doc.add_paragraph("Treatment is symptomatic and supportive", style='List Bullet') doc.add_paragraph("Prevention is better than cure (gastroprotection, careful patient selection)", style='List Bullet') doc.add_paragraph().add_run("Acute NSAID Overdose Management:").bold = True toxicity_steps = [ ("1. Decontamination", "GI decontamination:\n" "- Activated charcoal: 50 g PO (if ingestion <2 hrs ago & patient alert)\n" "- Gastric lavage: if large overdose & within 1 hr\n" "- NO benefit if >4 hrs post-ingestion"), ("2. Monitoring & Supportive Care", "- Monitor vital signs (BP, HR, RR, temp)\n" "- Monitor renal function (Cr, BUN, K+, Na+)\n" "- Monitor liver function (AST, ALT, bilirubin)\n" "- IV fluids for hydration & maintain urine output\n" "- Monitor for metabolic acidosis (use arterial blood gas if indicated)"), ("3. Management of Specific Complications", ""), ("GI Bleeding", "- NPO (nil per os)\n" "- IV access, transfuse if Hgb <7-8 g/dL\n" "- PPI (omeprazole 40 mg BD) or H2 blocker\n" "- Upper GI endoscopy for hemostasis if significant bleed\n" "- Consider transfusion if ongoing bleed"), ("Renal Failure", "- Stop NSAID immediately\n" "- Monitor urine output (target: >0.5 mL/kg/hr)\n" "- IV fluids (normal saline); AVOID overcorrection (pulmonary edema risk)\n" "- Monitor K+ (risk of hyperkalemia); restrict dietary K+\n" "- If severe: renal replacement therapy (dialysis) may be needed"), ("Hepatotoxicity", "- Discontinue NSAID\n" "- Monitor LFTs daily\n" "- Supportive care; most cases resolve with withdrawal\n" "- N-acetylcysteine if indicated (not proven benefit but sometimes used)"), ("Asthma Exacerbation / Anaphylaxis", "- Stop NSAID immediately\n" "- Oxygen, IV fluids\n" "- Epinephrine IM (0.3-0.5 mg) if anaphylaxis\n" "- Corticosteroids IV (methylprednisolone 100-250 mg)\n" "- Beta-2 agonist inhaler (albuterol)\n" "- Avoid NSAIDs permanently (cross-reactivity within class)"), ("Acidosis (from salicylate toxicity - specific to aspirin)", "- Alkalinize urine (NaHCO3 IV) to promote salicylate excretion\n" "- Target urine pH 7.5-8.5 & serum pH >7.45\n" "- Monitor electrolytes (hypokalemia, hypocalcemia)\n" "- Hemodialysis if salicylate level >100 mg/dL or pH <7.1"), ] for step, details in toxicity_steps: p = doc.add_paragraph() p.add_run(step).bold = True if details: p.add_run(": " + details) doc.add_paragraph() doc.add_paragraph().add_run("ASPIRIN-SPECIFIC TOXICITY (Salicylate Poisoning):").bold = True doc.add_paragraph("Salicylates are eliminated by capacity-limited (saturation) kinetics at high doses:") doc.add_paragraph("- Low dose: 1st order kinetics (half-life ~2-3 hrs)", style='List Bullet') doc.add_paragraph("- High dose (overdose): 0-order kinetics (half-life ~15-30 hrs; accumulates)", style='List Bullet') aspirin_tox = [ "Early signs: Tinnitus, hearing loss, vertigo, confusion", "Mid signs: Tachypnea (respiratory alkalosis initially) → metabolic acidosis, hyperthermia, sweating", "Late signs: Pulmonary edema, cerebral edema, altered mental status, coma", "Lab findings: ↑ Anion gap metabolic acidosis, respiratory alkalosis, hypoglycemia, hypokalemia" ] for item in aspirin_tox: doc.add_paragraph(item, style='List Bullet') doc.add_paragraph() # GASTROPROTECTION STRATEGIES add_heading_with_line(doc, "10. GASTROPROTECTION STRATEGIES", level=1) doc.add_paragraph( "For patients at HIGH RISK of GI complications who require NSAIDs:" ) doc.add_paragraph().add_run("Options:").bold = True gp_options = [ "Proton Pump Inhibitor (PPI): Omeprazole 20 mg daily or Pantoprazole 40 mg daily - MOST EFFECTIVE", "H2-receptor antagonist: Ranitidine 300 mg daily or Famotidine 20 mg BID - less effective than PPI", "Misoprostol: 200 mcg QID - effective but GI side effects (diarrhea)", "COX-2 selective inhibitor (Celecoxib): Lower GI risk than non-selective NSAIDs", "NSAID + PPI combination: Best approach for very high-risk patients" ] for option in gp_options: doc.add_paragraph(option, style='List Bullet') doc.add_paragraph() # Quick reference table add_heading_with_line(doc, "11. QUICK REFERENCE: NSAID COMPARISON TABLE", level=1) quick_ref = doc.add_table(rows=1, cols=5) quick_ref.style = 'Light Grid Accent 1' add_table_row(quick_ref, ["DRUG", "HALF-LIFE", "DOSING", "KEY FEATURES", "CAUTIONS"], is_header=True) drugs_table = [ ("Aspirin", "15-20 min\n(salicylate: 2-3h)", "300-600 mg TID/QID", "IRREVERSIBLE platelet inhibition; cardioprotective", "GI bleed, tinnitus at high doses"), ("Ibuprofen", "2 hours", "400-600 mg TID", "OTC; fast-acting; relatively safe", "Standard GI risks"), ("Naproxen", "12-17 h", "250-500 mg BID", "Long half-life; once-daily formulation available", "Better CV profile; double GI risk vs ibuprofen OTC"), ("Indomethacin", "4-6 h", "25-50 mg TID", "Potent; used for gout, AS, PDA closure", "HIGH toxicity; most GI bleeding risk"), ("Diclofenac", "2-3 h", "50 mg TID", "Potent; IV/IM available", "High hepatic toxicity; ↑ LFTs"), ("Piroxicam (Oxicam)", "57 h", "20 mg daily", "Once-daily; long half-life", "HIGHEST GI ulcer risk at doses >20 mg/day"), ("Celecoxib (Coxib)", "11 h", "100-200 mg BID", "COX-2 selective; lower GI bleeding", "↑ CV thrombotic risk"), ] for drug, hl, dosing, features, cautions in drugs_table: add_table_row(quick_ref, [drug, hl, dosing, features, cautions]) doc.add_paragraph() doc.add_paragraph() # Summary box doc.add_paragraph().add_run("KEY TAKEAWAYS FOR EXAM:").bold = True summary_points = [ "NSAIDs work by inhibiting COX → ↓ prostaglandins → anti-inflammatory, analgesic, antipyretic effects", "Aspirin is IRREVERSIBLE (acetylates COX); others are reversible", "COX-2 selective inhibitors: lower GI toxicity but HIGHER cardiovascular risk", "MOST COMMON serious adverse effect: GI bleeding (1-2% annually in regular users)", "Renal failure risk highest in elderly, volume-depleted, and those with renal/cardiac disease", "NO SPECIFIC ANTIDOTE - management is supportive (PPI, IV fluids, monitoring)", "Aspirin at LOW dose = antiplatelet (cardioprotection); HIGH dose = anti-inflammatory", "Always identify risk factors before prescribing NSAIDs; use gastroprotection when needed", "80-85% of serious complications occur WITHOUT prior GI symptoms", "Avoid NSAIDs with: ACE-I/ARBs, anticoagulants, NSAIDs + corticosteroids, high-risk renal patients" ] for i, point in enumerate(summary_points, 1): doc.add_paragraph(f"{i}. {point}", style='List Number') doc.add_paragraph() doc.add_paragraph("_" * 80) doc.add_paragraph("Document prepared for MUHS 2nd MBBS Pharmacology examination preparation") doc.add_paragraph("Last updated: August 2024") # Save document doc.save("NSAID_Study_Guide_MUHS_2MBBS.docx") print("✓ Document created successfully: NSAID_Study_Guide_MUHS_2MBBS.docx") EOF
NSAID Study Guide MUHS 2MBBS
Word Document · DOCX
Quick answer