You are a helpful, respectful, and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
What is Colonoscopy and explain in detail?
Colonoscopy () or coloscopy () is the endoscopic examination of the large bowel and the distal part of the small bowel with a CCD camera or a fiber optic camera on a flexible tube passed through the anus. It can provide a visual diagnosis (e.g., ulceration, polyps) and grants the opportunity for biopsy or removal of suspected colorectal cancer lesions.
Colonoscopy can remove polyps smaller than one millimeter. Once polyps are removed, they can be studied with the aid of a microscope to determine if they are precancerous or not. It can take up to 15 years for a polyp to turn cancerous.Colonoscopy is similar to sigmoidoscopy—the difference being related to which parts of the colon each can examine. A colonoscopy allows an examination of the entire colon (1,200–1,500 mm in length). A sigmoidoscopy allows an examination of the distal portion (about 600 mm) of the colon, which may be sufficient because benefits to cancer survival of colonoscopy have been limited to the detection of lesions in the distal portion of the colon.A sigmoidoscopy is often used as a screening procedure for a full colonoscopy, often done in conjunction with a fecal occult blood test (FOBT). About 5% of these screened patients are referred to colonoscopy.Virtual colonoscopy, which uses 2D and 3D imagery reconstructed from computed tomography (CT) scans or from nuclear magnetic resonance (MR) scans, is also possible, as a totally non-invasive medical test. Virtual colonoscopy does not allow therapeutic maneuvers such as polyp and tumour removal or biopsy, nor visualization of lesions smaller than five millimeters; if a growth or polyp is detected using CT colonography, it would require removal during a standard colonoscopy. Surgeons have used the term pouchoscopy to refer to a colonoscopy of the ileo-anal pouch.

Medical uses
Conditions that call for colonoscopies include gastrointestinal hemorrhage, unexplained changes in bowel habit and suspicion of malignancy. Colonoscopies are often used to diagnose colon polyp and colon cancer, but are also frequently used to diagnose inflammatory bowel disease. In older patients (sometimes even younger ones) an unexplained drop in hematocrit (one sign of anemia) is an indication that calls for a colonoscopy, usually along with an esophagogastroduodenoscopy (EGD), even if no obvious blood has been seen in the stool (feces).Fecal occult blood is a quick test which can be done to test for microscopic traces of blood in the stool. A positive test is almost always an indication to do a colonoscopy. In most cases the positive result is just due to hemorrhoids; however, it can also be due to diverticulosis, inflammatory bowel disease (Crohns disease, ulcerative colitis), colon cancer, or polyps. Colonic polypectomy has become a routine part of colonoscopy, allowing quick and simple removal of polyps during the procedure, without invasive surgery.

Colon cancer screening
Colonoscopy is one of the colorectal cancer screening tests available to people in the US who are 45 years of age and older. The other screening tests include flexible sigmoidoscopy, double-contrast barium enema, computed tomographic (CT) colongraphy (virtual colonoscopy), guaiac-based fecal occult blood test (gFOBT), fecal immunochemical test (FIT), and multitarget stool DNA screening test (Cologuard).Subsequent rescreenings are then scheduled based on the initial results found, with a five- or ten-year recall being common for colonoscopies that produce normal results. People with a family history of colon cancer are often first screened during their teenage years.
Among people who have had an initial colonoscopy that found no polyps, the risk of developing colorectal cancer within five years is extremely low. Therefore, there is no need for those people to have another colonoscopy sooner than five years after the first screening.Some medical societies in the US recommend a screening colonoscopy every 10 years beginning at age 50 for adults without increased risk for colorectal cancer. Research shows that the risk of cancer is low for 10 years if a high-quality colonoscopy does not detect cancer, so tests for this purpose are indicated every ten years.Colonoscopy screening prevents approximately two-thirds of deaths due to colorectal cancers on the left side of the colon, and is not associated with a significant reduction in deaths from right-sided disease.Colonoscopy reduces cancer rates by detecting some colon polyps and cancers on the left side of the colon early enough that they may be treated, and a smaller number on the right side; many of these left-sided growths would have been detected by a sigmoidoscopy procedure.Since polyps often take 10 to 15 years to transform into cancer in someone at average risk of colorectal cancer, guidelines recommend 10 years after a normal screening colonoscopy before the next colonoscopy. (This interval does not apply to people at high risk of colorectal cancer, or to those who experience symptoms of colorectal cancer.)Although widely touted in the US as the "gold standard" of colon cancer screening, colonoscopy has never been studied as a screening tool. Most of the potential benefits of colonoscopy have been extrapolated from randomized trials of the sigmoidoscopy. The CONFIRM trial, a randomized trial on colonoscopy vs. FIT is currently ongoing.

