Development of a swallowable capsule for detection of intestinal bleeding