Yeah, sounds like they got something right.
Real world, sometimes a doctor will think up a novel use of the effect of a drug. And sometimes they'll throw stuff at the wall and see what sticks. When you don't have a good answer this can be sane medical practice. But there should be a requirement of reporting it to something like this database.
It's not even about the doctors trying things themselves. Enough people have more than one issue at the time that they will notice "you prescribed this for A, but B went away as well".