Using AI to save the lives of mothers and babies