Make a proper comprehensive ppt with certain medicines mentioning each specifically when to use and what common disease associated,doses(by severity),duration of intake(how many times max daily),after or before food,maximum dose daily,when to avoid/must avoid.Add important pictures about the diseases involved 1.Aceclofenac+ paracetamol Declofenac+ paracetamol Ibuprofen + paracetamol Nimesulide + paracetamol 2.Naroxene tablet or naproxen+ domperudone tablet 3.ciprofloxacin eye drops or moxifloxacin eye 4.carboxymethycellulose eye drops(refresh tears) 5. Cefixime tablets and cefpodixime tablet 6. Paracetamol + Phenylephrine Psedoephrine or Paracetamol + Phenylephrine Chlorpheniramine Azithromycin tablet or Cefixime 200mg 7.Hydrobromide and Chlorphenira CODISTAR-DX 8.Terbutaline Guiaphensin Ambroxol 9.Becosules Folic acid tablet Sporlac tablet Dolo gel 10.Ketorol DT tablet 11.Azithromycin 500mg tablet Chlorhexidine mouthwash Betadine gargle 12.Painkiller tablets(chest pain) Pantoprazole Digene syrup 13.Dicyclomin Drotaverin 14.Pantoprazole Omeprazole Rabeprazole Ranitidine 15.Domperidone Ondensetron 16.Aristozyme syrup Cyproheptadine syrup 17.Painkiller tablet(lower back pain) Diclofenac gel Calcium tablet 18.Diclofenac injection Tramadol injection 19.Bisacodyl tablet Lactulose liquid Smuth syrup Cremaffine liquid Mom plus syrup 20.Sporlac tablet Loperamide tablet 21.Ofloxacin + Ornidazole tablet Sporolac tablet ORS(diarrhoea) 22.Methylcobalamin 1500mcg tablet 23. Cefixime tablet Amoxicillin clavulanate tablet 24.Fusidic acid cream Mupirocin cream 25.Avil injection Dexona Injection 26.Cetirizine or Levocetirizine or Hydroxyzine

Reading File
Reading File
Running Command

ls /home/daytona/workspace/ 2>/dev/null && echo "EXISTS" || mkdir -p /home/daytona/workspace/medicine-ppt && echo "CREATED"

Running Command

mkdir -p /home/daytona/workspace/medicine-ppt && echo "DIR READY"

Writing File

~/medicine-ppt/build.js

const pptxgen = require("pptxgenjs");
const { execSync } = require("child_process");

const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.title = "Comprehensive Medicine Reference Guide";
pres.author = "Clinical Reference";

// ── Color Palette ──────────────────────────────────────────────
const C = {
  navy:    "0D1B2A",
  teal:    "1A7A8A",
  green:   "2ECC71",
  amber:   "F39C12",
  red:     "E74C3C",
  white:   "FFFFFF",
  offwhite:"F4F7F6",
  light:   "D6EAF8",
  mid:     "85929E",
  dark:    "1B2631",
  accent:  "E67E22",
  pink:    "E91E8C",
  avoid:   "E74C3C",
  safe:    "27AE60"
};

// ── Helper: fetch images ───────────────────────────────────────
function fetchImg(url) {
  try {
    const result = execSync(
      `node /home/daytona/skills/shared/scripts/fetch_images.js "${url}"`,
      { timeout: 15000 }
    ).toString();
    const arr = JSON.parse(result);
    if (arr && arr[0] && arr[0].base64 && !arr[0].error) return arr[0].base64;
  } catch(e) {}
  return null;
}

// ── Helper: section title slide ────────────────────────────────
function addSectionSlide(title, subtitle, colorTop) {
  const s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x:0, y:0, w:10, h:5.625, fill:{color:colorTop||C.navy} });
  s.addShape(pres.ShapeType.rect, { x:0, y:4.5, w:10, h:1.125, fill:{color:C.teal} });
  s.addText(title, { x:0.5, y:1.5, w:9, h:1.5, fontSize:40, bold:true, color:C.white, align:"center", fontFace:"Calibri" });
  s.addText(subtitle||"", { x:0.5, y:3.2, w:9, h:0.8, fontSize:18, color:C.light, align:"center", fontFace:"Calibri" });
  s.addText("Clinical Medicine Reference Guide • 2026", { x:0.5, y:4.7, w:9, h:0.5, fontSize:11, color:C.white, align:"center" });
}

// ── Helper: drug detail slide (2-col) ─────────────────────────
function addDrugSlide(opts) {
  // opts: { title, drug, imgUrl, uses, doses, timing, maxDose, avoid, notes }
  const s = pres.addSlide();

  // background
  s.addShape(pres.ShapeType.rect, { x:0, y:0, w:10, h:5.625, fill:{color:C.offwhite} });
  // header bar
  s.addShape(pres.ShapeType.rect, { x:0, y:0, w:10, h:0.9, fill:{color:opts.hdrColor||C.navy} });
  s.addText(opts.title, { x:0.2, y:0, w:7.5, h:0.9, fontSize:20, bold:true, color:C.white, valign:"middle", fontFace:"Calibri", margin:0 });
  // drug badge
  s.addShape(pres.ShapeType.roundRect, { x:7.7, y:0.1, w:2.1, h:0.65, fill:{color:opts.badgeColor||C.teal}, rectRadius:0.1 });
  s.addText(opts.badge||"ANALGESIC", { x:7.7, y:0.1, w:2.1, h:0.65, fontSize:9, bold:true, color:C.white, align:"center", valign:"middle" });

  // LEFT COLUMN ─ info table
  const lx = 0.25, tw = 5.8;
  let ry = 1.05;
  const rowH = 0.53;

  function infoRow(label, val, bg, labelColor) {
    s.addShape(pres.ShapeType.rect, { x:lx, y:ry, w:1.7, h:rowH, fill:{color:labelColor||C.navy} });
    s.addText(label, { x:lx, y:ry, w:1.7, h:rowH, fontSize:9, bold:true, color:C.white, valign:"middle", align:"center", margin:2 });
    s.addShape(pres.ShapeType.rect, { x:lx+1.7, y:ry, w:tw-1.7, h:rowH, fill:{color:bg||C.white} });
    s.addShape(pres.ShapeType.rect, { x:lx, y:ry, w:tw, h:rowH, line:{color:"CCCCCC", width:0.5}, fill:{type:"none"} });
    s.addText(val||"-", { x:lx+1.72, y:ry+0.02, w:tw-1.75, h:rowH-0.04, fontSize:9, color:C.dark, valign:"middle", margin:3, wrap:true });
    ry += rowH;
  }

  infoRow("💊 Drug", opts.drug||opts.title);
  infoRow("🩺 Uses", opts.uses, "EBF5FB");
  infoRow("📏 Doses", opts.doses, "FDFEFE");
  infoRow("⏱ Timing", opts.timing, "EBF5FB");
  infoRow("📅 Duration", opts.duration||"As prescribed", "FDFEFE");
  infoRow("⚠ Max Daily", opts.maxDose, "FEF9E7");
  infoRow("🚫 Avoid If", opts.avoid, "FDEDEC", C.red);
  if (opts.notes) infoRow("📝 Notes", opts.notes, "EBF5FB", C.teal);

  // RIGHT COLUMN ─ image(s)
  const rx = 6.3, ry2 = 1.05, rw = 3.45, rh = 3.2;
  const imgData = opts.imgUrl ? fetchImg(opts.imgUrl) : null;
  if (imgData) {
    s.addImage({ data: imgData, x: rx, y: ry2, w: rw, h: rh });
  } else {
    s.addShape(pres.ShapeType.rect, { x:rx, y:ry2, w:rw, h:rh, fill:{color:"D5D8DC"} });
    s.addText("Image\n" + (opts.imgLabel||""), { x:rx, y:ry2, w:rw, h:rh, fontSize:11, color:"888888", align:"center", valign:"middle" });
  }

  // image caption
  if (opts.imgCaption) {
    s.addShape(pres.ShapeType.rect, { x:rx, y:ry2+rh, w:rw, h:0.32, fill:{color:opts.hdrColor||C.navy} });
    s.addText(opts.imgCaption, { x:rx, y:ry2+rh, w:rw, h:0.32, fontSize:8, color:C.white, align:"center", valign:"middle" });
  }

  // bottom strip
  s.addShape(pres.ShapeType.rect, { x:0, y:5.3, w:10, h:0.32, fill:{color:opts.hdrColor||C.navy} });
  s.addText("For professional use only • Always verify with current clinical guidelines", {
    x:0.2, y:5.3, w:9.6, h:0.32, fontSize:8, color:C.white, align:"center"
  });
}

// ── COVER SLIDE ───────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x:0, y:0, w:10, h:5.625, fill:{color:C.navy} });
  s.addShape(pres.ShapeType.rect, { x:0, y:4.8, w:10, h:0.825, fill:{color:C.teal} });
  s.addShape(pres.ShapeType.rect, { x:0, y:0, w:0.35, h:5.625, fill:{color:C.teal} });

  s.addText("💊 COMPREHENSIVE", { x:0.6, y:0.6, w:9, h:0.7, fontSize:22, bold:false, color:C.light, fontFace:"Calibri" });
  s.addText("Medicine Reference Guide", { x:0.6, y:1.2, w:9, h:1.2, fontSize:44, bold:true, color:C.white, fontFace:"Calibri" });
  s.addText("Indications • Dosage • Timing • Contraindications", {
    x:0.6, y:2.6, w:9, h:0.6, fontSize:17, color:C.light, fontFace:"Calibri"
  });
  s.addText("26 Drug Groups | NSAIDs • Antibiotics • Eye Drops • GI Agents • Vitamins & More", {
    x:0.6, y:3.3, w:9, h:0.5, fontSize:13, color:"A9CCE3", fontFace:"Calibri"
  });
  s.addShape(pres.ShapeType.line, { x:0.6, y:3.1, w:8.5, h:0, line:{color:C.teal, width:1.5} });
  s.addText("Clinical Reference • 2026", { x:0.6, y:4.9, w:9, h:0.4, fontSize:11, color:C.white });
}

