eugene sannikov
Back to work

HematoBoard

Agentic AI for traceable hematology reviewv2.2 · Technical architecture article · 23 cases

Agentic AI for traceable hematology review.

Complex hematology records span years of laboratory panels, imaging, pathology reports, and consultations. HematoBoard assembles those records into a versioned Patient Graph, proposes explanations without prior anchors, checks the medical literature needed to distinguish them, and submits each candidate to independent two-stage critique.

The practical question is simple: can a clinical team inspect what the system used, what it inferred, what remains unexplained, and what would change its conclusion? Every output is a reviewable candidate rather than a diagnosis.

My role
System architecture, provenance method, AI workflow & interface research
Release
Public interface v2.2 (4 December 2026) · 23 de-identified cases
Status
Research workflow · all 23 cases remain unaccepted by clinicians
HematoBoard v2.2 — Spatial Patient Graph (CASE031)All 398 recorded objects across 26 clinical events and 30 Argument Graph arches projected into space. Code governs identities, cryptographic bindings, and QA; models handle synthesis and critique; clinicians hold diagnostic authority.

From clinical dossier to reviewable candidate

  1. Record

    Format-aware intake preserves units, specimens, and collection dates, audits scan bleed and unit contradictions, and builds a versioned Patient Graph.

  2. Breadth

    A blind first model pass explores seven diagnostic coverage axes without prior anchors, then evaluates eleven formal hematology criteria domains and verified primary literature.

  3. Synthesis

    Graph-bound compilation prevents numeric drift, separates confirmation from verification priority, and distills the Argument Graph to the strongest discriminating links.

  4. Critique

    Twelve deterministic code checks run before nine focused clinical critic checks and an adversarial red-team pass, allowing at most one bounded repair before human review.

Two graphs with different jobs

A difficult hematology case crosses institutions, assays, and diagnostic editions. Reference intervals are distinct from clinical decision limits (Ozarda et al., 2018), a later biopsy can reinterpret an earlier scan, and both laboratory transfer errors and cognitive anchoring can obscure alternatives (Plebani, 2006; Croskerry, 2003).

The Patient Graph is the single authority for documented patient state. It binds each event, specimen, measurement, and clinical finding to its exact source location while keeping ordering, registration, and collection dates distinct — and leaving unknown units or dates explicitly unknown.

The Argument Graph represents a candidate interpretation. It connects exact versions of patient objects to competing hypotheses through supporting, refuting, or neutral links, while keeping external medical guidelines strictly separate from patient data. A guideline defines a diagnostic rule; it cannot prove that a patient has the finding.

To keep the graph scannable at the point of care, deterministic curation narrows dense dossiers to at most thirty diagnostic links (no more than six per leading hypothesis and one peak or nadir point per analyte). In CASE031, that distills 325 recorded measurements and 29 findings into 21 discriminating clinical nodes while every raw observation stays accessible in Data and Trends.

Figure 1. Recorded Patient Graph of CASE031 — 398 objects distilled to 21 clinical discriminatorsGenerated directly from the saved de-identified public graph. Teal, ochre, and indigo spokes group 14 laboratory panels, 6 imaging studies, and 6 consultations; ruby rays trace the exact 21 objects prioritized into 30 Argument Graph links across 8 hypotheses.

Controlled execution, two-stage critique & lossless compaction

Raw clinical documents, local OCR, visual scan auditing, and de-identification remain inside a private workspace. High-volume panels use risk-tiered triage so abnormal, criteria-critical, or ambiguous rows receive mandatory human review, while typed clustering groups observations strictly by event, specimen, and concept code rather than fragile text matching.

Formal diagnostic criteria across eleven hematology domains — including WHO 2022 and ICC myeloid and lymphoid frameworks, IMWG myeloma, iwCLL, VEXAS, ESC endocarditis, and ISTH TTP — are selected only after the blind differential and emitted unverified until confirmed by a clinician. Verified primary-source assertions are cached with document hashes and freshness windows without ever carrying over patient facts.

Before dispatching an independent clinical critic, a deterministic pre-critic gate executes twelve structural checks in code: catching duplicate hypotheses, non-canonical confirmation states, management tactics or workup tasks mistakenly phrased as diseases, directive treatment phrasing, numeric drift against the Patient Graph, and overly dense argument links. That frees the fresh clinical critic to focus on nine high-signal clinical checks — anchoring, premature closure, omitted dangerous alternatives, source drift, and abstention calibration — paired with an adversarial red-team review.

On multi-year dossiers, canonical graphs routinely exceed one megabyte due to repeated provenance envelopes. HematoBoard v2.2 compiles a deterministic, hash-bound Compact Clinical Brief that preserves every observation, finding, unit, and date in chronological form: on CASE031 (398 objects), the canonical graph (1,454 KB) compressed to 111 KB (13.1× smaller) in 76.9 ms with zero dropped facts.

