An interactive app that monitors children’s heart rates is helping take the fear out of hospital visits.