What is an upper endoscopy and how should one prepare for it?

### What is an Upper Endoscopy? An upper endoscopy, also known as an esophagogastroduodenoscopy (EGD), is a procedure where a thin, flexible tube with a light and camera (endoscope) is used to examine the inside of the upper digestive tract. This includes the esophagus, stomach, and the first part of the small intestine (duodenum). The procedure helps diagnose and sometimes treat conditions like anemia, persistent heartburn, vomiting, swallowing problems, and unexplained weight loss. ### Why is it Done? Upper endoscopy is more accurate than X-rays for detecting issues like inflammation, ulcers, and tumors. It can also treat certain conditions during the procedure, such as removing polyps, dilating narrowed areas, and treating bleeding. ### How to Prepare? 1. **Medical History:** Inform your doctor if you are pregnant, have heart or lung conditions, take blood thinners, or have allergies. 2. **Medications:** You may need to adjust medications, especially if you have diabetes. Bring your diabetes medication to the appointment. 3. **Fasting:** Do not eat or drink anything for 8 hours before the procedure. 4. **Transportation:** Arrange for someone to drive you home as the sedation will impair your ability to drive. ### During the Procedure - You will wear a hospital gown and remove eyeglasses and dentures. - A local anesthetic may be applied to your throat. - You will lie on your left side, and the endoscope will be inserted through your mouth into your stomach. - The procedure usually takes 15-20 minutes. ### After the Procedure - You will stay in a recovery room for about 30 minutes. - You may have a sore throat temporarily. - The doctor will discuss the results with you and send them to your primary care provider. - If you experience severe pain, fever, or vomiting within 72 hours, contact your doctor immediately. ### Risks Serious risks are rare but can include excessive bleeding or a tear in the esophagus or stomach wall.