The dissociating would only count as Self injury if you on purpose with the intent of hurting yourself went into your mental safe place (dissociated) which would result in your not being aware of the sign.
If you refused treatment because you wanted to feel the pain, then yes refusing treatment can be considered self harm because you are not taking care of yourself which is doing more damage (possible infection and blood loss) to yourself.
Self injury is anything a person does with the specific intent of causing pain or harm to themselves
|