Using artificial intelligence, a doctor at Brigham and Women's Hospital has developed a tool that identifies patients at risk for intimate partner violence.