Design Of Medical Devices For Diagnostics In The Gastrointestinal System