The medical specialty that is concerned with digestive system is gastroenterology.