The medical specialty that is concerned with the liver is hepatology.