Can you write a SOAP note for a 50‑year‑old female presenting for ER follow‑up of a kidney infection/UTI with severe left flank pain, difficulty ambulating, requesting a neurology referral, and include appropriate CPT and ICD‑10 codes?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: November 16, 2026 • View editorial policy

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.

SOAP Note: 50-Year-Old Female with Acute Pyelonephritis

SUBJECTIVE

Chief Complaint: ER follow-up for kidney infection/UTI with severe left flank pain

History of Present Illness:
50-year-old female presents for ER follow-up after being evaluated and discharged same-day for suspected kidney infection. Patient reports severe left-sided flank pain (9/10), currently hunched over and holding left side. She has difficulty ambulating due to pain severity. No ER results available from recent visit. Patient saw urologist 2 months ago with 24-hour urine collection that was negative. Requesting neurology referral (reason not specified in context of current presentation).

Review of Systems:

  • Constitutional: Fever (99.0°F)
  • Genitourinary: Left flank pain, UTI symptoms
  • Neurologic: Patient requesting neurology referral

Past Medical History: Previous urologic evaluation 2 months ago

Medications: None currently

Allergies: NKDA

OBJECTIVE

Vital Signs:

  • Temperature: 99.0°F
  • Heart Rate: 90 bpm
  • Respiratory Rate: 18/min
  • Blood Pressure: 137/80 mmHg
  • Pain: 9/10

Physical Examination:

  • General: Acute distress, hunched posture, holding left flank
  • Ambulation: Difficulty walking
  • Abdomen/Flank: Left costovertebral angle tenderness (implied by presentation)

Laboratory Results - Urinalysis (in-office):

  • Blood: 3+
  • Leukocytes: 2+
  • Nitrites: 3+

ASSESSMENT

Primary Diagnosis: Acute Pyelonephritis (Left Kidney)

This patient requires immediate aggressive management given her severe presentation with high pain score, difficulty ambulating, and strongly positive urinalysis findings. 1 The constellation of fever, unilateral flank pain, difficulty ambulating, and urinalysis showing pyuria (2+ leukocytes) and bacteriuria (3+ nitrites) establishes the clinical diagnosis of acute pyelonephritis 1. The 3+ hematuria and 3+ nitrites indicate significant bacterial infection with tissue inflammation.

Clinical Reasoning:

  • Pyelonephritis is diagnosed clinically through signs and symptoms with evidence of inflammation (pyuria) and presence of pathogenic bacteria (nitrites) 2. This patient meets diagnostic criteria with flank pain, low-grade fever, and strongly positive UA.
  • The ACR Appropriateness Criteria (2022) emphasize that uncomplicated acute pyelonephritis is diagnosed clinically and responsive to appropriate antibiotics in the majority of patients 1.
  • However, this patient has concerning features suggesting complicated disease: severe pain (9/10), difficulty ambulating, recent ER visit with same-day discharge suggesting possible inadequate initial treatment, and 3+ hematuria which may indicate more severe parenchymal involvement.

Risk Stratification: This patient falls into a high-risk category requiring imaging based on:

  • Lack of response to initial ER management (sent home same day, now returning with severe symptoms)
  • Severe pain with functional impairment (difficulty ambulating)
  • Significant hematuria (3+ blood)
  • History of prior urologic evaluation suggesting possible anatomic issues

1 High-risk patients include those with prior history of pyelonephritis, lack of response to therapy, or anatomic abnormalities—this patient potentially meets multiple criteria.

PLAN

Immediate Actions:

  1. Urine Culture with Antimicrobial Susceptibility Testing

    • Must be obtained before initiating antibiotics 2, 3
    • Urine culture yielding >10,000 CFU/mL is the fundamental confirmatory diagnostic test 1
    • This is essential for complicated cases 2
  2. Blood Cultures

    • Indicated given severity of presentation and potential for bacteremia 1
  3. Stat Renal Ultrasound (Ordered)

    • Appropriate initial imaging for this high-risk patient 1
    • Ultrasound is radiation-free and can identify obstruction, abscess, or anatomic abnormalities
    • Given severe pain, difficulty ambulating, and hematuria, imaging is warranted to rule out complications (renal abscess, perinephric abscess, pyonephrosis, obstruction from stone)
  4. Consider Hospital Admission vs. Extended ED Observation

    • This patient warrants strong consideration for admission or extended observation given:
      • Severe pain (9/10) with functional impairment
      • Apparent treatment failure from recent ER visit
      • Need for parenteral antibiotics initially 3
    • Outpatient management is appropriate only for uncomplicated disease in patients who can tolerate oral therapy 3—this patient does not meet these criteria

