How AI Enhances Patient Management and Engagement Systems in Hospitals