Valarie/The Doctor is dying. Only the Doctor/Valarie can save Valarie/the Doctor, but for her/him to survive, the Doctor/Valarie will have to die in her/his place.
For the Doctor/Valarie, this is journey's end.
See All 1567 Episodes of "Who?"