Amoxicillin sfe in pregnancy ?

Reading File
Searching the Web

amoxicillin safety pregnancy 2024 guidelines

Searching PubMed

amoxicillin pregnancy safety

Finding Sources
Searching PubMed

antibiotic pregnancy safety penicillin

Antibiotics safe in pregnancy list with dose and when to stop

Reading File
Finding Sources
Finding Sources
Searching the Web

antibiotics safe in pregnancy complete list doses when to avoid 2024

Reading Web Page

https://pmc.ncbi.nlm.nih.gov/articles/PMC11998890

Finding Sources
Finding Sources
Finding Sources
Reading File
Reading File
I now have comprehensive data from Harrison's (2025), Fischer's Mastery of Surgery, Tintinalli's Emergency Medicine, and the 2025 PMC antibiotic safety review. Here is a complete, well-organized answer.

Antibiotics Safe in Pregnancy - Complete Guide

Quick Reference: Safety Classification

CategoryFDA StatusKey Rule
SAFE (Category B)No fetal risk in animal/human dataFirst-line choices
USE WITH CAUTION (Category C)Some animal risk, limited human dataOnly when benefit > risk
AVOID (Category D)Proven fetal riskContraindicated unless life-saving

✅ SAFE Antibiotics - With Doses

1. Penicillins (First-line, all trimesters)

DrugDoseDurationNotes
Amoxicillin500 mg PO 3x/day5-7 daysUTI, respiratory, dental infections
Amoxicillin-clavulanate875/125 mg PO 2x/day5-7 daysBroader coverage; safe all trimesters
Ampicillin500 mg PO 4x/day or 1-2 g IV q6h5-10 daysIV form for GBS prophylaxis in labor
Penicillin G3.1-4 million units IV q4hPer indicationStandard GBS intrapartum prophylaxis

2. Cephalosporins (All generations - all trimesters)

DrugDoseDurationNotes
Cephalexin (1st gen)500 mg PO 4x/day3-7 daysUTI, skin infections - first choice
Cefazolin (1st gen)1-2 g IV q8hPer indicationSurgical prophylaxis, GBS allergy
Cefuroxime (2nd gen)250-500 mg PO 2x/day5-10 daysRespiratory infections
Ceftriaxone (3rd gen)1-2 g IV/IM dailyPer indication⚠️ Use with caution at term - risk of kernicterus in neonate

3. Macrolides

DrugDoseDurationNotes
Azithromycin500 mg PO Day 1, then 250 mg days 2-55 daysCategory B; atypical pneumonia, chlamydia
Erythromycin base500 mg PO 4x/day7 daysSafe in pregnancy; ⚠️ avoid erythromycin estolate (esylate salt) - hepatotoxic in pregnancy

4. Clindamycin

DrugDoseDurationNotes
Clindamycin300-450 mg PO 3-4x/day or 900 mg IV q8h5-7 daysCategory B; GBS prophylaxis when allergic to penicillin; bacterial vaginosis

5. Nitrofurantoin

DrugDoseDurationNotes
Nitrofurantoin100 mg (modified release) PO 2x/day5-7 days✅ Safe in 1st and 2nd trimester for UTI; ⚠️ STOP at 36 weeks / near term - risk of neonatal hemolytic anemia

6. Fosfomycin

DrugDoseDurationNotes
Fosfomycin3 g PO single doseOne-time✅ Proven safe in 1st trimester; limited data 2nd/3rd trimester

7. Vancomycin

DrugDoseDurationNotes
Vancomycin15-20 mg/kg IV q8-12hPer indicationCategory B; MRSA, severe infections; monitor levels

8. Carbapenems (Reserved, severe infections)

DrugDoseNotes
Meropenem1 g IV q8hNo fetal harm in animal studies; use when needed
Ertapenem1 g IV once dailyProbably compatible

⚠️ USE WITH CAUTION

