# Rome IV H3b Child Fecal Incontinence Criteria Calculator

> Rome IV H3b Child Fecal Incontinence Criteria Calculator is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Evaluates five Rome IV H3b diagnostic criteria flags to determine whether a child meets the Hyams 2016 definition of functional non-retentive fecal incontinence

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/rome_iv_child_fecal_incontinence
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rome-iv-h3b-child-fecal-incontinence-criteria-calculator-e9da9eca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uYDAmp1PNPNgA-XWJktX9

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability rome-iv-h3b-child-fecal-incontinence-criteria-calculator-e9da9eca
```

Example prompt: Using the Rome IV H3b criteria, check if my patient meets the criteria for child functional non-retentive fecal incontinence: developmental age is over 4 years, symptoms have lasted at least 1 month, defecation in inappropriate places is present, there is no evidence of fecal retention, and no other medical condition explains it.

## When to prefer this

Use this endpoint when a clinician or clinical decision support agent has already assessed and assigned all five Rome IV H3b boolean flags for a pediatric patient and needs to compute whether the H3b (non-retentive fecal incontinence) criteria are met. Prefer over general clinical NLP or LLM-based reasoning when you need a deterministic, reference-faithful application of the Hyams 2016 Rome IV H3b algorithm. Do not use for adult Rome IV F1 fecal incontinence (Rao 2016), for H3a functional constipation, or when fecal retention has not yet been evaluated.

## Known failure modes

- Missing any of the five required boolean query parameters returns a validation error
- Passing non-boolean values for flags causes schema rejection
- Conflating this endpoint with adult Rome IV F1 criteria (Rao 2016) leads to wrong algorithm selection
- Confusing H3b with H3a functional constipation — this endpoint excludes fecal retention cases

## How this service works

Hyams 2016 Rome IV H3b. rome_iv_child_fecal_incontinence is true iff developmental_age_older_than_4_years, duration_at_least_1_month, defecation_into_places_inappropriate_to_sociocultural_context, no_evidence_of_fecal_retention, and not_explained_by_another_condition. Item 2 is exclusion of fecal retention, not a symptom count. Duration is 1 month. Caller assigns five flags. magent does not examine the child. Not a diagnosis, not H3a functional constipation, not adult Rao 2016 F1.

## Output

Returns a boolean rome_iv_child_fecal_incontinence indicating whether all five Rome IV H3b criteria are simultaneously satisfied: developmental age older than 4 years, duration at least 1 month, defecation into places inappropriate to sociocultural context, no evidence of fecal retention, and the condition not explained by another medical condition. All five must be true for the result to be true.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "developmental_age_older_than_4_years",
      "duration_at_least_1_month",
      "defecation_into_places_inappropriate_to_sociocultural_context",
      "no_evidence_of_fecal_retention",
      "not_explained_by_another_condition"
     ],
     "properties": {
      "duration_at_least_1_month": {
       "type": "boolean",
       "description": "At least a 1-month history (Rome IV shortened from 2 months), as assigned (Hyams 2016 Rome IV H3b). true or false as assigned by the caller. magent does not examine the child."
      },
      "no_evidence_of_fecal_retention": {
       "type": "boolean",
       "description": "No evidence of fecal retention, as assigned (Hyams 2016 Rome IV H3b item 2; exclusion of retention, not a symptom count). true or false as assigned by the caller. magent does not examine the child."
      },
      "not_explained_by_another_condition": {
       "type": "boolean",
       "description": "After appropriate medical evaluation, the fecal incontinence cannot be explained by another medical condition, as assigned (Hyams 2016 Rome IV H3b item 3). true or false as assigned by the caller. magent does not examine the child."
      },
      "developmental_age_older_than_4_years": {
       "type": "boolean",
       "description": "Developmental age older than 4 years, as assigned (Hyams 2016 Rome IV H3b). true or false as assigned by the caller. magent does not examine the child."
      },
      "defecation_into_places_inappropriate_to_sociocultural_context": {
       "type": "boolean",
       "description": "Defecation into places inappropriate to the sociocultural context, as assigned (Hyams 2016 Rome IV H3b item 1). true or false as assigned by the caller. magent does not examine the child."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "str
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rome-iv-h3b-child-fecal-incontinence-criteria-calculator-e9da9eca/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
