{"uid":"cap_tptDk_3h47gEiFSMVsntt","slug":"rome-iv-cnvs-b3a-criterion-calculator-f9a58713","name":"Rome IV CNVS (B3a) Criterion Calculator","description":"Stanghellini 2016 Rome IV chronic nausea vomiting syndrome (CNVS, B3a). rome_iv_cnvs is true iff bothersome nausea at least 1 day per week and/or one or more vomiting episodes per week as one flag, self-induced vomiting eating disorders regurgitation and rumination excluded, no organic systemic or metabolic explanation including at upper endoscopy, last-3-months criteria, and 6-month onset. magent does not take a history or read endoscopy. Not a diagnosis, not CVS, not CHS, not rumination.","url":"https://api.magentlab.com/api/calc/rome_iv_cnvs","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_nausea_or_vomiting_weekly","self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded","no_organic_systemic_metabolic_explanation","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 (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."},"bothersome_nausea_or_vomiting_weekly":{"type":"boolean","description":"Bothersome (severe enough to impact usual activities) nausea at least 1 day per week and/or one or more vomiting episodes per week (Stanghellini 2016 Rome IV CNVS B3a). One caller flag covering nausea and/or vomiting. true or false as assigned by the caller. magent does not take a history."},"no_organic_systemic_metabolic_explanation":{"type":"boolean","description":"No evidence of organic, systemic, or metabolic disease likely to explain the symptoms on routine investigations including at upper endoscopy, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not read endoscopy."},"self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded":{"type":"boolean","description":"Self-induced vomiting, eating disorders, regurgitation, and rumination have been excluded (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history."}}}},"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_C2zNqEA1Jr1qalUXesTh1","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 Stanghellini 2016 Rome IV Chronic Nausea Vomiting Syndrome (CNVS, B3a) diagnostic criteria based on five caller-assigned boolean flags","exampleAgentPrompt":"Check whether this patient meets Rome IV CNVS (B3a) criteria: they have bothersome nausea at least once a week, self-induced vomiting, eating disorders, regurgitation, and rumination have all been excluded, upper endoscopy found no organic explanation, the pattern has been present for the last 3 months, and symptoms started at least 6 months ago.","exampleUseCases":[{"title":"GI clinic CNVS criteria screening","prompt":"I need to know if my patient meets Rome IV CNVS B3a: they have weekly bothersome nausea, we've ruled out self-induced vomiting, eating disorders, regurgitation and rumination, upper endoscopy showed nothing organic, criteria have been met for the past 3 months, and onset was over 6 months ago — does that qualify?"},{"title":"Excluding CNVS when organic cause found","prompt":"My patient has weekly nausea but their endoscopy actually showed a likely organic cause — with all other CNVS Rome IV criteria true, can you check whether the rome_iv_cnvs flag would still come out positive?"},{"title":"EHR automated functional GI disorder flagging","prompt":"For this patient record, bothersome_nausea_or_vomiting_weekly is true, exclusions are confirmed, no organic explanation found, criteria met for last 3 months, onset was 8 months ago — run the Rome IV CNVS B3a calculator and tell me the result."}],"resultDescription":"Returns a boolean field rome_iv_cnvs indicating true if all five Rome IV CNVS B3a diagnostic criteria are satisfied simultaneously, and false otherwise. The result is a criterion check only, not a clinical diagnosis, and does not cover CVS, CHS, or rumination syndrome.","failureModes":["Missing any of the five required boolean query parameters returns a validation error","Non-boolean values passed for flag parameters cause a schema error","Endpoint does not validate the clinical appropriateness of caller-assigned flags — garbage in, garbage out","Network or payment (x402) failures return HTTP 402 or 5xx without a criterion result"],"whenToPreferThis":"Use this endpoint when you need to programmatically evaluate whether a patient's documented clinical profile satisfies the Stanghellini 2016 Rome IV CNVS (B3a) criteria and the caller has already gathered and assigned the five required boolean flags from clinical history and upper endoscopy results. Prefer this over manual lookup when building EHR integrations, GI decision-support agents, or automated chart-review pipelines that need a deterministic, auditable Rome IV CNVS flag.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:17:24.290Z","isFirstParty":false}