Recommendations
The American Cancer Society recommends, beginning at age 45, both men and women follow one of these testing schedules for screening to find colon polyps and/or cancer:
Flexible sigmoidoscopy every 5 years, or
Colonoscopy every 10 years, or
Double-contrast barium enema every 5 years, or
CT colonography (virtual colonoscopy) every 5 years
Yearly guaiac-based fecal occult blood test (gFOBT)
Yearly fecal immunochemical test (FIT)
Stool DNA test (sDNA) every 3 years

Medicare coverage
In the United States, Medicare insurance covers the following colorectal-cancer screening tests:
Colonoscopy: average risk — every 10 years beginning at age 50, high risk — every 2 years with no age restriction
Flexible sigmoidoscopy — every 4 years beginning at age 50
Double-contrast barium enema: average risk  — every 4 years beginning at age 50, high risk — every 2 years
(CT) colongraphy: not covered by Medicare
gFOBT: average risk — every year beginning at age 50
FIT: average risk — every year beginning at age 50
Cologuard: average risk — every 3 years beginning at age 50

Risks
About 1 in 200 people who undergo a colonoscopy experience a serious complication. Perforation of the colon occurs in about 1 in 2000 procedures, bleeding in 2.6 per 1000, and death in 3 per 100,000, with an overall risk of serious complications of 0.35%.In some low-risk populations screening by colonoscopy in the absence of symptoms does not outweigh the risks of the procedure. For example, the odds of developing colorectal cancer between the ages of 20 and 40 in the absence of specific risk factors are about 1 in 1,250 (0.08%).The rate of complications varies with the practitioner and institution performing the procedure, and other variables.

Perforation
The most serious complication generally is gastrointestinal perforation, which is life-threatening and in most cases requires immediate major surgery for repair. Fewer than 20% of cases may be successfully managed with a conservative (non-surgical) approach.A 2003 analysis of the relative risks of sigmoidoscopy and colonoscopy brought into attention that the risk of perforation after colonoscopy is approximately double that after sigmoidoscopy (consistent with the fact that colonoscopy examines a longer section of the colon), a difference that appeared to be decreasing.

Bleeding
Bleeding complications may be treated immediately during the procedure by cauterization using the instrument. Delayed bleeding may also occur at the site of polyp removal up to a week after the procedure, and a repeat procedure can then be performed to treat the bleeding site. Even more rarely, splenic rupture can occur after colonoscopy because of adhesions between the colon and the spleen.

Anaesthesia
As with any procedure involving anaesthesia, other complications would include cardiopulmonary complications such as a temporary drop in blood pressure and oxygen saturation usually the result of overmedication, and are easily reversed. Anesthesia can also increase the risk of developing blood clots and lead to pulmonary embolism or deep venous thrombosis. (DVT)  In rare cases, more serious cardiopulmonary events such as a heart attack, stroke, or even death may occur; these are extremely rare except in critically ill patients with multiple risk factors. In rare cases, coma associated with anesthesia may occur.

Bowel preparation
Dehydration caused by the laxatives that are usually administered during the bowel preparation for colonoscopy also may occur. Therefore, patients must drink large amounts of fluids during the day of colonoscopy preparation to prevent dehydration. Loss of electrolytes or dehydration is a potential risk that can even prove deadly. In rare cases, severe dehydration can lead to kidney damage or dysfunction under the form of phosphate nephropathy.

Other
Virtual colonoscopies carry risks that are associated with radiation exposure.Colonoscopy preparation and colonoscopy procedure can cause inflammation of the bowels and diarrhea or bowel obstruction.During colonoscopies where a polyp is removed (a polypectomy), the risk of complications has been higher, although still low at about 2.3 percent.  One of the most serious complications that may arise after colonoscopy is the postpolypectomy syndrome. This syndrome occurs due to potential burns to the bowel wall when the polyp is removed, and may cause fever and abdominal pain. It is a rare complication, treated with intravenous fluids and antibiotics.
Bowel infections are a potential colonoscopy risk, although rare. The colon is not a sterile environment; many bacteria that normally live in the colon ensure the well-functioning of the bowel, and the risk of infections is minimal. Infections can occur during biopsies when too much tissue is removed and bacteria protrude in areas they do not belong to, or in cases when the lining of the colon is perforated and the bacteria get into the abdominal cavity.  Infection may also be transmitted between patients if the colonoscope is not cleaned and sterilized properly between tests.
Minor colonoscopy risks may include nausea, vomiting or allergies to the sedatives that are used. If medication is given intravenously, the vein may become irritated. Most localized irritations to the vein leave a tender lump lasting a number of days but going away eventually. The incidence of these complications is less than 1%.
On rare occasions, intracolonic explosion may occur. A meticulous bowel preparation is the key to prevent this complication.Signs of complications include severe abdominal pain, fevers and chills, or rectal bleeding (more than half a cup or 100ml).

