Hematuria (gross / microscopic)
Phase C shard-3-neuro-sym deepening pass (2026-05-14) — full §5.5 contract depth. Pattern peers: symptom.vertigo.v1 (04bf795f) + symptom.dementia.v1 (1999b2d0). Engine scope: triage + risk-stratified workup + disposition for hematuria across home, ED, ICU, inpatient, outpatient. Downstream confirmed glomerular pattern routes to renal.rpgn.core.v1 (verified in ALL_DOSSIERS). Modern view (2026-05-14): AUA 2020 microhematuria CPG (Barocas PMID 32698717) codifies 3-tier risk stratification (low/intermediate/high) driving differential imaging + cystoscopy. Anticoag does NOT exclude urothelial malignancy. Schistosoma haematobium endemic-region exposure remains a high-yield phenotype (Prakash Kidney Int 2015 PMID 26126106). 5 setting playbooks (home, ed, icu, inpatient, outpatient). 12 severity triggers (≥6 per spec): gross_hematuria + microscopic_high_risk + microscopic_intermediate_risk + microscopic_low_risk + glomerular_pattern + obstructing_stone_sepsis + clot_retention + bph_associated + anticoagulant_associated + schistosomiasis_endemic + pediatric_phenotype + cyclophosphamide_hemorrhagic_cystitis. 2 sibling differentiation rows (renal.rpgn.core.v1 + uro.testicular-torsion.v1) — both verified to exist in ALL_DOSSIERS registry. Additional look-alikes (urethritis, prostatitis, vulvovaginal bleeding, factitious) captured as DIFFERENTIAL phase pivots; no dedicated dossiers yet. Bayesian linkage (LR+, LR−, T_treat, T_test, conditional dependencies, pre-test priors by setting) lives in companion depth bundle _briefs/symptom.hematuria.v1.depth.md — schema has no first-class likelihood-ratio field. Schema-blocked items surfaced: AUA microhematuria risk classifier (3-tier), RBC dysmorphism quantitation, ePLND nomograms — none in clinical-tools-registry.ts; cross-shard tickets emitted to shard-0 (registry maintainer). PMIDs (8), all PubMed-verified 2026-05-30: AUA Microhematuria 2020 (32698717) + 2025 update (40013563), IDSA UTI 2010 (21292654), KDIGO Glomerular 2021 (34556256), terminal hematuria/schistosomiasis (26126106), AUA Stones 2026 (41263322), Pathan renal colic Eur Urol 2018 (29174580), Cochrane 2025 NSAIDs renal colic (40084512). Replaced 5 fabricated PMIDs (32702087, 34556257, 19097998, 24268708, 29462017).
Entry points (6)
- symptomVisible (gross) hematuria — STAT cystoscopy + CTU indication regardless of age (AUA 2020 PMID 32698717)gross_hematuria
- lab_abnormalityMicrohematuria (≥3 RBC/HPF on properly collected sample) — AUA 2020 risk-stratified workupmicrohematuria_on_ua
- symptomHematuria with flank pain / dysuria — stone vs UTI vs pyelonephritis (AUA Stones 2026)painful_hematuria
- symptomGross hematuria with bladder clot retention — STAT CBI + urology (AUA 2020)hematuria_with_clot_retention
- symptomHematuria + RBC casts + proteinuria + HTN ± AKI — nephrology / RPGN route (KDIGO 2021 PMID 34556256)hematuria_with_nephritic_pattern
- historyHematuria after travel to S. haematobium-endemic region (Prakash Kidney Int 2015 PMID 26126106)schistosomiasis_endemic_exposure
Required inputs (28)
- agerequireddemographic • used at CONTEXTAge >60 + smoking heavily upweights AUA 2020 high-risk tier and bladder/upper-tract Ca prior (AUA 2020 PMID 32698717)
- sexrequireddemographic • used at CONTEXTAUA 2020 low-risk thresholds differ by sex (women <50 / men <40); women — menstrual / GU bleeding confounders (AUA 2020)
- smoking_historyrequiredhistory • used at CONTEXTBladder Ca risk; ≥30 pack-years → AUA 2020 high-risk regardless of age (PMID 32698717)
- occupational_dye_exposurerequiredhistory • used at CONTEXTAromatic amines (rubber, leather, dye, painting, hairdressing) → urothelial Ca; AUA 2020 high-risk factor
- gross_vs_microscopicrequiredhistory • used at FRAMEGross hematuria at any age = AUA 2020 high-risk (5× malignancy risk over micro); STAT cysto + CTU
- timing_in_streamhistory • used at FRAMEInitial = urethral; terminal = bladder neck / prostate; throughout = upper tract or bladder body (AUA 2020)
- clots_presenthistory • used at FRAMEVisible clots → non-glomerular source (clots cannot pass through glomerular filter); often heralds tumor or stone (AUA 2020)
- recent_utis_instrumentationrequiredhistory • used at CONTEXTTransient cause (UTI, catheter, cystoscopy, sex); reassess after treatment, but persistent micro after UTI Rx still needs AUA workup (IDSA 2010 PMID 21292654)
- family_history_urothelial_lynchhistory • used at CONTEXTLynch syndrome (HNPCC) → upper-tract urothelial; AUA 2020 high-risk factor
- prior_pelvic_radiation_or_cyclophosphamidehistory • used at CONTEXTPelvic XRT and cyclophosphamide / ifosfamide → hemorrhagic cystitis + secondary urothelial Ca; AUA 2020 high-risk
- schistosomiasis_endemic_exposurehistory • used at CONTEXTS. haematobium → terminal hematuria + bladder SCC risk in endemic-region travellers (Prakash Kidney Int 2015 PMID 26126106)
- current_medsrequiredmedication • used at CONTEXTAnticoag / antiplatelet, cyclophosphamide (hemorrhagic cystitis), aristolochic herb, NSAIDs (papillary necrosis), rifampin / phenazopyridine (pigmenturia mimic) (AUA 2020)
- flank_pain_or_dysuriarequiredsymptom • used at CONTEXTStone vs UTI vs pyelonephritis differential (AUA Stones 2026 PMID 41263322)
- urinary_retention_or_lower_tract_symptomssymptom • used at CONTEXTBPH / clot retention / bladder mass; LUTS in older men shifts toward BPH-associated or bladder Ca (AUA 2020)
- fever_or_sepsis_featuresrequiredsymptom • used at RED_FLAGSObstructing stone + sepsis = urologic emergency — STAT decompression (PCN / stent); AUA Stones 2026
- sbprequiredvital • used at CONTEXTHemodynamic instability from gross hematuria + clot retention; HTN co-traveller of glomerular pattern (KDIGO 2021)
- hrrequiredvital • used at CONTEXTHemodynamic instability marker; sepsis criteria with obstructing stone (AUA Stones 2026)
- ua_with_microscopyrequiredlab • used at INITIAL_WORKUPConfirm true RBCs vs pigmenturia (myoglobin, hemoglobin, beet, rifampin, phenazopyridine); dysmorphic RBCs + RBC casts = glomerular (KDIGO 2021); ≥3 RBC/HPF = micro per AUA 2020
- urine_culturerequiredlab • used at INITIAL_WORKUPUTI is most common reversible cause of micro hematuria; IDSA 2010 (PMID 21292654)
- creatinine_egfrrequiredlab • used at INITIAL_WORKUPGlomerular pattern + rising Cr → RPGN suspicion; route to renal.rpgn.core.v1 (KDIGO 2021 PMID 34556256)
- urine_protein_creatinine_ratiorequiredlab • used at INITIAL_WORKUPProteinuria + hematuria = glomerular (KDIGO 2021); UPCR >0.5 g/g raises RPGN prior
- cbcrequiredlab • used at INITIAL_WORKUPHgb trend in significant gross bleeding; thrombocytopenia could amplify (AUA 2020)
- inr_if_anticoaglab • used at INITIAL_WORKUPAnticoag-associated bleeding amplification; INR does NOT exclude tumor (AUA 2020)
- urine_cytologylab • used at INITIAL_WORKUPHigh-risk per AUA 2020 — adjunct; insensitive for low-grade Ca; not routine in low-risk
- renal_ultrasoundimaging • used at BRANCHING_WORKUPStone, mass, hydronephrosis; AUA 2020 preferred for intermediate-risk (cysto + renal US)
- ct_urographyimaging • used at BRANCHING_WORKUPAUA 2020 — preferred upper-tract imaging for high-risk (cysto + CTU); use MR urography if contrast contraindicated
- ct_kub_non_contrastimaging • used at BRANCHING_WORKUPAUA Stones 2026 first-line for suspected ureteral stone with flank pain (PMID 41263322)
- cystoscopyimaging • used at BRANCHING_WORKUPRequired for intermediate / high-risk per AUA 2020; gold standard for bladder lesion detection
12-phase flow (12)
- 1FRAMEConfirm true RBCs by microscopy — rule out pigmenturia (myoglobin, hemoglobin, beets, rifampin, phenazopyridine); classify gross vs microscopic (≥3 RBC/HPF AUA 2020); timing in stream (PMID 32698717)inputs: ua_with_microscopy, gross_vs_microscopicadvance: True hematuria confirmed and gross vs micro classified
- 2ENTRYGross hematuria, microhematuria on screening UA, painful hematuria with flank pain, hematuria with clot retention, nephritic pattern, schistosomiasis exposure (AUA 2020 + AUA Stones 2026 + KDIGO 2021)inputs: ageadvance: Entry pattern recognized
- 3CONTEXTAge, sex, smoking pack-years, occupational dye, gross vs micro, timing in stream, clots, pain, recent UTI / instrumentation, anticoag, family history urothelial / Lynch, prior pelvic XRT / cyclophosphamide, schistosomiasis exposure (AUA 2020 PMID 32698717)inputs: smoking_history, occupational_dye_exposure, recent_utis_instrumentation, current_meds, flank_pain_or_dysuria, sex, sbp, hradvance: Context complete with all AUA 2020 risk factors collected
- 4RED_FLAGSGross hematuria with clots + hemodynamic compromise / clot retention; obstructing stone + sepsis / AKI; nephritic syndrome with RPGN features; trauma with gross hematuria (AUA 2020 + AUA Stones 2026 + KDIGO 2021)inputs: fever_or_sepsis_featuresactions: workup.nephrolithiasis, workup.rpgnadvance: Acute red flags addressed with disposition assigned
- 5INITIAL_WORKUPUA with microscopy (dysmorphic RBCs + RBC casts = glomerular → route renal.rpgn.core.v1); urine culture; CBC; BMP / eGFR; UPCR; INR if anticoag; urine cytology in high-risk (AUA 2020 + KDIGO 2021)inputs: ua_with_microscopy, urine_culture, creatinine_egfr, urine_protein_creatinine_ratio, cbcactions: panel.ua, panel.renal, workup.hematuriaadvance: Stage-1 returned + glomerular vs non-glomerular pivot determined
- 6BRANCHING_WORKUPAUA 2020 risk-stratified pathway: low (women <50 OR men <40, never-smoker, no RFs) → repeat UA at 6 mo OR cysto + renal US shared decision; intermediate (50-60 women / 40-60 men, ≤10 pack-years, ≤25 RBC/HPF) → cysto + renal US; high (>60 yo OR >30 pack-years OR gross OR >25 RBC/HPF OR risk-factor cluster) → cysto + CT urography; glomerular pattern → nephrology biopsy decision (KDIGO 2021)inputs: renal_ultrasound, ct_urography, cystoscopyadvance: Risk-tier appropriate imaging + cystoscopy or nephrology referral completed
- 7DIFFERENTIALUTI / urolithiasis / urothelial Ca (bladder + upper-tract) / RCC / glomerulonephritis (IgA, post-infectious, lupus nephritis, RPGN, Alport, thin-BM) / BPH / endometriosis (catamenial) / exercise-induced / drug (cyclophosphamide hemorrhagic cystitis) / schistosomiasis (Prakash 2015 PMID 26126106) / trauma / sickle traitadvance: Differential narrowed with pre-test priors documented
- 8RISK_STRATIFICATIONAUA 2020 microhematuria 3-tier classifier — variables: age, sex, smoking pack-years, RBC/HPF, gross vs micro, risk-factor cluster (dye, FH urothelial / Lynch, prior pelvic XRT, cyclophosphamide, aristolochic herb, prior cytology); output: low/intermediate/high → workup pathway (PMID 32698717)inputs: age, smoking_history, sexadvance: AUA tier assigned + pathway selected
- 9TREATMENTUTI → directed antibiotic (IDSA 2010 PMID 21292654); stone → MET + analgesia ± urology decompression (AUA Stones 2026); tumor → urology TURBT / nephroureterectomy; glomerular → nephrology + biopsy + immunosuppression per KDIGO 2021; cyclophosphamide → mesna + hydration; schistosomiasis → praziquantel (Prakash 2015)advance: Diagnosis-directed plan documented
- 10DISPOSITIONOutpatient stepwise per AUA risk tier; ED for gross + clot retention / instability; admit for obstructing stone with infection, CBI failure, gross transfusion requirement; ICU for sepsis from obstructing stone + AKI (AUA 2020 + AUA Stones 2026)advance: Disposition documented
- 11MONITORINGRepeat UA after UTI treatment to confirm clearance (IDSA 2010); 6-mo follow-up UA in AUA low-risk patients; surveillance cystoscopy q3-6 mo per urology if NMIBC; serial UPCR + Cr for glomerular (KDIGO 2021)advance: Monitoring plan documented
- 12FOLLOWUPUrology referral for non-glomerular per AUA tier; nephrology + biopsy decision for glomerular (KDIGO 2021); smoking cessation counseling (AUA 2020); travel-medicine for schistosomiasis post-treatment serology (Prakash 2015)advance: Referrals scheduled