{"api":"v1","generated_at":"2026-10-02T17:40:00.372Z","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-functional-defecation-5b006f","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-rome-iv-functional-defecation-5b006f/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-functional-defecation-5b006f","canonical_url":"https://api.magentlab.com/api/calc/rome_iv_functional_defecation","resource":"https://api.magentlab.com/api/calc/rome_iv_functional_defecation","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Rao 2016 Rome IV F3. rome_iv_functional_defecation is true iff FC and/or IBS-C, at least two of three evacuation tests (balloon expulsion, manometry or anal surface EMG, imaging), last-3-months criteria, and 6-month onset. evacuation_tests_met is 0-3. magent does not perform those tests. Not a diagnosis. Not F3a or F3b as separate diagnoses.","service_name":"magent","declared_category":null,"declared_tags":["rome-iv-fdd","functional-defecation","gi","anorectal","rome-iv"],"route_template":null,"registry_updated":"2026-09-28T14:12:43.516Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc rome iv functional defecation","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:12:43.390Z"},"validation":{"latest":{"observed_at":"2026-10-02T14:44:22.302Z","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:44:22.302Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-02","state_changed":false},{"observed_at":"2026-10-01T07:39:59.513Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-01","state_changed":false},{"observed_at":"2026-09-30T06:58:08.090Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T19:16:22.490Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:56:43.388Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T16:42:40.220Z","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-fdd","functional-defecation","gi","anorectal","rome-iv"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/rome_iv_functional_defecation","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:12:43.39Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/rome_iv_functional_defecation","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"abnormal_balloon_expulsion":true,"impaired_rectal_evacuation_by_imaging":false,"satisfies_fc_and_or_ibs_with_constipation":true,"abnormal_anorectal_evacuation_pattern_manometry_or_emg":true},{"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"abnormal_balloon_expulsion":true,"impaired_rectal_evacuation_by_imaging":false,"satisfies_fc_and_or_ibs_with_constipation":true,"abnormal_anorectal_evacuation_pattern_manometry_or_emg":true}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/rome_iv_functional_defecation","count":2,"items":[{"formula":"rome_iv_functional_defecation","citation":{"id":"rao-2016","doi":"10.1053/j.gastro.2016.02.009","pmid":"27144630","title":"Anorectal Disorders","source":"Gastroenterology. 2016;150(6):1430-1442","authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A"},"criteria":[{"met":true,"factor":"satisfies_fc_and_or_ibs_with_constipation"},{"met":true,"factor":"abnormal_balloon_expulsion"},{"met":true,"factor":"abnormal_anorectal_evacuation_pattern_manometry_or_emg"},{"met":false,"factor":"impaired_rectal_evacuation_by_imaging"},{"met":true,"factor":"fulfilled_last_3_months"},{"met":true,"factor":"onset_at_least_6_months"},{"met":true,"value":2,"factor":"evacuation_tests_ge_2"}],"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.","formula_expression":"rome_iv_functional_defecation iff satisfies_fc_and_or_ibs_with_constipation and evacuation_tests_met >= 2 and fulfilled_last_3_months and onset_at_least_6_months; evacuation_tests_met counts abnormal_balloon_expulsion, abnormal_anorectal_evacuation_pattern_manometry_or_emg, and impaired_rectal_evacuation_by_imaging (Rao 2016 Rome IV F3 functional defecation disorders)","evacuation_tests_met":2,"rome_iv_functional_defecation":true},{"formula":"rome_iv_functional_defecation","citation":{"id":"rao-2016","doi":"10.1053/j.gastro.2016.02.009","pmid":"27144630","title":"Anorectal Disorders","source":"Gastroenterology. 2016;150(6):1430-1442","authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A"},"criteria":[{"met":true,"factor":"satisfies_fc_and_or_ibs_with_constipation"},{"met":true,"factor":"abnormal_balloon_expulsion"},{"met":true,"factor":"abnormal_anorectal_evacuation_pattern_manometry_or_emg"},{"met":false,"factor":"impaired_rectal_evacuation_by_imaging"},{"met":true,"factor":"fulfilled_last_3_months"},{"met":true,"factor":"onset_at_least_6_months"},{"met":true,"value":2,"factor":"evacuation_tests_ge_2"}],"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.","formula_expression":"rome_iv_functional_defecation iff satisfies_fc_and_or_ibs_with_constipation and evacuation_tests_met >= 2 and fulfilled_last_3_months and onset_at_least_6_months; evacuation_tests_met counts abnormal_balloon_expulsion, abnormal_anorectal_evacuation_pattern_manometry_or_emg, and impaired_rectal_evacuation_by_imaging (Rao 2016 Rome IV F3 functional defecation disorders)","evacuation_tests_met":2,"rome_iv_functional_defecation":true}]}},"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":["satisfies_fc_and_or_ibs_with_constipation","abnormal_balloon_expulsion","abnormal_anorectal_evacuation_pattern_manometry_or_emg","impaired_rectal_evacuation_by_imaging","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 (Rao 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 (Rao 2016). true or false as assigned by the caller. magent does not take a history."},"abnormal_balloon_expulsion":{"type":"boolean","description":"Abnormal balloon expulsion test (one of three evacuation tests; at least two required). true or false as assigned by the caller. magent does not perform balloon expulsion."},"impaired_rectal_evacuation_by_imaging":{"type":"boolean","description":"Impaired rectal evacuation by imaging (one of three evacuation tests; at least two required). true or false as assigned by the caller. magent does not perform imaging."},"satisfies_fc_and_or_ibs_with_constipation":{"type":"boolean","description":"The patient already satisfies diagnostic criteria for functional constipation and/or IBS with constipation, as assigned (Rao 2016 F3). true or false as assigned by the caller. magent does not re-run those tools."},"abnormal_anorectal_evacuation_pattern_manometry_or_emg":{"type":"boolean","description":"Abnormal anorectal evacuation pattern with manometry or anal surface EMG (one of three evacuation tests; at least two required). true or false as assigned by the caller. magent does not perform manometry or EMG."}}},"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":"Rao 2016 Rome IV F3. rome_iv_functional_defecation is true iff FC and/or IBS-C, at least two of three evacuation tests (balloon expulsion, manometry or anal surface EMG, imaging), last-3-months criteria, and 6-month onset. evacuation_tests_met is 0-3. magent does not perform those tests. Not a diagnosis. Not F3a or F3b as separate diagnoses.","lastUpdated":"2026-09-28T14:12:43.516Z","serviceName":"magent","x402Version":2}]}}