Hey, search every trash can on the ship, you'll find berries there, then talk to the doctor again.
This is a common problem a lot of people have, because the doctor gives misleading directions of searching a ''pharmacist'' when you should be digging in trash, myself spent over a hour on the ship trying to find a way, I think the text should be tweeked a bit.