Method could help doctors treat children's fevers