Transforming Healthcare: The Role of AI in Patient Management