A 3-year-old girl presents with dysuria and fever. This is her third febrile urinary tract infection (UTI) in six months. Her parents report that she has been toilet trained but occasionally experiences urgency and accidents. Physical examination is unremarkable except for an anxious child. A renal ultrasound performed after the second UTI was normal. You suspect vesicoureteral reflux in this patient. Which diagnostic test is most appropriate to confirm a diagnosis of vesicoureteral reflux in this patient?

A 55-year-old woman presents with flank pain, fever, and dysuria for the past 3 days. She has a history of recurrent urinary tract infections (UTIs) and type 2 diabetes mellitus. Physical examination reveals costovertebral angle tenderness on the right side. Urinalysis shows alkaline urine (pH 8.5), leukocyte esterase positive, and numerous white blood cells. A non-contrast CT scan reveals a staghorn calculus in the right renal pelvis. Which of the following is the most likely underlying pathophysiology?