Cotton 2016 Rome IV E1b functional biliary SOD (former SOD type II)
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.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.magentlab.com/api/calc/rome_iv_biliary_sod
| Category | Everything else |
|---|---|
| Provider host | api.magentlab.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-28 | valid payment request | 402 | $0.007 | 342 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"abnormal_sphincter_of_oddi_manometry": true,
"absence_of_bile_duct_stones_or_other_structural_abnormalities": true,
"builds_to_steady_level_lasts_30_min_or_longer": true,
"dilated_bile_duct": false,
"elevated_liver_enzymes": true,
"epigastric_or_ruq_pain": true,
"hepatobiliary_scintigraphy": true,
"normal_amylase_lipase": true,
"not_significantly_related_to_bowel_movements": true,
"not_significantly_relieved_by_postural_change_or_acid_suppression": true,
"occurring_at_different_intervals_not_daily": true,
"severe_enough_to_interrupt_activities_or_ed_visit": true
},
{
"abnormal_sphincter_of_oddi_manometry": true,
"absence_of_bile_duct_stones_or_other_structural_abnormalities": true,
"builds_to_steady_level_lasts_30_min_or_longer": true,
"dilated_bile_duct": false,
"elevated_liver_enzymes": true,
"epigastric_or_ruq_pain": true,
"hepatobiliary_scintigraphy": true,
"normal_amylase_lipase": true,
"not_significantly_related_to_bowel_movements": true,
"not_significantly_relieved_by_postural_change_or_acid_suppression": true,
"occurring_at_different_intervals_not_daily": true,
"severe_enough_to_interrupt_activities_or_ed_visit": true
}
]
},
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"items": {
"items": {
"properties": {
"abnormal_sphincter_of_oddi_manometry": {
"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.",
"type": "boolean"
},
"absence_of_bile_duct_stones_or_other_structural_abnormalities": {
"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.",
"type": "boolean"
},
"builds_to_steady_level_lasts_30_min_or_longer": {
"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.",
"type": "boolean"
},
"dilated_bile_duct": {
"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.",
"type": "boolean"
},
"elevated_liver_enzymes": {
"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.",
"type": "boolean"
},
"epigastric_or_ruq_pain": {
"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.",
"type": "boolean"
},
"hepatobiliary_scintigraphy": {
"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.",
"type": "boolean"
},
"normal_amylase_lipase": {
"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.",
"type": "boolean"
},
"not_significantly_related_to_bowel_movements": {
"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.",
"type": "boolean"
},
"not_significantly_relieved_by_postural_change_or_acid_suppression": {
"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.",
"type": "boolean"
},
"occurring_at_different_intervals_not_daily": {
"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.",
"type": "boolean"
},
"severe_enough_to_interrupt_activities_or_ed_visit": {
"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.",
"type": "boolean"
}
},
"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"
],
"type": "object"
},
"maxItems": 25,
"minItems": 1,
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"const": "POST",
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type"