Original: In his own book Kitchener's Last Volunteer Allingham confirmed that he was intending to leave his body to medical science.
Simplified: Allingham planned to leave his body to medical science.