Whenever you have bile duct surgery, your surgeon may implant a T-tube to help drain bile while the wound heals. The T-tube is connected to a bag outside of your body that collects the bile straight from the duct. A T-tube may also be used to detect stones or other abnormalities inside your bile ducts using contrast dye.
Usually, the T-tube is left inside you for several weeks. It is only removed after an X-ray shows that you are sufficiently healed and have no stones present.
Your nurse will assist you in recovery by explaining how often to empty your drainage bag as well as how to flush your tube with saline. He or she will monitor the wound and also help you record the amount of fluid draining from your bag.