The first one is
a sequence of tragic events,
caused by errors in Therac-25, a radiation therapy machine. From June 1985 to January 1987, this machine caused at least 6 massive radiation overdoses. Some patients received doses that were hundreds of times greater than normal. At least two of them died as a result of the overdose. This tragedy was caused by software errors and the faulty security strategy.
The second case demonstrates that errors may also harm people indirectly.
For example,
errors in the MRI software call into question about 40,000 scientific studies. Over decades, neuroscientists and cognitive psychologists have used the AFNI, SPM, and FSl statistical programs to analyze the
fMRI data. As it turned out, due to incorrect algorithms, these programs may return 70% of false positive results, instead of the expected 5%.
Therefore, errors in code of medical applications can harm people's health either directly or indirectly.