{"uid":"cap_pbOqw-HIycbsJ0bfbCUwi","slug":"rome-iv-cyclic-vomiting-syndrome-cvs-criteria-calculator-7fcecd72","name":"Rome IV Cyclic Vomiting Syndrome (CVS) Criteria Calculator","description":"Stanghellini 2016 Rome IV adult CVS B3b. rome_iv_cvs is true iff stereotypical acute vomiting episodes lasting <1 week, ≥3 discrete episodes in the prior year and 2 in 6 months at least 1 week apart, absence of vomiting between episodes, last-3-months criteria, and 6-month onset. migraine_history is supportive and not required. Caller assigns eight flags. magent does not examine the patient. Not a diagnosis, not CHS, not pediatric CVS, not Rome IV IBS.","url":"https://api.magentlab.com/api/calc/rome_iv_cvs","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":["stereotypical_episodes_acute_lt_1_week","at_least_three_episodes_prior_year","at_least_two_episodes_past_6_months","episodes_at_least_1_week_apart","absence_of_vomiting_between_episodes","fulfilled_last_3_months","onset_at_least_6_months","migraine_history"],"properties":{"migraine_history":{"type":"boolean","description":"Personal history of migraine or family history of migraine, a supportive criterion that is not required for rome_iv_cvs (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history."},"fulfilled_last_3_months":{"type":"boolean","description":"Criteria fulfilled for the last 3 months, as assigned (Stanghellini 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 (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history."},"episodes_at_least_1_week_apart":{"type":"boolean","description":"Discrete vomiting episodes occurring at least 1 week apart, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history."},"at_least_three_episodes_prior_year":{"type":"boolean","description":"At least 3 discrete vomiting episodes in the prior year, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history."},"at_least_two_episodes_past_6_months":{"type":"boolean","description":"At least 2 discrete vomiting episodes in the past 6 months, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history."},"absence_of_vomiting_between_episodes":{"type":"boolean","description":"Absence of vomiting between episodes; milder symptoms between cycles are allowed (Stanghellini 2016). true or false as assigned by the caller. magent does not examine the patient."},"stereotypical_episodes_acute_lt_1_week":{"type":"boolean","description":"Stereotypical episodes of vomiting regarding onset (acute) and duration (<1 week) (Stanghellini 2016 Rome IV adult B3b). 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_ZE-LMhrejW3y3LsE1NeAA","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 eight boolean clinical flags against the Stanghellini 2016 Rome IV B3b criteria to determine whether a patient meets the diagnostic criteria for adult cyclic vomiting syndrome (CVS).","exampleAgentPrompt":"Can you check whether this patient meets Rome IV adult CVS criteria? They have stereotypical acute episodes lasting under a week, 4 episodes in the past year, 2 episodes in the past 6 months that are at least a week apart, no vomiting between episodes, criteria met for the last 3 months, onset more than 6 months ago, and a personal history of migraine.","exampleUseCases":[{"title":"GI clinic CVS screening workflow","prompt":"I need to check Rome IV B3b CVS criteria for a patient: stereotypical acute vomiting episodes yes, each lasting under a week, 3 episodes in the prior year, 2 episodes in the past 6 months at least 1 week apart, no vomiting between episodes, criteria met for the last 3 months, onset over 6 months ago, and no migraine history — do they meet Rome IV CVS?"},{"title":"EMR-integrated diagnostic rule-out","prompt":"Run the Stanghellini 2016 Rome IV CVS calculator for me — the patient has stereotypical episodes: true, under 1 week duration: true, 3 episodes prior year: true, 2 episodes past 6 months: true, at least 1 week apart: true, no vomiting between episodes: true, last 3 months fulfilled: false, 6-month onset: true, migraine history: false. What does it return?"},{"title":"Clinical research eligibility check","prompt":"I'm screening research participants for adult CVS per Rome IV B3b — check these flags: stereotypical acute episodes yes, duration under 1 week yes, three or more episodes in the prior year yes, two in the past 6 months yes, at least a week apart yes, asymptomatic between episodes yes, criteria met in the last 3 months yes, onset at least 6 months ago yes, migraine history yes. Do they qualify?"}],"resultDescription":"Returns a boolean field rome_iv_cvs indicating whether all required Rome IV B3b CVS criteria are satisfied (true) or not (false), along with the migraine_history supportive criterion. Does not provide a diagnosis; caller is responsible for clinical interpretation.","failureModes":["Missing required boolean query parameters returns a validation error","Misassignment of flags by caller leads to incorrect result — the endpoint trusts all inputs as provided","Pediatric CVS, CHS (cannabinoid hyperemesis syndrome), and Rome IV IBS are explicitly out of scope","Network errors or payment failures (x402) result in no response"],"whenToPreferThis":"Use this endpoint when you need a fast, rule-based computation of whether a set of pre-assessed clinical boolean flags satisfies the Stanghellini 2016 Rome IV B3b adult CVS criteria. It is not a substitute for clinical judgment, history-taking, or differential diagnosis. Prefer this over manual criteria lookup when building clinical decision support tools, EMR integrations, or research screening pipelines that require consistent, auditable rule application.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:17:54.367Z","isFirstParty":false}