A patient with a history of renal calculi has fever, flank pain, and bacteriuria. the nurse caring for this patient understands that it is important for the provider to: