Kiriyama 2018 TG18 (=TG13) cholangitis
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.
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/tokyo_cholangitis
| 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 | 322 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"abnormal_lfts": false,
"age": 60,
"biliary_dilatation": false,
"bilirubin_ge_5": false,
"decreased_consciousness": false,
"elevated_wbc_or_crp": false,
"etiology_on_imaging": false,
"fever_ge_39": false,
"fever_or_chills": false,
"hypoalbuminemia": false,
"hypotension_vasopressors": false,
"jaundice": false,
"oliguria_or_creatinine_gt_2": false,
"pfr_lt_300": false,
"platelets_lt_100k": false,
"pt_inr_gt_1_5": false,
"wbc_gt_12k_or_lt_4k": false
},
{
"abnormal_lfts": false,
"age": 60,
"biliary_dilatation": false,
"bilirubin_ge_5": false,
"decreased_consciousness": false,
"elevated_wbc_or_crp": false,
"etiology_on_imaging": false,
"fever_ge_39": false,
"fever_or_chills": false,
"hypoalbuminemia": false,
"hypotension_vasopressors": false,
"jaundice": false,
"oliguria_or_creatinine_gt_2": false,
"pfr_lt_300": false,
"platelets_lt_100k": false,
"pt_inr_gt_1_5": false,
"wbc_gt_12k_or_lt_4k": false
}
]
},
"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_lfts": {
"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.",
"type": "boolean"
},
"age": {
"description": "Age in years (18-120). Counts as one Kiriyama 2018 TG18 Grade II item when age \u226575. Age 75 meets; age 74 does not. magent does not examine the patient.",
"type": "integer"
},
"biliary_dilatation": {
"description": "Biliary dilatation as assigned by the caller (Kiriyama 2018 TG18 C-1). true or false. magent does not read imaging.",
"type": "boolean"
},
"bilirubin_ge_5": {
"description": "Total bilirubin \u22655 mg/dL as assigned by the caller (Kiriyama 2018 TG18 Grade II). true or false. magent does not assay bilirubin.",
"type": "boolean"
},
"decreased_consciousness": {
"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.",
"type": "boolean"
},
"elevated_wbc_or_crp": {
"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.",
"type": "boolean"
},
"etiology_on_imaging": {
"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.",
"type": "boolean"
},
"fever_ge_39": {
"description": "Fever \u226539\u00b0C as assigned by the caller (Kiriyama 2018 TG18 Grade II). true or false. magent does not measure temperature.",
"type": "boolean"
},
"fever_or_chills": {
"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.",
"type": "boolean"
},
"hypoalbuminemia": {
"description": "Albumin <0.7\u00d7 the local lower limit of normal as assigned by the caller (Kiriyama 2018 TG18 Grade II). true or false. magent does not assay albumin.",
"type": "boolean"
},
"hypotension_vasopressors": {
"description": "Hypotension requiring dopamine \u22655 \u00b5g/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.",
"type": "boolean"
},
"jaundice": {
"description": "Jaundice as assigned by the caller (Kiriyama 2018 TG18 B-1). true or false. magent does not examine the patient.",
"type": "boolean"
},
"oliguria_or_creatinine_gt_2": {
"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.",
"type": "boolean"
},
"pfr_lt_300": {
"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.",
"type": "boolean"
},
"platelets_lt_100k": {
"description": "Platelet count <100,000/mm\u00b3 as assigned by the caller (Kiriyama 2018 TG18 Grade III hematological dysfunction). true or false. magent does not assay platelets.",
"type": "boolean"
},
"pt_inr_gt_1_5": {
"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.",
"type": "boolean"
},
"wbc_gt_12k_or_lt_4k": {
"description": "White blood cell count >12,000/mm\u00b3 or <4,000/mm\u00b3 as assigned by the caller (Kiriyama 2018 TG18 Grade II). true or false. magent does not assay WBC.",
"type": "boolean"
}
},
"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"