{
  "x402Version": 2,
  "id": 38847,
  "slug": "38847",
  "resource": "https://api.magentlab.com/api/calc/rome_iv_child_dyspepsia",
  "description": "Hyams 2016 Rome IV H2a. True iff bothersome ≥4 days/month, symptoms_met ≥1 of 3 (postprandial fullness, early satiation, epigastric pain or burning not associated with defecation), exclusion, and 2-month duration. Item 4 is the exclusion, not a fourth symptom. PDS and EPS supportive features are copy-only. Caller assigns six flags. magent does not examine the child or parse EGD. Not a diagnosis. Not adult Rome IV FD.",
  "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": [
              {
                "bothersome_at_least_4_days_per_month": true,
                "early_satiation": false,
                "epigastric_pain_or_burning_not_associated_with_defecation": false,
                "fulfilled_at_least_2_months": true,
                "not_explained_by_another_condition": true,
                "postprandial_fullness": true
              },
              {
                "bothersome_at_least_4_days_per_month": true,
                "early_satiation": false,
                "epigastric_pain_or_burning_not_associated_with_defecation": false,
                "fulfilled_at_least_2_months": true,
                "not_explained_by_another_condition": true,
                "postprandial_fullness": 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": "bothersome_at_least_4_days_per_month",
                    "met": true
                  },
                  {
                    "factor": "postprandial_fullness",
                    "met": true
                  },
                  {
                    "factor": "early_satiation",
                    "met": false
                  },
                  {
                    "factor": "epigastric_pain_or_burning_not_associated_with_defecation",
                    "met": false
                  },
                  {
                    "factor": "not_explained_by_another_condition",
                    "met": true
                  },
                  {
                    "factor": "fulfilled_at_least_2_months",
                    "met": true
                  },
                  {
                    "factor": "symptoms_met_ge_1",
                    "met": true,
                    "value": 1
                  }
                ],
                "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_dyspepsia",
                "formula_expression": "rome_iv_child_dyspepsia iff bothersome_at_least_4_days_per_month and symptoms_met >= 1 and not_explained_by_another_condition and fulfilled_at_least_2_months; symptoms_met counts postprandial_fullness, early_satiation, and epigastric_pain_or_burning_not_associated_with_defecation; H2a item 4 is the exclusion not_explained_by_another_condition, not a fourth symptom; PDS and EPS subtype supportive features are copy-only and are not parsed (Hyams 2016 Rome IV H2a Functional Dyspepsia)",
                "rome_iv_child_dyspepsia": true,
                "symptoms_met": 1
              },
              {
                "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": "bothersome_at_least_4_days_per_month",
                    "met": true
                  },
                  {
                    "factor": "postprandial_fullness",
                    "met": true
                  },
                  {
                    "factor": "early_satiation",
                    "met": false
                  },
                  {
                    "factor": "epigastric_pain_or_burning_not_associated_with_defecation",
                    "met": false
                  },
                  {
                    "factor": "not_explained_by_another_condition",
                    "met": true
                  },
                  {
                    "factor": "fulfilled_at_least_2_months",
                    "met": true
                  },
                  {
                    "factor": "symptoms_met_ge_1",
                    "met": true,
                    "value": 1
                  }
                ],
                "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_dyspepsia",
                "formula_expression": "rome_iv_child_dyspepsia iff bothersome_at_least_4_days_per_month and symptoms_met >= 1 and not_explained_by_another_condition and fulfilled_at_least_2_months; symptoms_met counts postprandial_fullness, early_satiation, and epigastric_pain_or_burning_not_associated_with_defecation; H2a item 4 is the exclusion not_explained_by_another_condition, not a fourth symptom; PDS and EPS subtype supportive features are copy-only and are not parsed (Hyams 2016 Rome IV H2a Functional Dyspepsia)",
                "rome_iv_child_dyspepsia": true,
                "symptoms_met": 1
              }
            ],
            "path": "/api/calc/rome_iv_child_dyspepsia"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "bothersome_at_least_4_days_per_month": {
                          "description": "Bothersome symptoms at least 4 days per month, as assigned (Hyams 2016 Rome IV H2a). true or false as assigned by the caller. magent does not examine the child.",
                          "type": "boolean"
                        },
                        "early_satiation": {
                          "description": "Early satiation (one of three H2a symptoms; at least one required). true or false as assigned by the caller. magent does not examine the child.",
                          "type": "boolean"
                        },
                        "epigastric_pain_or_burning_not_associated_with_defecation": {
                          "description": "Epigastric pain or burning not associated with defecation (one of three H2a symptoms; at least one required). true or false as assigned by the caller. magent does not examine the child.",
                          "type": "boolean"
                        },
                        "fulfilled_at_least_2_months": {
                          "description": "Criteria fulfilled for at least 2 months prior to diagnosis, as assigned (Hyams 2016 Rome IV H2a). true or false as assigned by the caller. magent does not take a history.",
                          "type": "boolean"
                        },
                        "not_explained_by_another_condition": {
                          "description": "After appropriate evaluation, the symptoms cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H2a item 4, the exclusion, not a fourth symptom). true or false as assigned by the caller. magent does not examine the child or parse EGD.",
                          "type": "boolean"
                        },
                        "postprandial_fullness": {
                          "description": "Postprandial fullness (one of three H2a symptoms; at least one required). true or false as assigned by the caller. magent does not examine the child.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "bothersome_at_least_4_days_per_month",
                        "postprandial_fullness",
                        "early_satiation",
                        "epigastric_pain_or_burning_not_associated_with_defecation",
                        "not_explained_by_another_condition",
                        "fulfilled_at_least_2_months"
                      ],
                      "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-dyspepsia",
    "child-dyspepsia",
    "gi",
    "rome-iv",
    "h2a",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T13:07:15.511Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T13:07:15.354Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "bothersome_at_least_4_days_per_month": true,
                  "early_satiation": false,
                  "epigastric_pain_or_burning_not_associated_with_defecation": false,
                  "fulfilled_at_least_2_months": true,
                  "not_explained_by_another_condition": true,
                  "postprandial_fullness": true
                },
                {
                  "bothersome_at_least_4_days_per_month": true,
                  "early_satiation": false,
                  "epigastric_pain_or_burning_not_associated_with_defecation": false,
                  "fulfilled_at_least_2_months": true,
                  "not_explained_by_another_condition": true,
                  "postprandial_fullness": 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": "bothersome_at_least_4_days_per_month",
                      "met": true
                    },
                    {
                      "factor": "postprandial_fullness",
                      "met": true
                    },
                    {
                      "factor": "early_satiation",
                      "met": false
                    },
                    {
                      "factor": "epigastric_pain_or_burning_not_associated_with_defecation",
                      "met": false
                    },
                    {
                      "factor": "not_explained_by_another_condition",
                      "met": true
                    },
                    {
                      "factor": "fulfilled_at_least_2_months",
                      "met": true
                    },
                    {
                      "factor": "symptoms_met_ge_1",
                      "met": true,
                      "value": 1
                    }
                  ],
                  "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_dyspepsia",
                  "formula_expression": "rome_iv_child_dyspepsia iff bothersome_at_least_4_days_per_month and symptoms_met >= 1 and not_explained_by_another_condition and fulfilled_at_least_2_months; symptoms_met counts postprandial_fullness, early_satiation, and epigastric_pain_or_burning_not_associated_with_defecation; H2a item 4 is the exclusion not_explained_by_another_condition, not a fourth symptom; PDS and EPS subtype supportive features are copy-only and are not parsed (Hyams 2016 Rome IV H2a Functional Dyspepsia)",
                  "rome_iv_child_dyspepsia": true,
                  "symptoms_met": 1
                },
                {
                  "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": "bothersome_at_least_4_days_per_month",
                      "met": true
                    },
                    {
                      "factor": "postprandial_fullness",
                      "met": true
                    },
                    {
                      "factor": "early_satiation",
                      "met": false
                    },
                    {
                      "factor": "epigastric_pain_or_burning_not_associated_with_defecation",
                      "met": false
                    },
                    {
                      "factor": "not_explained_by_another_condition",
                      "met": true
                    },
                    {
                      "factor": "fulfilled_at_least_2_months",
                      "met": true
                    },
                    {
                      "factor": "symptoms_met_ge_1",
                      "met": true,
                      "value": 1
                    }
                  ],
                  "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_dyspepsia",
                  "formula_expression": "rome_iv_child_dyspepsia iff bothersome_at_least_4_days_per_month and symptoms_met >= 1 and not_explained_by_another_condition and fulfilled_at_least_2_months; symptoms_met counts postprandial_fullness, early_satiation, and epigastric_pain_or_burning_not_associated_with_defecation; H2a item 4 is the exclusion not_explained_by_another_condition, not a fourth symptom; PDS and EPS subtype supportive features are copy-only and are not parsed (Hyams 2016 Rome IV H2a Functional Dyspepsia)",
                  "rome_iv_child_dyspepsia": true,
                  "symptoms_met": 1
                }
              ],
              "path": "/api/calc/rome_iv_child_dyspepsia"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "bothersome_at_least_4_days_per_month": {
                            "description": "Bothersome symptoms at least 4 days per month, as assigned (Hyams 2016 Rome IV H2a). true or false as assigned by the caller. magent does not examine the child.",
                            "type": "boolean"
                          },
                          "early_satiation": {
                            "description": "Early satiation (one of three H2a symptoms; at least one required). true or false as assigned by the caller. magent does not examine the child.",
                            "type": "boolean"
                          },
                          "epigastric_pain_or_burning_not_associated_with_defecation": {
                            "description": "Epigastric pain or burning not associated with defecation (one of three H2a symptoms; at least one required). true or false as assigned by the caller. magent does not examine the child.",
                            "type": "boolean"
                          },
                          "fulfilled_at_least_2_months": {
                            "description": "Criteria fulfilled for at least 2 months prior to diagnosis, as assigned (Hyams 2016 Rome IV H2a). true or false as assigned by the caller. magent does not take a history.",
                            "type": "boolean"
                          },
                          "not_explained_by_another_condition": {
                            "description": "After appropriate evaluation, the symptoms cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H2a item 4, the exclusion, not a fourth symptom). true or false as assigned by the caller. magent does not examine the child or parse EGD.",
                            "type": "boolean"
                          },
                          "postprandial_fullness": {
                            "description": "Postprandial fullness (one of three H2a symptoms; at least one required). true or false as assigned by the caller. magent does not examine the child.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "bothersome_at_least_4_days_per_month",
                          "postprandial_fullness",
                          "early_satiation",
                          "epigastric_pain_or_burning_not_associated_with_defecation",
                          "not_explained_by_another_condition",
                          "fulfilled_at_least_2_months"
                        ],
                        "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"
  }
}