# Rome IV Functional Chest Pain Criteria Calculator (Aziz 2016)

> Rome IV Functional Chest Pain Criteria Calculator (Aziz 2016) 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-14).

Evaluates six Rome IV criteria flags to determine whether a patient meets the diagnosis of functional chest pain per Aziz 2016 guidelines.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/rome_iv_chest_pain
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rome-iv-functional-chest-pain-criteria-calculator-aziz-2016-6e2e7f3e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AJSPICVFitAqQ8FVN6nBT

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-functional-chest-pain-criteria-calculator-aziz-2016-6e2e7f3e
```

Example prompt: My patient has retrosternal chest pain with cardiac causes already ruled out, no heartburn or dysphagia, symptoms not explained by GERD or eosinophilic esophagitis, no major esophageal motor disorder on manometry, criteria met for the last 3 months, and onset more than 6 months ago — do they meet Rome IV functional chest pain criteria?

## When to prefer this

Use this endpoint when you have already collected all six Rome IV criteria flags from a clinician or structured clinical record and need a programmatic, reproducible classification of functional chest pain per Aziz 2016. Prefer this over manual lookup when building clinical decision support tools, EMR integrations, or research cohort screening pipelines. Do not use this endpoint to rule out cardiac causes (ACS), interpret manometry, or distinguish functional chest pain from functional heartburn, reflux hypersensitivity, or globus.

## Known failure modes

- Missing any of the six required boolean query parameters returns an error
- Non-boolean values for flags result in validation failure
- Network or payment authorization issues return HTTP 402 or 4xx errors

## How this service works

Aziz 2016 Rome IV functional chest pain. rome_iv_chest_pain is true iff retrosternal chest pain or discomfort, no associated heartburn or dysphagia, not explained by GERD or eosinophilic esophagitis, no major esophageal motor disorder, last-3-months criteria, and 6-month onset. Caller assigns six flags, including cardiac rule-out. magent does not examine the patient, rule out ACS, or read manometry. Not a diagnosis, not functional heartburn, not reflux hypersensitivity, not globus.

## Output

Returns a boolean field rome_iv_chest_pain indicating whether all six Rome IV criteria for functional chest pain (Aziz 2016) are simultaneously satisfied. True means all flags are true and the patient meets the Rome IV definition; false means one or more criteria are not met. Does not provide a clinical diagnosis, does not distinguish from functional heartburn, reflux hypersensitivity, or globus, and does not perform any patient examination or manometry interpretation.

## 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": [
      "retrosternal_chest_pain_or_discomfort",
      "no_associated_heartburn_or_dysphagia",
      "not_explained_by_gerd_or_eoe",
      "no_major_esophageal_motor_disorder",
      "fulfilled_last_3_months",
      "onset_at_least_6_months"
     ],
     "properties": {
      "fulfilled_last_3_months": {
       "type": "boolean",
       "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."
      },
      "onset_at_least_6_months": {
       "type": "boolean",
       "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."
      },
      "not_explained_by_gerd_or_eoe": {
       "type": "boolean",
       "description": "Symptoms not explained by GERD or eosinophilic esophagitis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient."
      },
      "no_major_esophageal_motor_disorder": {
       "type": "boolean",
       "description": "Absence of a major esophageal motor disorder, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not read manometry."
      },
      "no_associated_heartburn_or_dysphagia": {
       "type": "boolean",
       "description": "Absence of associated esophageal symptoms such as heartburn and dysphagia, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient."
      },
      "retrosternal_chest_pain_or_discomfort": {
       "type": "boolean",
       "description": "Retrosternal chest pain or discomfort; cardiac causes ruled out by the caller (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient or rule out ACS."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rome-iv-functional-chest-pain-criteria-calculator-aziz-2016-6e2e7f3e/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)