Procedure
Preparation
The colon must be free of solid matter for the test to be performed properly. For one to three days, the patient is required to follow a low fiber or clear-liquid-only diet. Examples of clear fluids are apple juice, chicken and/or beef broth or bouillon, lemon-lime soda, lemonade, sports drink, and water. It is important that the patient remains hydrated. Sports drinks contain electrolytes which are depleted during the purging of the bowel. Drinks containing fiber such as prune and orange juice  should not be consumed, nor should liquids dyed red, purple, orange, or sometimes brown; however, cola is allowed. In most cases, tea or coffee taken without milk are allowed.The day before the colonoscopy, the patient is either given a laxative preparation (such as bisacodyl, phospho soda, sodium picosulfate, or sodium phosphate and/or magnesium citrate) and large quantities of fluid, or whole bowel irrigation is performed using a solution of polyethylene glycol and electrolytes. The procedure may involve both a pill-form laxative and a bowel irrigation preparation with the polyethylene glycol powder dissolved into any clear liquid, such as a sports drink that contains electrolytes.

A typical procedure regimen then would be as follows: in the morning of the day before the procedure, a 238 g bottle of polyethylene glycol powder should be poured into 1.9 litres (64 oz.) of the chosen clear liquid, which then should be mixed and refrigerated.  Two bisacodyl 5 mg tablets are taken 3 pm; at 5 pm, the patient starts drinking the mixture (approx. 8 oz. (0.5 litres) each 15-30 min. until finished); at 8 pm, take two bisacodyl 5 mg tablets; continue drinking/hydrating into the evening until bedtime with clear permitted fluids. The procedure may be scheduled early in the day so the patient need not go without food and only limited fluids until later.The goal of the preparation is to clear the colon of solid matter, and the patient may be advised to spend the day at home with ready access to toilet facilities.  The patient may also want to have at hand moist towelettes or a bidet for cleaning the anus.  A soothing salve such as petroleum jelly applied after cleaning the anus will reduce discomfort.
The patient may be asked not to take aspirin or similar products such as salicylate, ibuprofen, etc. for up to ten days before the procedure to avoid the risk of bleeding if a polypectomy is performed during the procedure. A blood test may be performed before the procedure.

