Embedding a decision support tool in the hospital electronic health record increases detection of acute kidney injury, reducing its severity and improving survival. The results address one of the most costly and deadly conditions affecting hospitalized patients, providing evidence that computers analyzing changes in renal function can alert doctors of acute kidney injury before the condition is obvious clinically.