The Evolving Role of AI in Diagnosing and Treating Patients