"Surgery is important but was the work of the medieval surgeon experimenting on corpses really relevant to the modern understanding of medicine?"
It actually sort-of was, because slow aggregation of knowledge about anatomy helped undermine a lot of the old Galenic dogmas.