{"api":"v1","generated_at":"2026-10-01T10:20:09.626Z","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-tokyo-cholangitis-5d0957","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-tokyo-cholangitis-5d0957/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-tokyo-cholangitis-5d0957","canonical_url":"https://api.magentlab.com/api/calc/tokyo_cholangitis","resource":"https://api.magentlab.com/api/calc/tokyo_cholangitis","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Kiriyama 2018 TG18 (=TG13) cholangitis. Definite if one A (fever/chills or elevated WBC/CRP), one B (jaundice or abnormal LFTs), and one C (dilatation or etiology); suspected if A plus B or C; else none. Grade III if any organ dysfunction, else Grade II if any two of WBC, fever >=39C, age >=75, bilirubin >=5, or hypoalbuminemia, else Grade I. Severity none if diagnosis none. Not cholecystitis or Alvarado/RIPASA. magent does not examine, assay, or read imaging. Not a medical device.","service_name":"magent","declared_category":null,"declared_tags":["tokyo-cholangitis","cholangitis","tg18","gi","calculator"],"route_template":null,"registry_updated":"2026-09-28T14:15:56.288Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc tokyo cholangitis","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":1,"unique_payers_30d":1,"last_called_at":"2026-09-28T14:15:56.144Z"},"validation":{"latest":{"observed_at":"2026-10-01T07:41:46.194Z","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-01T07:41:46.194Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-01","state_changed":false},{"observed_at":"2026-09-30T07:00:06.588Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T19:18:06.700Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:56:48.096Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T16:42:44.626Z","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":["tokyo-cholangitis","cholangitis","tg18","gi","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/tokyo_cholangitis","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:15:56.144Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/tokyo_cholangitis","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"age":60,"jaundice":false,"pfr_lt_300":false,"fever_ge_39":false,"abnormal_lfts":false,"pt_inr_gt_1_5":false,"bilirubin_ge_5":false,"fever_or_chills":false,"hypoalbuminemia":false,"platelets_lt_100k":false,"biliary_dilatation":false,"elevated_wbc_or_crp":false,"etiology_on_imaging":false,"wbc_gt_12k_or_lt_4k":false,"decreased_consciousness":false,"hypotension_vasopressors":false,"oliguria_or_creatinine_gt_2":false},{"age":60,"jaundice":false,"pfr_lt_300":false,"fever_ge_39":false,"abnormal_lfts":false,"pt_inr_gt_1_5":false,"bilirubin_ge_5":false,"fever_or_chills":false,"hypoalbuminemia":false,"platelets_lt_100k":false,"biliary_dilatation":false,"elevated_wbc_or_crp":false,"etiology_on_imaging":false,"wbc_gt_12k_or_lt_4k":false,"decreased_consciousness":false,"hypotension_vasopressors":false,"oliguria_or_creatinine_gt_2":false}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/tokyo_cholangitis","count":2,"items":[{"formula":"tokyo_cholangitis","citation":{"id":"kiriyama-2018","doi":"10.1002/jhbp.512","pmid":"29032610","title":"Tokyo Guidelines 2018: diagnostic criteria and severity grading of acute cholangitis (with videos).","source":"J Hepatobiliary Pancreat Sci. 2018;25(1):17-30","authors":"Kiriyama S, Kozaka K, Takada T, et al."},"criteria":[{"met":false,"factor":"systemic_inflammation"},{"met":false,"factor":"cholestasis"},{"met":false,"factor":"imaging"},{"met":false,"factor":"grade_iii_any"},{"met":false,"factor":"grade_ii_two"},{"met":false,"value":60,"factor":"age_ge_75"},{"met":false,"factor":"fever_or_chills"},{"met":false,"factor":"elevated_wbc_or_crp"},{"met":false,"factor":"jaundice"},{"met":false,"factor":"abnormal_lfts"},{"met":false,"factor":"biliary_dilatation"},{"met":false,"factor":"etiology_on_imaging"},{"met":false,"factor":"hypotension_vasopressors"},{"met":false,"factor":"decreased_consciousness"},{"met":false,"factor":"pfr_lt_300"},{"met":false,"factor":"oliguria_or_creatinine_gt_2"},{"met":false,"factor":"pt_inr_gt_1_5"},{"met":false,"factor":"platelets_lt_100k"},{"met":false,"factor":"wbc_gt_12k_or_lt_4k"},{"met":false,"factor":"fever_ge_39"},{"met":false,"factor":"bilirubin_ge_5"},{"met":false,"factor":"hypoalbuminemia"}],"severity":"none","diagnosis":"none","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":"definite iff one A (fever_or_chills or elevated_wbc_or_crp) and one B (jaundice or abnormal_lfts) and one C (biliary_dilatation or etiology_on_imaging); suspected iff one A and one item in either B or C (not all three); else none. When diagnosis is suspected or definite: grade_iii if any organ-dysfunction flag (hypotension_vasopressors, decreased_consciousness, pfr_lt_300, oliguria_or_creatinine_gt_2, pt_inr_gt_1_5, platelets_lt_100k), else grade_ii if any two Grade II items (wbc_gt_12k_or_lt_4k, fever_ge_39, age>=75, bilirubin_ge_5, hypoalbuminemia), else grade_i. When diagnosis is none, severity is none (Kiriyama 2018 TG18 = TG13 unmodified)"},{"formula":"tokyo_cholangitis","citation":{"id":"kiriyama-2018","doi":"10.1002/jhbp.512","pmid":"29032610","title":"Tokyo Guidelines 2018: diagnostic criteria and severity grading of acute cholangitis (with videos).","source":"J Hepatobiliary Pancreat Sci. 2018;25(1):17-30","authors":"Kiriyama S, Kozaka K, Takada T, et al."},"criteria":[{"met":false,"factor":"systemic_inflammation"},{"met":false,"factor":"cholestasis"},{"met":false,"factor":"imaging"},{"met":false,"factor":"grade_iii_any"},{"met":false,"factor":"grade_ii_two"},{"met":false,"value":60,"factor":"age_ge_75"},{"met":false,"factor":"fever_or_chills"},{"met":false,"factor":"elevated_wbc_or_crp"},{"met":false,"factor":"jaundice"},{"met":false,"factor":"abnormal_lfts"},{"met":false,"factor":"biliary_dilatation"},{"met":false,"factor":"etiology_on_imaging"},{"met":false,"factor":"hypotension_vasopressors"},{"met":false,"factor":"decreased_consciousness"},{"met":false,"factor":"pfr_lt_300"},{"met":false,"factor":"oliguria_or_creatinine_gt_2"},{"met":false,"factor":"pt_inr_gt_1_5"},{"met":false,"factor":"platelets_lt_100k"},{"met":false,"factor":"wbc_gt_12k_or_lt_4k"},{"met":false,"factor":"fever_ge_39"},{"met":false,"factor":"bilirubin_ge_5"},{"met":false,"factor":"hypoalbuminemia"}],"severity":"none","diagnosis":"none","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":"definite iff one A (fever_or_chills or elevated_wbc_or_crp) and one B (jaundice or abnormal_lfts) and one C (biliary_dilatation or etiology_on_imaging); suspected iff one A and one item in either B or C (not all three); else none. When diagnosis is suspected or definite: grade_iii if any organ-dysfunction flag (hypotension_vasopressors, decreased_consciousness, pfr_lt_300, oliguria_or_creatinine_gt_2, pt_inr_gt_1_5, platelets_lt_100k), else grade_ii if any two Grade II items (wbc_gt_12k_or_lt_4k, fever_ge_39, age>=75, bilirubin_ge_5, hypoalbuminemia), else grade_i. When diagnosis is none, severity is none (Kiriyama 2018 TG18 = TG13 unmodified)"}]}},"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":["age","fever_or_chills","elevated_wbc_or_crp","jaundice","abnormal_lfts","biliary_dilatation","etiology_on_imaging","hypotension_vasopressors","decreased_consciousness","pfr_lt_300","oliguria_or_creatinine_gt_2","pt_inr_gt_1_5","platelets_lt_100k","wbc_gt_12k_or_lt_4k","fever_ge_39","bilirubin_ge_5","hypoalbuminemia"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). Counts as one Kiriyama 2018 TG18 Grade II item when age ≥75. Age 75 meets; age 74 does not. magent does not examine the patient."},"jaundice":{"type":"boolean","description":"Jaundice as assigned by the caller (Kiriyama 2018 TG18 B-1). true or false. magent does not examine the patient."},"pfr_lt_300":{"type":"boolean","description":"PaO2/FiO2 <300 as assigned by the caller (Kiriyama 2018 TG18 Grade III respiratory dysfunction). true or false. magent does not interpret blood gas or ventilator settings."},"fever_ge_39":{"type":"boolean","description":"Fever ≥39°C as assigned by the caller (Kiriyama 2018 TG18 Grade II). true or false. magent does not measure temperature."},"abnormal_lfts":{"type":"boolean","description":"Increased ALP, GGT, AST, or ALT as assigned by the caller (Kiriyama 2018 TG18 B-2). true or false. magent does not assay liver tests."},"pt_inr_gt_1_5":{"type":"boolean","description":"PT-INR >1.5 as assigned by the caller (Kiriyama 2018 TG18 Grade III hepatic dysfunction). true or false. magent does not interpret coagulation assays."},"bilirubin_ge_5":{"type":"boolean","description":"Total bilirubin ≥5 mg/dL as assigned by the caller (Kiriyama 2018 TG18 Grade II). true or false. magent does not assay bilirubin."},"fever_or_chills":{"type":"boolean","description":"Fever and/or shaking chills as assigned by the caller (Kiriyama 2018 TG18 A-1). true or false. magent does not measure temperature or examine the patient."},"hypoalbuminemia":{"type":"boolean","description":"Albumin <0.7× the local lower limit of normal as assigned by the caller (Kiriyama 2018 TG18 Grade II). true or false. magent does not assay albumin."},"platelets_lt_100k":{"type":"boolean","description":"Platelet count <100,000/mm³ as assigned by the caller (Kiriyama 2018 TG18 Grade III hematological dysfunction). true or false. magent does not assay platelets."},"biliary_dilatation":{"type":"boolean","description":"Biliary dilatation as assigned by the caller (Kiriyama 2018 TG18 C-1). true or false. magent does not read imaging."},"elevated_wbc_or_crp":{"type":"boolean","description":"Laboratory inflammatory response (elevated WBC or CRP) as assigned by the caller (Kiriyama 2018 TG18 A-2). true or false. magent does not assay WBC or CRP."},"etiology_on_imaging":{"type":"boolean","description":"Evidence of etiology on imaging (stricture, stone, stent, or equivalent) as assigned by the caller (Kiriyama 2018 TG18 C-2). true or false. magent does not read imaging."},"wbc_gt_12k_or_lt_4k":{"type":"boolean","description":"White blood cell count >12,000/mm³ or <4,000/mm³ as assigned by the caller (Kiriyama 2018 TG18 Grade II). true or false. magent does not assay WBC."},"decreased_consciousness":{"type":"boolean","description":"Decreased level of consciousness as assigned by the caller (Kiriyama 2018 TG18 Grade III neurological dysfunction). true or false. magent does not examine the patient."},"hypotension_vasopressors":{"type":"boolean","description":"Hypotension requiring dopamine ≥5 µg/kg/min or any norepinephrine as assigned by the caller (Kiriyama 2018 TG18 Grade III cardiovascular dysfunction). true or false. magent does not measure blood pressure or order vasopressors."},"oliguria_or_creatinine_gt_2":{"type":"boolean","description":"Oliguria or creatinine >2.0 mg/dL as assigned by the caller (Kiriyama 2018 TG18 Grade III renal dysfunction). true or false. magent does not assay creatinine or measure urine output."}}},"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":"Kiriyama 2018 TG18 (=TG13) cholangitis. Definite if one A (fever/chills or elevated WBC/CRP), one B (jaundice or abnormal LFTs), and one C (dilatation or etiology); suspected if A plus B or C; else none. Grade III if any organ dysfunction, else Grade II if any two of WBC, fever >=39C, age >=75, bilirubin >=5, or hypoalbuminemia, else Grade I. Severity none if diagnosis none. Not cholecystitis or Alvarado/RIPASA. magent does not examine, assay, or read imaging. Not a medical device.","lastUpdated":"2026-09-28T14:15:56.288Z","serviceName":"magent","x402Version":2}]}}