I've got 3 dwarves with different wounds that are falling into unconscious state and then wake up about every 60 secons of real time. One of them has yellow upper spine wound+other wounds, one has dark brown upper spine wound+other wounds and the last one has only some heavy limb wounds. One of them is in active military and two other are civilians.
The problem is - all of them are lying on unclaimed beds in the barracks and do not rest. They have 'no job' and 'soldier' as their jobs. If I designate a bed under any of them for removal - after deconstructing of the bed a free dwarf immediately goes to 'rescue' and carries/guides him to the nearest unclaimed bed. If he is conscious at this moment he 'rests' for some time untill next unconscious. I was actually designating beds to be removed under dwarfs that stopped resting and new beds to be constructed in the vicinity for about a season. As this manipulations are extremely tediuos and dwarves heal from heavy wounds really slow I consider it a dwarf-killing bug.
I suppose that it can be fixed in several ways:
1) Make a resting dwarf to keep his claim on bed (or that 'rest' task's claim) when falling unconscious and make him initiate/resume 'rest' job himself when waking up on a bed he has already claimed if he is wounded.
2) Make a wounded dwarf that is waking up after unconscious on an unclaimed bed to initiate 'rest' job himself.
3) Make all dwarves to treat wounded (maybe also conscious at the same time) dwarves that are NOT 'resting' as valid targets for 'rescue' regardless of whether there is a bed under them or not.
Version .27.169.33a . Sorry for this bug was most likely already mentioned before. I thought that when dealing with other AI related bugs this one could be fixed relatively easy.