Put some simple flow-measuring equipment into a typical western toilet. Add optical and mass analysis equipment into the out-stream. Auto-detect/calculate/report some of the assorted properties of human waste that may be indicative of pathology. Red blood in the stool might be worth an alert on the first detect, while something simple like overly-darkened urine might be considered a sign of dehydration only after multiple excrement events.
If you want to get extra-fancy, I’m sure pulse readings, body weight, and so forth could be read off of pressure sensors in the toilet seat. This could be a way of determining current seat occupant…