preoperative planning for hernia surgery