{"uid":"cap_AJSPICVFitAqQ8FVN6nBT","slug":"rome-iv-functional-chest-pain-criteria-calculator-aziz-2016-6e2e7f3e","name":"Rome IV Functional Chest Pain Criteria Calculator (Aziz 2016)","description":"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.","url":"https://api.magentlab.com/api/calc/rome_iv_chest_pain","method":"GET","headers":{},"bodySchema":{"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","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9888N4bDtxOqXGSUNYxWB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates six Rome IV criteria flags to determine whether a patient meets the diagnosis of functional chest pain per Aziz 2016 guidelines.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"GI clinic Rome IV triage","prompt":"I have a patient in GI clinic: retrosternal chest pain confirmed, cardiac ruled out, no heartburn or dysphagia, not explained by GERD or EOE, no major esophageal motor disorder, criteria present for the past 3 months, and onset was about 8 months ago. Do they satisfy Rome IV functional chest pain?"},{"title":"EMR decision support integration","prompt":"For this chart: retrosternal pain present and cardiac causes ruled out — true; no associated heartburn or dysphagia — true; not explained by GERD or eosinophilic esophagitis — true; no major esophageal motor disorder — true; last 3 months criteria met — true; onset at least 6 months — false. Does this patient meet Aziz 2016 Rome IV functional chest pain criteria?"},{"title":"Research cohort eligibility screening","prompt":"I'm screening patients for a functional chest pain study. This subject has retrosternal chest pain (cardiac ruled out), no heartburn or dysphagia, symptoms not attributable to GERD or EOE, normal manometry, but the criteria have only been met for 2 months and onset was 4 months ago. Run the Rome IV functional chest pain rule — does she qualify?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:10:53.323Z","isFirstParty":false}