{"uid":"cap_HDz2z2s8Z9wwytYwjBZxM","slug":"rome-iv-functional-constipation-c2-calculator-6b5c0137","name":"Rome IV Functional Constipation (C2) Calculator","description":"Mearin 2016 Rome IV C2 FC. rome_iv_fc is true iff last-3-months criteria with 6-month onset, at least 2 of 6 symptoms (straining, lumpy/hard stools, incomplete evacuation, anorectal obstruction, manual maneuvers, fewer than 3 SBM/week), loose stools rare without laxatives, and insufficient IBS criteria. symptom_count is 0-6. Caller assigns nine flags. magent does not examine the patient. Not a diagnosis, not Rome IV IBS, not Manning, not opioid-induced or child constipation.","url":"https://api.magentlab.com/api/calc/rome_iv_fc","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":["criteria_last_3_months_onset_6_months","straining_gt_25_percent","lumpy_or_hard_stools_gt_25_percent","incomplete_evacuation_gt_25_percent","anorectal_obstruction_gt_25_percent","manual_maneuvers_gt_25_percent","fewer_than_3_sbm_per_week","loose_stools_rare_without_laxatives","insufficient_criteria_for_ibs"],"properties":{"straining_gt_25_percent":{"type":"boolean","description":"Straining during more than 25% of defecations (one of six C2 symptom items; at least two required). true or false as assigned by the caller. magent does not examine the patient."},"fewer_than_3_sbm_per_week":{"type":"boolean","description":"Fewer than three spontaneous bowel movements per week (one of six C2 symptom items; at least two required). true or false as assigned by the caller."},"insufficient_criteria_for_ibs":{"type":"boolean","description":"Insufficient criteria for irritable bowel syndrome, as assigned by the caller (Mearin 2016 C2 requires IBS criteria are not met). true or false. magent does not apply the IBS box."},"manual_maneuvers_gt_25_percent":{"type":"boolean","description":"Manual maneuvers to facilitate more than 25% of defecations (one of six C2 symptom items; at least two required). true or false as assigned by the caller."},"lumpy_or_hard_stools_gt_25_percent":{"type":"boolean","description":"Lumpy or hard stools (Bristol stool form types 1-2) more than 25% of defecations (one of six C2 symptom items; at least two required). true or false as assigned by the caller. magent does not inspect stool."},"anorectal_obstruction_gt_25_percent":{"type":"boolean","description":"Sensation of anorectal obstruction/blockage more than 25% of defecations (one of six C2 symptom items; at least two required). true or false as assigned by the caller."},"incomplete_evacuation_gt_25_percent":{"type":"boolean","description":"Sensation of incomplete evacuation more than 25% of defecations (one of six C2 symptom items; at least two required). true or false as assigned by the caller."},"loose_stools_rare_without_laxatives":{"type":"boolean","description":"Loose stools are rarely present without the use of laxatives, as assigned (Mearin 2016 C2). true or false as assigned by the caller. magent does not examine the patient."},"criteria_last_3_months_onset_6_months":{"type":"boolean","description":"Criteria fulfilled for the last 3 months with symptom onset at least 6 months prior to diagnosis, as assigned (Mearin 2016 C2). 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_fszPyWWSDfIA_026wpzox","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 nine caller-assigned boolean criteria to determine whether a patient meets the Rome IV (Mearin 2016) C2 Functional Constipation criteria, returning a true/false result and symptom count.","exampleAgentPrompt":"Check if this patient meets Rome IV functional constipation criteria: symptoms present for the last 3 months with onset 6+ months ago, straining in more than 25% of defecations is true, lumpy or hard stools more than 25% is true, incomplete evacuation more than 25% is true, anorectal obstruction more than 25% is false, manual maneuvers more than 25% is false, fewer than 3 spontaneous bowel movements per week is true, loose stools are rare without laxatives is true, and insufficient criteria for IBS is true.","exampleUseCases":[{"title":"GI clinic constipation screening tool","prompt":"I have a patient with constipation symptoms for the past 8 months. They strain more than 25% of the time, have lumpy hard stools more than 25% of the time, and have fewer than 3 bowel movements per week. They don't have incomplete evacuation, anorectal obstruction, or use manual maneuvers. Loose stools are rare without laxatives, and they don't meet IBS criteria. Does this patient meet Rome IV functional constipation criteria?"},{"title":"EHR integration diagnostic flag","prompt":"For my EHR workflow, I need to auto-flag charts: the patient's last 3 months criteria are met with a 6-month onset, straining gt 25% is true, lumpy stools gt 25% is true, incomplete evacuation gt 25% is false, anorectal obstruction gt 25% is false, manual maneuvers gt 25% is false, fewer than 3 SBM per week is true, loose stools rare without laxatives is true, insufficient IBS criteria is true — does this patient qualify for Rome IV FC?"},{"title":"Clinical research cohort eligibility check","prompt":"I'm building a cohort for a functional constipation study. Can you verify if this participant satisfies Rome IV C2 criteria? Onset was 7 months ago, symptoms in last 3 months confirmed, they have straining more than 25% true, hard stools more than 25% true, incomplete evacuation true, anorectal obstruction false, manual maneuvers false, fewer than 3 SBM per week false, loose stools rare without laxatives true, and IBS criteria are insufficient."}],"resultDescription":"Returns a boolean rome_iv_fc indicating whether the patient meets Rome IV C2 Functional Constipation criteria (true/false), and an integer symptom_count from 0 to 6 representing how many of the six specific C2 symptom items were flagged as true by the caller.","failureModes":["Missing any of the nine required boolean query parameters returns a validation error","Invalid non-boolean values for boolean fields cause a bad request response","Payment failure or missing x402 payment header results in a 402 Payment Required response","All nine flags provided but logic edge cases (e.g. symptom_count >= 2 but other criteria not met) correctly returns rome_iv_fc = false"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, standards-compliant computation of Rome IV C2 Functional Constipation criteria per Mearin 2016, and the caller is responsible for assigning all nine clinical flags from their own assessment. Prefer this over manual rule application when integrating Rome IV FC into EHR workflows, clinical research pipelines, or decision support tools. Do not use for pediatric constipation, opioid-induced constipation, Rome IV IBS criteria, or Manning criteria — separate endpoints or tools apply to those.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:52:10.760Z","isFirstParty":false}