We do not currently know of any antonyms for just what the doctor ordered.
The noun just what the doctor ordered is defined as: