A 60
Listeria monocytogenes CNS infection treatment meropenem
Listeria monocytogenes meningitis treatment ampicillin
| Parameter | Result | Interpretation |
|---|---|---|
| Colour | Colourless | Normal appearance |
| Appearance | Clear | No turbidity |
| Blood | Absent | |
| Cobweb | Absent | Against TB |
| Total Cell Count | 15 cells/mm³ | Mild pleocytosis |
| Polymorphs | 20% | |
| Lymphocytes | 80% | Lymphocytic predominance |
| RBCs | Few |
| Parameter | Result | Reference | Interpretation |
|---|---|---|---|
| CSF Sugar | 122 mg/dL | 40-70 | Elevated - unusual |
| CSF Protein | 35.6 mg/dL | 8-32 | Mildly elevated |
| Test | Result |
|---|---|
| Gram Stain | Gram positive bacilli seen |
| ZN Stain | Acid fast bacilli NOT seen |
| Culture (48h) | Scanty growth - Listeria monocytogenes |
| Benzylpenicillin | Susceptible |
| Trimethoprim/Sulfa | Susceptible |
| Meropenem | Sensitive (MIC 0.25) |
| Antibiotic | Recommendation |
|---|---|
| Ampicillin 2g IV q4h | First-line - drug of choice |
| + Gentamicin | Add if meningitis/encephalitis (synergy); caution with renal function |
| TMP/SMX | Alternative if penicillin allergy (5 mg/kg TMP component IV q6-8h) |
| Meropenem | Sensitive (MIC 0.25) - usable as salvage/if ampicillin not tolerated |
| Avoid cephalosporins | Inherently resistant (e.g., ceftriaxone NOT active against Listeria) |
| Avoid vancomycin | Not effective even if in vitro susceptibility shown |
Create a quick antibiotic dosing reference for Listeria CNS management
ls -la /home/daytona/workspace/ 2>/dev/null || echo "workspace empty or missing"
mkdir -p /home/daytona/workspace/listeria-ref
~/listeria-ref/build.js
const {
Document, Packer, Paragraph, TextRun, Table, TableRow, TableCell,
AlignmentType, HeadingLevel, BorderStyle, WidthType, ShadingType,
VerticalAlign, PageOrientation, Header, Footer, PageNumber,
NumberFormat, UnderlineType
} = require('docx');
const fs = require('fs');
// Color palette
const RED = "C0392B";
const DKRED = "922B21";
const GREEN = "1E8449";
const ORANGE = "D35400";
const BLUE = "1A5276";
const DKBLUE = "154360";
const GREY = "F2F3F4";
const LTGREY = "FDFEFE";
const WHITE = "FFFFFF";
const BLACK = "1C2833";
const AMBER = "F39C12";
function hdr(text, color = DKBLUE) {
return new Paragraph({
children: [new TextRun({ text, bold: true, color: WHITE, size: 26, font: "Calibri" })],
shading: { type: ShadingType.CLEAR, fill: color },
spacing: { before: 160, after: 60 },
indent: { left: 120, right: 120 },
});
}
function subhdr(text, color = BLUE) {
return new Paragraph({
children: [new TextRun({ text, bold: true, color: WHITE, size: 22, font: "Calibri" })],
shading: { type: ShadingType.CLEAR, fill: color },
spacing: { before: 120, after: 40 },
indent: { left: 80 },
});
}
function para(text, { bold = false, color = BLACK, size = 20, indent = 120, spacing = 60 } = {}) {
return new Paragraph({
children: [new TextRun({ text, bold, color, size, font: "Calibri" })],
spacing: { before: spacing, after: spacing },
indent: { left: indent },
});
}
function bullet(text, { bold = false, color = BLACK, size = 20 } = {}) {
return new Paragraph({
bullet: { level: 0 },
children: [new TextRun({ text, bold, color, size, font: "Calibri" })],
spacing: { before: 40, after: 40 },
indent: { left: 360, hanging: 200 },
});
}
function subbullet(text, color = BLACK) {
return new Paragraph({
bullet: { level: 1 },
children: [new TextRun({ text, color, size: 19, font: "Calibri" })],
spacing: { before: 30, after: 30 },
indent: { left: 600, hanging: 200 },
});
}
function noBorder() {
return { top: { style: BorderStyle.NONE, size: 0, color: "FFFFFF" }, bottom: { style: BorderStyle.NONE, size: 0, color: "FFFFFF" }, left: { style: BorderStyle.NONE, size: 0, color: "FFFFFF" }, right: { style: BorderStyle.NONE, size: 0, color: "FFFFFF" } };
}
function thinBorder(col = "CCCCCC") {
return { top: { style: BorderStyle.SINGLE, size: 4, color: col }, bottom: { style: BorderStyle.SINGLE, size: 4, color: col }, left: { style: BorderStyle.SINGLE, size: 4, color: col }, right: { style: BorderStyle.SINGLE, size: 4, color: col } };
}
function cell(text, { bg = WHITE, color = BLACK, bold = false, size = 19, width = 2000, align = AlignmentType.LEFT, borders = null } = {}) {
return new TableCell({
children: [new Paragraph({
children: [new TextRun({ text, bold, color, size, font: "Calibri" })],
alignment: align,
spacing: { before: 40, after: 40 },
})],
shading: bg !== WHITE ? { type: ShadingType.CLEAR, fill: bg } : undefined,
width: { size: width, type: WidthType.DXA },
verticalAlign: VerticalAlign.CENTER,
margins: { top: 60, bottom: 60, left: 100, right: 100 },
borders: borders || thinBorder(),
});
}
function makeTable(rows) {
return new Table({
width: { size: 9200, type: WidthType.DXA },
rows,
margins: { top: 0, bottom: 0, left: 0, right: 0 },
});
}
function spacer(n = 80) {
return new Paragraph({ children: [new TextRun({ text: "" })], spacing: { before: n, after: n } });
}
// ─── BANNER ──────────────────────────────────────────────────────────────────
const banner = new Paragraph({
children: [
new TextRun({ text: "LISTERIA MONOCYTOGENES", bold: true, color: WHITE, size: 36, font: "Calibri", allCaps: true }),
new TextRun({ text: " | CNS INFECTION ANTIBIOTIC DOSING REFERENCE", bold: false, color: "F9EBEA", size: 26, font: "Calibri" }),
],
shading: { type: ShadingType.CLEAR, fill: DKRED },
spacing: { before: 0, after: 60 },
indent: { left: 120, right: 120 },
alignment: AlignmentType.LEFT,
});
const subbanner = new Paragraph({
children: [new TextRun({ text: "Quick Reference Card · Neurosurgery / Neurology ICU", color: "FDFEFE", size: 19, font: "Calibri", italics: true })],
shading: { type: ShadingType.CLEAR, fill: RED },
spacing: { before: 0, after: 0 },
indent: { left: 120 },
});
// ─── SECTION 1: KEY PRINCIPLE BOX ────────────────────────────────────────────
const keyPrinciple = new Table({
width: { size: 9200, type: WidthType.DXA },
rows: [
new TableRow({ children: [
new TableCell({
children: [
new Paragraph({ children: [new TextRun({ text: "⚠ CRITICAL PRINCIPLES", bold: true, color: WHITE, size: 22, font: "Calibri" })], spacing: { before: 60, after: 20 }, indent: { left: 80 } }),
new Paragraph({ children: [new TextRun({ text: "• Cephalosporins are NOT active against Listeria — do not use as monotherapy", bold: true, color: "FAD7A0", size: 20, font: "Calibri" })], spacing: { before: 30, after: 10 }, indent: { left: 80 } }),
new Paragraph({ children: [new TextRun({ text: "• Vancomycin is NOT effective even if in vitro susceptibility is shown", bold: true, color: "FAD7A0", size: 20, font: "Calibri" })], spacing: { before: 10, after: 10 }, indent: { left: 80 } }),
new Paragraph({ children: [new TextRun({ text: "• Ampicillin is the drug of choice — gentamicin adds synergy in CNS disease", bold: true, color: "ABEBC6", size: 20, font: "Calibri" })], spacing: { before: 10, after: 60 }, indent: { left: 80 } }),
],
shading: { type: ShadingType.CLEAR, fill: "78281F" },
borders: thinBorder("922B21"),
margins: { top: 80, bottom: 80, left: 120, right: 120 },
})
]})
]
});
// ─── SECTION 2: REGIMEN TABLE ─────────────────────────────────────────────────
const regimenHeaderRow = new TableRow({
children: [
cell("ANTIBIOTIC", { bg: DKBLUE, color: WHITE, bold: true, size: 20, width: 1600 }),
cell("ROUTE & DOSE", { bg: DKBLUE, color: WHITE, bold: true, size: 20, width: 2500 }),
cell("FREQUENCY", { bg: DKBLUE, color: WHITE, bold: true, size: 20, width: 1500 }),
cell("INDICATION", { bg: DKBLUE, color: WHITE, bold: true, size: 20, width: 2000 }),
cell("NOTES", { bg: DKBLUE, color: WHITE, bold: true, size: 20, width: 1600 }),
],
tableHeader: true,
});
function regimenRow(drug, dose, freq, indication, notes, rowBg = WHITE) {
return new TableRow({ children: [
cell(drug, { bg: rowBg, color: BLACK, bold: true, size: 19, width: 1600 }),
cell(dose, { bg: rowBg, color: BLACK, bold: false, size: 19, width: 2500 }),
cell(freq, { bg: rowBg, color: BLACK, bold: false, size: 19, width: 1500 }),
cell(indication, { bg: rowBg, color: BLACK, bold: false, size: 19, width: 2000 }),
cell(notes, { bg: rowBg, color: BLACK, bold: false, size: 18, width: 1600 }),
]});
}
const regimenTable = makeTable([
regimenHeaderRow,
regimenRow("Ampicillin\n★ 1st LINE", "2 g IV", "Every 4 h\n(q4h)", "ALL CNS Listeria\n(meningitis, abscess, ventriculitis)", "Use meningitis dosing for ALL invasive listeriosis", "E8F8F5"),
regimenRow("+ Gentamicin\n(synergy)", "Loading: 2 mg/kg IV\nMaintenance: 1.7 mg/kg IV", "Load once,\nthen q8h\n(adjust for renal fn)", "CNS disease\n+ impaired T-cell function", "Monitor levels; Adjust for CrCl. Caution if AKI", "EBF5FB"),
regimenRow("Gentamicin\n(intraventricular / intrathecal)", "5 mg\n(preservative-free only)", "Once daily via Ommaya / lumbar drain", "Refractory ventriculitis\nOmmaya shunt infection", "Achieves higher CSF levels than IV alone (Goodman & Gilman)", "FEF9E7"),
regimenRow("TMP/SMX\n(PCN allergy)", "5 mg/kg (TMP component) IV", "Every 6–8 h", "Penicillin hypersensitivity\n(alternative to ampicillin)", "As effective as ampicillin + gentamicin combination", "F9F0FF"),
regimenRow("Meropenem\n(salvage)", "2 g IV", "Every 8 h\n(q8h)", "Salvage / ampicillin-intolerant\n(MIC-guided)", "Not first-line. MIC ≤0.25 = sensitive. Use only if ampicillin contraindicated", "FEF0E6"),
regimenRow("AVOID:\nCephalosporins\n(ceftriaxone etc.)", "—", "—", "NOT active against Listeria", "Inherent resistance — DO NOT use as monotherapy or empiric cover", "FDEDEC"),
regimenRow("AVOID:\nVancomycin", "—", "—", "NOT effective", "In vitro susceptibility misleading — ineffective clinically", "FDEDEC"),
]);
// ─── SECTION 3: DURATION TABLE ───────────────────────────────────────────────
const durHeaderRow = new TableRow({ children: [
cell("CLINICAL SYNDROME", { bg: BLUE, color: WHITE, bold: true, size: 20, width: 3000 }),
cell("MINIMUM DURATION", { bg: BLUE, color: WHITE, bold: true, size: 20, width: 2200 }),
cell("NOTES", { bg: BLUE, color: WHITE, bold: true, size: 20, width: 4000 }),
]});
function durRow(syndrome, duration, notes, bg = WHITE) {
return new TableRow({ children: [
cell(syndrome, { bg, bold: true, size: 19, width: 3000 }),
cell(duration, { bg, bold: false, size: 19, width: 2200, color: GREEN }),
cell(notes, { bg, bold: false, size: 18, width: 4000 }),
]});
}
const durTable = makeTable([
durHeaderRow,
durRow("Bacteremia (no CNS involvement)", "2 weeks", "Use meningitis-level doses regardless", "F9FBE7"),
durRow("Meningitis / Ventriculitis", "≥ 3 weeks", "Extended to 4–6 wk if device (shunt) present", "E8F8F5"),
durRow("Rhombencephalitis / Cerebritis", "≥ 3 weeks", "MRI superior to CT for diagnosis; longer if abscess", "E8F8F5"),
durRow("Brain Abscess", "≥ 6 weeks", "Consider surgical drainage if accessible", "FEF9E7"),
durRow("Endocarditis", "≥ 6 weeks", "Colonoscopy advised: listerial endocarditis → screen for colon cancer", "FEF9E7"),
durRow("Ommaya / VP Shunt Infection", "≥ 4–6 weeks (device retained) or ≥ 3 wk post-removal", "Hardware removal strongly preferred; re-culture CSF to confirm clearance", "FEF0E6"),
]);
// ─── SECTION 4: SPECIAL SITUATIONS ──────────────────────────────────────────
const spHeaderRow = new TableRow({ children: [
cell("SITUATION", { bg: "1D6A96", color: WHITE, bold: true, size: 20, width: 2800 }),
cell("RECOMMENDATION", { bg: "1D6A96", color: WHITE, bold: true, size: 20, width: 6400 }),
]});
function spRow(situation, rec, bg = WHITE) {
return new TableRow({ children: [
cell(situation, { bg, bold: true, size: 19, width: 2800 }),
cell(rec, { bg, bold: false, size: 18, width: 6400 }),
]});
}
const spTable = makeTable([
spHeaderRow,
spRow("Ommaya Shunt\n(this patient)",
"Consider intraventricular gentamicin 5 mg OD (preservative-free) via shunt + IV ampicillin. Evaluate for shunt removal/revision. Repeat CSF cultures to confirm clearance.",
"EBF5FB"),
spRow("Renal Impairment",
"Gentamicin: Reduce dose / extend interval based on CrCl. Monitor trough levels <1 mg/L. Ampicillin dose unchanged for CNS disease.",
"FEF9E7"),
spRow("Penicillin Allergy (mild)",
"Skin testing / allergy review. If confirmed allergy: TMP/SMX 5 mg/kg (TMP component) IV q6–8h. Comparable efficacy to ampicillin + gentamicin.",
"F9F0FF"),
spRow("Immunocompromised\n(steroids, transplant, lymphoma)",
"Ampicillin + gentamicin combination mandatory. Maintain for full 3–6 week course. Do not de-escalate early.",
"FEF0E6"),
spRow("Empiric therapy\n(Age >50, suspected meningitis)",
"Add ampicillin to standard ceftriaxone + vancomycin regimen. Do not rely solely on cephalosporins when Listeria is possible.",
"E8F8F5"),
spRow("Iron deficiency",
"Withhold iron replacement until antimicrobial therapy is complete (iron promotes Listeria growth).",
"FDEDEC"),
]);
// ─── SECTION 5: MONITORING TABLE ─────────────────────────────────────────────
const monHeaderRow = new TableRow({ children: [
cell("PARAMETER", { bg: "145A32", color: WHITE, bold: true, size: 20, width: 2500 }),
cell("TARGET / ACTION", { bg: "145A32", color: WHITE, bold: true, size: 20, width: 6700 }),
]});
function monRow(param, action, bg = WHITE) {
return new TableRow({ children: [
cell(param, { bg, bold: true, size: 19, width: 2500 }),
cell(action, { bg, bold: false, size: 18, width: 6700 }),
]});
}
const monTable = makeTable([
monHeaderRow,
monRow("Gentamicin trough", "< 1 mg/L (ideally <0.5 mg/L). Check after 3rd dose and twice weekly thereafter.", "F9FBE7"),
monRow("Gentamicin peak", "5–10 mg/L (1h post-dose). Needed in renal impairment.", "F9FBE7"),
monRow("Renal function", "Creatinine + eGFR at baseline, then every 48–72 hours on gentamicin.", "EAF2FF"),
monRow("Repeat CSF culture", "At 48–72 h after starting therapy; again at 1 week. Especially critical with Ommaya shunt.", "E8F8F5"),
monRow("Clinical response", "Fever, GCS, focal neuro signs. Expect improvement in 48–72 h.", "FEF9E7"),
monRow("CSF biochemistry", "Protein and glucose normalisation confirms response. Target CSF WBC downtrend.", "EAF2FF"),
]);
// ─── SECTION 6: CSF INTERPRETATION BOX ──────────────────────────────────────
const csfTable = makeTable([new TableRow({ children: [
new TableCell({
children: [
new Paragraph({ children: [new TextRun({ text: "CSF Pattern in Listeria CNS Infection (characteristic features)", bold: true, color: WHITE, size: 21, font: "Calibri" })], spacing: { before: 60, after: 40 }, indent: { left: 80 } }),
new Paragraph({ children: [new TextRun({ text: "• Cell count: mild-moderate pleocytosis (10–100 cells/mm³ typical)", color: "D5F5E3", size: 19, font: "Calibri" })], spacing: { before: 20, after: 10 }, indent: { left: 100 } }),
new Paragraph({ children: [new TextRun({ text: "• Differential: lymphocytic predominance in ~30% of cases (mimics viral / TB meningitis)", color: "D5F5E3", size: 19, font: "Calibri" })], spacing: { before: 10, after: 10 }, indent: { left: 100 } }),
new Paragraph({ children: [new TextRun({ text: "• Glucose: normal in >60% of cases (unlike TB/cryptococcal where it drops)", color: "D5F5E3", size: 19, font: "Calibri" })], spacing: { before: 10, after: 10 }, indent: { left: 100 } }),
new Paragraph({ children: [new TextRun({ text: "• Protein: mildly elevated", color: "D5F5E3", size: 19, font: "Calibri" })], spacing: { before: 10, after: 10 }, indent: { left: 100 } }),
new Paragraph({ children: [new TextRun({ text: "• Gram stain: Gram-positive bacilli seen in only ~30% — negative stain does NOT exclude Listeria", bold: true, color: "F9E79F", size: 19, font: "Calibri" })], spacing: { before: 10, after: 60 }, indent: { left: 100 } }),
],
shading: { type: ShadingType.CLEAR, fill: "1D8348" },
borders: thinBorder("1E8449"),
margins: { top: 80, bottom: 80, left: 120, right: 120 },
})
]})]);
// ─── FOOTER NOTE ─────────────────────────────────────────────────────────────
const footerNote = new Paragraph({
children: [
new TextRun({ text: "Sources: Goldman-Cecil Medicine (International Ed.) · Goodman & Gilman's Pharmacological Basis of Therapeutics · Rosen's Emergency Medicine · Adams & Victor's Neurology | Prepared: May 2026", color: "808080", size: 16, font: "Calibri", italics: true })
],
alignment: AlignmentType.CENTER,
spacing: { before: 120, after: 40 },
border: { top: { style: BorderStyle.SINGLE, size: 4, color: "CCCCCC" } },
});
// ─── ASSEMBLE DOCUMENT ───────────────────────────────────────────────────────
const doc = new Document({
creator: "Orris Medical Reference",
title: "Listeria monocytogenes CNS Infection – Antibiotic Dosing Reference",
description: "Quick reference for antibiotic dosing in Listeria CNS infection, Neurosurgery ICU",
styles: {
default: {
document: {
run: { font: "Calibri", size: 20 },
},
},
},
sections: [{
properties: {
page: {
margin: { top: 720, bottom: 720, left: 900, right: 900 },
},
},
children: [
banner,
subbanner,
spacer(120),
hdr(" CRITICAL PRINCIPLES — READ FIRST", "78281F"),
spacer(40),
keyPrinciple,
spacer(160),
hdr(" ANTIBIOTIC REGIMENS", DKBLUE),
spacer(40),
regimenTable,
spacer(160),
hdr(" TREATMENT DURATION BY SYNDROME", BLUE),
spacer(40),
durTable,
spacer(160),
hdr(" SPECIAL CLINICAL SITUATIONS", "1D6A96"),
spacer(40),
spTable,
spacer(160),
hdr(" MONITORING PARAMETERS", "145A32"),
spacer(40),
monTable,
spacer(160),
hdr(" CSF PATTERN — LISTERIA (Diagnostic Clues)", "1D8348"),
spacer(40),
csfTable,
spacer(120),
footerNote,
],
}],
});
Packer.toBuffer(doc).then(buf => {
fs.writeFileSync("/home/daytona/workspace/listeria-ref/Listeria_CNS_Dosing_Reference.docx", buf);
console.log("Done.");
}).catch(e => { console.error(e); process.exit(1); });
cd /home/daytona/workspace/listeria-ref && node build.js 2>&1
python3 /home/daytona/skills/docx/scripts/office/validate.py /home/daytona/workspace/listeria-ref/Listeria_CNS_Dosing_Reference.docx 2>&1
python3 -c "import zipfile; z=zipfile.ZipFile('/home/daytona/workspace/listeria-ref/Listeria_CNS_Dosing_Reference.docx'); print('Valid ZIP, files:', len(z.namelist())); print(z.namelist()[:8])"
Listeria CNS Dosing Reference
Word Document · DOCX
| Drug | Dose | Frequency |
|---|---|---|
| Ampicillin (1st line) | 2 g IV | q4h |
| + Gentamicin (synergy) | 2 mg/kg load → 1.7 mg/kg IV | q8h (renally adjusted) |
| Gentamicin intraventricular (Ommaya) | 5 mg preservative-free | Once daily via shunt |
| TMP/SMX (PCN allergy) | 5 mg/kg (TMP) IV | q6-8h |
| Meropenem (salvage) | 2 g IV | q8h |