When a nuclear accident or terrorist attack affects thousands of people, medical teams face an impossible question: who was exposed to life-threatening radiation doses and who can safely go home?