{"uid":"cap_vUjQ59ZgY6VQwVNME-DXR","slug":"rome-iv-functional-heartburn-calculator-aziz-2016-41b13cc8","name":"Rome IV Functional Heartburn Calculator (Aziz 2016)","description":"Aziz 2016 Rome IV functional heartburn. rome_iv_heartburn is true iff burning retrosternal discomfort, no relief despite optimal antisecretory therapy, 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 prescribe PPI or read pH-impedance. Not a diagnosis, not globus, not reflux hypersensitivity, not Rome IV IBS.","url":"https://api.magentlab.com/api/calc/rome_iv_heartburn","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":["burning_retrosternal_discomfort","no_relief_despite_optimal_antisecretory_therapy","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 read pH-impedance."},"burning_retrosternal_discomfort":{"type":"boolean","description":"Burning retrosternal discomfort or pain, 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 interpret manometry."},"no_relief_despite_optimal_antisecretory_therapy":{"type":"boolean","description":"No symptom relief despite optimal antisecretory therapy, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not prescribe PPI."}}}},"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_dQxY9ntUSkWWWXVnXbv1A","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 whether a patient meets the Rome IV criteria for functional heartburn based on six caller-assigned boolean flags","exampleAgentPrompt":"Check if this patient meets Rome IV functional heartburn criteria (Aziz 2016): they have burning retrosternal discomfort, no symptom relief despite optimal antisecretory therapy, symptoms are not explained by GERD or eosinophilic esophagitis, no major esophageal motor disorder is present, criteria have been fulfilled for the last 3 months, and symptom onset was at least 6 months ago.","exampleUseCases":[{"title":"Functional heartburn workup for refractory PPI patient","prompt":"My patient has burning retrosternal pain that isn't relieved despite optimal PPI therapy. GERD and eosinophilic esophagitis have been ruled out, there's no major esophageal motor disorder, criteria have been present for the last 3 months, and onset was over 6 months ago. Do they meet Rome IV functional heartburn criteria?"},{"title":"Rome IV criteria audit for GI clinic records","prompt":"I need to verify Rome IV functional heartburn classification for a patient in our records: retrosternal discomfort is present (true), no PPI relief (true), GERD/EoE ruled out (true), no motor disorder (true), but criteria have only been met for 2 months (fulfilled_last_3_months = false) and onset was 8 months ago. Do they qualify?"},{"title":"Distinguishing functional heartburn from reflux hypersensitivity","prompt":"For a patient under evaluation, all six Rome IV functional heartburn flags are true — burning retrosternal discomfort, failure of antisecretory therapy, not explained by GERD or EoE, no major motor disorder, three-month criteria met, and six-month onset confirmed. Does Rome IV classify this as functional heartburn rather than reflux hypersensitivity or globus?"}],"resultDescription":"Returns a boolean field rome_iv_heartburn indicating whether the patient satisfies all Rome IV functional heartburn criteria per Aziz 2016. True only when all six input flags are true. No diagnosis, prescription, or clinical interpretation is provided.","failureModes":["Missing any of the six required boolean query parameters returns a validation error","Passing non-boolean values for flags causes a schema validation failure","Caller misclassifying flags (e.g. not having actually ruled out GERD) leads to clinically invalid results — the API cannot verify clinical inputs","Network or payment failure (x402 micropayment not settled) may block the request"],"whenToPreferThis":"Use this endpoint when you have already gathered all six Rome IV functional heartburn criteria from a clinician or structured clinical record and need a reliable, rule-based computation of whether the patient meets the Aziz 2016 Rome IV definition. Prefer this over general LLM reasoning for Rome IV criteria to ensure exact algorithmic fidelity to the published standard. Do not use this to diagnose patients, prescribe therapy, interpret pH-impedance, or differentiate from globus or reflux hypersensitivity — those require separate clinical assessment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:11:38.437Z","isFirstParty":false}