You should just do things in the same way that you would have done. Are you planning on going for another job at all, or will you be taking time out? A letter to say that you had hoped that you would get better, but that you’re no longer sure that you will be able to work, will suffice. You may have to attend a meeting if it’s possible for you to do so, as they will want to talk about the situation.