DrugConcernWhen to Use
Metronidazole (oral)Avoid in 1st trimester (70% increased risk of spontaneous abortion); topical form safe all trimesters2nd/3rd trimester only, bacterial vaginosis, Trichomonas
Fluoroquinolones (Ciprofloxacin, Levofloxacin)Fetal renal toxicity, cardiac defects, CNS toxicity, cartilage damageOnly when NO alternatives exist
Aminoglycosides (Gentamicin, Tobramycin)Risk of fetal ototoxicity (deafness); streptomycin causes irreversible bilateral deafnessShort-course only if life-threatening; avoid streptomycin entirely; topical forms safe
TMP-SMX (Bactrim)Category D; folate antagonist - risk of neural tube defects, neonatal hyperbilirubinemiaLast resort; supplement 4 mg/day folic acid if used; avoid in 3rd trimester

❌ AVOID / CONTRAINDICATED

DrugReasonRisk
Tetracyclines (Doxycycline, Minocycline)Category DPermanent tooth discoloration, inhibited bone growth (2nd/3rd trimester)
ChloramphenicolNear term"Gray baby syndrome" - neonatal cardiovascular collapse
StreptomycinProven teratogenIrreversible bilateral congenital deafness
LefamulinAnimal data show fetal harmAvoid entirely

"When to Stop" Summary Table

AntibioticStop When?Reason
Nitrofurantoin≥36 weeks (near term)Neonatal hemolytic anemia
CeftriaxoneUse caution at termRisk of kernicterus (displaces bilirubin)
Metronidazole (oral)Throughout 1st trimesterSpontaneous abortion risk
TMP-SMX3rd trimester (especially near term)Neonatal hyperbilirubinemia, kernicterus
FluoroquinolonesPreferably the entire pregnancyFetal cartilage/organ toxicity
TetracyclinesEspecially avoid from 2nd trimesterTeeth/bone effects
AminoglycosidesMinimize; highest risk in 1st trimesterOtotoxicity

Key Principles

  1. Untreated infections (UTI, pneumonia, GBS) pose far greater risk to the fetus than the antibiotics used to treat them - always treat when indicated.
  2. Duration matters - complete the full course even after symptoms resolve, particularly for UTI/asymptomatic bacteriuria (reduces pyelonephritis risk from ~25-30% to 1-2%).
  3. First-line choices for the most common infections in pregnancy:
    • UTI: Cephalexin or Amoxicillin-clavulanate (1st/2nd trim), Nitrofurantoin (avoid near term)
    • GBS prophylaxis (labor): Penicillin G or Ampicillin IV; Cefazolin if penicillin allergic
    • Bacterial vaginosis: Clindamycin or Metronidazole (avoid 1st trimester for oral metro)
    • Respiratory infection: Amoxicillin or Azithromycin
  4. Always prescribe under supervision - even safe antibiotics should only be used when a bacterial infection is confirmed or strongly suspected.

Sources: Harrison's Principles of Internal Medicine 22nd Ed. (2025) | Fischer's Mastery of Surgery 8th Ed. | Tintinalli's Emergency Medicine | PMC 2025 Antibiotic Safety Review

Can you make me pdf for above

Reading File
Running Command

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

Running Command

