Back in the 20's, people were convinced that any woman with an increased libido, bad language, and the tendency to get into mischief had a disease they called hysteria.
Hysteria was not taken out of official manuals until 1980, and it was just this catch-all term that doctors used to let themselves off the hook for diagnoses they were having trouble making.