Key Points
            - Use the highest‑yield diagnostic test early; do not let testing delay time‑critical therapy.
- Set objective targets and reassess frequently.
- Plan definitive source control or disease‑specific therapy when indicated; document follow‑up and patient education.
                                        Algorithm
            - Diagnose with UA/culture; risk-stratify for outpatient vs inpatient.
- Start empiric IV/PO antibiotics per risk and local resistance; adjust to cultures.
- Image if complicated or not improving; drain obstruction; complete 7–14 days therapy depending on severity.
                                        Clinical Synopsis & Reasoning
            Fever, flank pain, and CVA tenderness with pyuria/bacteriuria. Outpatient therapy for uncomplicated cases; admit if severe, pregnant, septic, or unable to tolerate PO. Obtain imaging if obstruction suspected or no improvement by 48–72 hours.
                                        Treatment Strategy & Disposition
            Stabilize ABCs. Initiate guideline‑concordant first‑line therapy with precise dosing and continuous monitoring. Escalate to advanced/procedural interventions based on explicit failure criteria. Define ICU, step‑down, and ward disposition triggers; involve specialty teams early.
                                        Epidemiology / Risk Factors
            - Risk varies by comorbidity and precipitants; see citations for condition‑specific data.
                                        Investigations
            
              
                | Test | Role / Rationale | Typical Findings | Notes | 
|---|
                
                  | UA/urine culture and blood cultures (if severe) | Diagnosis | Pyuria/bacteriuria; pathogen ID | Guides therapy | 
| Pregnancy test (childbearing age) | Safety | Affects antibiotic choice and disposition | — | 
| CT/US if stones/obstruction suspected or failure to improve | Complications | Obstruction, abscess | Guide drainage | 
                
              
             
                                        High-Risk & Disposition Triggers
            
              
                | Trigger | Why it matters | Action | 
|---|
                
                  | Sepsis/obstruction | Deterioration risk | Broad IV antibiotics; urgent decompression | 
| Pregnancy/diabetes | Complicated | Admit | 
                
              
             
                                        Pharmacology
            
              
                | Medication/Intervention | Mechanism | Onset | Role in Therapy | Limitations | 
|---|
                
                  | Ceftriaxone IV then oral fluoroquinolone/cephalosporin based on susceptibility | Antibiotics | Hours | Step-down strategy | Avoid FQ in pregnancy | 
| Carbapenem for ESBL risk | Broad coverage | Hours | Prior ESBL colonization/infection | De-escalate when possible | 
| Analgesia, hydration, and antiemetics | Supportive | Hours | Symptom relief | — | 
                
              
             
                                        Prognosis / Complications
            - Outcome depends on timeliness of diagnosis and definitive therapy; monitor for complications.
                                        Patient Education / Counseling
            - Provide red‑flag education, adherence guidance, and explicit return precautions; arrange timely specialty follow‑up.
                  
        
                  References
                      - IDSA guideline for acute pyelonephritis — Link