A 15-year-old rugby player died less than a day after grazing his shin during a match, a judicial hearing has revealed.