Robert Heinlein, while hospitalized, once designed, in his head, a far more comfortable hospital bed. He later wrote about it in one of his books in such great detail that when the waterbed was eventually invented, it couldn't be patented because Heinlein's written descriptions gave so much detail to qualify as prior art.