How software can save your life.