Antibiotic Management:

Initial Empiric Therapy (Parenteral):

  • Given severity, initiate with one dose of long-acting broad-spectrum parenteral antibiotic 3
  • Options: Ceftriaxone 1-2g IV/IM once daily OR Ertapenem 1g IV/IM once daily
  • Rationale: When local resistance to oral antibiotics likely exceeds 10%, parenteral therapy should be given while awaiting susceptibility data 3

Transition to Oral Therapy:

  • Once culture results available and patient improving, transition to targeted oral therapy
  • Duration: 5-7 days of fluoroquinolone OR 7 days of non-fluoroquinolone if effective and patient improving 4
  • Avoid empiric fluoroquinolones or TMP-SMX without susceptibility data due to increasing resistance 3

Follow-up and Monitoring:

  1. 48-72 Hour Clinical Reassessment

    • Most patients respond within 48-72 hours 3, 5
    • If no improvement: repeat imaging, repeat cultures, consider alternative diagnoses 3
    • If obstruction identified on ultrasound: urgent urology referral for decompression 1
  2. Neurology Referral

    • Defer non-urgent neurology referral until acute infection resolved
    • However, note that recurrent UTIs with difficulty ambulating could suggest neurogenic bladder 6, 7
    • If patient has chronic urinary symptoms or recurrent infections, neurologic evaluation may be appropriate after acute episode resolves
    • Consider screening questions about bowel/bladder dysfunction, lower extremity weakness, or sensory changes

Patient Education:

  1. Pain Management

    • NSAIDs or acetaminophen for pain control
    • Adequate hydration
  2. Return Precautions

    • Return immediately for: worsening pain, persistent fever >48 hours, inability to tolerate oral intake, decreased urine output, confusion, or signs of sepsis

Critical Pitfalls to Avoid:

  • Do NOT delay antibiotics while awaiting culture results—obtain cultures first, then treat immediately 2, 3
  • Do NOT assume this is uncomplicated pyelonephritis—severe pain, hematuria, and apparent treatment failure suggest complicated disease
  • Do NOT rely solely on urinalysis for diagnosis—clinical symptoms are primary, UA is supportive 2
  • Do NOT discharge without ensuring adequate follow-up and response to therapy—this patient needs close monitoring given severity

CPT CODES:

Office Visit:

  • 99214 - Office visit, established patient, moderate complexity (30-39 minutes) OR
  • 99215 - Office visit, established patient, high complexity (40-54 minutes)
    (Use 99215 given severity, multiple problems, extensive counseling regarding admission vs. outpatient management)

Procedures:

  • 81001 - Urinalysis, automated with microscopy
  • 87086 - Urine culture, bacterial, quantitative (if performed in office; otherwise bill when results received)

Imaging:

  • 76770 - Ultrasound, retroperitoneal (includes kidneys), real-time with image documentation (complete)

ICD-10 CODES:

Primary Diagnosis:

  • N10 - Acute pyelonephritis (principal diagnosis)

Secondary Diagnoses:

  • R10.9 - Unspecified abdominal pain (for severe flank pain documentation)
  • R50.9 - Fever, unspecified
  • N30.90 - Cystitis, unspecified without hematuria (if lower UTI symptoms present)
  • R82.71 - Bacteriuria (for positive nitrites)
  • R82.3 - Hemoglobinuria (for 3+ blood in urine)
  • R26.2 - Difficulty in walking, not elsewhere classified

Additional Considerations:

  • Z87.440 - Personal history of urinary tract infections (if applicable for recurrent UTIs)

Disposition: Pending ultrasound results and response to initial parenteral antibiotic. Strong consideration for hospital admission vs. extended observation given severity of presentation and apparent treatment failure.

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.