you can go online and check out that you don't want your organs taken or to be revived*, but those are more like wishes, no one reads it or cares or even has access to the info when it comes to a situation. *in revival situation it's not like they could know that even, the thing is you might become braindead but someone gets your heart pumping and you stay alive so you can opt out of that, in theory.
Finland