As in now and before open surgeries are used, from the scar of the surgery and the place you can know what surgery the patient have done, just from the inspection of the scar a past-surgery history can be made. This picture illustrates most of these scars. Note that nowadays most of the surgical procedures are done by using laparoscopy techniques which are almost scar free compared to open surgery.