{"slug":"api-magentlab-com-api-calc-irae-diabetes-8432a9","title":"Brahmer 2018 ASCO Table 4.4 irAE diabetes from glucose_mg_dl (50-1000, mg/dL onl","host":"api.magentlab.com","method":"POST","resource":"https://api.magentlab.com/api/calc/irae_diabetes","category":"other","description":"Brahmer 2018 ASCO Table 4.4 irAE diabetes from glucose_mg_dl (50-1000, mg/dL only) plus caller ketosis, t1dm, severe_unable_adl, and life_threatening. First-match: G4 if life_threatening or glucose >500; else G3 if severe_unable_adl or glucose >250; else G2 if ketosis or t1dm or glucose >160; else G","price_listed":0.005,"price_asked":0.007,"state":"overcharges","state_label":"Asked 1.4x its listed price for its own example","checks_7d":1,"answered_7d":1,"latency_ms_median":257,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"items":[{"glucose_mg_dl":140,"ketosis":false,"life_threatening":false,"severe_unable_adl":false,"t1dm":false},{"glucose_mg_dl":140,"ketosis":false,"life_threatening":false,"severe_unable_adl":false,"t1dm":false}]},"method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"glucose_mg_dl":{"description":"Fasting glucose in mg/dL (50-1000). Brahmer 2018 Table 4.4 bands: >500 grade 4; >250 grade 3; >160 grade 2; >99 grade 1; else grade 0 unless a flag upgrades. mmol/L is not accepted. magent does not assay glucose.","type":"number"},"ketosis":{"description":"Ketosis as assigned by the caller (Brahmer 2018 Table 4.4 grade 2; ketosis at any glucose). true or false. When true and grade 4/3 criteria are not met, grade is 2. magent does not assay ketones.","type":"boolean"},"life_threatening":{"description":"Life-threatening consequences as assigned by the caller (Brahmer 2018 Table 4.4 grade 4). true or false. When true, grade is 4 regardless of glucose. magent does not examine the patient.","type":"boolean"},"severe_unable_adl":{"description":"Severe symptoms limiting self-care ADL as assigned by the caller (Brahmer 2018 Table 4.4 grade 3). true or false. When true and life_threatening is false and glucose is not >500, grade is 3. magent does not assess ADL.","type":"boolean"},"t1dm":{"description":"Evidence of type 1 diabetes as assigned by the caller (Brahmer 2018 Table 4.4 grade 2; T1DM at any glucose). true or false. When true and grade 4/3 criteria are not met, grade is 2. magent does not diagnose diabetes.","type":"boolean"}},"required":["glucose_mg_dl","ketosis","t1dm","life_threatening","severe_unable_adl"],"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":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":false,"latency_ms":257,"error":null}],"description_full":"Brahmer 2018 ASCO Table 4.4 irAE diabetes from glucose_mg_dl (50-1000, mg/dL only) plus caller ketosis, t1dm, severe_unable_adl, and life_threatening. First-match: G4 if life_threatening or glucose >500; else G3 if severe_unable_adl or glucose >250; else G2 if ketosis or t1dm or glucose >160; else G1 if glucose >99; else G0. ICI continue (0-1), hold_until_control (2), hold_admit (3-4). Not DKA diagnostic criteria. magent does not assay glucose. Not a diagnosis. Not an insulin dose.","last_updated":"2026-09-28T14:17:20.986Z","schemes":["exact"]}