{"uid":"cap_ouirqY_0q7N22t5FicC0w","slug":"magent-rome-iv-chs-calculator-f1b0dfc2","name":"magent Rome IV CHS Calculator","description":"Stanghellini 2016 Rome IV CHS. rome_iv_chs is true iff stereotypical episodic vomiting resembling CVS, presentation after prolonged excessive cannabis use, relief with sustained cannabis cessation, criteria fulfilled for the last 3 months, and onset at least 6 months prior. pathologic_bathing is supportive and not required. Caller assigns six flags. magent does not take a cannabis history. Not a diagnosis, not cyclic vomiting syndrome.","url":"https://api.magentlab.com/api/calc/rome_iv_chs","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_episodic_vomiting","after_prolonged_excessive_cannabis","relief_with_sustained_cessation","fulfilled_last_3_months","onset_at_least_6_months","pathologic_bathing"],"properties":{"pathologic_bathing":{"type":"boolean","description":"Pathologic bathing behavior (prolonged hot baths or showers), a supportive criterion that is not required for rome_iv_chs (Stanghellini 2016). true or false as assigned by the caller. magent does not examine the patient."},"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."},"relief_with_sustained_cessation":{"type":"boolean","description":"Relief of vomiting episodes by sustained cessation of cannabis, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a cannabis history."},"stereotypical_episodic_vomiting":{"type":"boolean","description":"Stereotypical episodic vomiting resembling cyclic vomiting syndrome (CVS) in onset, duration, and frequency (Stanghellini 2016). true or false as assigned by the caller. magent does not examine the patient."},"after_prolonged_excessive_cannabis":{"type":"boolean","description":"Presentation after prolonged excessive cannabis use, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a cannabis 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_PRyA73Z-x4ZDqtn5KP0Hm","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 the Rome IV (Stanghellini 2016) diagnostic criteria for Cannabinoid Hyperemesis Syndrome (CHS) based on six caller-assigned boolean flags","exampleAgentPrompt":"Does this patient meet Rome IV criteria for cannabinoid hyperemesis syndrome? They have stereotypical episodic vomiting resembling CVS, presentation after prolonged excessive cannabis use, vomiting relieved by sustained cannabis cessation, criteria fulfilled for the last 3 months, onset at least 6 months ago, and they do exhibit pathologic bathing behavior.","exampleUseCases":[{"title":"ED triage for cyclic vomiting workup","prompt":"I need to check if this ED patient with recurrent vomiting meets Rome IV CHS criteria — they have stereotypical episodic vomiting resembling CVS, they've been using cannabis heavily for years, their vomiting got better when they quit cannabis for a month, their symptoms have been going on for over 6 months with criteria met for the last 3 months, and they take prolonged hot showers for relief. Do they meet the Rome IV CHS definition?"},{"title":"GI clinic pre-visit chart review","prompt":"Before this GI clinic visit, can you run the Rome IV CHS calculator? The patient has stereotypical episodic vomiting, presentation after prolonged excessive cannabis use, relief with sustained cessation confirmed, criteria met for the last 3 months, onset more than 6 months ago — but no pathologic bathing reported."},{"title":"Telemedicine symptom triage decision support","prompt":"A telehealth patient is describing episodic vomiting that looks like cyclic vomiting syndrome, they use cannabis excessively and say stopping cannabis helped, symptoms started about 8 months ago and have been consistent for the past 3 months, and they mention taking long hot baths to feel better. Can you check if they satisfy Rome IV CHS criteria?"}],"resultDescription":"Returns a boolean field rome_iv_chs indicating whether all required Rome IV Cannabinoid Hyperemesis Syndrome criteria (Stanghellini 2016) are met: stereotypical episodic vomiting resembling CVS, presentation after prolonged excessive cannabis use, relief with sustained cannabis cessation, criteria fulfilled for the last 3 months, and symptom onset at least 6 months prior. The pathologic_bathing flag is supportive and not required. This is not a diagnosis.","failureModes":["Missing any of the six required boolean query parameters returns a validation error","Incorrect types (non-boolean values) for query parameters cause request failure","Network or server errors return HTTP 5xx with no result","Ambiguous clinical history not expressible as boolean flags must be resolved by the caller before calling"],"whenToPreferThis":"Use this endpoint when you need a fast, structured, rule-based evaluation of Rome IV Cannabinoid Hyperemesis Syndrome criteria per Stanghellini 2016, and all six required criteria have already been assessed by a clinician or algorithm and can be expressed as boolean flags. Prefer this over general LLM reasoning when you need an auditable, reproducible, criterion-by-criterion CHS classification. Not suitable when a cannabis history has not yet been taken or when criteria assignment is uncertain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:54:01.872Z","isFirstParty":false}