Thankfully most pyelonephritis is treated either on clinical and laboratory grounds or with the maximum of an ultrasound.

In this case although the ultrasound was indicative of pyelonephritis, but an insufficiently rapid response to medication, resulted in a CT being performed .  The justification being to ensure a renal abscess or other source of infection was not apparent.