Investigation
During the procedure the patient is often given sedation intravenously, employing agents such as fentanyl or midazolam. Although meperidine (Demerol) may be used as an alternative to fentanyl, the concern of seizures has relegated this agent to second choice for sedation behind the combination of fentanyl and midazolam. The average person will receive a combination of these two drugs, usually between 25 and 100 µg IV fentanyl and 1–4 mg IV midazolam. Sedation practices vary between practitioners and nations; in some clinics in Norway, sedation is rarely administered.Some endoscopists are experimenting with, or routinely use, alternative or additional methods such as nitrous oxide and propofol, which have advantages and disadvantages relating to recovery time (particularly the duration of amnesia after the procedure is complete), patient experience, and the degree of supervision needed for safe administration. This sedation is called "twilight anesthesia". For some patients it is not fully effective, so they are indeed awake for the procedure and can watch the inside of their colon on the color monitor. Substituting propofol for midazolam, which gives the patient quicker recovery, is gaining wider use, but requires closer monitoring of respiration.
A meta-analysis found that playing music improves tolerability to patients of the procedure.The first step is usually a digital rectal examination, to examine the tone of the sphincter and to determine if preparation has been adequate. The endoscope is then passed through the anus up the rectum, the colon (sigmoid, descending, transverse and ascending colon, the cecum), and ultimately the terminal ileum. The endoscope has a movable tip and multiple channels for instrumentation, air, suction and light. The bowel is occasionally insufflated with air to maximize visibility (a procedure that gives the patient the false sensation of needing to take a bowel movement). Biopsies are frequently taken for histology. Additionally in a procedure known as chromoendoscopy, a contrast-dye (such as indigo carmine) may be sprayed through the endoscope onto the bowel wall to help visualise any abnormalities in the mucosal morphology. A Cochrane review updated in 2016 found strong evidence that chromoscopy enhances the detection of cancerous tumours in the colon and rectum.In most experienced hands, the endoscope is advanced to the junction of where the colon and small bowel join up (cecum) in under 10 minutes in 95% of cases. Due to tight turns and redundancy in areas of the colon that are not "fixed", loops may form in which advancement of the endoscope creates a "bowing" effect that causes the tip to actually retract. These loops often result in discomfort due to stretching of the colon and its associated mesentery. Manoeuvres to "reduce" or remove the loop include pulling the endoscope backwards while twisting it. Alternatively, body position changes and abdominal support from external hand pressure can often "straighten" the endoscope to allow the scope to move forward. In a minority of patients, looping is often cited as a cause for an incomplete examination. Usage of alternative instruments leading to completion of the examination has been investigated, including use of pediatric colonoscope, push enteroscope and upper GI endoscope variants.For screening purposes, a closer visual inspection is then often performed upon withdrawal of the endoscope over the course of 20 to 25 minutes. Lawsuits over missed cancerous lesions have recently prompted some institutions to better document withdrawal time as rapid withdrawal times may be a source of potential medical legal liability. This is often a real concern in clinical settings where high caseloads could provide financial incentive to complete colonoscopies as quickly as possible.
Suspicious lesions may be cauterized, treated with laser light or cut with an electric wire for purposes of biopsy or complete removal polypectomy. Medication can be injected, e.g. to control bleeding lesions. The procedure typically takes 20–30 minutes, depending on the indication and findings; with multiple polypectomies or biopsies, procedure times may be longer. As mentioned above, anatomic considerations may also affect procedure times.
After the procedure, some recovery time is usually allowed to let the sedative wear off. Outpatient recovery time can take an estimated 30–60 minutes. Most facilities require that patients have a person with them to help them home afterwards (depending on the sedation method used).
One common after-effect from the procedure is a bout of flatulence and minor wind pain caused by air insufflation into the colon during the procedure.
An advantage of colonoscopy over X-ray imaging or other less invasive tests is the ability to perform therapeutic interventions during the test. A polyp is a growth of excess of tissue that can develop into cancer. If a polyp is found, for example, it can be removed by one of several techniques. A snare device can be placed around a polyp for removal. Even if the polyp is flat on the surface it can often be removed. For example, the following shows a polyp removed in stages:

Pain management
The pain associated with the procedure is not caused by the insertion of the scope but rather by the inflation of the colon in order to do the inspection. The scope itself is essentially a long, flexible tube about a centimeter in diameter — that is, as big around as the little finger, which is less than the diameter of an average stool.
The colon is wrinkled and corrugated, somewhat like an accordion or a clothes-dryer exhaust tube, which gives it the large surface area needed for water absorption. In order to inspect this surface thoroughly, the physician blows it up like a balloon, using air from a compressor or carbon dioxide from a gas bottle (CO2 is absorbed into the bloodstream through the mucosal lining of the colon much faster than air and then exhaled through the lungs which is associated with less post procedural pain), in order to get the creases out. The stomach, intestines, and colon have a so-called "second brain" wrapped around them, which autonomously runs the chemical factory of digestion. It uses complex hormone signals and nerve signals to communicate with the brain and the rest of the body. Normally a colons job is to digest food and regulate the intestinal flora. The harmful bacteria in rancid food, for example, creates gas.
The colon has distension sensors that can tell when there is unexpected gas pushing the colon walls out—thus the "second brain" tells the person that he or she is having intestinal difficulties by way of the sensation of nausea. Doctors typically recommend either total anesthesia or a partial twilight sedative to either preclude or to lessen the patients awareness of pain or discomfort, or just the unusual sensations of the procedure. Once the colon has been inflated, the doctor inspects it with the scope as it is slowly pulled backward. If any polyps are found they are then cut out for later biopsy.
Some doctors prefer to work with totally anesthetized patients inasmuch as the lack of any perceived pain or discomfort allows for a leisurely examination. Twilight sedation is, however, inherently safer than general anesthesia; it also allows the patients to follow simple commands and even to watch the procedure on a closed-circuit monitor. Tens of millions of adults annually need to have colonoscopies, and yet many dont because of concerns about the procedure.Colonoscopy can be carried out without any sedation and without problems with pain, which is practised in several institutions in many countries with the patients agreement. This allows the patient to shift the body position to help the doctor carry out the procedure and significantly reduces recovery time and side-effects. There is some discomfort when the colon is distended with air, but this is not usually particularly painful, and it passes relatively quickly. Unsedated patients can be released from the hospital on their own without any feelings of nausea, able to continue with normal activities, and without the need for an escort as recommended after sedation.

