{
  "x402Version": 2,
  "id": 38845,
  "slug": "38845",
  "resource": "https://api.magentlab.com/api/calc/rome_iv_child_fecal_incontinence",
  "description": "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.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "defecation_into_places_inappropriate_to_sociocultural_context": true,
                "developmental_age_older_than_4_years": true,
                "duration_at_least_1_month": true,
                "no_evidence_of_fecal_retention": true,
                "not_explained_by_another_condition": true
              },
              {
                "defecation_into_places_inappropriate_to_sociocultural_context": true,
                "developmental_age_older_than_4_years": true,
                "duration_at_least_1_month": true,
                "no_evidence_of_fecal_retention": true,
                "not_explained_by_another_condition": true
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M",
                  "doi": "10.1053/j.gastro.2016.02.015",
                  "id": "hyams-2016",
                  "pmid": "27144632",
                  "source": "Gastroenterology. 2016;150(6):1456-1468",
                  "title": "Childhood Functional Gastrointestinal Disorders: Child/Adolescent"
                },
                "criteria": [
                  {
                    "factor": "developmental_age_older_than_4_years",
                    "met": true
                  },
                  {
                    "factor": "duration_at_least_1_month",
                    "met": true
                  },
                  {
                    "factor": "defecation_into_places_inappropriate_to_sociocultural_context",
                    "met": true
                  },
                  {
                    "factor": "no_evidence_of_fecal_retention",
                    "met": true
                  },
                  {
                    "factor": "not_explained_by_another_condition",
                    "met": true
                  }
                ],
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "rome_iv_child_fecal_incontinence",
                "formula_expression": "rome_iv_child_fecal_incontinence iff developmental_age_older_than_4_years and duration_at_least_1_month and defecation_into_places_inappropriate_to_sociocultural_context and no_evidence_of_fecal_retention and not_explained_by_another_condition (Hyams 2016 Rome IV H3b Nonretentive Fecal Incontinence)",
                "rome_iv_child_fecal_incontinence": true
              },
              {
                "citation": {
                  "authors": "Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M",
                  "doi": "10.1053/j.gastro.2016.02.015",
                  "id": "hyams-2016",
                  "pmid": "27144632",
                  "source": "Gastroenterology. 2016;150(6):1456-1468",
                  "title": "Childhood Functional Gastrointestinal Disorders: Child/Adolescent"
                },
                "criteria": [
                  {
                    "factor": "developmental_age_older_than_4_years",
                    "met": true
                  },
                  {
                    "factor": "duration_at_least_1_month",
                    "met": true
                  },
                  {
                    "factor": "defecation_into_places_inappropriate_to_sociocultural_context",
                    "met": true
                  },
                  {
                    "factor": "no_evidence_of_fecal_retention",
                    "met": true
                  },
                  {
                    "factor": "not_explained_by_another_condition",
                    "met": true
                  }
                ],
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "rome_iv_child_fecal_incontinence",
                "formula_expression": "rome_iv_child_fecal_incontinence iff developmental_age_older_than_4_years and duration_at_least_1_month and defecation_into_places_inappropriate_to_sociocultural_context and no_evidence_of_fecal_retention and not_explained_by_another_condition (Hyams 2016 Rome IV H3b Nonretentive Fecal Incontinence)",
                "rome_iv_child_fecal_incontinence": true
              }
            ],
            "path": "/api/calc/rome_iv_child_fecal_incontinence"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "defecation_into_places_inappropriate_to_sociocultural_context": {
                          "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.",
                          "type": "boolean"
                        },
                        "developmental_age_older_than_4_years": {
                          "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.",
                          "type": "boolean"
                        },
                        "duration_at_least_1_month": {
                          "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.",
                          "type": "boolean"
                        },
                        "no_evidence_of_fecal_retention": {
                          "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.",
                          "type": "boolean"
                        },
                        "not_explained_by_another_condition": {
                          "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.",
                          "type": "boolean"
                        }
                      },
                      "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"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "rome-iv-child-fecal-incontinence",
    "nonretentive-fi",
    "gi",
    "rome-iv",
    "h3b",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T13:07:17.394Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T13:07:17.26Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "defecation_into_places_inappropriate_to_sociocultural_context": true,
                  "developmental_age_older_than_4_years": true,
                  "duration_at_least_1_month": true,
                  "no_evidence_of_fecal_retention": true,
                  "not_explained_by_another_condition": true
                },
                {
                  "defecation_into_places_inappropriate_to_sociocultural_context": true,
                  "developmental_age_older_than_4_years": true,
                  "duration_at_least_1_month": true,
                  "no_evidence_of_fecal_retention": true,
                  "not_explained_by_another_condition": true
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M",
                    "doi": "10.1053/j.gastro.2016.02.015",
                    "id": "hyams-2016",
                    "pmid": "27144632",
                    "source": "Gastroenterology. 2016;150(6):1456-1468",
                    "title": "Childhood Functional Gastrointestinal Disorders: Child/Adolescent"
                  },
                  "criteria": [
                    {
                      "factor": "developmental_age_older_than_4_years",
                      "met": true
                    },
                    {
                      "factor": "duration_at_least_1_month",
                      "met": true
                    },
                    {
                      "factor": "defecation_into_places_inappropriate_to_sociocultural_context",
                      "met": true
                    },
                    {
                      "factor": "no_evidence_of_fecal_retention",
                      "met": true
                    },
                    {
                      "factor": "not_explained_by_another_condition",
                      "met": true
                    }
                  ],
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "rome_iv_child_fecal_incontinence",
                  "formula_expression": "rome_iv_child_fecal_incontinence iff developmental_age_older_than_4_years and duration_at_least_1_month and defecation_into_places_inappropriate_to_sociocultural_context and no_evidence_of_fecal_retention and not_explained_by_another_condition (Hyams 2016 Rome IV H3b Nonretentive Fecal Incontinence)",
                  "rome_iv_child_fecal_incontinence": true
                },
                {
                  "citation": {
                    "authors": "Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M",
                    "doi": "10.1053/j.gastro.2016.02.015",
                    "id": "hyams-2016",
                    "pmid": "27144632",
                    "source": "Gastroenterology. 2016;150(6):1456-1468",
                    "title": "Childhood Functional Gastrointestinal Disorders: Child/Adolescent"
                  },
                  "criteria": [
                    {
                      "factor": "developmental_age_older_than_4_years",
                      "met": true
                    },
                    {
                      "factor": "duration_at_least_1_month",
                      "met": true
                    },
                    {
                      "factor": "defecation_into_places_inappropriate_to_sociocultural_context",
                      "met": true
                    },
                    {
                      "factor": "no_evidence_of_fecal_retention",
                      "met": true
                    },
                    {
                      "factor": "not_explained_by_another_condition",
                      "met": true
                    }
                  ],
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "rome_iv_child_fecal_incontinence",
                  "formula_expression": "rome_iv_child_fecal_incontinence iff developmental_age_older_than_4_years and duration_at_least_1_month and defecation_into_places_inappropriate_to_sociocultural_context and no_evidence_of_fecal_retention and not_explained_by_another_condition (Hyams 2016 Rome IV H3b Nonretentive Fecal Incontinence)",
                  "rome_iv_child_fecal_incontinence": true
                }
              ],
              "path": "/api/calc/rome_iv_child_fecal_incontinence"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "defecation_into_places_inappropriate_to_sociocultural_context": {
                            "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.",
                            "type": "boolean"
                          },
                          "developmental_age_older_than_4_years": {
                            "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.",
                            "type": "boolean"
                          },
                          "duration_at_least_1_month": {
                            "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.",
                            "type": "boolean"
                          },
                          "no_evidence_of_fecal_retention": {
                            "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.",
                            "type": "boolean"
                          },
                          "not_explained_by_another_condition": {
                            "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.",
                            "type": "boolean"
                          }
                        },
                        "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"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}