By measuring absorption of light by the blood (by passing the light through one fibre and collecting the light through another fibre) a doctor can estimate the proportion of haemoglobin in the blood and diagnose ulceration in the stomach.
Disinfection is essential for all types of endoscopes.