{"api":"v1","generated_at":"2026-10-02T17:39:46.534Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/api-magentlab-com-api-calc-rome-iv-oic-3878de","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-rome-iv-oic-3878de/at/2026-10-02T12-31Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-10-02T12:31:46.748Z","snapshot_stamp":"2026-10-02T12-31Z","endpoint":{"slug":"api-magentlab-com-api-calc-rome-iv-oic-3878de","canonical_url":"https://api.magentlab.com/api/calc/rome_iv_oic","resource":"https://api.magentlab.com/api/calc/rome_iv_oic","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Mearin 2016 Rome IV C6 OIC. rome_iv_oic is true iff new or worsening constipation when initiating, changing, or increasing opioid therapy, at least 2 of 6 symptoms (straining, lumpy/hard stools, incomplete evacuation, anorectal obstruction, manual maneuvers, fewer than 3 SBM/week), and loose stools rare without laxatives. symptom_count is 0-6. Caller assigns eight flags. magent does not examine the patient or prescribe opioids. Not a diagnosis, not functional constipation C2, not IBS, not child.","service_name":"magent","declared_category":null,"declared_tags":["rome-iv-oic","opioid-constipation","gi","constipation","rome-iv"],"route_template":null,"registry_updated":"2026-09-28T14:10:57.299Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc rome iv oic","category":"other","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-10-02T12:31:46.748Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-28T13:51:25.437Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.005 USDC","amount_units":0.005,"decimals_known":true,"pay_to":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"counters":{"observed_at":"2026-10-02T12:31:46.748Z","calls_30d":1,"unique_payers_30d":1,"last_called_at":"2026-09-28T14:10:57.171Z"},"validation":{"latest":{"observed_at":"2026-10-02T14:01:54.284Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-10-02"},"uptime":[{"days":7,"observed":6,"passed":6,"ratio":1},{"days":30,"observed":6,"passed":6,"ratio":1},{"days":90,"observed":6,"passed":6,"ratio":1}],"history_90d":[{"observed_at":"2026-10-02T14:01:54.284Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-02","state_changed":false},{"observed_at":"2026-10-01T07:07:08.346Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-01","state_changed":false},{"observed_at":"2026-09-30T06:24:31.273Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T18:44:37.488Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:54:34.948Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T16:40:35.674Z","state":"pass","failed_checks":[],"run_id":"new-after-daily-2026-09-28","state_changed":true}]},"seller":{"wallet":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","page":"https://tollindex.com/seller/0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","endpoints":844,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["rome-iv-oic","opioid-constipation","gi","constipation","rome-iv"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/rome_iv_oic","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:10:57.171Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/rome_iv_oic","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"straining_gt_25_percent":true,"fewer_than_3_sbm_per_week":true,"manual_maneuvers_gt_25_percent":false,"lumpy_or_hard_stools_gt_25_percent":false,"anorectal_obstruction_gt_25_percent":false,"incomplete_evacuation_gt_25_percent":false,"loose_stools_rare_without_laxatives":true,"new_or_worsening_constipation_on_opioid_change":true},{"straining_gt_25_percent":true,"fewer_than_3_sbm_per_week":true,"manual_maneuvers_gt_25_percent":false,"lumpy_or_hard_stools_gt_25_percent":false,"anorectal_obstruction_gt_25_percent":false,"incomplete_evacuation_gt_25_percent":false,"loose_stools_rare_without_laxatives":true,"new_or_worsening_constipation_on_opioid_change":true}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/rome_iv_oic","count":2,"items":[{"formula":"rome_iv_oic","citation":{"id":"mearin-2016","doi":"10.1053/j.gastro.2016.02.031","pmid":"27144627","title":"Bowel Disorders","source":"Gastroenterology. 2016;150(6):1393-1407","authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC"},"criteria":[{"met":true,"factor":"new_or_worsening_constipation_on_opioid_change"},{"met":true,"factor":"straining_gt_25_percent"},{"met":false,"factor":"lumpy_or_hard_stools_gt_25_percent"},{"met":false,"factor":"incomplete_evacuation_gt_25_percent"},{"met":false,"factor":"anorectal_obstruction_gt_25_percent"},{"met":false,"factor":"manual_maneuvers_gt_25_percent"},{"met":true,"factor":"fewer_than_3_sbm_per_week"},{"met":true,"value":2,"factor":"symptom_count_ge_2"},{"met":true,"factor":"loose_stools_rare_without_laxatives"}],"disclaimer":"Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.","rome_iv_oic":true,"symptom_count":2,"formula_expression":"rome_iv_oic iff new_or_worsening_constipation_on_opioid_change and symptom_count >= 2 and loose_stools_rare_without_laxatives; symptom_count counts 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, and fewer_than_3_sbm_per_week (Mearin 2016 Rome IV C6 opioid-induced constipation)"},{"formula":"rome_iv_oic","citation":{"id":"mearin-2016","doi":"10.1053/j.gastro.2016.02.031","pmid":"27144627","title":"Bowel Disorders","source":"Gastroenterology. 2016;150(6):1393-1407","authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC"},"criteria":[{"met":true,"factor":"new_or_worsening_constipation_on_opioid_change"},{"met":true,"factor":"straining_gt_25_percent"},{"met":false,"factor":"lumpy_or_hard_stools_gt_25_percent"},{"met":false,"factor":"incomplete_evacuation_gt_25_percent"},{"met":false,"factor":"anorectal_obstruction_gt_25_percent"},{"met":false,"factor":"manual_maneuvers_gt_25_percent"},{"met":true,"factor":"fewer_than_3_sbm_per_week"},{"met":true,"value":2,"factor":"symptom_count_ge_2"},{"met":true,"factor":"loose_stools_rare_without_laxatives"}],"disclaimer":"Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.","rome_iv_oic":true,"symptom_count":2,"formula_expression":"rome_iv_oic iff new_or_worsening_constipation_on_opioid_change and symptom_count >= 2 and loose_stools_rare_without_laxatives; symptom_count counts 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, and fewer_than_3_sbm_per_week (Mearin 2016 Rome IV C6 opioid-induced constipation)"}]}},"iconUrl":"https://api.magentlab.com/favicon.ico"},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"type":"object","required":["new_or_worsening_constipation_on_opioid_change","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"],"properties":{"straining_gt_25_percent":{"type":"boolean","description":"Straining during more than 25% of defecations (one of six C6 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 C6 symptom items; at least two required). true or false as assigned by the caller."},"manual_maneuvers_gt_25_percent":{"type":"boolean","description":"Manual maneuvers to facilitate more than 25% of defecations (one of six C6 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 C6 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 C6 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 C6 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 C6). true or false as assigned by the caller. magent does not examine the patient."},"new_or_worsening_constipation_on_opioid_change":{"type":"boolean","description":"New or worsening constipation when initiating, changing, or increasing opioid therapy, as assigned (Mearin 2016 C6). true or false as assigned by the caller. magent does not take a history or prescribe opioids."}}},"maxItems":25,"minItems":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"type":"string","const":"POST"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}}},"description":"Mearin 2016 Rome IV C6 OIC. rome_iv_oic is true iff new or worsening constipation when initiating, changing, or increasing opioid therapy, at least 2 of 6 symptoms (straining, lumpy/hard stools, incomplete evacuation, anorectal obstruction, manual maneuvers, fewer than 3 SBM/week), and loose stools rare without laxatives. symptom_count is 0-6. Caller assigns eight flags. magent does not examine the patient or prescribe opioids. Not a diagnosis, not functional constipation C2, not IBS, not child.","lastUpdated":"2026-09-28T14:10:57.299Z","serviceName":"magent","x402Version":2}]}}