Don't change your views, at worst it is hypoxia at best it could be used as proof of life after death. Nothing, and I repeat, nothing, to do with a "superior" being or "god like" figure. Certainly nothing to do with so called "heaven" or religion.
It would be nice to think that the inner part, the "me" survives after physical death.
So don't let this freak you out, you will see similar in the future.
I was told this story by a nurse who witnessed it and swore it was true - no reason to lie.
She was working in a Cardio-thoracic unit in UK. Lots of sick patients. One lady was expected to die very shortly. Another patient asked what was happening and was told about the imminent death. She replied, "Oh no, she isn't going to die tonight, but she is," pointing at another patient. When told that there was no way that lady was going to die as she was well and recovering fine the patient replied, "No, I can see all her family around her waiting for her. The sick lady does not have anyone there." I should add that there was no family visible to nursing staff. Very shortly the well patient did die and the sick patient survived.
So take from that what you will but do not go all religious or get worried because of one strange episode.