How does Apple Health record defecation?

There is no function of recording defecation. According to Apple official website, Apple Health is an app that centrally views and manages health data. However, Apple Health does not directly record the function of defecation. If you want to record defecation, you need to use a third-party application or accessory.