Figure 2. HematoBoard v2.2 — modules, responsibilities, and data flowRead each band left to right. Patient records and permitted medical literature enter through distinct channels; the workflow controller enforces SHA-256 bindings, attempt budgets, and append-only audit across every handoff. The public dashboard cannot run synthesis or record clinical decisions.
Technical reference — 10 module contracts & deployment boundariesInputs, outputs, actors & trust zones
ModuleActorsInput → OutputState owned
Original documentsCode, HumanAuthorized PDF, photos, DOCX → registered files & page inventoryPrivate original source artifacts
Source reading & reviewCode, AI, HumanFormat-native locators → structured reading, visual bleed/unit audit, risk-tiered reviewSource revisions; explicit review authority
Patient graphCodeAdmitted source reading → versioned objects, typed clustering & lossless compact briefCanonical patient state for reasoning
Starting hypothesesAI modelCurrent Patient Graph (blind) → breadth candidates, 7-axis coverage & questionsStage artifact; no patient-state write
Source search & reviewCode, AIBreadth questions, 11 criteria domains, permitted library → verified propositions & gapsCase-evidence & verified assertion cache
Candidate & argument graphAI, CodeExact graph, breadth & evidence → immutable Candidate 1.4, matrix & curated graphCandidate interpretation; unaccepted
Independent criticCode, AIExact candidate + 12-check pre-gate → 9 focused clinical checks + red-team verdictHash-bound review; cannot mutate candidate
Read-only dashboardCode, HumanReviewed candidate, QA & display approval → version-bound v2.2 package on sannikov.esDerived read-only presentation
Clinician decisionHuman, CodeExact candidate in local session → accept, correct, reject, or defer recordNamed human clinical decision
Workflow controllerCodeCaseScope, StepSpec, bindings → allowed action, receipts, recovery, or explicit stopAppend-only journal & routing

Inside the v2.2 clinician workspace

The live interface at sannikov.es/hematoboard/ projects saved artifacts across Overview, Course (TimeSets default, Compact Trends, and Chronology), Data, Curated Argument Graph, Plan, and Source Supports. Every panel keeps patient evidence visibly distinct from guideline rules.

Source-linked never means confirmed: in CASE011, citing NCCN Soft Tissue Sarcoma guidelines supplies classification terminology without spleen-specific MRI discrimination, so the hypothesis remains provisional pending tissue. All clinical decisions stay in a separate local session where a named clinician can accept, correct, reject, or defer an exact candidate.

Figure 3. Overview — CASE031Clinical summary, conditional urgent checks, and eight prioritized hypotheses with separate confirmation status.
Figure 4. Course — TimeSets defaultProjected directly from the Patient Graph, keeping specimen collection dates distinct from document dates and abnormal flags.
Figure 5. Compact Dynamics & TrendsHigh-density serial sparklines with inline delta indicators, reference bands, and explicit axis breaks across intervals over 90 days.
Figure 6. Curated Argument GraphTwenty-one prioritized clinical data nodes connected by thirty diagnostic links beside the source-linked explanation inspector.
Figure 7. Source SupportsPatient findings on the left, verified PubMed and guideline propositions on the right — separated by design.
Figure 8. Blood + Paired CT + NGS (CASE030)Pairs 34 serial blood markers with 18 CT anatomical sites (16 of 16 enlarging over 21 months) while leaving progression judgment to the hematologist.

Current release, privacy & research boundaries

Public slice (4 Dec 2026)State in v2.2
23 cases totalDe-identified read-only dashboards on sannikov.es/hematoboard/ plus 3 English cases on /hematoboard-en/.
10 typed Patient GraphsCASE001, CASE008, CASE011, CASE024, CASE025, CASE026-V2, CASE027, CASE029, CASE030, CASE031.
8 Candidate 1.4Carry full evidence matrices, separate confirmation and verification priority, and Source Supports.
2 intermediate · 13 legacy 1.1Preserved honestly under their original contracts without retrospective relabelling.

Recorded metadata gap: Historical receipts for CASE011 and CASE027 preserve their execution profile but omit a run-bound synthesis-method version; both remain explicitly unknown in the manifest rather than backfilled.

Raw clinical dossiers, page crops, direct identifiers, and re-identification keys remain in private quarantine. De-identification preserves clinical age, sex, and non-identifying laboratory headers while reducing disclosure risk without claiming guaranteed anonymity (Meystre et al., 2010; GDPR Art. 5). Human oversight and inspectability are design objectives informed by EU AI Act Art. 14, not regulatory clearance.

Every handoff is pinned with SHA-256 digests following W3C PROV-O and FAIR principles (Wilkinson et al., 2016) — establishing artifact identity, never clinical truth. Automation bias remains a real hazard even with visible sources (Cabitza et al., 2017; Gaube et al., 2021). Current verification covers provenance, schema conformance, pre-critic integrity, and desktop/tablet/mobile browser QA across all 23 cases; prospective clinical evaluation under CONSORT-AI and DECIDE-AI remains future work (Liu et al., 2020; Vasey et al., 2022).

