Ok, not sure if this has been covered, I didn't see anything in the bug thread... Unless I missed it...
But occasionally I'll get some wounded Dwarf placed in the hospital, who doesn't seem to actually be IN the hospital.
He will be in a bed, but not seem to know it and never actually rest. I had one person go insane because he never could sleep.
I deconstructed the bed from a Dwarf, but he just STOOD there. His arm was injured so it was not like he couldn't move...
What da hey?
I had similar situation recently, when two dwarves were designed to be put into one bed. Actually, this is quite frequent, and some rescuers even drag two bodies simultaneously. In the case I had, one of dwarves died on the route. The one put in bed wasn't really in bed, he even got tired after some time. It was possible to deconstruct the bed under him and store it, construct it again, despite him not moving away, make a channel on him (trying to make channel from under him, one level below, was not successful), and finally to construct a bridge on him. When I ordered the bridge to be connected to a lever (my intention was to throw him into air) someone finally moved him to a neighbouring bed, where his status changed to Rest. This happened exactly two months and a day after he was brought to the bed initially.
By the way, he got infection from his wounds a couple of months later, but so far hasn't died. Other wounded were also infected, despite cleaning with fresh water and soap, but also haven't died, I even have a case of guy who was operated 10 years earlier and got infected after several years, and still lives. So I'd suggest to try dropping a bridge on him. Retractable one, of course.