// ══════════════════════════════════════════════════════════════
// GROUP 1 – NSAIDs + PARACETAMOL COMBINATIONS
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 1", "NSAIDs + Paracetamol Combinations", C.navy);

addDrugSlide({
  title:"Aceclofenac + Paracetamol",
  drug:"Aceclofenac 100mg + Paracetamol 325–500mg",
  badge:"NSAID COMBO",
  hdrColor:"1A5276",
  uses:"Pain & inflammation: Osteoarthritis, Rheumatoid arthritis, Ankylosing spondylitis, Musculoskeletal pain, Post-operative pain, Dental pain, Dysmenorrhoea",
  doses:"Mild: 1 tab BD | Moderate: 1 tab TDS | Severe: 1 tab TDS (max)",
  timing:"After food | 2–3× per day | Avoid empty stomach",
  duration:"Short-term: 3–7 days | Chronic: up to 4–6 weeks with review",
  maxDose:"Aceclofenac 200mg/day + Paracetamol 2g/day",
  avoid:"Peptic ulcer, Renal/hepatic failure, Aspirin hypersensitivity, Pregnancy (3rd trimester), Children <18y, Heart failure, Anticoagulant therapy",
  notes:"Take with food/milk. Monitor renal function in long-term use.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/4/4e/Arthritis_Elbow.JPG/320px-Arthritis_Elbow.JPG",
  imgCaption:"Arthritis – primary indication",
  imgLabel:"Arthritis"
});

addDrugSlide({
  title:"Diclofenac + Paracetamol",
  drug:"Diclofenac 50mg + Paracetamol 500mg",
  badge:"NSAID COMBO",
  hdrColor:"154360",
  uses:"Rheumatoid arthritis, Osteoarthritis, Acute gout, Post-surgical pain, Dental & menstrual pain, Headache with musculoskeletal component",
  doses:"Mild: 1 tab BD | Moderate-Severe: 1 tab TDS",
  timing:"After food | 2–3× daily | 8-hour intervals",
  duration:"3–10 days acute | Chronic arthritis: under specialist supervision",
  maxDose:"Diclofenac 150mg/day + Paracetamol 3g/day",
  avoid:"Active peptic ulcer, GI bleeding, Renal impairment (GFR<30), Pregnancy 3rd trimester, Coronary artery disease (long-term), Aspirin allergy",
  notes:"Diclofenac has highest CV risk among NSAIDs – use lowest effective dose.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/Rheumatoid_Arthritis.JPG/320px-Rheumatoid_Arthritis.JPG",
  imgCaption:"Rheumatoid Arthritis",
  imgLabel:"Rheumatoid Arthritis"
});

addDrugSlide({
  title:"Ibuprofen + Paracetamol",
  drug:"Ibuprofen 400mg + Paracetamol 325mg",
  badge:"OTC COMBO",
  hdrColor:"1F618D",
  uses:"Fever, Mild–moderate pain, Headache, Dental pain, Menstrual cramps, Post-vaccination fever, Muscle aches, Common cold symptoms",
  doses:"Mild: Ibu 200mg + Para 325mg QID | Moderate: Ibu 400mg + Para 500mg TDS",
  timing:"After food | Max 3–4× daily | Every 6–8 hrs",
  duration:"Fever: 3–5 days | Pain: up to 7 days OTC; beyond with Rx",
  maxDose:"Ibuprofen 1200mg/day (OTC) / 2400mg (Rx) + Paracetamol 3g/day",
  avoid:"GI ulcer, Renal disease, Liver disease (alcoholism), Pregnancy >30 wks, Asthma triggered by NSAIDs, Children <3 months",
  notes:"Most widely used OTC combo. Safer GI profile than diclofenac. Can be alternated with plain paracetamol to reduce total NSAID dose.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/0/05/Fever_thermometer.jpg/240px-Fever_thermometer.jpg",
  imgCaption:"Fever & Pain management",
  imgLabel:"Fever / Pain"
});

addDrugSlide({
  title:"Nimesulide + Paracetamol",
  drug:"Nimesulide 100mg + Paracetamol 325mg",
  badge:"COX-2 COMBO",
  hdrColor:"6E2F18",
  uses:"Acute pain, Fever unresponsive to paracetamol alone, Osteoarthritis, Dysmenorrhoea, Post-operative & dental pain, Tendinitis",
  doses:"1 tab BD (standard) | Not to exceed BD",
  timing:"After food | BD only (morning + evening)",
  duration:"Maximum 15 days (hepatotoxicity risk) | NOT for chronic use",
  maxDose:"Nimesulide 200mg/day + Paracetamol 650mg/day",
  avoid:"Liver disease/hepatitis (strict contraindication), Children <12y (BANNED), Pregnancy, Alcoholism, Renal failure, History of GI ulcer",
  notes:"BANNED in children <12y and in several countries due to hepatotoxicity. Use with extreme caution.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/0/05/Fever_thermometer.jpg/240px-Fever_thermometer.jpg",
  imgCaption:"Fever & Dysmenorrhoea",
  imgLabel:"Fever"
});

// ══════════════════════════════════════════════════════════════
// GROUP 2 – NAPROXEN + DOMPERIDONE
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 2", "Naproxen + Domperidone", "2E4057");

addDrugSlide({
  title:"Naproxen + Domperidone",
  drug:"Naproxen 250–500mg + Domperidone 10mg",
  badge:"NSAID+PROKINETIC",
  hdrColor:"2E4057",
  uses:"Migraine with nausea/vomiting, Menstrual pain with nausea, Musculoskeletal pain with GI upset, Headache + vomiting",
  doses:"Mild migraine: Naproxen 250mg + Dom 10mg | Moderate-severe: Naproxen 500mg + Dom 10mg",
  timing:"After food | BD–TDS | Domperidone 15-30 min BEFORE meals",
  duration:"Acute migraine: single dose or 2–3 days | Chronic: review at 7 days",
  maxDose:"Naproxen 1000mg/day + Domperidone 30mg/day",
  avoid:"Peptic ulcer, GI bleeding, Prolactinoma, Cardiac arrhythmia (QT prolongation), Renal failure, Pregnancy, Parkinson's (domperidone caution)",
  notes:"Domperidone improves gastric motility and reduces nausea caused by NSAID. Naproxen has longer half-life than ibuprofen (12h).",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Migraine_aura.jpg/320px-Migraine_aura.jpg",
  imgCaption:"Migraine – key indication",
  imgLabel:"Migraine"
});

// ══════════════════════════════════════════════════════════════
// GROUP 3 – ANTIBIOTIC EYE DROPS
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 3", "Antibiotic Eye Drops", "1A5276");

addDrugSlide({
  title:"Ciprofloxacin Eye Drops 0.3%",
  drug:"Ciprofloxacin 0.3% ophthalmic solution",
  badge:"FLUOROQUINOLONE",
  hdrColor:"1A5276",
  uses:"Bacterial conjunctivitis, Corneal ulcers, Blepharitis, Post-operative eye infections, Keratitis",
  doses:"Conjunctivitis: 1–2 drops Q2H (day 1–2), then Q4H | Corneal ulcer: 2 drops Q15min ×6h then Q30min",
  timing:"Instil in conjunctival sac | After cleaning eyes | Can use any time (not food-dependent)",
  duration:"Conjunctivitis: 7 days | Corneal ulcer: up to 14 days",
  maxDose:"Conjunctivitis: 1–2 drops per eye up to 8× daily",
  avoid:"Known fluoroquinolone hypersensitivity | Do not use with contact lenses during treatment | Viral keratitis",
  notes:"Wait 5 min between different eye drops. May cause transient stinging. Remove contact lenses before instilling.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/Bloodshot_eyes.jpg/320px-Bloodshot_eyes.jpg",
  imgCaption:"Bacterial Conjunctivitis",
  imgLabel:"Conjunctivitis"
});

addDrugSlide({
  title:"Moxifloxacin Eye Drops 0.5%",
  drug:"Moxifloxacin 0.5% ophthalmic solution",
  badge:"4th GEN FLUORO",
  hdrColor:"0B3D6B",
  uses:"Bacterial conjunctivitis (broader spectrum), Corneal ulcers, Post-operative prophylaxis (cataract), Endophthalmitis prophylaxis",
  doses:"Conjunctivitis: 1 drop TDS | Corneal ulcer: 1 drop Q1H initially | Pre-surgical: 1 drop QID day before",
  timing:"Instil in lower conjunctival sac | Any time of day | Not food-related",
  duration:"Conjunctivitis: 7 days | Post-op prophylaxis: 4 weeks",
  maxDose:"1 drop per eye up to 8× daily",
  avoid:"Fluoroquinolone allergy | Viral/fungal keratitis | Contact lenses during therapy",
  notes:"Broader Gram+/Gram- coverage than ciprofloxacin. Better penetration into ocular tissues. Preferred for resistant organisms.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/Eye_drops.jpg/320px-Eye_drops.jpg",
  imgCaption:"Ophthalmic antibiotic drops",
  imgLabel:"Eye Drops"
});

// ══════════════════════════════════════════════════════════════
// GROUP 4 – CARBOXYMETHYLCELLULOSE (REFRESH TEARS)
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 4", "Carboxymethylcellulose Eye Drops (Refresh Tears)", "2471A3");

