I doubt that's true.In the days before social media, the only way a Doctor, Lawyer etc, could actually lose their professional license, is if they did actual harm to a patient or client, they were actually treating. Not anymore.
I am sure there were always professional standards that went beyond patients or clients.