Thank you, I have spent quite some time reading the Tibetan Book of Living and Dying, as well as the (English translation) of the Tibetan Book of the Dead. Before I found those sources, I had found the rewritten version found in the Psychedelic Experience by Timothy Leary and Richard Alpert in my youth when I was interested in LSD. There are quite a few parallels between what I've heard from those close to me that were dying, psychedelic experiences of my own and friends, as well as a near death experience I had myself. I have found the amount of memory that can be recalled from the unconscious to be amazing. The "life flashing before my eyes" was something I fully experienced, and I somehow recalled even minor events over 16 years of my life (I was 16 when I had my near death experience).
Whether or not someone believes this to be real or a hallucination, it is still a human experience, and should at least be treated with respect. I think it's perfectly fine to not believe that it is something higher than brain function, but in Buddhism there is the concept of non-duality.