{"api":"v1","generated_at":"2026-10-01T10:21:59.230Z","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-biliary-sod-798048","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-rome-iv-biliary-sod-798048/at/2026-10-01T05-50Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-10-01T05:50:06.230Z","snapshot_stamp":"2026-10-01T05-50Z","endpoint":{"slug":"api-magentlab-com-api-calc-rome-iv-biliary-sod-798048","canonical_url":"https://api.magentlab.com/api/calc/rome_iv_biliary_sod","resource":"https://api.magentlab.com/api/calc/rome_iv_biliary_sod","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Cotton 2016 Rome IV E1b functional biliary SOD (former SOD type II). rome_iv_biliary_sod iff six E1 biliary-pain flags, enzymes XOR dilated bile duct, and no stones or other structural abnormalities. Type I (both findings) is organic stenosis, not this box. Type III (neither) is not this box. Supportive amylase/lipase, manometry, and scintigraphy are reported, not required. magent does not read labs, imaging, manometry, or ERCP. Not a diagnosis, not pancreatic SOD, not functional gallbladder.","service_name":"magent","declared_category":null,"declared_tags":["rome-iv-biliary-sod","biliary-sod","gi","rome-iv","sphincter-of-oddi"],"route_template":null,"registry_updated":"2026-09-28T14:13:04.490Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc rome iv biliary sod","category":"other","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-10-01T05:50:06.230Z","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-01T05:50:06.230Z","calls_30d":2,"unique_payers_30d":1,"last_called_at":"2026-09-28T14:13:04.339Z"},"validation":{"latest":{"observed_at":"2026-10-01T08:08:08.801Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-10-01"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-10-01T08:08:08.801Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-01","state_changed":false},{"observed_at":"2026-09-30T07:28:35.950Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T19:43:50.169Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:58:04.316Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T16:44:00.560Z","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-biliary-sod","biliary-sod","gi","rome-iv","sphincter-of-oddi"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/rome_iv_biliary_sod","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:13:04.339Z","l30DaysTotalCalls":2,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/rome_iv_biliary_sod","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"dilated_bile_duct":false,"normal_amylase_lipase":true,"elevated_liver_enzymes":true,"epigastric_or_ruq_pain":true,"hepatobiliary_scintigraphy":true,"abnormal_sphincter_of_oddi_manometry":true,"occurring_at_different_intervals_not_daily":true,"not_significantly_related_to_bowel_movements":true,"builds_to_steady_level_lasts_30_min_or_longer":true,"severe_enough_to_interrupt_activities_or_ed_visit":true,"absence_of_bile_duct_stones_or_other_structural_abnormalities":true,"not_significantly_relieved_by_postural_change_or_acid_suppression":true},{"dilated_bile_duct":false,"normal_amylase_lipase":true,"elevated_liver_enzymes":true,"epigastric_or_ruq_pain":true,"hepatobiliary_scintigraphy":true,"abnormal_sphincter_of_oddi_manometry":true,"occurring_at_different_intervals_not_daily":true,"not_significantly_related_to_bowel_movements":true,"builds_to_steady_level_lasts_30_min_or_longer":true,"severe_enough_to_interrupt_activities_or_ed_visit":true,"absence_of_bile_duct_stones_or_other_structural_abnormalities":true,"not_significantly_relieved_by_postural_change_or_acid_suppression":true}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/rome_iv_biliary_sod","count":2,"items":[{"formula":"rome_iv_biliary_sod","citation":{"id":"cotton-2016","doi":"10.1053/j.gastro.2016.02.033","pmid":"27144629","title":"Gallbladder and Sphincter of Oddi Disorders","source":"Gastroenterology. 2016;150(6):1420-1429","authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES"},"criteria":[{"met":true,"factor":"epigastric_or_ruq_pain"},{"met":true,"factor":"builds_to_steady_level_lasts_30_min_or_longer"},{"met":true,"factor":"occurring_at_different_intervals_not_daily"},{"met":true,"factor":"severe_enough_to_interrupt_activities_or_ed_visit"},{"met":true,"factor":"not_significantly_related_to_bowel_movements"},{"met":true,"factor":"not_significantly_relieved_by_postural_change_or_acid_suppression"},{"met":true,"value":{"dilated_bile_duct":false,"elevated_liver_enzymes":true},"factor":"elevated_liver_enzymes_xor_dilated_bile_duct"},{"met":true,"factor":"absence_of_bile_duct_stones_or_other_structural_abnormalities"},{"met":true,"factor":"normal_amylase_lipase"},{"met":true,"factor":"abnormal_sphincter_of_oddi_manometry"},{"met":true,"factor":"hepatobiliary_scintigraphy"}],"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.","dilated_bile_duct":false,"formula_expression":"rome_iv_biliary_sod iff epigastric_or_ruq_pain and builds_to_steady_level_lasts_30_min_or_longer and occurring_at_different_intervals_not_daily and severe_enough_to_interrupt_activities_or_ed_visit and not_significantly_related_to_bowel_movements and not_significantly_relieved_by_postural_change_or_acid_suppression and enzymes_xor_dilated and absence_of_bile_duct_stones_or_other_structural_abnormalities; enzymes_xor_dilated is (elevated_liver_enzymes and not dilated_bile_duct) or (dilated_bile_duct and not elevated_liver_enzymes); normal_amylase_lipase, abnormal_sphincter_of_oddi_manometry, and hepatobiliary_scintigraphy are supportive and not required (Cotton 2016 Rome IV E1b)","rome_iv_biliary_sod":true,"normal_amylase_lipase":true,"elevated_liver_enzymes":true,"hepatobiliary_scintigraphy":true,"abnormal_sphincter_of_oddi_manometry":true},{"formula":"rome_iv_biliary_sod","citation":{"id":"cotton-2016","doi":"10.1053/j.gastro.2016.02.033","pmid":"27144629","title":"Gallbladder and Sphincter of Oddi Disorders","source":"Gastroenterology. 2016;150(6):1420-1429","authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES"},"criteria":[{"met":true,"factor":"epigastric_or_ruq_pain"},{"met":true,"factor":"builds_to_steady_level_lasts_30_min_or_longer"},{"met":true,"factor":"occurring_at_different_intervals_not_daily"},{"met":true,"factor":"severe_enough_to_interrupt_activities_or_ed_visit"},{"met":true,"factor":"not_significantly_related_to_bowel_movements"},{"met":true,"factor":"not_significantly_relieved_by_postural_change_or_acid_suppression"},{"met":true,"value":{"dilated_bile_duct":false,"elevated_liver_enzymes":true},"factor":"elevated_liver_enzymes_xor_dilated_bile_duct"},{"met":true,"factor":"absence_of_bile_duct_stones_or_other_structural_abnormalities"},{"met":true,"factor":"normal_amylase_lipase"},{"met":true,"factor":"abnormal_sphincter_of_oddi_manometry"},{"met":true,"factor":"hepatobiliary_scintigraphy"}],"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.","dilated_bile_duct":false,"formula_expression":"rome_iv_biliary_sod iff epigastric_or_ruq_pain and builds_to_steady_level_lasts_30_min_or_longer and occurring_at_different_intervals_not_daily and severe_enough_to_interrupt_activities_or_ed_visit and not_significantly_related_to_bowel_movements and not_significantly_relieved_by_postural_change_or_acid_suppression and enzymes_xor_dilated and absence_of_bile_duct_stones_or_other_structural_abnormalities; enzymes_xor_dilated is (elevated_liver_enzymes and not dilated_bile_duct) or (dilated_bile_duct and not elevated_liver_enzymes); normal_amylase_lipase, abnormal_sphincter_of_oddi_manometry, and hepatobiliary_scintigraphy are supportive and not required (Cotton 2016 Rome IV E1b)","rome_iv_biliary_sod":true,"normal_amylase_lipase":true,"elevated_liver_enzymes":true,"hepatobiliary_scintigraphy":true,"abnormal_sphincter_of_oddi_manometry":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":["epigastric_or_ruq_pain","builds_to_steady_level_lasts_30_min_or_longer","occurring_at_different_intervals_not_daily","severe_enough_to_interrupt_activities_or_ed_visit","not_significantly_related_to_bowel_movements","not_significantly_relieved_by_postural_change_or_acid_suppression","elevated_liver_enzymes","dilated_bile_duct","absence_of_bile_duct_stones_or_other_structural_abnormalities","normal_amylase_lipase","abnormal_sphincter_of_oddi_manometry","hepatobiliary_scintigraphy"],"properties":{"dilated_bile_duct":{"type":"boolean","description":"Dilated bile duct, as assigned (Cotton 2016 E1b). XOR with elevated_liver_enzymes: exactly one must be true. true or false as assigned by the caller. magent does not read imaging."},"normal_amylase_lipase":{"type":"boolean","description":"Normal amylase/lipase, a supportive criterion that is not required for rome_iv_biliary_sod (Cotton 2016 E1b). true or false as assigned by the caller. magent does not read labs."},"elevated_liver_enzymes":{"type":"boolean","description":"Elevated liver enzymes, as assigned (Cotton 2016 E1b). XOR with dilated_bile_duct: exactly one must be true. true or false as assigned by the caller. magent does not read labs."},"epigastric_or_ruq_pain":{"type":"boolean","description":"Episodes of pain located in the epigastrium and/or right upper quadrant (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not examine the patient."},"hepatobiliary_scintigraphy":{"type":"boolean","description":"Abnormal hepatobiliary scintigraphy, a supportive criterion that is not required for rome_iv_biliary_sod (Cotton 2016 E1b). true or false as assigned by the caller. magent does not read imaging."},"abnormal_sphincter_of_oddi_manometry":{"type":"boolean","description":"Abnormal sphincter of Oddi manometry, a supportive criterion that is not required for rome_iv_biliary_sod (Cotton 2016 E1b). true or false as assigned by the caller. magent does not read manometry."},"occurring_at_different_intervals_not_daily":{"type":"boolean","description":"Episodes occurring at different intervals (not daily) (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not take a history."},"not_significantly_related_to_bowel_movements":{"type":"boolean","description":"Pain not significantly related to bowel movements (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not take a history."},"builds_to_steady_level_lasts_30_min_or_longer":{"type":"boolean","description":"Pain builds up to a steady level lasting 30 minutes or longer (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not take a history."},"severe_enough_to_interrupt_activities_or_ed_visit":{"type":"boolean","description":"Pain severe enough to interrupt daily activities or lead to an emergency department visit (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not examine the patient."},"absence_of_bile_duct_stones_or_other_structural_abnormalities":{"type":"boolean","description":"Absence of bile duct stones or other structural abnormalities, as assigned (Cotton 2016 E1b). This is the structural flag; there is no separate cholecystectomy boolean. true or false as assigned by the caller. magent does not read imaging or ERCP."},"not_significantly_relieved_by_postural_change_or_acid_suppression":{"type":"boolean","description":"Pain not significantly relieved by postural change or acid suppression (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not prescribe acid suppression."}}},"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":"Cotton 2016 Rome IV E1b functional biliary SOD (former SOD type II). rome_iv_biliary_sod iff six E1 biliary-pain flags, enzymes XOR dilated bile duct, and no stones or other structural abnormalities. Type I (both findings) is organic stenosis, not this box. Type III (neither) is not this box. Supportive amylase/lipase, manometry, and scintigraphy are reported, not required. magent does not read labs, imaging, manometry, or ERCP. Not a diagnosis, not pancreatic SOD, not functional gallbladder.","lastUpdated":"2026-09-28T14:13:04.49Z","serviceName":"magent","x402Version":2}]}}