Well, with an infrared chemical tester, you could theoretically detect adrenaline and such in the body, and be able to know how to respond, or alternatively the heart could always be beating at like, 210 beats per minute, and you could be well over the limit 24/7, but honestly I don't think they really do that; you could theoretically respond by measuring the old hearts response, or what's left of it, or basically have some form of chemical tester.