A sociologist of religion has interviewed 21 young patients diagnosed with a life-threatening cancer about their religious beliefs.