addDrugSlide({
  title:"Carboxymethylcellulose 0.5–1% Eye Drops",
  drug:"CMC (Refresh Tears / Lubricant Eye Drops)",
  badge:"LUBRICANT",
  hdrColor:"2471A3",
  uses:"Dry eye syndrome (keratoconjunctivitis sicca), Computer Vision Syndrome, Post-LASIK dryness, Contact lens discomfort, Sjögren's syndrome eye symptoms, Environmental dryness",
  doses:"1–2 drops per eye as needed | Typically 3–6× daily",
  timing:"Can be used at any time | Not food-related | Use before screen time",
  duration:"As long as needed – safe for indefinite use (preservative-free variants preferred for long-term)",
  maxDose:"No strict maximum – as needed (up to 8–10× daily if preservative-free)",
  avoid:"Known hypersensitivity to CMC | With contact lenses (unless specifically formulated) | Do not touch eye with dropper tip",
  notes:"Preservative-free single-dose vials preferred for frequent use (>4×/day). Shake well. Discard 28 days after opening multi-dose.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/4/4e/Dry_Eye_Syndrome.jpg/320px-Dry_Eye_Syndrome.jpg",
  imgCaption:"Dry Eye Syndrome",
  imgLabel:"Dry Eye"
});

// ══════════════════════════════════════════════════════════════
// GROUP 5 – CEFIXIME & CEFPODOXIME
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 5", "Cephalosporin Antibiotics: Cefixime & Cefpodoxime", "1E8449");

addDrugSlide({
  title:"Cefixime 200–400mg Tablet",
  drug:"Cefixime (3rd gen cephalosporin) 200/400mg",
  badge:"3rd GEN CEPH",
  hdrColor:"1E8449",
  uses:"UTI, Otitis media, Pharyngitis/tonsillitis (Strep), Uncomplicated gonorrhoea, Typhoid (Salmonella), Lower respiratory tract infections, Sinusitis",
  doses:"Adult mild: 200mg BD | Moderate: 400mg OD or 200mg BD | Children: 8mg/kg/day divided BD",
  timing:"Can be taken with or without food | BD or OD",
  duration:"UTI: 3–7 days | Pharyngitis: 10 days | Typhoid: 7–14 days | Gonorrhoea: single 400mg dose",
  maxDose:"400mg/day (adult) | 8mg/kg/day (children, max 400mg)",
  avoid:"Cephalosporin/penicillin allergy (cross-reactivity ~10%), Severe renal impairment (dose reduce), Pregnancy – use only if clearly needed",
  notes:"Good oral bioavailability (~40–50%). Excreted renally – reduce dose if CrCl <20 mL/min.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/Urinary_tract_infection.jpg/320px-Urinary_tract_infection.jpg",
  imgCaption:"UTI & Respiratory Infections",
  imgLabel:"UTI"
});

addDrugSlide({
  title:"Cefpodoxime 100–200mg Tablet",
  drug:"Cefpodoxime proxetil (3rd gen cephalosporin) 100/200mg",
  badge:"3rd GEN CEPH",
  hdrColor:"196F3D",
  uses:"Acute otitis media, Community-acquired pneumonia, Skin & soft tissue infections, Sinusitis, UTI, Tonsillitis/pharyngitis, Uncomplicated gonorrhoea",
  doses:"Mild: 100mg BD | Moderate: 200mg BD | Children: 10mg/kg/day BD",
  timing:"WITH food (improves absorption by 25%) | BD dosing",
  duration:"Sinusitis/otitis: 10 days | Pneumonia: 14 days | UTI: 7 days | Gonorrhoea: 200mg single dose",
  maxDose:"400mg/day adult | 10mg/kg/day children (max 400mg)",
  avoid:"Cephalosporin allergy, Severe renal failure (dose adjust), Monitor PT if on anticoagulants",
  notes:"Better bioavailability than cefixime. Take WITH food. Prodrug – converted to active form after absorption.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/f/f7/Pneumonia_x-ray.jpg/320px-Pneumonia_x-ray.jpg",
  imgCaption:"Pneumonia & Sinusitis",
  imgLabel:"Pneumonia"
});

// ══════════════════════════════════════════════════════════════
// GROUP 6 – COLD/COUGH COMBOS & AZITHROMYCIN
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 6", "Cold Symptom Combos & Azithromycin", "7D3C98");

addDrugSlide({
  title:"Paracetamol + Phenylephrine + Chlorpheniramine",
  drug:"Para 500mg + Phenylephrine 5mg + Chlorpheniramine 2mg",
  badge:"COLD COMBO",
  hdrColor:"7D3C98",
  uses:"Common cold, Allergic rhinitis with fever, Sinusitis symptoms, Upper respiratory tract infections with fever, Congestion + runny nose + fever combination",
  doses:"1–2 tabs every 4–6 hrs as needed",
  timing:"After food | Every 4–6 hours | 3–4× daily",
  duration:"3–5 days | Not for chronic use",
  maxDose:"Paracetamol 3g/day + Phenylephrine 60mg/day + Chlorpheniramine 24mg/day",
  avoid:"Hypertension (phenylephrine), MAO inhibitor use (within 14 days), Glaucoma (chlorpheniramine), Prostate hypertrophy, Pregnancy 1st trimester, Diabetes",
  notes:"Chlorpheniramine causes drowsiness – caution driving. Phenylephrine raises BP. Not for children <6y.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Common_cold.jpg/320px-Common_cold.jpg",
  imgCaption:"Common Cold & Allergic Rhinitis",
  imgLabel:"Common Cold"
});

addDrugSlide({
  title:"Azithromycin 250–500mg Tablet",
  drug:"Azithromycin (Macrolide antibiotic) 250/500mg",
  badge:"MACROLIDE",
  hdrColor:"6C3483",
  uses:"Community-acquired pneumonia, Pharyngitis/tonsillitis, Sinusitis, Skin infections, Chlamydia, Atypical pneumonia (Mycoplasma, Legionella), Typhoid (alternative), Pertussis",
  doses:"Z-pack: 500mg Day1, then 250mg OD × 4 days | Pneumonia/sinusitis: 500mg OD × 3–5 days | STI (Chlamydia): 1g single dose",
  timing:"1 hour BEFORE or 2 hours AFTER food (tablet); Can take with food for GI comfort",
  duration:"3–5 days standard | Single dose for Chlamydia/Typhoid (some protocols)",
  maxDose:"500mg/day",
  avoid:"Known macrolide allergy, QT prolongation / Torsades de pointes, Liver disease (caution), Myasthenia gravis, With ergot derivatives",
  notes:"Long tissue half-life (~68h). Drug interactions: warfarin, antacids reduce absorption. Do not take with aluminium/magnesium antacids simultaneously.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/f/f7/Pneumonia_x-ray.jpg/320px-Pneumonia_x-ray.jpg",
  imgCaption:"CAP & Atypical Pneumonia",
  imgLabel:"Pneumonia"
});

// ══════════════════════════════════════════════════════════════
// GROUP 7 – CODISTAR-DX (Codeine + Chlorpheniramine + DXM)
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 7", "CODISTAR-DX: Cough Suppressant Combo", "922B21");

addDrugSlide({
  title:"CODISTAR-DX (Hydrobromide + Chlorpheniramine)",
  drug:"Dextromethorphan HBr 10mg + Chlorpheniramine 2mg (+ Phenylephrine 5mg)",
  badge:"COUGH COMBO",
  hdrColor:"922B21",
  uses:"Dry/non-productive cough, Allergic cough, Cold-associated cough, Upper respiratory tract cough, Post-nasal drip cough",
  doses:"Adults: 10ml (or 1 tab) every 4–6 hrs | Children 6–12y: 5ml every 6–8 hrs",
  timing:"After food | Every 4–6 hrs | Max 4× daily",
  duration:"3–7 days | Do not exceed 7 days without review",
  maxDose:"DXM 60mg/day | Chlorpheniramine 24mg/day",
  avoid:"Productive (wet) cough – risk of sputum retention, MAO inhibitor use, Children <6y, Asthma/COPD (DXM can suppress cough reflex dangerously), Liver disease, Pregnancy (1st trimester)",
  notes:"Chlorpheniramine causes drowsiness – avoid driving. DXM can cause dizziness at high doses. NOT for productive cough.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/c/c0/Cough.jpg/240px-Cough.jpg",
  imgCaption:"Dry Cough – Respiratory",
  imgLabel:"Dry Cough"
});

// ══════════════════════════════════════════════════════════════
// GROUP 8 – BRONCHODILATORS & EXPECTORANTS
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 8", "Bronchodilators & Expectorants", "1A6030");

addDrugSlide({
  title:"Terbutaline",
  drug:"Terbutaline sulfate 2.5mg / 5mg tablet | 0.5mg/mL injection",
  badge:"β2-AGONIST",
  hdrColor:"1A6030",
  uses:"Bronchial asthma (acute attack), COPD, Bronchospasm, Preterm labour (tocolysis – IV form), Reversible airways obstruction",
  doses:"Oral: 2.5mg TDS–QID | Inhaled: 0.25–0.5mg Q4–6H | SC: 0.25mg (repeat after 15–30min, max 0.5mg/4h)",
  timing:"With or without food | Regular intervals | Inhaled: shake well",
  duration:"Asthma attack: until resolved | Chronic: long-term as per respiratory specialist",
  maxDose:"Oral 15mg/day | SC 0.5mg per episode",
  avoid:"Cardiac arrhythmias, Thyrotoxicosis, Hypertension, Diabetes (monitor glucose), MAO inhibitors, Do NOT use as primary maintenance without ICS",
  notes:"Beta-2 selective but can cause tachycardia, tremor, hypokalaemia (especially IV). Monitor K⁺.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/f/f0/Asthma_attack.jpg/320px-Asthma_attack.jpg",
  imgCaption:"Bronchial Asthma / COPD",
  imgLabel:"Asthma"
});

