In popular usage " a basket case" refers to someone in a hopeless mental condition, but in origin it had a physical meaning. In the slang of the British army during World War I, it referred to a quadruple amputee. This is one of several expressions that first became popular in World War I, or that entered American army slang from British English at that time.
Examples: After his wife left him, he became a total basket case.
She became a basket case when she failed her final exam.