The medical specialty that is concerned with hernias is herniology.