{"uid":"cap_vidpSD6-e86jCwgBTkMTd","slug":"rome-iv-h2a-pediatric-functional-dyspepsia-calculator-02e96e85","name":"Rome IV H2a Pediatric Functional Dyspepsia Calculator","description":"Hyams 2016 Rome IV H2a. True iff bothersome ≥4 days/month, symptoms_met ≥1 of 3 (postprandial fullness, early satiation, epigastric pain or burning not associated with defecation), exclusion, and 2-month duration. Item 4 is the exclusion, not a fourth symptom. PDS and EPS supportive features are copy-only. Caller assigns six flags. magent does not examine the child or parse EGD. Not a diagnosis. Not adult Rome IV FD.","url":"https://api.magentlab.com/api/calc/rome_iv_child_dyspepsia","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":["bothersome_at_least_4_days_per_month","postprandial_fullness","early_satiation","epigastric_pain_or_burning_not_associated_with_defecation","not_explained_by_another_condition","fulfilled_at_least_2_months"],"properties":{"early_satiation":{"type":"boolean","description":"Early satiation (one of three H2a symptoms; at least one required). true or false as assigned by the caller. magent does not examine the child."},"postprandial_fullness":{"type":"boolean","description":"Postprandial fullness (one of three H2a symptoms; at least one required). true or false as assigned by the caller. magent does not examine the child."},"fulfilled_at_least_2_months":{"type":"boolean","description":"Criteria fulfilled for at least 2 months prior to diagnosis, as assigned (Hyams 2016 Rome IV H2a). true or false as assigned by the caller. magent does not take a history."},"not_explained_by_another_condition":{"type":"boolean","description":"After appropriate evaluation, the symptoms cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H2a item 4, the exclusion, not a fourth symptom). true or false as assigned by the caller. magent does not examine the child or parse EGD."},"bothersome_at_least_4_days_per_month":{"type":"boolean","description":"Bothersome symptoms at least 4 days per month, as assigned (Hyams 2016 Rome IV H2a). true or false as assigned by the caller. magent does not examine the child."},"epigastric_pain_or_burning_not_associated_with_defecation":{"type":"boolean","description":"Epigastric pain or burning not associated with defecation (one of three H2a symptoms; at least one required). true or false as assigned by the caller. magent does not examine the child."}}}},"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_vOX3bOepe7Of1FNCEF0Wz","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 child meets the Rome IV H2a criteria for functional dyspepsia (Hyams 2016) based on six caller-assigned clinical flags.","exampleAgentPrompt":"Check if this child meets Rome IV H2a functional dyspepsia criteria: bothersome symptoms at least 4 days per month is true, postprandial fullness is true, early satiation is false, epigastric pain or burning not associated with defecation is false, symptoms are not explained by another condition is true, and criteria have been present for at least 2 months is true.","exampleUseCases":[{"title":"Pediatric GI clinic triage tool","prompt":"I need to check if my 10-year-old patient meets Rome IV H2a functional dyspepsia criteria — symptoms are bothersome at least 4 days per month, she has postprandial fullness and early satiation but no epigastric pain, her workup hasn't found another explanation, and this has been going on for over 2 months."},{"title":"Clinical research case screening","prompt":"For this study subject, run the Rome IV H2a pediatric dyspepsia algorithm: bothersome at least 4 days per month yes, postprandial fullness yes, early satiation no, epigastric pain not associated with defecation yes, not explained by another condition yes, fulfilled for at least 2 months yes — does he meet criteria?"},{"title":"EHR-integrated Rome criteria audit","prompt":"Can you evaluate whether this pediatric patient satisfies Rome IV H2a: bothersome frequency at least 4 days per month is true, all three symptom flags are false except epigastric pain which is true, no alternative diagnosis found is true, and the 2-month duration criterion is false?"}],"resultDescription":"Returns a boolean indicating whether the Rome IV H2a criteria for pediatric functional dyspepsia are met, along with supportive feature classifications for postprandial distress syndrome (PDS) and epigastric pain syndrome (EPS) subtypes. Does not provide a diagnosis; caller is responsible for clinical interpretation.","failureModes":["Missing required query parameters returns a validation error","All symptom flags false results in criteria not met (none of the three required symptoms present)","Exclusion flag false (symptoms explained by another condition) causes criteria to fail regardless of other flags","Duration flag false causes criteria to fail regardless of symptom presence","Misapplying adult Rome IV FD criteria — this endpoint only implements pediatric Hyams 2016 H2a"],"whenToPreferThis":"Use this endpoint when you need to programmatically apply the Hyams 2016 Rome IV H2a pediatric functional dyspepsia criteria to a set of caller-assigned clinical flags. Prefer this over manual calculation when building clinical decision support tools, research screening pipelines, or EHR integrations for pediatric GI patients. Do not use for adult patients (use adult Rome IV FD criteria instead) or when a clinical diagnosis rather than criteria-check is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:55:15.324Z","isFirstParty":false}