To confirm that a hernia is present, certain tests may be needed. An exploratory puncture can be made to differentiate hernias from cysts or abscesses. X-rays can be used to identify the organ that is involved. Generally, the bladder, uterus or intestines can become trapped in the inguinal canal. If the intestines have become obstructed, an exploratory laparotomy may be performed. General anesthesia will be needed for many of these tests, and will be used in the herniorrhaphy.
One incision is usually needed even if multiple hernias exist. The hernia sac will be opened and the contents examined. Any adhesions that exist will then be removed. The protruding organ will be returned to its original position. If a section of the intestines has died due to a strangulated hernia, deceased tissue will have to be removed and the intestines reconnected. The opening in the abdominal muscles may need to be enlarged in order for the organ to be repositioned. The sac is then trimmed and sutured shut with a drain put in place to empty the remaining contents.