A 36-year-old man is evaluated in the emergency department for right flank pain of 2 days' duration and an episode of gross hematuria. He reports no fever, nausea, or gastrointestinal symptoms. He has no other pertinent medical history, and he takes no medications. Family history is notable for a father with kidney stones.

On physical examination, the patient is in moderately painful discomfort. Temperature is 37.1 °C (98.7 °F), blood pressure is 123/76 mm Hg, pulse rate is 78/min, and respiration rate is 12/min. BMI is 21. There is no costovertebral angle tenderness. The abdomen is normal without rebound or guarding. The remainder of the examination is unremarkable.

Laboratory studies show a normal complete blood count, electrolyte panel, and kidney function. Urinalysis is significant for large blood on dipstick and >50,000 erythrocytes/hpf.

Noncontrast abdominal CT scan reveals a 12-mm stone in the right renal pelvis.

Which of the following is the most appropriate management?