I'm sorry for your loss.

It will largely depend on the your recovery and the type of work you do. You can not drive, operate machinery, or sign legal docs for 24 hrs after sedation (legally). I actually retruned to work the following day. But you need to give yourself time to grieve. And be kind to yourself

Don't forget to ask for a medical certificate for work as soon as you register your arrival at the hospital otherwise it may be difficult to organise.