Mylo Capilla had previously been given the all-clear from cancer, an inquest hears.