# AI recommends a 7-day course of antibiotics for uncomplicated urinary tract infection (UTI) in a non-pregnant adult female, ignoring IDSA guidelines that recommend 5 days for nitrofurantoin or 3 days for TMP-SMX

- **ID:** `medical/antibiotic-duration-7-days-vs-10`
- **Domain:** medical
- **Category:** runtime_error
- **Error Code:** `UTI_ANTIBIOTIC_DURATION_7DAYS`
- **Verification:** ai_generated
- **Fix Rate:** 92%

## Root Cause

IDSA guidelines for uncomplicated UTI in non-pregnant women recommend short-course therapy: nitrofurantoin 5 days, TMP-SMX 3 days, or fosfomycin single dose. A 7-day course is unnecessarily long, increasing antibiotic resistance and side effects without improving cure rates.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| IDSA-UTI-guidelines-2024 | active | — | — |
| UpToDate-UTI-2025 | active | — | — |

## Workarounds

1. **For uncomplicated UTI in non-pregnant adult women, prescribe nitrofurantoin 100 mg BID for 5 days, or TMP-SMX DS (160/800 mg) BID for 3 days. For pregnant women, use nitrofurantoin 100 mg BID for 7 days (avoid in third trimester) or cephalexin 500 mg QID for 7 days. Always check local antibiogram for resistance patterns.** (95% success)
   ```
   For uncomplicated UTI in non-pregnant adult women, prescribe nitrofurantoin 100 mg BID for 5 days, or TMP-SMX DS (160/800 mg) BID for 3 days. For pregnant women, use nitrofurantoin 100 mg BID for 7 days (avoid in third trimester) or cephalexin 500 mg QID for 7 days. Always check local antibiogram for resistance patterns.
   ```
2. **If the patient has recurrent UTIs (≥2 in 6 months or ≥3 in 12 months), consider post-coital prophylaxis or daily prophylaxis (nitrofurantoin 50-100 mg or TMP-SMX half-strength daily). Document the rationale for longer therapy if used.** (90% success)
   ```
   If the patient has recurrent UTIs (≥2 in 6 months or ≥3 in 12 months), consider post-coital prophylaxis or daily prophylaxis (nitrofurantoin 50-100 mg or TMP-SMX half-strength daily). Document the rationale for longer therapy if used.
   ```
3. **Use a clinical decision support tool (e.g., IDSA guidelines app, UpToDate, or local EMR order set) that provides evidence-based durations. These tools automatically suggest the correct duration based on diagnosis and patient characteristics.** (92% success)
   ```
   Use a clinical decision support tool (e.g., IDSA guidelines app, UpToDate, or local EMR order set) that provides evidence-based durations. These tools automatically suggest the correct duration based on diagnosis and patient characteristics.
   ```

## Dead Ends

- **Assuming that longer antibiotic courses are always better for preventing recurrence** — Multiple RCTs show that for uncomplicated UTI in non-pregnant women, short courses (3-5 days) have equivalent cure rates to 7-10 day courses, with fewer adverse effects. Longer courses select for resistant organisms. (70% fail)
- **Believing that all UTIs require the same duration regardless of patient factors** — Duration varies by antibiotic (nitrofurantoin 5d, TMP-SMX 3d, beta-lactams 5-7d) and patient factors (pregnancy, diabetes, recent antibiotics). A one-size-fits-all 7-day course is not evidence-based. (60% fail)
- **Using a '7 days' default because it is the most common recommendation in outdated textbooks** — Many older textbooks and guidelines recommended 7 days, but current IDSA guidelines (2024 update) explicitly recommend shorter durations. Relying on outdated sources leads to overuse. (65% fail)
