AI-powered medical device