addDrugSlide({
  title:"Guaifenesin (Expectorant)",
  drug:"Guaifenesin 100–200mg per dose (syrup/tablet)",
  badge:"EXPECTORANT",
  hdrColor:"117A65",
  uses:"Productive (wet) cough, Acute bronchitis, Chest congestion, Sinusitis with postnasal drip, URTI with thick secretions",
  doses:"Adults: 200–400mg every 4 hrs | Children 6–12: 100–200mg every 4 hrs",
  timing:"With plenty of water | Every 4 hours | 4–6× daily",
  duration:"5–7 days | Review if not improving",
  maxDose:"2400mg/day adults | 1200mg/day children",
  avoid:"Dry/non-productive cough, Persistent cough from ACE inhibitors (investigate cause), Children <2y (certain formulations)",
  notes:"Must take with at least 1 full glass of water to thin secretions. Works by increasing respiratory tract fluid.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/c/c0/Cough.jpg/240px-Cough.jpg",
  imgCaption:"Productive Cough",
  imgLabel:"Wet Cough"
});

addDrugSlide({
  title:"Ambroxol",
  drug:"Ambroxol HCl 30mg tablet / syrup 15mg/5ml",
  badge:"MUCOLYTIC",
  hdrColor:"0E6655",
  uses:"Acute & chronic bronchitis, COPD, Asthma with thick secretions, Neonatal RDS (preventive – IV), Productive cough, Bronchiectasis",
  doses:"Adults: 30mg TDS (first 2 days) then 30mg BD | SR capsule: 75mg OD | Children: 1.2–1.6mg/kg/day",
  timing:"After food | TDS initially then BD",
  duration:"Acute: 5–10 days | Chronic: as per specialist",
  maxDose:"90mg/day standard | 120mg/day if needed",
  avoid:"Gastric ulcer (high dose), Pregnancy 1st trimester (1st 28 weeks caution), Hypersensitivity to ambroxol",
  notes:"Stimulates surfactant synthesis. Enhances ciliary activity. Works better with adequate hydration.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/f/f0/Asthma_attack.jpg/320px-Asthma_attack.jpg",
  imgCaption:"COPD & Bronchitis",
  imgLabel:"Bronchitis"
});

// ══════════════════════════════════════════════════════════════
// GROUP 9 – VITAMINS, PROBIOTICS, TOPICAL
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 9", "Vitamins • Probiotics • Topical Analgesics", "7E5109");

addDrugSlide({
  title:"Becosules (B-Complex + C)",
  drug:"Vit B1+B2+B3+B5+B6+B12+C+Folic acid+Biotin capsule",
  badge:"MULTIVITAMIN",
  hdrColor:"7E5109",
  uses:"Vitamin B-complex deficiency, Peripheral neuropathy support, Pregnancy nutrition, Stomatitis, Glossitis, Post-antibiotic nutrition, General weakness",
  doses:"1 capsule OD–BD",
  timing:"After food | OD (morning) or BD",
  duration:"3–6 months for deficiency | Indefinite for maintenance",
  maxDose:"2 capsules/day",
  avoid:"Hypervitaminosis B6 (doses >200mg B6/day linked to neuropathy), Hypersensitivity (rare)",
  notes:"Generally very safe. Urine may turn yellow (riboflavin/B2). Vitamin C content enhances iron absorption.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Peripheral_neuropathy.jpg/320px-Peripheral_neuropathy.jpg",
  imgCaption:"B-vitamin Deficiency / Neuropathy",
  imgLabel:"Neuropathy"
});

addDrugSlide({
  title:"Folic Acid Tablet",
  drug:"Folic acid (Vitamin B9) 400mcg / 5mg tablet",
  badge:"FOLATE",
  hdrColor:"935116",
  uses:"Neural tube defect prevention (pregnancy), Megaloblastic anaemia, Methotrexate supplementation, Haemolytic anaemia, Malabsorption syndromes, Folate deficiency",
  doses:"Prevention (pregnancy): 400–800mcg OD | Megaloblastic anaemia: 5mg OD | MTX supplement: 1–5mg/week",
  timing:"With or without food | OD",
  duration:"Pregnancy: start 1 month pre-conception, continue 12 weeks | Deficiency: 4–6 months",
  maxDose:"5mg/day therapeutic",
  avoid:"Untreated B12 deficiency (can mask but not treat subacute combined degeneration), Pernicious anaemia (must treat B12 simultaneously)",
  notes:"Mandatory in ALL pregnancies. Do NOT use high dose folic acid to treat B12 deficiency without simultaneously giving B12.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/5/57/Pregnancy_test.jpg/240px-Pregnancy_test.jpg",
  imgCaption:"Pregnancy – Neural Tube Prevention",
  imgLabel:"Pregnancy"
});

addDrugSlide({
  title:"Sporlac Tablet (Probiotic)",
  drug:"Lactic acid bacillus (Sporlac) 50 million spores per tablet",
  badge:"PROBIOTIC",
  hdrColor:"6E2F18",
  uses:"Antibiotic-associated diarrhoea (prevention & treatment), Traveller's diarrhoea, Irritable Bowel Syndrome, Post-gastroenteritis gut restoration, Bloating & flatulence",
  doses:"Adults: 2 tabs TDS | Children: 1 tab TDS | Prevention: 1 tab BD",
  timing:"WITH food or just after food | TDS (with meals)",
  duration:"During antibiotic course + 7 days after | Chronic IBS: 4–8 weeks",
  maxDose:"6 tabs/day (adults)",
  avoid:"Immunocompromised patients (theoretical risk of bacteraemia – though rare), Critically ill patients",
  notes:"Give Sporlac at a 2-hour interval from antibiotics to preserve viability. Refrigerate to maintain potency (or per label).",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Gut_flora.jpg/320px-Gut_flora.jpg",
  imgCaption:"Gut Microbiome – Probiotic Use",
  imgLabel:"Gut Flora"
});

addDrugSlide({
  title:"Dolo Gel (Diclofenac/Voltaren Gel)",
  drug:"Diclofenac diethylammonium 1–2% topical gel",
  badge:"TOPICAL NSAID",
  hdrColor:"7B241C",
  uses:"Localised musculoskeletal pain, Soft tissue sports injuries, Osteoarthritis of knee/hand, Tendinitis, Sprain & strain, Backache",
  doses:"Apply 2–4g (pea to grape-size amount) to affected area and rub in | 3–4× daily",
  timing:"Not food-dependent | Apply TDS–QID | Wash hands after",
  duration:"Up to 7 days for acute | Knee OA: up to 12 weeks with monitoring",
  maxDose:"16g/day per joint",
  avoid:"Open wounds, Broken skin, Mucous membranes, Sunburned skin, Eczema/dermatitis, Aspirin hypersensitivity, Pregnancy 3rd trimester",
  notes:"Cover with bandage optional. Do not use with other topical agents on same area. 10–20% systemic absorption – consider in renal/cardiac patients.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/c/c5/Knee_pain_osteoarthritis.jpg/320px-Knee_pain_osteoarthritis.jpg",
  imgCaption:"Knee OA / Soft Tissue Injury",
  imgLabel:"Joint Pain"
});

// ══════════════════════════════════════════════════════════════
// GROUP 10 – KETOROL DT
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 10", "Ketorolac (Ketorol DT) – Potent NSAID", "7B241C");

addDrugSlide({
  title:"Ketorol DT (Ketorolac Tromethamine)",
  drug:"Ketorolac tromethamine 10mg dispersible tablet",
  badge:"POTENT NSAID",
  hdrColor:"7B241C",
  uses:"Moderate-to-severe acute pain (post-op, dental, renal colic), Musculoskeletal pain, Short-term pain management only, Migraine (adjunct)",
  doses:"10mg every 4–6 hrs | Elderly: 10mg every 6–8 hrs | Max single dose 10mg",
  timing:"Dissolve in water or place on tongue | After food preferred | Every 4–6 hrs",
  duration:"MAXIMUM 5 DAYS ONLY (oral) – strict limit due to GI/renal toxicity",
  maxDose:"40mg/day (general) | 30mg/day elderly | Absolute max 5-day total",
  avoid:"Peptic ulcer (active), Renal impairment, Bleeding disorders, Anticoagulants, Elderly >65 (high GI risk), Pregnancy, Concomitant other NSAIDs",
  notes:"One of the most potent oral NSAIDs. Comparable to morphine for some pain types. 5-day HARD limit. Frequent GI protector (PPI) co-prescription recommended.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Renal_colic.jpg/320px-Renal_colic.jpg",
  imgCaption:"Acute Pain / Renal Colic",
  imgLabel:"Severe Pain"
});

// ══════════════════════════════════════════════════════════════
// GROUP 11 – DENTAL/THROAT ANTISEPTICS
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 11", "Dental & Oral Antiseptics + Azithromycin 500mg", "1A5276");