Ultrasound
Duodenography and colonography are performed like a standard abdominal examination using B-mode and color flow Doppler ultrasonography using a low frequency transducer — for example a 2.5 MHz — and a high frequency transducer, for example a 7.5 MHz probe. Detailed examination of duodenal walls and folds, colonic walls and haustra was performed using a 7.5 MHz probe. Deeply located abdominal structures were examined using 2.5 MHz probe. All ultrasound examinations are performed after overnight fasting (for at least 16 hours) using standard scanning procedure. Subjects are examined with and without water contrast. Water contrast imaging is performed by having adult subjects take at least one liter of water prior to examination. Patients are examined in the supine, left posterior oblique, and left lateral decubitus positions using the intercostal and subcostal approaches. The liver, gall bladder, spleen, pancreas, duodenum, colon, and kidneys are routinely evaluated in all patients.
With patient lying supine, the examination of the duodenum with high frequency ultrasound duodenography is performed with 7.5 MHz probe placed in the right upper abdomen, and central epigastric successively; for high frequency ultrasound colonography, the ascending colon, is examined with starting point usually midway of an imaginary line running from the iliac crest to the umbilicus and proceeding cephalid through the right mid abdomen; for the descending colon, the examination begins from the left upper abdomen proceeding caudally and traversing the left mid abdomen and left lower abdomen, terminating at the sigmoid colon in the lower pelvic region. Color flow Doppler sonography is used to examine the localization of lesions in relation to vessels. All measurements of diameter and wall thickness are performed with built-in software. Measurements are taken between peristaltic waves.

Economics
Researchers have found that older patients with three or more significant health problems, like dementia or heart failure, had high rates of repeat colonoscopies without medical indications. These patients are less likely to live long enough to develop colon cancer. Gordon states, "At about $1,000 per procedure, theres clearly an economic incentive".The Hemoccult II FOBT (combined with follow-up colonoscopy if indicated by the test) is over 5 times as cost effective as other screening strategies, but is only about 85% as sensitive. Because of this relatively low sensitivity, US guidelines advocate the over 5 times more expensive procedures instead, because even the relatively small increase in lives saved and 5-fold cost increase is seen as worth choosing, given US living standards.

History
In the 1960s, Dr. Niwa and Dr. Yamagata at Tokyo University developed the device. After 1968, Dr. William Wolff and Dr. Hiromi Shinya pioneered the development of the colonoscope. Their invention, in 1969 in Japan, was an advance over the barium enema and the flexible sigmoidoscope because it allowed for the visualization and removal of polyps from the entire large intestine. Wolff and Shinya advocated for their invention and published much of the early evidence needed to overcome skepticism about the devices safety and efficacy.
Colonoscopy with CCD invention and market is led by Fuji film, Olympus and Hoya in Japan. In 1982, Dr. Lawrence Kaplan of Aspen Medical Group in St. Paul, MN reported a series of 100 consecutive colonoscopies and upper endoscopies performed in a free-standing clinic miles from the nearest hospital, demonstrating the safety and cost effectiveness of these outpatient procedures. (Personal communication to the Joint Commission on Ambulatory Care, May 1983)

Etymology
The terms colonoscopy or coloscopy are derived from the ancient Greek noun κόλον, same as English colon, and the verb σκοπεῖν, look (in)to, examine. The term colonoscopy is however ill-constructed, as this form supposes that the first part of the compound consists of a possible root κολων- or κολον-, with the connecting vowel -o, instead of the root κόλ- of κόλον. A compound such as κολωνοειδής, like a hill, (with the additional -on-) is derived from the ancient Greek word κολώνη or κολωνός, hill. Similarly, colonoscopy (with the additional -on-) can literally be translated as examination of the hill, instead of the examination of the colon.
In English, multiple words exist that are derived from κόλον, such as colectomy, colocentesis, colopathy, and colostomy among many others, that actually lack the incorrect additional -on-. A few compound words such as colonopathy have doublets with -on- inserted.

See also
References
Further reading
Gupta S, Lieberman D, Anderson JC, Burke CA, Dominitz JA, Kaltenbach T,  et al. (March 2020). "Recommendations for Follow-Up After Colonoscopy and Polypectomy: A Consensus Update by the US Multi-Society Task Force on Colorectal Cancer". Gastroenterology. 158 (4): 1131–1153.e5. doi:10.1053/j.gastro.2019.10.026. PMC 7672705. PMID 32044092.
Gupta S, Lieberman D, Anderson JC, Burke CA, Dominitz JA, Kaltenbach T,  et al