It wasn't. It was on a "Family Medicine" subreddit, which the name alone gives off red flags.
Don't get medical advice from Reddit. Don't even have "medical advice" subreddits. The bot was probably doing the best it could with the information available. But, of course, I can't get the full context, because OP linked to a paid article.
That only helps some, but not enough. I would bitch and report this article to the moderators, but the moderator is the one who posted the goddamn article!