addDrugSlide({
  title:"Azithromycin 500mg + Oral Antiseptics",
  drug:"Azithromycin 500mg | Chlorhexidine Mouthwash 0.2% | Betadine Gargle 0.5%",
  badge:"DENTAL/THROAT",
  hdrColor:"1A5276",
  uses:"Dental infections (periapical abscess, periodontitis) + Azithromycin 500mg OD×3d | Chlorhexidine: gingivitis, post-extraction, plaque control | Betadine gargle: pharyngitis, tonsillitis, oral thrush prevention",
  doses:"Azithromycin: 500mg OD | Chlorhexidine: 10–15ml, gargle 30 sec, BD–TDS | Betadine gargle: dilute 1:1 with water, gargle 30 sec, 3–4× daily",
  timing:"Azithromycin: 1h before or 2h after food | Mouthwash: do NOT swallow | After brushing",
  duration:"Azithromycin: 3 days | Chlorhexidine: 4–6 weeks post-dental | Betadine: 5–10 days",
  maxDose:"Azithromycin 500mg/day | Chlorhexidine: as directed (topical only)",
  avoid:"Azithromycin: QT prolongation, liver disease | Chlorhexidine: swallowing (toxic), children <6y (risk of staining) | Betadine: thyroid disorders, pregnancy",
  notes:"Chlorhexidine stains teeth with long-term use – use for short courses. Betadine has broad antimicrobial spectrum incl. viruses & fungi.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Dental_abscess.jpg/320px-Dental_abscess.jpg",
  imgCaption:"Dental Abscess / Gingivitis",
  imgLabel:"Dental Infection"
});

// ══════════════════════════════════════════════════════════════
// GROUP 12 – GI PAIN / ANTACIDS
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 12", "GI Protectors: Pantoprazole • Digene Syrup", "117864");

addDrugSlide({
  title:"Pantoprazole 40mg + Digene Syrup",
  drug:"Pantoprazole 40mg (PPI) | Digene (Aluminium Hydroxide + Magnesium Hydroxide + Simethicone)",
  badge:"GI PROTECTOR",
  hdrColor:"117864",
  uses:"GERD, Peptic ulcer (gastric/duodenal), Zollinger-Ellison syndrome, NSAID-induced gastropathy, H.pylori eradication (as part of triple therapy) | Digene: Heartburn, Acidity, Flatulence, Indigestion",
  doses:"Pantoprazole: 40mg OD–BD | Digene: 2 tablets or 10ml after meals and at bedtime",
  timing:"Pantoprazole: 30–60 min BEFORE breakfast on empty stomach | Digene: AFTER meals + bedtime",
  duration:"GERD: 4–8 weeks | Peptic ulcer: 4–8 weeks | Long-term NSAID use: prophylactic OD",
  maxDose:"Pantoprazole 80mg/day | Digene 4 tabs/day",
  avoid:"Pantoprazole: hypomagnesaemia (long-term), bone fracture risk (chronic use), C.difficile risk | Digene: renal failure (Mg/Al accumulation), phosphate depletion (Al-containing)",
  notes:"Pantoprazole: take 30min before food for maximal efficacy. Long-term PPI use needs periodic B12 & Mg monitoring. Digene: do not take within 2 hrs of other drugs (antacid interference).",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/GERD_diagram.jpg/320px-GERD_diagram.jpg",
  imgCaption:"GERD / Peptic Ulcer Disease",
  imgLabel:"GERD"
});

// ══════════════════════════════════════════════════════════════
// GROUP 13 – ANTISPASMODICS
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 13", "Antispasmodics: Dicyclomine & Drotaverine", "6E2F18");

addDrugSlide({
  title:"Dicyclomine (Dicycloverine)",
  drug:"Dicyclomine HCl 10–20mg tablet/injection",
  badge:"ANTICHOLINERGIC",
  hdrColor:"6E2F18",
  uses:"Irritable Bowel Syndrome (IBS), Biliary colic, Ureteric colic (renal colic), Infantile colic (syrup), Functional GI spasm, Dysmenorrhoea",
  doses:"Adults: 10–20mg TDS–QID | Infants: 5mg QID (syrup, >6m only)",
  timing:"15–30 min BEFORE meals | TDS–QID",
  duration:"IBS: 6–8 weeks | Acute colic: 2–5 days",
  maxDose:"80mg/day adults",
  avoid:"Glaucoma (angle-closure), Myasthenia gravis, GI obstruction, Urinary retention, Infants <6 months (risk of apnoea), Tachycardia",
  notes:"Anticholinergic side effects: dry mouth, constipation, urinary hesitancy, blurred vision. Avoid in elderly (Beers criteria).",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/3/3e/IBS_diagram.jpg/320px-IBS_diagram.jpg",
  imgCaption:"IBS / Biliary Colic",
  imgLabel:"Abdominal Spasm"
});

addDrugSlide({
  title:"Drotaverine",
  drug:"Drotaverine HCl 40–80mg tablet/injection",
  badge:"MUSCULOTROPIC",
  hdrColor:"5D2E8C",
  uses:"Renal/ureteric colic, Biliary colic, GI spasm (IBS), Dysmenorrhoea, Spasm in ulcer disease, Labour (to accelerate cervical dilation – obstetric use)",
  doses:"Adults: 40–80mg TDS | Injection: 40–80mg IV/IM slow",
  timing:"With or without food | TDS",
  duration:"Acute: 3–5 days | IBS/chronic: 4–6 weeks",
  maxDose:"240mg/day",
  avoid:"Cardiac/hepatic/renal failure, Children <6y (injection), Do not give rapid IV bolus (hypotension)",
  notes:"NO anticholinergic side effects unlike dicyclomine. Acts directly on smooth muscle. Preferred in dysmenorrhoea and renal colic for fewer side effects.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/3/3e/Kidney_stone.jpg/320px-Kidney_stone.jpg",
  imgCaption:"Renal Colic / Ureteric Spasm",
  imgLabel:"Renal Colic"
});

// ══════════════════════════════════════════════════════════════
// GROUP 14 – PPIS & H2 BLOCKERS
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 14", "Acid Suppressants: PPIs & H2 Blockers", "117864");

addDrugSlide({
  title:"PPI Comparison: Pantoprazole vs Omeprazole vs Rabeprazole",
  drug:"Pantoprazole 40mg | Omeprazole 20mg | Rabeprazole 20mg",
  badge:"PPI CLASS",
  hdrColor:"117864",
  uses:"GERD, Peptic ulcer disease, H.pylori eradication, Zollinger-Ellison, NSAID gastropathy prophylaxis, Erosive oesophagitis",
  doses:"Pantoprazole: 40mg OD (maintenance) / 40mg BD (H.pylori); Omeprazole: 20mg OD–BD; Rabeprazole: 20mg OD–BD",
  timing:"ALL PPIs: 30 min BEFORE first meal of day (empty stomach) for best efficacy | BD dose: before breakfast AND dinner",
  duration:"GERD: 4–8 wks | PUD: 4–6 wks | H.pylori: 14 days (with antibiotics) | Long-term GERD: lowest effective dose",
  maxDose:"Pantoprazole 80mg/d | Omeprazole 40mg/d | Rabeprazole 40mg/d",
  avoid:"Hypersensitivity, Clopidogrel interaction (Omeprazole > others), Long-term without review (B12, Mg, bone density, C.diff risk)",
  notes:"Rabeprazole has least CYP2C19 interaction → preferred with clopidogrel. All equally effective for GERD. Take 30 min BEFORE eating.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/GERD_diagram.jpg/320px-GERD_diagram.jpg",
  imgCaption:"GERD & Peptic Ulcer Disease",
  imgLabel:"GERD"
});

addDrugSlide({
  title:"Ranitidine / Famotidine (H2 Blockers)",
  drug:"Ranitidine 150–300mg (H2 antagonist) – NB: Many markets withdrawn",
  badge:"H2 BLOCKER",
  hdrColor:"1F618D",
  uses:"Mild-moderate GERD, Peptic ulcer (healing & prevention), Zollinger-Ellison, NSAID-associated dyspepsia, Stress ulcer prophylaxis, Urticaria (H2 component)",
  doses:"Ranitidine: 150mg BD or 300mg HS | Famotidine (alternative): 20mg BD or 40mg HS",
  timing:"Before meals or at bedtime (for nocturnal acid) | BD or OD (HS)",
  duration:"4–8 weeks ulcer | Maintenance (PUD): 150mg HS for 12 months",
  maxDose:"Ranitidine 300mg/day",
  avoid:"Ranitidine: withdrawn in many countries due to NDMA contamination (use famotidine as alternative); Renal impairment (reduce dose); Porphyria",
  notes:"⚠ Ranitidine withdrawn in USA, EU, India due to NDMA impurity concerns. Famotidine (Pepcid) is the preferred H2 blocker alternative.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/GERD_diagram.jpg/320px-GERD_diagram.jpg",
  imgCaption:"Peptic Ulcer / GERD",
  imgLabel:"PUD / GERD"
});

// ══════════════════════════════════════════════════════════════
// GROUP 15 – ANTIEMETICS
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 15", "Antiemetics: Domperidone & Ondansetron", "1A5276");

addDrugSlide({
  title:"Domperidone vs Ondansetron",
  drug:"Domperidone 10mg | Ondansetron 4–8mg (5-HT3 antagonist)",
  badge:"ANTIEMETIC",
  hdrColor:"1A5276",
  uses:"Domperidone: Nausea/vomiting, Gastroparesis, GERD (prokinetic), Chemotherapy nausea (mild), Diabetic gastroparesis | Ondansetron: Post-operative N&V, Chemotherapy-induced N&V (severe), Radiation sickness, Gastroenteritis vomiting",
  doses:"Domperidone: 10mg TDS (15–30 min before meals) | Ondansetron: 4mg TDS (mild) / 8mg TDS (severe); ODT: place on tongue",
  timing:"Domperidone: 15–30 min BEFORE meals | Ondansetron: 30 min before chemotherapy; after surgery; ODT dissolves on tongue",
  duration:"3–7 days acute | Domperidone for gastroparesis: 4–8 weeks",
  maxDose:"Domperidone 30mg/day | Ondansetron 32mg/day (chemo) / 24mg/day (standard)",
  avoid:"Domperidone: QTc prolongation, prolactinoma, GI perforation/obstruction | Ondansetron: QT prolongation, cardiac arrhythmias, serotonin syndrome (with serotonergic drugs)",
  notes:"Both can prolong QT interval – avoid combination with macrolides/fluoroquinolones. Ondansetron 4mg ODT is very effective for children.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/8/8b/Nausea_vomiting.jpg/320px-Nausea_vomiting.jpg",
  imgCaption:"Nausea & Vomiting",
  imgLabel:"Nausea/Vomiting"
});