Change & recovery discipline (8 triggers)How the controller responds to data, evidence, or UI updates
TriggerRequired responsePreserved state
New or corrected clinical valueSource review → new Patient Graph version → fresh clinical reasoning revisionPrior inputs, candidates, and review receipts
New guideline or paperAssess applicability and authorize evidence/candidate revision when warrantedPatient facts; literature never invents findings
Presentation-only UI updateRebuild projection and run 3-viewport browser QA matrixImmutable clinical candidate unchanged
Blocking critic findingOne bounded clinical repair + fresh independent critique; second block stops runReviewed earlier candidate & named defect list
Reviewed minor prose fixAuthorized scoped correction with separate review-coverage receiptPatient facts, ranks, and relation directions
Interrupted executionReconcile issued attempt; resume exact saved result if bindings matchAttempt accounting; no blind re-dispatch
Post-publication source defectActivate visible hash-bound review hold and open source revisionHistorical critic and projection receipts intact
Model profile changeBind new runs to active profile; fresh revision when incompatibleHistorical execution profiles never relabelled
Academic references (22 citations)Hematology classifications, clinical informatics, provenance & AI evaluation
  1. Alaggio, R., et al. (2022). The 5th edition of the WHO classification of haematolymphoid tumours: Lymphoid neoplasms. Leukemia, 36(7), 1720–1748.
  2. Apple. (n.d.). Recognizing text in images. Apple Developer Documentation.
  3. Brouwers, M. C., et al. (2010). AGREE II: Advancing guideline development, reporting and evaluation in health care. J. Clin. Epidemiol., 63(12), 1308–1311.
  4. Cabitza, F., Rasoini, R., & Gensini, G. F. (2017). Unintended consequences of machine learning in medicine. JAMA, 318(6), 517–518.
  5. Campo, E., et al. (2022). The International Consensus Classification of mature lymphoid neoplasms. Blood, 140(11), 1229–1253.
  6. Croskerry, P. (2003). The importance of cognitive errors in diagnosis and strategies to minimize them. Acad. Med., 78(8), 775–780.
  7. d’Amore, F., et al. (2025). Peripheral T- and NK-cell lymphomas: ESMO–EHA Clinical Practice Guideline. Ann. Oncol., 36(6), 626–644.
  8. European Parliament & Council (2016). Regulation (EU) 2016/679 (GDPR), Article 5.
  9. European Parliament & Council (2024). Regulation (EU) 2024/1689 (AI Act), Article 14.
  10. Gaube, S., et al. (2021). Do as AI say: Susceptibility in deployment of clinical decision-aids. npj Digital Medicine, 4(1), 31.
  11. Goddard, K., Roudsari, A., & Wyatt, J. C. (2012). Automation bias: A systematic review. JAMIA, 19(1), 121–127.
  12. Ji, Z., et al. (2023). Survey of hallucination in natural language generation. ACM Comput. Surv., 55(12), 248.
  13. Kahn, M. G., et al. (2016). A harmonized data quality assessment terminology for secondary EHR use. eGEMs, 4(1), 18.
  14. Liu, X., et al. (2020). Reporting guidelines for clinical trial reports for AI interventions: CONSORT-AI. Nature Medicine, 26(9), 1364–1374.
  15. Meystre, S. M., et al. (2010). Automatic de-identification of textual documents in the EHR. BMC Med. Res. Methodol., 10, 70.
  16. National Academies of Sciences, Engineering, and Medicine. (2015). Improving diagnosis in health care. National Academies Press.
  17. NIST. (2015). Secure Hash Standard (SHS) (FIPS PUB 180-4).
  18. Ozarda, Y., et al. (2018). Distinguishing reference intervals and clinical decision limits. Crit. Rev. Clin. Lab. Sci., 55(6), 420–431.
  19. Plebani, M. (2006). Errors in clinical laboratories or errors in laboratory medicine? Clin. Chem. Lab. Med., 44(6), 750–759.
  20. Rasmussen, L. V., et al. (2012). OCR pipeline for handwritten form fields from an EHR. JAMIA, 19(e1), e90–e95.
  21. Singhal, K., et al. (2023). Large language models encode clinical knowledge. Nature, 620, 172–180.
  22. Vasey, B., et al. (2022). Reporting guideline for early-stage clinical evaluation of AI decision support: DECIDE-AI. Nature Medicine, 28(5), 924–933.
  23. W3C (2013) PROV-O; Wilkinson et al. (2016) FAIR Guiding Principles; WHO (2021); Zakka et al. (2024) Almanac, NEJM AI.

Explore the live system & verification package

Next project / Digital work, oil & acrylic painting

Art Studies