{
  "x402Version": 2,
  "id": 39053,
  "slug": "39053",
  "resource": "https://api.magentlab.com/api/calc/rome_iv_functional_dysphagia",
  "description": "Aziz 2016 Rome IV functional dysphagia. rome_iv_functional_dysphagia is true iff sense of food sticking or passing abnormally, no mucosal or structural abnormality, not explained by GERD or eosinophilic esophagitis, no major esophageal motor disorder, last-3-months criteria, and 6-month onset. Caller assigns six flags. magent does not read barium, endoscopy, or manometry. Not a diagnosis, not globus, not oropharyngeal dysphagia. Minor or borderline motor disorders remain compatible.",
  "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": [
              {
                "fulfilled_last_3_months": true,
                "no_major_esophageal_motor_disorder": true,
                "no_mucosal_or_structural_abnormality": true,
                "not_explained_by_gerd_or_eoe": true,
                "onset_at_least_6_months": true,
                "sense_of_food_sticking_or_passing_abnormally": true
              },
              {
                "fulfilled_last_3_months": true,
                "no_major_esophageal_motor_disorder": true,
                "no_mucosal_or_structural_abnormality": true,
                "not_explained_by_gerd_or_eoe": true,
                "onset_at_least_6_months": true,
                "sense_of_food_sticking_or_passing_abnormally": true
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F",
                  "doi": "10.1053/j.gastro.2016.02.012",
                  "id": "aziz-2016",
                  "pmid": "27144654",
                  "source": "Gastroenterology. 2016;150(6):1368-1379",
                  "title": "Esophageal Disorders"
                },
                "criteria": [
                  {
                    "factor": "sense_of_food_sticking_or_passing_abnormally",
                    "met": true
                  },
                  {
                    "factor": "no_mucosal_or_structural_abnormality",
                    "met": true
                  },
                  {
                    "factor": "not_explained_by_gerd_or_eoe",
                    "met": true
                  },
                  {
                    "factor": "no_major_esophageal_motor_disorder",
                    "met": true
                  },
                  {
                    "factor": "fulfilled_last_3_months",
                    "met": true
                  },
                  {
                    "factor": "onset_at_least_6_months",
                    "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_functional_dysphagia",
                "formula_expression": "rome_iv_functional_dysphagia iff sense_of_food_sticking_or_passing_abnormally and no_mucosal_or_structural_abnormality and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV functional dysphagia)",
                "rome_iv_functional_dysphagia": true
              },
              {
                "citation": {
                  "authors": "Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F",
                  "doi": "10.1053/j.gastro.2016.02.012",
                  "id": "aziz-2016",
                  "pmid": "27144654",
                  "source": "Gastroenterology. 2016;150(6):1368-1379",
                  "title": "Esophageal Disorders"
                },
                "criteria": [
                  {
                    "factor": "sense_of_food_sticking_or_passing_abnormally",
                    "met": true
                  },
                  {
                    "factor": "no_mucosal_or_structural_abnormality",
                    "met": true
                  },
                  {
                    "factor": "not_explained_by_gerd_or_eoe",
                    "met": true
                  },
                  {
                    "factor": "no_major_esophageal_motor_disorder",
                    "met": true
                  },
                  {
                    "factor": "fulfilled_last_3_months",
                    "met": true
                  },
                  {
                    "factor": "onset_at_least_6_months",
                    "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_functional_dysphagia",
                "formula_expression": "rome_iv_functional_dysphagia iff sense_of_food_sticking_or_passing_abnormally and no_mucosal_or_structural_abnormality and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV functional dysphagia)",
                "rome_iv_functional_dysphagia": true
              }
            ],
            "path": "/api/calc/rome_iv_functional_dysphagia"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "fulfilled_last_3_months": {
                          "description": "Criteria fulfilled for the last 3 months, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.",
                          "type": "boolean"
                        },
                        "no_major_esophageal_motor_disorder": {
                          "description": "Absence of a major esophageal motor disorder, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not interpret manometry. Minor or borderline motor disorders remain compatible.",
                          "type": "boolean"
                        },
                        "no_mucosal_or_structural_abnormality": {
                          "description": "Absence of evidence that esophageal mucosal or structural abnormality is the cause, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not read endoscopy or barium.",
                          "type": "boolean"
                        },
                        "not_explained_by_gerd_or_eoe": {
                          "description": "Symptoms not explained by GERD or eosinophilic esophagitis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not read endoscopy.",
                          "type": "boolean"
                        },
                        "onset_at_least_6_months": {
                          "description": "Symptom onset at least 6 months prior to diagnosis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.",
                          "type": "boolean"
                        },
                        "sense_of_food_sticking_or_passing_abnormally": {
                          "description": "Sense of solid and/or liquid foods sticking, lodging, or passing abnormally through the esophagus, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "sense_of_food_sticking_or_passing_abnormally",
                        "no_mucosal_or_structural_abnormality",
                        "not_explained_by_gerd_or_eoe",
                        "no_major_esophageal_motor_disorder",
                        "fulfilled_last_3_months",
                        "onset_at_least_6_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-functional-dysphagia",
    "functional-dysphagia",
    "gi",
    "esophageal",
    "rome-iv",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T08:01:22.938Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T08:01:22.807Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "fulfilled_last_3_months": true,
                  "no_major_esophageal_motor_disorder": true,
                  "no_mucosal_or_structural_abnormality": true,
                  "not_explained_by_gerd_or_eoe": true,
                  "onset_at_least_6_months": true,
                  "sense_of_food_sticking_or_passing_abnormally": true
                },
                {
                  "fulfilled_last_3_months": true,
                  "no_major_esophageal_motor_disorder": true,
                  "no_mucosal_or_structural_abnormality": true,
                  "not_explained_by_gerd_or_eoe": true,
                  "onset_at_least_6_months": true,
                  "sense_of_food_sticking_or_passing_abnormally": true
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F",
                    "doi": "10.1053/j.gastro.2016.02.012",
                    "id": "aziz-2016",
                    "pmid": "27144654",
                    "source": "Gastroenterology. 2016;150(6):1368-1379",
                    "title": "Esophageal Disorders"
                  },
                  "criteria": [
                    {
                      "factor": "sense_of_food_sticking_or_passing_abnormally",
                      "met": true
                    },
                    {
                      "factor": "no_mucosal_or_structural_abnormality",
                      "met": true
                    },
                    {
                      "factor": "not_explained_by_gerd_or_eoe",
                      "met": true
                    },
                    {
                      "factor": "no_major_esophageal_motor_disorder",
                      "met": true
                    },
                    {
                      "factor": "fulfilled_last_3_months",
                      "met": true
                    },
                    {
                      "factor": "onset_at_least_6_months",
                      "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_functional_dysphagia",
                  "formula_expression": "rome_iv_functional_dysphagia iff sense_of_food_sticking_or_passing_abnormally and no_mucosal_or_structural_abnormality and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV functional dysphagia)",
                  "rome_iv_functional_dysphagia": true
                },
                {
                  "citation": {
                    "authors": "Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F",
                    "doi": "10.1053/j.gastro.2016.02.012",
                    "id": "aziz-2016",
                    "pmid": "27144654",
                    "source": "Gastroenterology. 2016;150(6):1368-1379",
                    "title": "Esophageal Disorders"
                  },
                  "criteria": [
                    {
                      "factor": "sense_of_food_sticking_or_passing_abnormally",
                      "met": true
                    },
                    {
                      "factor": "no_mucosal_or_structural_abnormality",
                      "met": true
                    },
                    {
                      "factor": "not_explained_by_gerd_or_eoe",
                      "met": true
                    },
                    {
                      "factor": "no_major_esophageal_motor_disorder",
                      "met": true
                    },
                    {
                      "factor": "fulfilled_last_3_months",
                      "met": true
                    },
                    {
                      "factor": "onset_at_least_6_months",
                      "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_functional_dysphagia",
                  "formula_expression": "rome_iv_functional_dysphagia iff sense_of_food_sticking_or_passing_abnormally and no_mucosal_or_structural_abnormality and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV functional dysphagia)",
                  "rome_iv_functional_dysphagia": true
                }
              ],
              "path": "/api/calc/rome_iv_functional_dysphagia"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "fulfilled_last_3_months": {
                            "description": "Criteria fulfilled for the last 3 months, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.",
                            "type": "boolean"
                          },
                          "no_major_esophageal_motor_disorder": {
                            "description": "Absence of a major esophageal motor disorder, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not interpret manometry. Minor or borderline motor disorders remain compatible.",
                            "type": "boolean"
                          },
                          "no_mucosal_or_structural_abnormality": {
                            "description": "Absence of evidence that esophageal mucosal or structural abnormality is the cause, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not read endoscopy or barium.",
                            "type": "boolean"
                          },
                          "not_explained_by_gerd_or_eoe": {
                            "description": "Symptoms not explained by GERD or eosinophilic esophagitis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not read endoscopy.",
                            "type": "boolean"
                          },
                          "onset_at_least_6_months": {
                            "description": "Symptom onset at least 6 months prior to diagnosis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.",
                            "type": "boolean"
                          },
                          "sense_of_food_sticking_or_passing_abnormally": {
                            "description": "Sense of solid and/or liquid foods sticking, lodging, or passing abnormally through the esophagus, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "sense_of_food_sticking_or_passing_abnormally",
                          "no_mucosal_or_structural_abnormality",
                          "not_explained_by_gerd_or_eoe",
                          "no_major_esophageal_motor_disorder",
                          "fulfilled_last_3_months",
                          "onset_at_least_6_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"
  }
}