{"uid":"cap_vhgYP-H-mLe7HWo_y6nG1","slug":"rome-iv-child-abdominal-migraine-criteria-calculator-d9ce4c40","name":"Rome IV Child Abdominal Migraine Criteria Calculator","description":"Hyams 2016 Rome IV H2c. rome_iv_child_abdominal_migraine is true iff paroxysmal intense periumbilical, midline, or diffuse pain lasting 1 hour or more, episodes weeks to months apart, incapacitating stereotypical pain, associated_features_met at least 2 (anorexia, nausea, vomiting, headache, photophobia, pallor), not explained by another condition, and 6-month fulfillment. Count 0-6. magent does not examine the child. Not a diagnosis. Not child CVS. Not adult migraine scores.","url":"https://api.magentlab.com/api/calc/rome_iv_child_abdominal_migraine","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":["paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more","episodes_separated_weeks_to_months","pain_incapacitating","stereotypical_pattern","anorexia","nausea","vomiting","headache","photophobia","pallor","not_explained_by_another_condition","fulfilled_at_least_6_months"],"properties":{"nausea":{"type":"boolean","description":"Nausea during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child."},"pallor":{"type":"boolean","description":"Pallor during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child."},"anorexia":{"type":"boolean","description":"Anorexia during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child."},"headache":{"type":"boolean","description":"Headache during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child."},"vomiting":{"type":"boolean","description":"Vomiting during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child."},"photophobia":{"type":"boolean","description":"Photophobia during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child."},"pain_incapacitating":{"type":"boolean","description":"The pain is incapacitating and interferes with normal activities, as assigned (Hyams 2016 Rome IV H2c). true or false as assigned by the caller. magent does not examine the child."},"stereotypical_pattern":{"type":"boolean","description":"Stereotypical pattern and symptoms in the individual patient, as assigned (Hyams 2016 Rome IV H2c). true or false as assigned by the caller. magent does not examine the child."},"fulfilled_at_least_6_months":{"type":"boolean","description":"Criteria fulfilled for at least 6 months, including that all features occurred at least twice, as assigned (Hyams 2016 Rome IV H2c). true or false as assigned by the caller. magent does not take a history."},"episodes_separated_weeks_to_months":{"type":"boolean","description":"Episodes are separated by weeks to months, as assigned (Hyams 2016 Rome IV H2c). true or false as assigned by the caller. magent does not examine the child."},"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 H2c). true or false as assigned by the caller. magent does not examine the child."},"paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more":{"type":"boolean","description":"Paroxysmal episodes of intense, acute periumbilical, midline, or diffuse abdominal pain lasting 1 hour or more, as assigned (Hyams 2016 Rome IV H2c). 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_Q1WethRwd-g55LF8llo2G","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 Rome IV H2c criteria for pediatric abdominal migraine by scoring 12 boolean clinical flags and returning a criterion count and pass/fail result","exampleAgentPrompt":"Score this child's Rome IV abdominal migraine criteria: the pain is paroxysmal, intense, periumbilical, lasting over an hour; episodes are weeks apart; pain is incapacitating; stereotypical pattern present; associated features include nausea, vomiting, and pallor; not explained by another condition; criteria have been met for at least 6 months — how many criteria are met and does this child meet the H2c threshold?","exampleUseCases":[{"title":"Pediatric GI chart review automation","prompt":"I'm reviewing a 10-year-old with recurrent abdominal pain. Episodes are paroxysmal, intense, periumbilical, last about 90 minutes, occur every few weeks, are incapacitating, follow a stereotypical pattern, and the child has nausea and pallor during episodes. Not explained by another diagnosis, and this has been going on for 8 months. Can you run the Rome IV abdominal migraine score?"},{"title":"Clinical research eligibility screening","prompt":"For our study, I need to check if this patient meets Rome IV H2c criteria: paroxysmal intense diffuse pain lasting over 1 hour, episodes months apart, pain is incapacitating, stereotypical, with anorexia and headache as associated features, no alternative explanation, and fulfilled for 7 months — does she qualify?"},{"title":"Telemedicine pre-visit triage","prompt":"A parent is reporting their child has had recurrent midline belly pain for 9 months, each episode lasts more than an hour, happens a few times a year, is completely incapacitating with a consistent pattern, and the child gets pale and nauseated during attacks, no other diagnosis has been found. Please calculate the Rome IV abdominal migraine criteria count."}],"resultDescription":"Returns a boolean rome_iv_child_abdominal_migraine field (true/false) indicating whether all Rome IV H2c criteria are met, plus a numeric count (0–6) of how many of the six associated features (anorexia, nausea, vomiting, headache, photophobia, pallor) were positive. Does not produce a clinical diagnosis.","failureModes":["Missing required boolean query parameters returns a validation error","Non-boolean values for flag parameters cause a 400 bad request","Payment failure (x402) if USDC balance is insufficient or payment header is missing","Misinterpretation of criteria by caller (endpoint only scores what is passed — it does not examine the patient)"],"whenToPreferThis":"Use this endpoint when you need to programmatically evaluate whether a child meets Rome IV H2c criteria for abdominal migraine using caller-supplied clinical observations. Prefer this over general symptom checkers when you specifically need Hyams 2016 Rome IV scoring with a discrete boolean result and associated feature count. Do not use for adult migraine scoring, cyclic vomiting syndrome, or non-pediatric GI criteria.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:02:48.673Z","isFirstParty":false}