ICD-10 is coding that used in health care to classify diagnosis of patient. It vary from a sign, symptoms, lab finding to a specific diagnosis. In this case, hematuria would be a sign. Gross hematuria will be coded as R31.0
The patient has history of benign prostate, but it shouldn't be included if there is no sign that shows the disease still exist.