'Andy's making us some lunch.' 'Great, just what the doctor ordered.'A night out on their own was just what the doctor ordered.
be just what the doctor ordered
To be exactly what one needed or wanted. The phrase does not usually refer to one's actual medical needs. I've been working on this paper all week, so a night out with friends is just what the doctor ordered!This beach vacation was just what the doctor ordered—I've never felt more relaxed.
be just what the doctor ordered
be very beneficial or desirable under the circumstances. informal
1948GoreVidalThe City and the Pillar The waiter brought her a drink. ‘Just what the doctor ordered,’ she said, smiling at him.