When your soldier is injured and has a first aid kit or a medikit, he can heal himself only if the main damage (queried with the command "damage _unit") is sufficient. Damage to the head, body, arms and legs are not checked, even if the soldier is just about dead in terms of head or body trauma.
The healing action should activate when any hitpoint has enough damage.