Artificial intelligence facilitates treatment