Passage

Passage is a 2002 novel by Connie Willis.

Joanna Lander is a psychologist studying what people experience when they have near death experiences and becomes frustrated when many show signs of giving inaccurate information (especially after having talked to Dr. Maurice Mandrake, whose methods are less scientific than Joanna's).

Then Dr. Richard Wright contacts her and tells her he has found a drug that can simulate an NDE and invites her to interview the patients after they take the drug. After finding there aren't enough volunteers, however, Joanna decides to give herself the drug...but when she does, she finds the experience much different than she imagines. She finds herself on what seems to be the RMS Titanic.

Much, much Better Than It Sounds.

Tropes:

 * Anyone Can Die: Even the.
 * Bittersweet Ending:
 * Dying Dream:
 * Famous Last Words:
 * Flatline Plotline
 * Hospital Hottie: Richard Wright, definitely. Multiple women comment on how cute he is.
 * In Mysterious Ways
 * Littlest Cancer Patient: Maisie Nellis.
 * Near-Death Experience: What Joanna and Richard are studying.
 * Shipper on Deck: Maisie, near the end of the book.  Too bad there's no word on whether she's successful.
 * Smug Snake: Dr. Maurice Mandrake.
 * Doorstopper: 800 pages.