// ══════════════════════════════════════════════════════════════
// GROUP 16 – DIGESTIVE ENZYMES & APPETITE STIMULANT
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 16", "Digestive Enzymes & Appetite Stimulant", "7E5109");

addDrugSlide({
  title:"Aristozyme (Digestive Enzyme Syrup)",
  drug:"Fungal diastase + Pepsin (Aristozyme syrup 10ml/dose)",
  badge:"DIGESTIVE",
  hdrColor:"7E5109",
  uses:"Dyspepsia, Digestive enzyme insufficiency, Flatulence, Bloating after meals, Anorexia (poor appetite), Post-illness weakness with poor digestion",
  doses:"Adults: 10ml after meals TDS | Children: 5ml after meals TDS",
  timing:"AFTER meals | TDS (3× daily after each main meal)",
  duration:"2–4 weeks typically | Repeat as needed",
  maxDose:"30ml/day adults",
  avoid:"Known allergy to fungal-derived enzymes, Infants (consult paediatrician)",
  notes:"Contains digestive enzymes to aid starch and protein breakdown. Shake well before use. Generally very safe.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/2/2a/Digestive_system.jpg/320px-Digestive_system.jpg",
  imgCaption:"Digestive System",
  imgLabel:"Digestion"
});

addDrugSlide({
  title:"Cyproheptadine Syrup (Appetite Stimulant)",
  drug:"Cyproheptadine HCl 2mg/5ml syrup",
  badge:"ANTIHISTAMINE",
  hdrColor:"935116",
  uses:"Appetite stimulation (underweight children/adults), Allergic conditions (urticaria, rhinitis), Migraine prophylaxis in children, Post-illness anorexia, Serotonin syndrome (adjunct – blocks 5-HT)",
  doses:"Appetite: 2–4mg TDS | Children 2–6y: 2mg BD–TDS | Children 7–14: 4mg BD–TDS",
  timing:"Before meals (appetite stimulation) | TDS",
  duration:"Appetite stimulation: 4–8 weeks | Allergy: during allergic episode",
  maxDose:"32mg/day adults | 12mg/day children",
  avoid:"Glaucoma, Asthma (may thicken secretions), Elderly, MAO inhibitors, Neonates/premature infants, Urinary retention",
  notes:"Causes weight gain by blocking H1 and 5-HT receptors. Drowsiness is common – give main dose at night. May improve height-weight in malnourished children.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/6/61/Underweight_child.jpg/320px-Underweight_child.jpg",
  imgCaption:"Appetite Stimulation / Malnutrition",
  imgLabel:"Appetite"
});

// ══════════════════════════════════════════════════════════════
// GROUP 17 – BACK PAIN / CALCIUM
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 17", "Lower Back Pain Management & Calcium", "2E4057");

addDrugSlide({
  title:"Lower Back Pain: NSAIDs + Diclofenac Gel + Calcium",
  drug:"NSAID (Aceclofenac/Diclofenac) | Diclofenac Gel 1–2% | Calcium + Vit D3 tablet",
  badge:"BACK PAIN",
  hdrColor:"2E4057",
  uses:"Acute lower back pain, Lumbar spondylosis, Disc prolapse (mild), Muscle strain, Osteoporosis prevention/treatment, Calcium deficiency",
  doses:"Oral NSAID: as per Group 1 | Diclofenac gel: 2–4g TDS–QID topically | Calcium: 500–1000mg OD–BD (elemental calcium)",
  timing:"NSAID: after food | Gel: apply and massage gently | Calcium: after food for absorption",
  duration:"Acute LBP: 5–7 days NSAIDs | Gel: up to 2 weeks | Calcium: long-term supplementation",
  maxDose:"NSAID per Group 1 limits | Calcium: 2500mg/day (tolerable UL)",
  avoid:"NSAIDs: GI/renal risk (see Group 1) | Gel: broken skin, dermatitis | Calcium: hypercalcaemia, kidney stones, sarcoidosis, milk-alkali syndrome",
  notes:"Add muscle relaxant (thiocolchicoside/chlorzoxazone) for muscle spasm component. Vitamin D3 (600–800 IU) essential alongside calcium for absorption.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Lower_back_pain.jpg/320px-Lower_back_pain.jpg",
  imgCaption:"Lower Back Pain",
  imgLabel:"Back Pain"
});

// ══════════════════════════════════════════════════════════════
// GROUP 18 – INJECTIONS FOR PAIN
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 18", "Pain Injections: Diclofenac & Tramadol", "922B21");

addDrugSlide({
  title:"Diclofenac Injection + Tramadol Injection",
  drug:"Diclofenac Na 75mg/3ml IM | Tramadol HCl 50–100mg IM/IV",
  badge:"INJECTABLE",
  hdrColor:"922B21",
  uses:"Diclofenac IM: Moderate-severe musculoskeletal pain, Renal colic (acute), Post-op pain, Acute gout | Tramadol IM/IV: Moderate-severe pain, Post-op pain, Cancer pain (mild-moderate), Chronic pain, Renal colic",
  doses:"Diclofenac: 75mg IM OD–BD (max 2 days IM) | Tramadol: 50–100mg IM/IV Q4–6H",
  timing:"Deep IM injection (gluteal) | Tramadol IV must be diluted and given SLOWLY (risk of seizure/hypotension)",
  duration:"Diclofenac IM: max 2 days then switch to oral | Tramadol: acute 3–7 days, chronic under specialist",
  maxDose:"Diclofenac 150mg/day | Tramadol 400mg/day (300mg in elderly)",
  avoid:"Diclofenac: renal failure, active GI bleed, anticoagulants | Tramadol: seizure disorder, MAO inhibitors (within 14 days), head injury, respiratory depression, children <12y",
  notes:"Tramadol: weak opioid – can cause dependence. Avoid abrupt stopping (withdrawal). Monitor for serotonin syndrome if given with SSRIs/SNRIs.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/9/9e/Injection.jpg/320px-Injection.jpg",
  imgCaption:"Acute Pain – Injectable Therapy",
  imgLabel:"Pain Injection"
});

// ══════════════════════════════════════════════════════════════
// GROUP 19 – LAXATIVES
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 19", "Laxatives & Bowel Regulators", "1A6030");

addDrugSlide({
  title:"Laxatives: Bisacodyl • Lactulose • Cremaffin • MOM Plus",
  drug:"Bisacodyl 5–10mg | Lactulose 10–15ml | Cremaffin (liquid paraffin + milk of magnesia) | MOM Plus (Milk of Magnesia)",
  badge:"LAXATIVE",
  hdrColor:"1A6030",
  uses:"Constipation (all types), Bowel preparation pre-procedure, Post-op constipation, Opioid-induced constipation (lactulose preferred), Hepatic encephalopathy (lactulose), Drug-induced constipation",
  doses:"Bisacodyl: 5–10mg OD HS | Lactulose: 15–30ml BD (constipation) / 30–50ml TDS (hepatic encephalopathy) | Cremaffin: 11ml BD–TDS | MOM Plus: 15–30ml HS",
  timing:"Bisacodyl: at bedtime (works in 6–12h) | Lactulose: with plenty of water | Cremaffin: at bedtime",
  duration:"Acute constipation: 3–7 days | Chronic: 2–4 weeks then review | Lactulose for hepatic encephalopathy: long-term",
  maxDose:"Bisacodyl 20mg/day | Lactulose 60–80ml/day",
  avoid:"Bisacodyl: intestinal obstruction, appendicitis symptoms, children <4y, pregnancy (stimulant laxatives) | Lactulose: galactosaemia, lactose intolerance (some formulations) | All: abdominal pain of unknown origin",
  notes:"Smuth syrup = Dimethicone – for gas/bloating relief, not a laxative. Lactulose also used in hepatic encephalopathy (target 2–3 soft stools/day).",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Constipation.jpg/320px-Constipation.jpg",
  imgCaption:"Constipation",
  imgLabel:"Constipation"
});

// ══════════════════════════════════════════════════════════════
// GROUP 20 – ANTIDIARRHOEAL + PROBIOTIC
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 20", "Antidiarrhoeal: Sporlac + Loperamide", "1A5276");

addDrugSlide({
  title:"Sporlac + Loperamide",
  drug:"Lactic acid bacillus (Sporlac) | Loperamide HCl 2mg tablet",
  badge:"ANTIDIARRHOEAL",
  hdrColor:"1A5276",
  uses:"Loperamide: Acute non-specific diarrhoea, Traveller's diarrhoea, Ileostomy control, IBS diarrhoea-predominant | Sporlac: Antibiotic diarrhoea, Traveller's diarrhoea prevention, Gut flora restoration",
  doses:"Loperamide: 4mg initially then 2mg after each loose stool | Sporlac: 2 tabs TDS with food",
  timing:"Loperamide: after each loose stool (max 16mg/day) | Sporlac: with meals",
  duration:"Loperamide: max 48–72 hrs for acute; if not resolved → investigate | Sporlac: 7–14 days",
  maxDose:"Loperamide 16mg/day adults | Sporlac 6 tabs/day",
  avoid:"Loperamide: bloody diarrhoea, infectious colitis (E.coli O157, Salmonella, Shigella – may worsen), pseudomembranous colitis, children <2y, fever with diarrhoea",
  notes:"⚠ Loperamide MUST NOT be used in dysentery (blood/mucus in stool) – promotes bacterial overgrowth. Always use ORS for rehydration alongside. Sporlac 2h away from antibiotics.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/Diarrhoea.jpg/320px-Diarrhoea.jpg",
  imgCaption:"Acute Diarrhoea",
  imgLabel:"Diarrhoea"
});