mkdir -p /tmp/workspace/antibiotics-pregnancy && cat > /tmp/workspace/antibiotics-pregnancy/generate_pdf.py << 'PYEOF' from reportlab.lib.pagesizes import A4 from reportlab.lib import colors from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle from reportlab.lib.units import cm, mm from reportlab.platypus import (SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, HRFlowable, KeepTogether) from reportlab.lib.enums import TA_CENTER, TA_LEFT, TA_JUSTIFY from reportlab.platypus import PageBreak OUTPUT = "/tmp/workspace/antibiotics-pregnancy/Antibiotics_Safe_in_Pregnancy.pdf" doc = SimpleDocTemplate( OUTPUT, pagesize=A4, topMargin=1.8*cm, bottomMargin=1.8*cm, leftMargin=1.8*cm, rightMargin=1.8*cm, title="Antibiotics Safe in Pregnancy", author="Orris Medical Reference" ) W = A4[0] - 3.6*cm # usable width # ── Colour palette ────────────────────────────────────────────────────────── C_HEADER = colors.HexColor("#1a5276") # deep navy C_SUBHDR = colors.HexColor("#2e86c1") # medium blue C_SAFE_HDR = colors.HexColor("#1e8449") # green C_CAUTION = colors.HexColor("#b7770d") # amber C_AVOID = colors.HexColor("#922b21") # red C_ROW_ALT = colors.HexColor("#eaf4fb") # light blue row C_ROW_GRN = colors.HexColor("#eafaf1") # light green row C_ROW_AMB = colors.HexColor("#fef9e7") # light amber row C_ROW_RED = colors.HexColor("#fdedec") # light red row C_BORDER = colors.HexColor("#aab7c4") C_WHITE = colors.white C_BLACK = colors.HexColor("#1c1c1c") C_GRAY = colors.HexColor("#5d6d7e") C_LIGHT_GRY = colors.HexColor("#f2f3f4") styles = getSampleStyleSheet() def sty(name, parent='Normal', **kw): s = ParagraphStyle(name, parent=styles[parent], **kw) return s title_style = sty('TitleS', 'Normal', fontSize=20, leading=26, textColor=C_HEADER, alignment=TA_CENTER, fontName='Helvetica-Bold', spaceAfter=4) subtitle_style= sty('SubtitleS','Normal', fontSize=11, leading=16, textColor=C_SUBHDR, alignment=TA_CENTER, fontName='Helvetica', spaceAfter=2) note_style = sty('NoteS','Normal', fontSize=8, leading=12, textColor=C_GRAY, alignment=TA_CENTER, fontName='Helvetica-Oblique', spaceAfter=6) section_style = sty('SectS','Normal', fontSize=13, leading=18, textColor=C_WHITE, fontName='Helvetica-Bold', spaceAfter=4, spaceBefore=10, leftIndent=6, rightIndent=6) body_style = sty('BodyS','Normal', fontSize=8.5, leading=13, textColor=C_BLACK, fontName='Helvetica', spaceAfter=2) bold_style = sty('BoldS','Normal', fontSize=8.5, leading=13, textColor=C_BLACK, fontName='Helvetica-Bold') small_style = sty('SmallS','Normal', fontSize=7.5, leading=11, textColor=C_GRAY, fontName='Helvetica-Oblique') principle_style=sty('PrinS','Normal', fontSize=8.5, leading=14, textColor=C_BLACK, fontName='Helvetica', leftIndent=8, spaceAfter=3) def section_banner(text, bg_color): data = [[Paragraph(text, section_style)]] t = Table(data, colWidths=[W]) t.setStyle(TableStyle([ ('BACKGROUND', (0,0), (-1,-1), bg_color), ('TOPPADDING', (0,0), (-1,-1), 6), ('BOTTOMPADDING',(0,0),(-1,-1), 6), ('LEFTPADDING', (0,0), (-1,-1), 10), ('ROUNDEDCORNERS', [4]), ])) return t def make_table(headers, rows, col_widths, row_colors=None, hdr_color=C_HEADER): """Build a styled table.""" h_cells = [Paragraph(f'<b>{h}</b>', sty('TH','Normal', fontSize=8, textColor=C_WHITE, fontName='Helvetica-Bold', leading=12)) for h in headers] data = [h_cells] for r in rows: row = [Paragraph(str(cell), sty('TD','Normal', fontSize=8, textColor=C_BLACK, fontName='Helvetica', leading=12)) for cell in r] data.append(row) t = Table(data, colWidths=col_widths, repeatRows=1) style_cmds = [ ('BACKGROUND', (0,0), (-1,0), hdr_color), ('TEXTCOLOR', (0,0), (-1,0), C_WHITE), ('FONTNAME', (0,0), (-1,0), 'Helvetica-Bold'), ('FONTSIZE', (0,0), (-1,-1), 8), ('GRID', (0,0), (-1,-1), 0.4, C_BORDER), ('ROWBACKGROUNDS',(0,1),(-1,-1), [C_WHITE, C_ROW_ALT]), ('VALIGN', (0,0), (-1,-1), 'TOP'), ('TOPPADDING', (0,0), (-1,-1), 5), ('BOTTOMPADDING',(0,0), (-1,-1), 5), ('LEFTPADDING', (0,0), (-1,-1), 6), ('RIGHTPADDING', (0,0), (-1,-1), 6), ] if row_colors: for row_idx, bg in row_colors: style_cmds.append(('BACKGROUND', (0, row_idx), (-1, row_idx), bg)) t.setStyle(TableStyle(style_cmds)) return t # ── Build story ────────────────────────────────────────────────────────────── story = [] # Title block story.append(Spacer(1, 0.3*cm)) story.append(Paragraph("Antibiotics Safe in Pregnancy", title_style)) story.append(Paragraph("Complete Reference Guide with Doses &amp; Trimester Restrictions", subtitle_style)) story.append(Paragraph("Sources: Harrison's Principles 22nd Ed (2025) · Fischer's Mastery of Surgery 8th Ed · Tintinalli's EM · PMC 2025 Antibiotic Safety Review", note_style)) story.append(HRFlowable(width=W, thickness=1.5, color=C_HEADER, spaceAfter=8)) # ── SECTION 1: Safety Classification ────────────────────────────────────── story.append(section_banner("1. SAFETY CLASSIFICATION", C_HEADER)) story.append(Spacer(1, 4)) cls_headers = ["Category", "FDA Status", "Key Rule"] cls_rows = [ ["✅ SAFE (Category B)", "No fetal risk in animal/human data", "First-line choices — preferred throughout pregnancy"], ["⚠️ CAUTION (Category C)", "Some animal risk, limited human data", "Use only when benefit clearly outweighs risk"], ["❌ AVOID (Category D)", "Proven fetal risk documented", "Contraindicated unless life-saving situation"], ] cls_colors = [(1, C_ROW_GRN), (2, C_ROW_AMB), (3, C_ROW_RED)] story.append(make_table(cls_headers, cls_rows, [3.5*cm, 6.5*cm, 8.0*cm], row_colors=cls_colors)) story.append(Spacer(1, 8)) # ── SECTION 2: Safe Antibiotics ───────────────────────────────────────────── story.append(section_banner("2. ✅ SAFE ANTIBIOTICS — DOSES & INDICATIONS", C_SAFE_HDR)) story.append(Spacer(1, 4)) # 2a Penicillins story.append(Paragraph("<b>A. Penicillins — First-line, all trimesters</b>", bold_style)) story.append(Spacer(1, 3)) pcn_h = ["Drug", "Dose", "Duration", "Common Indications"] pcn_r = [ ["Amoxicillin", "500 mg PO 3×/day", "5–7 days", "UTI, respiratory, dental, ENT infections"], ["Amoxicillin-Clavulanate", "875/125 mg PO 2×/day", "5–7 days", "Broader coverage; safe all trimesters"], ["Ampicillin", "500 mg PO 4×/day\nor 1–2 g IV q6h", "5–10 days", "IV form: GBS prophylaxis in labor"], ["Penicillin G", "3.1–4 million units IV q4h", "Per indication", "Standard GBS intrapartum prophylaxis"], ] story.append(make_table(pcn_h, pcn_r, [3.8*cm, 4.0*cm, 2.5*cm, 7.7*cm], hdr_color=C_SAFE_HDR)) story.append(Spacer(1, 7)) # 2b Cephalosporins story.append(Paragraph("<b>B. Cephalosporins — All generations, all trimesters</b>", bold_style)) story.append(Spacer(1, 3)) ceph_h = ["Drug (Generation)", "Dose", "Duration", "Notes"] ceph_r = [ ["Cephalexin (1st gen)", "500 mg PO 4×/day", "3–7 days", "First choice for UTI & skin infections in pregnancy"], ["Cefazolin (1st gen)", "1–2 g IV q8h", "Per indication", "Surgical prophylaxis; GBS allergy alternative"], ["Cefuroxime (2nd gen)", "250–500 mg PO 2×/day", "5–10 days", "Respiratory infections"], ["Ceftriaxone (3rd gen)", "1–2 g IV/IM daily", "Per indication", "⚠️ Use with caution AT TERM — risk of kernicterus"], ] story.append(make_table(ceph_h, ceph_r, [3.8*cm, 3.8*cm, 2.5*cm, 8.0*cm], hdr_color=C_SAFE_HDR)) story.append(Spacer(1, 7)) # 2c Macrolides story.append(Paragraph("<b>C. Macrolides</b>", bold_style)) story.append(Spacer(1, 3)) mac_h = ["Drug", "Dose", "Duration", "Notes"] mac_r = [ ["Azithromycin", "500 mg Day 1, then 250 mg days 2–5", "5 days", "Category B; atypical pneumonia, chlamydia"], ["Erythromycin base", "500 mg PO 4×/day", "7 days", "Safe; ⚠️ AVOID estolate/esylate salt — hepatotoxic in pregnancy"], ] story.append(make_table(mac_h, mac_r, [3.5*cm, 5.0*cm, 2.5*cm, 7.0*cm], hdr_color=C_SAFE_HDR)) story.append(Spacer(1, 7)) # 2d Clindamycin story.append(Paragraph("<b>D. Clindamycin</b>", bold_style)) story.append(Spacer(1, 3)) clin_h = ["Drug", "Dose", "Duration", "Indication"] clin_r = [ ["Clindamycin", "300–450 mg PO 3–4×/day\nor 900 mg IV q8h", "5–7 days", "Category B; GBS prophylaxis (penicillin allergy); bacterial vaginosis"], ] story.append(make_table(clin_h, clin_r, [3.2*cm, 4.8*cm, 2.5*cm, 7.5*cm], hdr_color=C_SAFE_HDR)) story.append(Spacer(1, 7)) # 2e Nitrofurantoin story.append(Paragraph("<b>E. Nitrofurantoin ⚠️ STOP at 36 weeks</b>", bold_style)) story.append(Spacer(1, 3)) nitro_h = ["Drug", "Dose", "Duration", "Important Restriction"] nitro_r = [ ["Nitrofurantoin (modified release)", "100 mg PO 2×/day", "5–7 days", "✅ Safe 1st & 2nd trimester for UTI\n❌ STOP at ≥36 weeks — neonatal hemolytic anemia risk"], ] story.append(make_table(nitro_h, nitro_r, [4.0*cm, 3.0*cm, 2.5*cm, 8.5*cm], hdr_color=C_SAFE_HDR)) story.append(Spacer(1, 7)) # 2f Fosfomycin & Vancomycin & Carbapenems story.append(Paragraph("<b>F. Fosfomycin, Vancomycin &amp; Carbapenems</b>", bold_style)) story.append(Spacer(1, 3)) oth_h = ["Drug", "Dose", "Duration", "Notes"] oth_r = [ ["Fosfomycin", "3 g PO single dose", "One-time", "Safe in 1st trimester; limited data 2nd/3rd trimester"], ["Vancomycin", "15–20 mg/kg IV q8–12h", "Per indication", "Category B; MRSA & severe gram-positive infections; monitor levels"], ["Meropenem", "1 g IV q8h", "Per indication", "No fetal harm in animal studies; reserve for severe infections"], ["Ertapenem", "1 g IV once daily", "Per indication", "Probably compatible; use when needed"], ] story.append(make_table(oth_h, oth_r, [3.5*cm, 4.0*cm, 2.5*cm, 8.0*cm], hdr_color=C_SAFE_HDR)) story.append(Spacer(1, 10)) # ── SECTION 3: Use with Caution ────────────────────────────────────────────── story.append(section_banner("3. ⚠️ USE WITH CAUTION", C_CAUTION)) story.append(Spacer(1, 4)) cau_h = ["Drug", "Main Concern", "Trimester Guidance"] cau_r = [ ["Metronidazole (oral)", "70% ↑ risk spontaneous abortion in 1st trimester; topical form safe all trimesters", "❌ 1st trimester (oral) ✅ 2nd & 3rd trimester with caution\nBV, Trichomonas"], ["Fluoroquinolones\n(Ciprofloxacin, Levofloxacin)", "Fetal renal toxicity, cardiac defects, CNS toxicity, cartilage damage", "Avoid entire pregnancy; use ONLY if NO alternatives exist"], ["Aminoglycosides\n(Gentamicin, Tobramycin)", "Fetal ototoxicity — deafness; highest risk 1st trimester; Streptomycin causes irreversible bilateral deafness", "Topical forms safe; systemic: short-course only if life-threatening, monitor levels; AVOID streptomycin"], ["TMP-SMX (Bactrim)", "Category D; folate antagonist — neural tube defects, neonatal hyperbilirubinemia, kernicterus", "❌ 1st trimester (neural tube) ❌ Near term (kernicterus)\nLast resort only; supplement 4 mg/day folic acid"], ] story.append(make_table(cau_h, cau_r, [4.0*cm, 7.0*cm, 7.0*cm], hdr_color=C_CAUTION)) story.append(Spacer(1, 10)) # ── SECTION 4: AVOID / CONTRAINDICATED ────────────────────────────────────── story.append(section_banner("4. ❌ AVOID / CONTRAINDICATED IN PREGNANCY", C_AVOID)) story.append(Spacer(1, 4)) av_h = ["Drug", "FDA Category", "Reason / Risk"] av_r = [ ["Tetracyclines\n(Doxycycline, Minocycline, Oxytetracycline)", "D", "Permanent tooth discoloration; inhibited bone growth (2nd & 3rd trimester)"], ["Chloramphenicol (near term)", "C", '"Gray baby syndrome" — neonatal cardiovascular collapse; avoid near term'], ["Streptomycin", "D", "Proven teratogen — irreversible bilateral congenital deafness"], ["Lefamulin", "N/A", "Animal data show fetal harm; no human data; avoid entirely"], ] story.append(make_table(av_h, av_r, [5.0*cm, 2.5*cm, 10.5*cm], hdr_color=C_AVOID)) story.append(Spacer(1, 10)) # ── SECTION 5: WHEN TO STOP ────────────────────────────────────────────────── story.append(section_banner("5. WHEN TO STOP — TRIMESTER RESTRICTION SUMMARY", C_SUBHDR)) story.append(Spacer(1, 4)) stop_h = ["Antibiotic", "Stop / Restrict When?", "Reason"] stop_r = [ ["Nitrofurantoin", "≥ 36 weeks (near term)", "Neonatal hemolytic anemia"], ["Ceftriaxone", "Use caution at term", "Displaces bilirubin — kernicterus risk"], ["Metronidazole (oral)", "Throughout 1st trimester", "Spontaneous abortion risk (~70% increase)"], ["TMP-SMX (Bactrim)", "3rd trimester / near term", "Neonatal hyperbilirubinemia, kernicterus"], ["Fluoroquinolones", "Entire pregnancy (preferably)", "Fetal cartilage, renal & cardiac toxicity"], ["Tetracyclines", "Especially 2nd & 3rd trimester","Permanent tooth discoloration & bone inhibition"], ["Aminoglycosides", "Highest risk 1st trimester", "Irreversible ototoxicity / congenital deafness"], ["Chloramphenicol", "Near term", "Gray baby syndrome"], ] stop_colors = [(i+1, C_ROW_ALT if i%2==0 else C_WHITE) for i in range(len(stop_r))] story.append(make_table(stop_h, stop_r, [4.5*cm, 5.5*cm, 8.0*cm], hdr_color=C_SUBHDR)) story.append(Spacer(1, 10)) # ── SECTION 6: Clinical Principles ────────────────────────────────────────── story.append(section_banner("6. KEY CLINICAL PRINCIPLES", C_HEADER)) story.append(Spacer(1, 5)) principles = [ "<b>1. Treat infections promptly.</b> Untreated bacterial infections (UTI, pneumonia, GBS) pose far greater risk to the fetus than the antibiotics used to treat them.", "<b>2. Complete the full course.</b> Even after symptoms resolve — especially for UTI/asymptomatic bacteriuria. Treatment reduces pyelonephritis risk from 25–30% down to 1–2%.", "<b>3. First-line choices by infection type:</b>", " • <b>UTI / Asymptomatic bacteriuria:</b> Cephalexin or Amoxicillin-clavulanate (1st/2nd trim); Nitrofurantoin (avoid ≥36 wks)", " • <b>GBS intrapartum prophylaxis:</b> Penicillin G or Ampicillin IV; Cefazolin if penicillin-allergic", " • <b>Bacterial vaginosis:</b> Clindamycin or Metronidazole (avoid oral metro in 1st trimester)", " • <b>Respiratory infection:</b> Amoxicillin (typical); Azithromycin (atypical)", " • <b>Skin / soft tissue:</b> Cephalexin; Clindamycin for MRSA coverage", "<b>4. Prescribe under medical supervision.</b> Even safe antibiotics should only be used when a bacterial infection is confirmed or strongly suspected.", "<b>5. Drug interactions &amp; allergies.</b> Always screen for penicillin/cephalosporin allergy and adjust accordingly (clindamycin, vancomycin for GBS).", ] for p in principles: story.append(Paragraph(p, principle_style)) story.append(Spacer(1, 8)) # Footer story.append(HRFlowable(width=W, thickness=0.8, color=C_BORDER, spaceAfter=5)) story.append(Paragraph( "<b>Sources:</b> Harrison's Principles of Internal Medicine 22nd Ed (2025) · Fischer's Mastery of Surgery 8th Ed · " "Tintinalli's Emergency Medicine · PMC 2025 Review of Antibiotic Safety in Pregnancy · Creasy &amp; Resnik Maternal-Fetal Medicine", small_style)) story.append(Paragraph( "⚠️ This document is a clinical reference guide only. Always confirm doses and indications with current local guidelines and prescribe under qualified medical supervision.", sty('Disc','Normal', fontSize=7.5, leading=11, textColor=C_AVOID, fontName='Helvetica-Oblique'))) # Build doc.build(story) print(f"PDF created: {OUTPUT}") PYEOF python3 /tmp/workspace/antibiotics-pregnancy/generate_pdf.py

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

Antibiotics Safe in Pregnancy

PDF Document · PDF

The PDF includes all 6 sections from the guide:
  1. Safety Classification - Category B / C / D color-coded table
  2. Safe Antibiotics with Doses - Penicillins, Cephalosporins, Macrolides, Clindamycin, Nitrofurantoin, Fosfomycin, Vancomycin, Carbapenems
  3. Use with Caution - Metronidazole, Fluoroquinolones, Aminoglycosides, TMP-SMX
  4. Avoid / Contraindicated - Tetracyclines, Chloramphenicol, Streptomycin, Lefamulin
  5. When to Stop - Trimester restriction summary table
  6. Key Clinical Principles - First-line choices by infection type
Formatted with color-coded section banners (green = safe, amber = caution, red = avoid) for quick reference at the bedside.
This is a shared conversation. Sign in to Orris to start your own chat.