A single drop of blood can turn a routine urine sample into a source of profound anxiety for a patient and a complex diagnostic puzzle for a clinician. For the medical coder, that same drop of blood represents a critical data point that must be accurately captured, categorized, and communicated through the precise language of the International Classification of Diseases, Tenth Revision, Clinical Modification (ICD-10-CM). Hematuria, the presence of blood in the urine, is far more than a billing entry; it is a cardinal symptom, a red flag waving vigorously to signal potential underlying pathology ranging from a simple urinary tract infection to a life-threatening urothelial carcinoma.
The coding of hematuria, encapsulated primarily within the R31.- code family, is a discipline that demands more than rote memorization. It requires a deep understanding of clinical terminology, the hierarchical structure of the ICD-10-CM manual, and the analytical skill to connect a symptom to its root cause. Inaccurate coding can lead to a cascade of negative outcomes: compromised patient care data, skewed epidemiological research, denied claims, and heightened audit risk. This article aims to be the definitive guide for coders, billers, healthcare administrators, and students, transforming the complexity of hematuria coding from a daunting challenge into a mastered skill. We will journey from the basic physiology of hematuria to the advanced application of coding guidelines, ensuring that you can navigate this common yet intricate diagnostic sign with confidence and precision.

ICD-10 Codes for Hematuria
2. Understanding Hematuria: A Clinical Primer
What is Hematuria?
Hematuria is defined as the abnormal presence of red blood cells (RBCs) in the urine. It is not a disease in itself but a symptom of an underlying condition affecting the urinary system—which includes the kidneys, ureters, bladder, and urethra—or, in some cases, systemic disorders. The urinary tract is normally a sterile environment, and the glomerular filtration barrier in the kidneys is designed to prevent the passage of blood cells into the urine. When this barrier is compromised or when there is bleeding anywhere along the urinary tract, hematuria results.
Gross vs. Microscopic Hematuria: A Critical Distinction
The clinical presentation of hematuria falls into two primary categories, a distinction that is paramount for both clinical management and accurate coding:
-
Gross (or Macroscopic) Hematuria: This is blood in the urine visible to the naked eye. The urine may appear pink, red, brown, or tea-colored. The presence of gross hematuria is always considered abnormal and warrants a thorough urological evaluation, as it is strongly associated with significant pathology, including malignancies, stones, and severe infections.
-
Microscopic Hematuria: This is the presence of blood that is only detectable under a microscope, typically defined as three or more red blood cells per high-power field (RBC/HPF) in a centrifuged urine specimen. The urine appears normal in color. Microscopic hematuria can be transient and benign (e.g., after vigorous exercise) or persistent, indicating an underlying condition that requires investigation.
Common Etiologies of Hematuria: From Benign to Malignant
The causes of hematuria are vast and varied. A coder’s understanding of these etiologies is crucial for knowing when to code the symptom alone versus the underlying cause. Key causes include:
-
Infections: Cystitis (bladder infection), urethritis, prostatitis, and pyelonephritis (kidney infection) can cause inflammation and bleeding.
-
Calculi (Stones): Kidney stones or bladder stones can irritate and scrape the lining of the urinary tract.
-
Benign Prostatic Hyperplasia (BPH): An enlarged prostate can cause congestion and bleeding in the vessels surrounding the bladder neck.
-
Malignancies: Cancer of the kidney, bladder, ureter, or prostate is a critical, though less common, cause that must be ruled out.
-
Glomerular Disease: Conditions like IgA nephropathy or Alport syndrome affect the kidney’s filtering units.
-
Trauma: Any blunt or penetrating injury to the kidneys, bladder, or urethra.
-
Medications: Anticoagulants (e.g., warfarin, apixaban) and anti-platelet agents (e.g., aspirin, clopidogrel) increase the risk of bleeding.
-
Systemic Disorders: Conditions like sickle cell disease, lupus, and vasculitis.
-
Strenuous Exercise: So-called “marathoner’s hematuria,” which is usually transient.
3. Navigating the ICD-10-CM Chapter Block: Diseases of the Genitourinary System
The ICD-10-CM manual is organized into chapters based on body system or disease type. Hematuria codes are primarily located in two places, reflecting a fundamental coding principle: code the cause, not just the symptom.
-
Chapter 14: Diseases of the Genitourinary System (N00-N99): This chapter contains codes for known diseases that cause hematuria, such as cystitis (N30.-) or acute nephritic syndrome (N00-N08). When a definitive diagnosis is established, the code from this chapter is sequenced first.
-
Chapter 18: Symptoms, Signs, and Abnormal Clinical and Laboratory Findings, Not Elsewhere Classified (R00-R99): This is where the symptom code for hematuria, R31.-, resides. It is used when no definitive cause for the hematuria has been identified or documented. It is a symptom code, not a diagnosis code.
The structure within these chapters demands specificity. Codes are often further defined by laterality (left, right, bilateral), acuity (acute, chronic), and other associated factors.
4. Deconstructing the Hematuria Codes: The R31.- Category
The R31 category is the home for hematuria when it is reported as a sign or symptom without a confirmed underlying etiology. Its subcategories are nuanced and must be applied correctly.
R31.0 – Gross Hematuria
This code is used for any case where blood in the urine is visibly apparent. The documentation must use terms like “gross hematuria,” “macroscopic hematuria,” “visible blood,” or simply “blood in the urine” that is visible.
-
Clinical Context: Gross hematuria always warrants a significant workup. Its presence elevates the clinical concern for serious conditions like bladder cancer, especially in older adults and smokers.
-
Coding Application: If a patient presents with red urine and the provider documents “gross hematuria,” R31.0 is the appropriate code, even if a cause is suspected but not yet confirmed.
R31.1 – Benign Essential Microscopic Hematuria
This is a very specific code with a narrow application. It should only be used when a provider has conclusively determined that the microscopic hematuria is “essential” (meaning of unknown cause) and “benign” (meaning not associated with significant pathology).
-
Clinical Context: This is typically a diagnosis of exclusion, often made after a comprehensive urological and nephrological workup—including imaging and cystoscopy—has ruled out all other causes. It should not be used for a new finding of microscopic hematuria.
-
Coding Application: Use this code only if the provider’s final assessment explicitly states “benign essential hematuria” or an equivalent term.
R31.2 – Other Microscopic Hematuria
This is the default code for most cases of microscopic hematuria. It is used when the hematuria is confirmed by urinalysis but its cause is not known, or when it is associated with a condition that is not classified elsewhere as the definitive cause.
-
Clinical Context: This code covers everything from transient microscopic hematuria to persistent microscopic hematuria that is still under investigation.
-
Coding Application: If a urinalysis report shows >3 RBC/HPF and the provider documents “microscopic hematuria” without specifying it as “benign and essential,” R31.2 is the correct code.
R31.9 – Hematuria, Unspecified
This is the least specific code in the category and should be used as a last resort. It is appropriate only when the documentation simply states “hematuria” without any qualification as to whether it is gross or microscopic.
-
Clinical Context: In modern electronic health records, this lack of specificity is becoming less common but still occurs. This code carries the highest audit risk as it demonstrates poor documentation.
-
Coding Application: If the provider’s note only says “hematuria,” R31.9 is assigned. However, a coder should always check the lab results; if the urinalysis is attached and shows microscopic findings, R31.2 may be more appropriate. A query to the provider for clarification is the best practice.
Case Studies: Applying the R31 Codes
-
Case A: A 25-year-old female presents with dysuria and frequency. A urine dipstick is positive for blood. The provider documents “microscopic hematuria on urinalysis, likely due to UTI.” Code: R31.2 would be used alongside N39.0 for the UTI, as the hematuria is a symptom of the confirmed UTI.
-
Case B: A 60-year-old male with no symptoms has a pre-employment physical. Urinalysis shows 10 RBC/HPF. The provider’s assessment is “asymptomatic microscopic hematuria, refer to urology.” Code: R31.2.
-
Case C: A 55-year-old male sees his doctor, stating, “My urine has been pink for the past two days.” The provider documents “complaint of gross hematuria.” Code: R31.0.
5. The Crucial Role of Causality: Coding the Underlying Condition
The golden rule of ICD-10 coding is to code the definitive diagnosis. When the cause of hematuria is known, the R31 code often takes a secondary role or is not used at all.
Hematuria as a Manifestation of an Underlying Disease
Many conditions in Chapter 14 include hematuria as an integral part of their clinical picture. For example, acute cystitis inherently involves inflammation and bleeding. In such cases, coding the cystitis (N30.0-) fully captures the clinical scenario. The hematuria is a manifestation of the cystitis.
The “Code Also” and “Use Additional Code” Notes
The ICD-10-CM manual provides instructional notes to guide coders.
-
“Code Also” notes indicate that two codes may be needed to fully describe a condition, but the sequencing may vary.
-
“Use Additional Code” notes mean that an additional code should be used if known, to provide more detail about the condition. For hematuria, you will often “use additional code” to identify the cause.
For instance, for a patient with nephrolithiasis (kidney stones) and hematuria, the stone is the cause. You would code the stone (e.g., N20.0 for calculus of kidney) and, per coding guidelines, you may also code the hematuria (R31.9) as a symptom, though the stone code is primary.
Common Underlying Conditions and Their Codes
The following table outlines common causes of hematuria and their corresponding ICD-10-CM codes.
Table 1: Common Etiologies of Hematuria and Corresponding ICD-10-CM Codes
| Underlying Condition | ICD-10-CM Code(s) | Clinical & Coding Notes |
|---|---|---|
| Urinary Tract Infection (Cystitis) | N30.0- (Acute cystitis), N30.9- (Cystitis, unspecified), N39.0 (Urinary tract infection, site not specified) | Hematuria is a common symptom. Code the UTI as the primary diagnosis. An R31 code is generally not necessary unless the documentation emphasizes the hematuria as a significant separate issue. |
| Kidney Stone (Nephrolithiasis) | N20.0 (Calculus of kidney), N20.1 (Calculus of ureter), N21.- (Calculus of lower urinary tract) | The stone is the cause of the bleeding. Code the stone first. An R31 code can be added as a secondary code to specify the presenting symptom. |
| Benign Prostatic Hyperplasia (BPH) | N40.1 (Benign prostatic hyperplasia with lower urinary tract symptoms) | BPH can cause hematuria. Code N40.1. If the hematuria is the primary reason for the encounter and is severe, R31.0 could be added. |
| Bladder Cancer | C67.- (Malignant neoplasm of bladder) | The malignancy is the primary diagnosis. Hematuria is the key symptom but is not coded separately when the cancer is the focus of treatment. |
| Acute Glomerulonephritis | N00.- (Acute nephritic syndrome) | Hematuria is a defining characteristic of this condition. Code N00.- with the appropriate fourth and fifth characters for the type and cause. |
| Trauma to Kidney | S37.0- (Injury of kidney) | Code the traumatic injury first, using a 7th character to denote the encounter (A, D, S). Hematuria is a common symptom of the injury. |
| Medication-Induced (Anticoagulants) | T45.515A (Adverse effect of anticoagulants, initial encounter), T45.515D (…subsequent encounter) | Requires two codes: one for the nature of the adverse effect (R31.9 for hematuria) and one for the drug (T45.515-). Use additional code for the anticoagulant (e.g., Y44.2 for warfarin). |
6. The Documentation Challenge: Bridging the Gap Between Clinician and Coder
The accuracy of medical coding is directly dependent on the quality of clinical documentation. Vague or incomplete documentation is the primary source of coding errors and claim denials.
Querying for Clarity
A coder should never assume clinical intent. When documentation is unclear, a formal query to the provider is essential.
-
Scenario: A note states “hematuria” and the urinalysis shows 50 RBC/HPF.
-
Query: “Dear Dr. Smith, The note for Patient X documents ‘hematuria.’ The attached urinalysis shows 50 RBC/HPF. Can you please clarify if this hematuria is gross or microscopic to ensure accurate coding?”
-
Scenario: A note states “microscopic hematuria, likely benign.”
-
Query: “Is the microscopic hematuria considered ‘benign essential hematuria’ as a final diagnosis, or is it still under investigation?”
Essential Elements in Clinical Documentation
For hematuria, providers should be encouraged to document:
-
Type: Gross vs. Microscopic.
-
Timing: Onset, duration, and frequency.
-
Associated Symptoms: Pain, dysuria, fever, flank pain.
-
Suspected or Confirmed Etiology: e.g., “hematuria due to suspected stone.”
-
Final Diagnosis: After workup, e.g., “confirmed benign essential microscopic hematuria.”
7. A Practical Guide: Step-by-Step Coding Scenarios
Let’s apply the concepts to realistic patient encounters.
Scenario 1: The Emergency Room Visit
-
Documentation: A 45-year-old female presents to the ER with sudden onset of severe left flank pain radiating to the groin and visible blood in her urine. CT scan reveals a 5mm left ureteral stone. Diagnosis: Left ureteral calculus with obstructive uropathy and gross hematuria.
-
Coding Steps:
-
Identify the definitive diagnosis: Left ureteral calculus (N20.1).
-
Check for associated conditions: Obstructive uropathy (N13.5).
-
Code the symptom: Gross hematuria (R31.0) is a clear symptom.
-
Sequence: The underlying cause (the stone) is primary.
-
-
Final Codes: N20.1 (Calculus of ureter), N13.5 (Crossing vessel and stricture of ureter without hydronephrosis – Note: code selection for obstruction may vary based on specifics), R31.0 (Gross hematuria).
Scenario 2: The Urology Follow-Up
-
Documentation: A 58-year-old male is seen in the urology clinic for follow-up of persistent microscopic hematuria. He has undergone a full workup including cystoscopy and renal ultrasound, which were normal. The urologist’s final assessment is “Benign essential microscopic hematuria. No evidence of malignancy. Annual monitoring recommended.”
-
Coding Steps:
-
Identify the definitive diagnosis: The provider has given a specific, final diagnosis.
-
Locate the code: “Benign essential microscopic hematuria” maps directly to R31.1.
-
No need for additional codes: The workup ruled out other causes.
-
-
Final Code: R31.1 (Benign essential microscopic hematuria).
Scenario 3: The Asymptomatic Patient
-
Documentation: A 35-year-old female has a routine annual physical. She is asymptomatic. Urinalysis shows 5-10 RBC/HPF. The provider documents “Asymptomatic microscopic hematuria. Will repeat urinalysis in 2 weeks.”
-
Coding Steps:
-
No definitive cause: The cause is unknown.
-
Type is specified: It is microscopic.
-
Apply the default code: This is not yet deemed “benign and essential.”
-
-
Final Code: R31.2 (Other microscopic hematuria).
Scenario 4: The Post-Traumatic Case
-
Documentation: A 22-year-old male is admitted after a motorcycle accident. CT reveals a grade III laceration of the right kidney. He has gross hematuria.
-
Coding Steps:
-
Definitive diagnosis: The traumatic injury.
-
Code the injury: S37.03- (Major laceration of kidney). The 7th character ‘A’ is used for the initial encounter.
-
Code the symptom: R31.0 (Gross hematuria) can be added to fully describe the patient’s condition.
-
-
Final Codes: S37.032A (Laceration of kidney, grade III, initial encounter), R31.0 (Gross hematuria).
8. Compliance and Reimbursement: The Financial Impact of Accurate Coding
Using nonspecific codes like R31.9 can negatively impact reimbursement. Medicare’s Severity-Diagnosis Related Groups (MS-DRGs) and Ambulatory Payment Classifications (APCs) rely on specific diagnosis codes to determine the resource intensity and subsequent payment for a hospital stay or outpatient visit.
-
Example: A patient admitted for workup of gross hematuria (R31.0) that leads to a diagnosis of bladder cancer (C67.9) will be assigned a DRG that reflects the complexity and cost of a cancer workup. If only R31.9 were coded, the DRG might be less severe, resulting in lower reimbursement that does not cover the hospital’s costs.
-
Audit Risk: Codes like R31.9 are red flags for auditors because they indicate poor documentation and a potential lack of medical necessity for performed procedures (like a cystoscopy). Robust, specific coding protects the healthcare facility from audit-related takebacks and penalties.
9. Beyond the Basics: Special Considerations and Related Codes
Hemoglobinuria vs. Hematuria (R82.3)
It is vital to distinguish hematuria (intact RBCs) from hemoglobinuria (free hemoglobin in the urine due to RBC breakdown). They have different causes (e.g., hemolysis) and a different ICD-10 code: R82.3 (Hemoglobinuria). Coders must review lab reports carefully.
Post-Procedural Hematuria
Hematuria following a procedure like a cystoscopy, biopsy, or catheterization is common. This is coded from Chapter 19 (Injury, Poisoning, and Certain Other Consequences of External Causes). Use a code from T83.1- (Mechanical complication of other urinary devices and implants) or another specific complication code, followed by an external cause code (Y84.-) to identify the procedure. An R31 code is generally not used as the hematuria is an integral part of the complication.
Hematuria in Pregnancy (O26.85-)
Hematuria occurring during pregnancy has its own unique code: O26.85- (Other specified pregnancy related conditions). This code requires a 6th character to specify the trimester. This is used instead of R31.- when the hematuria is directly related to the pregnant state.
10. The Future of Coding: ICD-11 and Beyond
The World Health Organization’s ICD-11 has been implemented in some countries and represents the future of disease classification. In ICD-11, the approach to symptoms is more integrated. Hematuria (Code MF48.0) is still a symptom, but the structure allows for easier linking to underlying causes within the electronic health record environment. The fundamental principle remains the same: code to the highest level of specificity and code the known etiology.
11. Conclusion: Mastering the Nuances
Accurate ICD-10 coding for hematuria is a critical skill that hinges on understanding the fundamental distinction between a symptom and a definitive diagnosis. The coder must be a diligent detective, scrutinizing clinical documentation, understanding laboratory values, and never hesitating to query for clarity. By prioritizing specificity—gross versus microscopic, benign essential versus other—and correctly sequencing codes to reflect causality, coders ensure data integrity, support high-quality patient care, and safeguard the financial health of their organizations. The simple presence of blood in the urine opens a complex world of clinical and coding nuance, and mastering it is a mark of true professional expertise.
12. Frequently Asked Questions (FAQs)
Q1: My provider’s note only says “hematuria” and the urinalysis shows 100 RBC/HPF. Should I code R31.9 or R31.2?
A: While the note says “hematuria,” the attached lab report provides objective data specifying it is microscopic. In this case, R31.2 (Other microscopic hematuria) is the more accurate and specific code. A query to the provider to update the assessment to “microscopic hematuria” is a best practice.
Q2: When a patient has a confirmed UTI (N39.0) and hematuria, do I need to code the hematuria separately?
A: Generally, no. Hematuria is a common, integral symptom of a UTI. Coding N39.0 alone is sufficient as it fully describes the condition. Adding R31.- would be redundant unless the documentation specifically highlights the hematuria as a separate, significant issue.
Q3: What is the difference between R31.1 and R31.2, and why does it matter?
A: R31.1 is a diagnosis (Benign Essential Microscopic Hematuria) made after a thorough negative workup. R31.2 is a symptom (Other Microscopic Hematuria) used for a new finding or a case still under investigation. Using R31.1 incorrectly can misrepresent the patient’s condition, suggesting a concluded workup when one may still be needed, which has implications for risk adjustment and future care planning.
Q4: How do I code hematuria caused by taking blood thinners like warfarin?
A: This is coded as an adverse effect. You would use two codes:
-
R31.9 (Hematuria, unspecified) or a more specific R31 code to describe the nature of the adverse effect.
-
T45.515A (Adverse effect of anticoagulants, initial encounter) or T45.515D for subsequent encounter.
You may also use a code from category Y44.2 to specify the anticoagulant agent (e.g., Y44.2 for antagonists of vitamin K).
13. Additional Resources
-
Official ICD-10-CM Guidelines: Published annually by the CDC and CMS. This is the ultimate authority on coding rules and conventions.
-
American Health Information Management Association (AHIMA): Provides webinars, articles, and certification programs focused on coding best practices.
-
American Academy of Professional Coders (AAPC): Offers training, resources, and local chapter meetings for coding professionals.
-
Centers for Disease Control and Prevention (CDC) – ICD-10 Page: Provides access to the official code set and updates.
-
AHA Coding Clinic for ICD-10-CM/PCS: The official source for coding advice and guidance, published by the American Hospital Association.
Date: October 3, 2025
Author: The Medical Coding & Analytics Team
Disclaimer: The information contained in this article is for educational and informational purposes only and is not intended as a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition or before making any coding or billing decisions. The author and publisher are not responsible for any errors or omissions or for any consequences from the application of the information presented.