// ══════════════════════════════════════════════════════════════
// GROUP 21 – OFLOXACIN + ORNIDAZOLE + ORS
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 21", "Antibiotic + Antiprotozoal + ORS for Diarrhoea", "117864");

addDrugSlide({
  title:"Ofloxacin + Ornidazole + ORS",
  drug:"Ofloxacin 200mg + Ornidazole 500mg | Oral Rehydration Salts (ORS)",
  badge:"COMBO ANTI-INFECTIVE",
  hdrColor:"117864",
  uses:"Ofloxacin+Ornidazole: Traveller's diarrhoea, Bacillary dysentery, Giardiasis, Amoebic dysentery, Mixed bacterial-protozoal infections | ORS: All acute diarrhoea with dehydration",
  doses:"1 tab BD after food (Oflox+Ornidazole) | ORS: 200–400ml per loose stool (adults), 75ml/kg over 4h for mild dehydration",
  timing:"After food (to reduce GI side effects) | BD",
  duration:"5–7 days | ORS until diarrhoea resolves",
  maxDose:"Ofloxacin 400mg/day + Ornidazole 1g/day",
  avoid:"Epilepsy/seizures (ornidazole lowers seizure threshold), Pregnancy (especially 1st trimester), Children <12y, Tendon disorders (fluoroquinolone), Alcoholism (Antabuse-like effect with ornidazole – absolute avoid alcohol)",
  notes:"Do NOT consume alcohol with ornidazole – severe Antabuse reaction. ORS is the cornerstone; antibiotics in moderate-severe cases. WHO ORS contains Na 75 + Cl 65 + K 20 + glucose 75 mmol/L.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/Diarrhoea.jpg/320px-Diarrhoea.jpg",
  imgCaption:"Infective Diarrhoea / Dysentery",
  imgLabel:"Infective Diarrhoea"
});

// ══════════════════════════════════════════════════════════════
// GROUP 22 – METHYLCOBALAMIN
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 22", "Methylcobalamin 1500mcg – Vitamin B12", "6C3483");

addDrugSlide({
  title:"Methylcobalamin 1500mcg Tablet",
  drug:"Methylcobalamin (Active B12) 1500mcg tablet/capsule",
  badge:"VITAMIN B12",
  hdrColor:"6C3483",
  uses:"Peripheral neuropathy, Diabetic neuropathy, Vitamin B12 deficiency, Megaloblastic anaemia (combined with folic acid), Subacute combined degeneration of spinal cord, Post-metformin B12 depletion, Cervical/lumbar spondylosis (adjunct)",
  doses:"1500mcg OD–BD | Severe deficiency: BD for 3 months then OD",
  timing:"With or without food | OD (morning) or BD",
  duration:"Neuropathy: 3–6 months minimum | Deficiency: 3–6 months then reassess | Diabetic neuropathy: long-term",
  maxDose:"3000mcg/day",
  avoid:"Hypersensitivity to cobalamins (rare), Leber's optic neuropathy (cyanocobalamin form – methylcobalamin usually safe)",
  notes:"Methylcobalamin is the biologically active form – better CNS penetration than cyanocobalamin. Will not cause toxicity at recommended doses. Also available as injection (1000mcg/ml) for severe deficiency.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Peripheral_neuropathy.jpg/320px-Peripheral_neuropathy.jpg",
  imgCaption:"Peripheral Neuropathy / B12 Deficiency",
  imgLabel:"Neuropathy"
});

// ══════════════════════════════════════════════════════════════
// GROUP 23 – CEFIXIME + AMOXICILLIN-CLAVULANATE
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 23", "Antibiotics: Cefixime vs Amoxicillin-Clavulanate", "1E8449");

addDrugSlide({
  title:"Amoxicillin + Clavulanate (Augmentin)",
  drug:"Amoxicillin 500mg/875mg + Clavulanate 125mg tablet",
  badge:"β-LACTAM/INHIBITOR",
  hdrColor:"196F3D",
  uses:"Sinusitis, Otitis media, Pneumonia (CAP), UTI, Bite wounds, Dental infections, Skin/soft tissue infections, Exacerbations of COPD, Intra-abdominal infections",
  doses:"Standard: 625mg (500/125) TDS | High-dose: 875/125 BD | Children: 40–90mg/kg/day amoxicillin component BD",
  timing:"WITH food (clavulanate GI side effects reduced) | TDS or BD depending on formulation",
  duration:"Sinusitis/otitis: 7–10 days | Pneumonia: 5–7 days | Bite wounds: 5–7 days",
  maxDose:"3g amoxicillin + 600mg clavulanate/day (875/125 BD = 1750/250)",
  avoid:"Penicillin allergy (anaphylaxis history), Hepatic dysfunction (clavulanate-associated hepatotoxicity), Mononucleosis (rash risk), Prior augmentin-associated cholestatic jaundice",
  notes:"Broader spectrum than amoxicillin alone due to beta-lactamase inhibitor. GI side effects (diarrhoea) common – probiotics recommended. Take WITH food.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/f/f7/Pneumonia_x-ray.jpg/320px-Pneumonia_x-ray.jpg",
  imgCaption:"CAP / Sinusitis / Dental Infections",
  imgLabel:"Bacterial Infection"
});

// ══════════════════════════════════════════════════════════════
// GROUP 24 – TOPICAL ANTIBIOTICS (SKIN)
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 24", "Topical Antibiotics: Fusidic Acid & Mupirocin Cream", "7B241C");

addDrugSlide({
  title:"Fusidic Acid Cream & Mupirocin Cream",
  drug:"Fusidic acid 2% cream | Mupirocin 2% cream/ointment",
  badge:"TOPICAL ANTIBIOTIC",
  hdrColor:"7B241C",
  uses:"Fusidic acid: Impetigo, Infected eczema, Folliculitis, Minor infected wounds, Staphylococcal skin infections | Mupirocin: Impetigo (especially MRSA), Nasal decolonisation of MRSA, Infected cuts & abrasions",
  doses:"Apply thin layer TDS–QID | Cover affected area gently | Mupirocin nasal: apply BD to each nostril ×5 days",
  timing:"3–4× daily topically | Not food-dependent",
  duration:"Impetigo: 7–10 days | Infected eczema: 7–14 days | MRSA nasal: 5 days",
  maxDose:"Apply TDS–QID only | Not for large body surface areas (systemic absorption)",
  avoid:"Large open wounds (systemic absorption), Mucosal membranes except designated nasal oint, Avoid eyes, Fusidic acid long-term (resistance development – EMOLLIENT combination needed)",
  notes:"Mupirocin is first-choice for MRSA-decolonisation. Fusidic acid resistance developing – use only for confirmed indications. Both are effective against Staphylococcus aureus.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/Impetigo.jpg/320px-Impetigo.jpg",
  imgCaption:"Impetigo / Skin Infection",
  imgLabel:"Skin Infection"
});

// ══════════════════════════════════════════════════════════════
// GROUP 25 – AVIL (PHENIRAMINE) + DEXAMETHASONE INJECTIONS
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 25", "Emergency Injections: Avil & Dexona", "922B21");

addDrugSlide({
  title:"Avil Injection (Pheniramine) + Dexona Injection",
  drug:"Pheniramine maleate 22.75mg/ml (Avil) | Dexamethasone 4mg/ml (Dexona)",
  badge:"EMERGENCY USE",
  hdrColor:"922B21",
  uses:"Avil: Allergic reactions (urticaria, angioedema, drug reactions, insect stings), Anaphylaxis (adjunct to adrenaline), Motion sickness (IV), Pre-medication | Dexona: Anaphylaxis (adjunct), Acute severe asthma, COPD exacerbation, Cerebral oedema, Severe allergic reactions, Inflammatory conditions, Croup",
  doses:"Avil: 22.75–45.5mg (1–2ml) IM/IV slow | Dexona: Allergy: 4–8mg IV; Cerebral oedema: 10mg IV then 4mg Q6H",
  timing:"Avil: slow IV injection (2–5 min) or IM | Dexona: IV/IM – emergency use",
  duration:"Avil: single dose, repeat Q6–8H if needed | Dexona: 3–7 days then taper (if used > 48h)",
  maxDose:"Avil 45.5mg/dose | Dexona: varies by indication",
  avoid:"Avil: newborns/premature infants, MAO inhibitors, Epilepsy | Dexona: active infections without antibiotic cover, systemic fungal infections, GI perforation, long-term use (adrenal suppression, osteoporosis, Cushing's)",
  notes:"⚠ ADRENALINE (Epinephrine) is the FIRST-LINE drug for anaphylaxis – Avil and Dexona are ADJUNCTS only. Dexona onset delayed (hours) – not immediate anaphylaxis treatment.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Anaphylaxis.jpg/320px-Anaphylaxis.jpg",
  imgCaption:"Anaphylaxis / Severe Allergic Reaction",
  imgLabel:"Anaphylaxis"
});

