An 18-year-old male developed hematuria 2 days after an upper respiratory tract infection (URI), accompanied by low-grade fever and low back pain. Systemic symptoms improved after hospitalization, but hematuria persisted. Renal biopsy led to a diagnosis of IgA nephropathy. The primary diagnostic basis is: