{"uid":"cap_N4j9SvRHlFEC27UstbamJ","slug":"rome-iv-functional-dyspepsia-fd-criteria-calculator-b2864038","name":"Rome IV Functional Dyspepsia (FD) Criteria Calculator","description":"Stanghellini 2016 Rome IV B1 FD. rome_iv_fd is true iff last-3-months criteria with 6-month onset, no structural disease likely to explain symptoms, and PDS (B1a) and/or EPS (B1b). pds iff fullness and/or early satiation >=3 days/week. eps iff epigastric pain and/or burning >=1 day/week. Overlap allowed. Caller assigns six flags. magent does not examine the patient. Not a diagnosis, not Rome III dyspepsia, not Rome IV IBS.","url":"https://api.magentlab.com/api/calc/rome_iv_fd","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":["criteria_last_3_months_onset_6_months","no_structural_disease","bothersome_postprandial_fullness_ge_3_days_week","bothersome_early_satiation_ge_3_days_week","bothersome_epigastric_pain_ge_1_day_week","bothersome_epigastric_burning_ge_1_day_week"],"properties":{"no_structural_disease":{"type":"boolean","description":"No evidence of structural disease (including at upper endoscopy) likely to explain the symptoms, as assigned by the caller (Stanghellini 2016 B1). true or false. magent does not examine the patient or interpret endoscopy."},"criteria_last_3_months_onset_6_months":{"type":"boolean","description":"Criteria fulfilled for the last 3 months with symptom onset at least 6 months prior to diagnosis, as assigned (Stanghellini 2016 B1). true or false as assigned by the caller. magent does not take a history."},"bothersome_epigastric_pain_ge_1_day_week":{"type":"boolean","description":"Bothersome epigastric pain at least 1 day per week (B1b EPS item; one or both EPS items required for EPS). true or false as assigned by the caller. magent does not examine the patient."},"bothersome_early_satiation_ge_3_days_week":{"type":"boolean","description":"Bothersome early satiation at least 3 days per week (B1a PDS item; one or both PDS items required for PDS). true or false as assigned by the caller. magent does not examine the patient."},"bothersome_epigastric_burning_ge_1_day_week":{"type":"boolean","description":"Bothersome epigastric burning at least 1 day per week (B1b EPS item; one or both EPS items required for EPS). true or false as assigned by the caller. magent does not examine the patient."},"bothersome_postprandial_fullness_ge_3_days_week":{"type":"boolean","description":"Bothersome postprandial fullness at least 3 days per week (B1a PDS item; one or both PDS items required for PDS). true or false as assigned by the caller. magent does not examine the patient."}}}},"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_dh0txmQvUSH2oasd-IoUU","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 caller-assigned clinical flags to determine whether a patient meets Rome IV B1 criteria for Functional Dyspepsia (FD), including PDS and EPS subtypes","exampleAgentPrompt":"Check Rome IV functional dyspepsia criteria for a patient: symptoms have been present for the last 3 months with onset at least 6 months ago, no structural disease was found, the patient has bothersome postprandial fullness 3+ days per week, no early satiation, no epigastric pain, and no epigastric burning — does this patient meet FD criteria and which subtype?","exampleUseCases":[{"title":"GI clinic FD subtype triage","prompt":"I need to classify a patient for functional dyspepsia under Rome IV: criteria met for last 3 months with 6-month onset, no structural disease on endoscopy, postprandial fullness is present 4 days a week, early satiation 3 days a week, but no epigastric pain or burning — do they have FD and is it PDS or EPS?"},{"title":"Clinical research eligibility screening","prompt":"We're screening patients for a functional dyspepsia trial — this subject has 6-month symptom onset, criteria confirmed for 3 months, structural disease ruled out, epigastric pain 2 days a week, epigastric burning 1 day a week, no fullness or early satiation. Can you run the Rome IV FD check and tell us if they qualify and under which subtype?"},{"title":"EHR documentation automation","prompt":"For this patient's chart, confirm Rome IV FD status: symptoms ongoing 3 months, onset 7 months ago, no structural disease found, no postprandial fullness, no early satiation, bothersome epigastric burning on 3 days per week, no epigastric pain — please calculate if they meet Rome IV functional dyspepsia criteria."}],"resultDescription":"Returns boolean flags indicating whether the patient meets overall Rome IV FD criteria (rome_iv_fd), and whether they qualify for the PDS subtype (postprandial distress syndrome based on fullness and/or early satiation ≥3 days/week) and/or EPS subtype (epigastric pain syndrome based on pain and/or burning ≥1 day/week). Overlap between subtypes is permitted per Rome IV.","failureModes":["Missing any of the six required boolean query parameters returns a validation error","Non-boolean values for any flag result in a schema error","Network or server errors return standard HTTP error codes","Caller misassignment of flags will produce clinically incorrect results — the API trusts caller input without validation"],"whenToPreferThis":"Use this endpoint when you need a fast, rule-based Rome IV B1 Functional Dyspepsia classification from pre-assessed clinical flags. It implements the exact Stanghellini 2016 criteria and distinguishes PDS from EPS subtypes, which Rome III did not. Prefer this over manual lookup when embedding clinical scoring into a workflow, EHR pipeline, or research screening tool. Not suitable for diagnosing patients directly — a clinician must assign the input flags.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:11:51.579Z","isFirstParty":false}