// ══════════════════════════════════════════════════════════════
// GROUP 26 – ANTIHISTAMINES
// ══════════════════════════════════════════════════════════════
addSectionSlide("Group 26", "Antihistamines: Cetirizine, Levocetirizine, Hydroxyzine", "2E4057");

addDrugSlide({
  title:"Cetirizine / Levocetirizine / Hydroxyzine",
  drug:"Cetirizine 10mg | Levocetirizine 5mg | Hydroxyzine 25mg",
  badge:"ANTIHISTAMINE",
  hdrColor:"2E4057",
  uses:"Allergic rhinitis (seasonal & perennial), Chronic urticaria, Atopic dermatitis, Insect bite reactions, Angioedema, Drug reactions | Hydroxyzine also: Anxiety (short-term), Pruritus, Pre-operative sedation",
  doses:"Cetirizine: 10mg OD | Levocetirizine: 5mg OD | Hydroxyzine: 25–50mg TDS–QID (anxiety/itch) / 50–100mg pre-op",
  timing:"Evening (for mild sedation benefit in allergic rhinitis) | OD for 2nd gen antihistamines | Hydroxyzine TDS–QID",
  duration:"Seasonal rhinitis: during season | Chronic urticaria: 3–6 months | Anxiety (hydroxyzine): 4 weeks max",
  maxDose:"Cetirizine 20mg/day | Levocetirizine 5mg/day | Hydroxyzine 600mg/day (theoretical, practical 200mg/day)",
  avoid:"Renal impairment (reduce cetirizine/levocetirizine dose) | Hydroxyzine: QT prolongation, Elderly (Beers criteria – high anticholinergic), Pregnancy (avoid hydroxyzine 1st trimester + near delivery)",
  notes:"Levocetirizine = active R-enantiomer of cetirizine, slightly less sedating. 2nd-gen antihistamines (cetirizine, levocetirizine) cause minimal sedation vs 1st-gen. Hydroxyzine is 1st-gen – sedating, useful for anxiety & severe itch at night.",
  imgUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Allergic_rhinitis.jpg/320px-Allergic_rhinitis.jpg",
  imgCaption:"Allergic Rhinitis / Urticaria",
  imgLabel:"Allergy"
});

// ══════════════════════════════════════════════════════════════
// SUMMARY / QUICK REFERENCE SLIDE
// ══════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x:0, y:0, w:10, h:5.625, fill:{color:C.dark} });
  s.addShape(pres.ShapeType.rect, { x:0, y:0, w:10, h:0.9, fill:{color:C.teal} });
  s.addText("Quick Reference Summary", { x:0.3, y:0, w:9.4, h:0.9, fontSize:22, bold:true, color:C.white, valign:"middle" });

  const items = [
    ["NSAIDs + Paracetamol", "Aceclofenac, Diclofenac, Ibuprofen, Nimesulide combos – After food, GI caution"],
    ["Naproxen + Domperidone", "Migraine + nausea – BD, max 1000mg Naproxen/day"],
    ["Antibiotic Eye Drops", "Ciprofloxacin 0.3% / Moxifloxacin 0.5% – Q2–4H, 7–14 days"],
    ["CMC Lubricant Drops", "Dry eye – as needed, preservative-free for >4×/day"],
    ["Cefixime / Cefpodoxime", "3rd gen ceph – UTI/CAP/pharyngitis, Cefpodoxime WITH food"],
    ["Cold Combos + AZM", "Para+Phenylephrine+Chlorpheniramine – 3–5 days | AZM 500mg OD×3–5 days"],
    ["Codistar-DX", "Dry cough only – DXM+Chlorpheniramine, max 7 days"],
    ["Terbutaline/Guaifen/Ambroxol", "Asthma/bronchitis – β2 agonist + expectorant + mucolytic"],
    ["Vitamins + Probiotics", "Becosules, Folic acid, Sporlac, Dolo gel – after food"],
    ["Ketorol DT", "MAX 5 DAYS – potent NSAID for acute severe pain"],
    ["Dental/Oral antiseptics", "AZM 500mg + Chlorhexidine/Betadine gargle – 3–7 days"],
    ["PPIs + Antacids", "Pantoprazole/Omeprazole 30min BEFORE food | Digene AFTER food"],
    ["Antispasmodics", "Dicyclomine/Drotaverine – before meals, IBS/colic"],
  ];

  let ry = 1.0;
  for (let i = 0; i < items.length; i++) {
    const bg = i % 2 === 0 ? "1B2B3A" : "243447";
    s.addShape(pres.ShapeType.rect, { x:0.2, y:ry, w:9.6, h:0.31, fill:{color:bg} });
    s.addText([
      { text: items[i][0] + ": ", options: { bold:true, color:"5DADE2" } },
      { text: items[i][1], options: { color:C.white } }
    ], { x:0.3, y:ry+0.01, w:9.4, h:0.29, fontSize:8.5, valign:"middle" });
    ry += 0.33;
  }
}

// SUMMARY 2
{
  const s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x:0, y:0, w:10, h:5.625, fill:{color:C.dark} });
  s.addShape(pres.ShapeType.rect, { x:0, y:0, w:10, h:0.9, fill:{color:C.accent} });
  s.addText("Quick Reference Summary (Cont'd)", { x:0.3, y:0, w:9.4, h:0.9, fontSize:22, bold:true, color:C.white, valign:"middle" });

  const items2 = [
    ["Domperidone / Ondansetron", "Nausea/vomiting – Dom before meals, Ondansetron 30min pre-chemo, QT caution"],
    ["Aristozyme / Cyproheptadine", "Enzyme syrup after meals | Cyproheptadine appetite stimulant – TDS, drowsy"],
    ["Back Pain: NSAIDs+Gel+Calcium", "NSAID after food + topical gel + Calcium+VitD3 after food"],
    ["Diclofenac/Tramadol Inj", "Max 2 days Diclo IM | Tramadol 400mg/day max, dependence risk"],
    ["Laxatives", "Bisacodyl HS | Lactulose BD–TDS | Avoid all with bowel obstruction"],
    ["Sporlac + Loperamide", "Loperamide NOT in dysentery/bloody stool – probiotic 2h from antibiotics"],
    ["Ofloxacin+Ornidazole+ORS", "NO ALCOHOL with ornidazole | ORS cornerstone of diarrhoea management"],
    ["Methylcobalamin 1500mcg", "Active B12 – neuropathy, min 3–6 months, safe long-term"],
    ["Cefixime + Augmentin", "Augmentin WITH food – CAP/sinusitis/bites; penicillin allergy = contraindication"],
    ["Fusidic acid / Mupirocin", "Topical only – MRSA: mupirocin first-line, TDS–QID 7–10 days"],
    ["Avil + Dexona Injection", "⚠ Adrenaline FIRST for anaphylaxis – Avil/Dexona are adjuncts"],
    ["Cetirizine/Levocetirizine/Hydroxyzine", "OD evening (2nd gen) | Hydroxyzine sedating, for anxiety/itch at night"],
  ];

  let ry = 1.0;
  for (let i = 0; i < items2.length; i++) {
    const bg = i % 2 === 0 ? "1B2B3A" : "243447";
    s.addShape(pres.ShapeType.rect, { x:0.2, y:ry, w:9.6, h:0.31, fill:{color:bg} });
    s.addText([
      { text: items2[i][0] + ": ", options: { bold:true, color:"F8C471" } },
      { text: items2[i][1], options: { color:C.white } }
    ], { x:0.3, y:ry+0.01, w:9.4, h:0.29, fontSize:8.5, valign:"middle" });
    ry += 0.33;
  }
}

// CLOSING SLIDE
{
  const s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x:0, y:0, w:10, h:5.625, fill:{color:C.navy} });
  s.addShape(pres.ShapeType.rect, { x:0, y:3.8, w:10, h:1.825, fill:{color:C.teal} });
  s.addText("Important Disclaimer", { x:0.5, y:0.6, w:9, h:0.7, fontSize:30, bold:true, color:C.white, align:"center" });
  s.addText([
    { text: "This presentation is for ", options:{color:"D6EAF8"} },
    { text: "educational reference only", options:{color:"F8C471", bold:true} },
    { text: ". Always follow current clinical guidelines,\nprescribing information, and patient-specific factors.\nAll drug doses must be verified before administration.", options:{color:"D6EAF8"} }
  ], { x:0.8, y:1.5, w:8.4, h:2.0, fontSize:14, align:"center", valign:"middle" });
  s.addText("Consult current formularies, BNF, or drug package inserts for the most up-to-date information.", {
    x:0.5, y:3.9, w:9, h:0.6, fontSize:12, color:C.white, align:"center", valign:"middle"
  });
  s.addText("Clinical Medicine Reference Guide • 2026", {
    x:0.5, y:4.9, w:9, h:0.4, fontSize:10, color:C.white, align:"center"
  });
}

// ── WRITE FILE ────────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/medicine-ppt/Comprehensive_Medicine_Reference.pptx" })
  .then(() => console.log("SUCCESS: File written"))
  .catch(err => console.error("ERROR:", err));
Running Command

cd /home/daytona/workspace/medicine-ppt && node build.js 2>&1

Editing File

~/medicine-ppt/build.js

Successfully replaced 1 instance(s) of the string in '/home/daytona/workspace/medicine-ppt/build.js'
Your credits are exhausted. Your daily credits reset tomorrow, or you can purchase a top-up for more.

Yes do it

Your credits are exhausted. Your daily credits reset tomorrow, or you can purchase a top-up for more.

Generate the comprehensive medicine PPT (image-free version)

Your credits are exhausted. Your daily credits reset tomorrow, or you can purchase a top-up for more.
This is a shared conversation. Sign in to Orris to start your own chat.