🧪 Health Diagnosis Simulation
Order clinical tests one at a time and watch a live 3D probability chart update via Bayes' rule as evidence narrows down a hidden diagnosis among four candidate conditions.
A hidden patient is assigned one of four possible chest-pain diagnoses — acute myocardial infarction, GERD, costochondritis, or pulmonary embolism — each starting from a clinically plausible prior probability. Ordering a test (ECG, troponin, D-dimer, or CT pulmonary angiogram) draws a positive or negative result from that hidden condition's real per-disease positive rate, and the simulator applies Bayes' rule live across all four candidates at once, renormalising their probabilities and animating a 3D bar chart that shows the leading diagnosis pulling ahead as evidence accumulates. A cost and radiation tracker keeps the trade-off between more information and more expense visible, and a confidence-threshold slider marks the point at which a real clinician would feel safe committing to a diagnosis — confirm your answer against the hidden true condition to see whether the evidence actually supported it.
This simulation demonstrates the process of medical diagnosis based on patient symptoms and test results. It likely allows users to practice diagnostic reasoning skills in a clinical setting.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install