An integrated blockchain and large language model decision support system for organ donation and transplantation workflows
Abstract
Introduction Each donated organ creates an urgent coordination challenge because clinical evidence, allocation priorities, and institutional approvals must be brought together quickly, securely, and transparently. Existing approaches support parts of this process, but ranking, information review, record protection, and workflow governance remain separate. This fragmentation obscures how evidence informs a recommendation and the authorized actions that follow. Methods We present an integrated blockchain and large language model (LLM) decision support system connecting transparent ranking, constrained note review, deterministic safeguards, encrypted records, and authorized workflow actions. Structured attributes establish organ-specific reference rankings. The LLM only assigns predefined readiness states from notes, receives no rank information, and cannot select recipients. The safeguard excludes candidates on temporary hold and preserves the order of those remaining, while smart contracts govern the workflow. We evaluated the system using a synthetic dataset informed by public organ allocation guidance and clinically relevant compatibility, urgency, logistics, and readiness factors. The dataset comprised 1,600 training, 320 validation, and 400 independent test cases balanced across kidney, liver, heart, and lung workflows. Results Fine-tuned Qwen and GPT-4o mini returned valid and complete outputs in 93.0% and 97.0% of cases, with macro F1 scores of 99.3% and 99.6% among valid and complete outputs, respectively. When every candidate in an unsuccessful case was counted as incorrectly classified, the corresponding overall macro F1 scores were 95.3% and 98.0%. The selected primary recipient agreed with the synthetic reference in 372 and 387 cases, respectively. In a post hoc robustness analysis, all 20 scenarios produced the expected selection or stopped safely without creating a decision. A complete demonstration on the Sepolia blockchain test network executed all 45 transactions successfully using 6,932,168 gas; across 30 repetitions, the decision process had a median duration of 37.46 s. All 41 smart contract tests passed, and static security analysis with Slither reported no findings across 102 detectors. Discussion These results demonstrate the technical feasibility of integrating constrained LLM note review with transparent allocation logic and accountable workflow governance under controlled synthetic conditions. The system provides a reproducible foundation for further evaluation with clinical records and prospective assessment of clinical effectiveness.
Community
0 commentsNo discussion yet
Be the first to share a question or observation.