We discovered that the following were independent risk factors for the development of calculous pyonephrosis: hemoglobin, renal colic, CRP, HU value of effusion and diabetes. The gene discussed is CRP; the disease is diabetes mellitus.