A type of endoscopy that uses a pill-sized camera to take images of the middle of your gastrointestinal tract. You swallow the capsule, and the camera inside takes pictures as it goes through your small intestine. A capsule endoscopy can be used to help your doctor diagnose or rule out certain conditions like gastrointestinal cancer, Crohn’s disease, celiac disease, and ulcers.