he was doing a doctorate in computer science and wanted to get into medical records software with a built-in artificial intelligence backbone so that it could be used to spot diseases , run treatment protocols , that sort of thing .