To dream of writing an obituary, denotes that unpleasant and discordant duties will devolve upon you.
If you read one, news of a distracting nature will soon reach you.
If you dream of reading an obituary in the newspaper you may soon receive some disquieting news of a death.
If the obituary happens to be your own then it denotes that you have something or someone in your life that could cause you great trouble, maybe even death.
death can also mean to a way of life or situation, not just physical.