{"items":[{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/hat","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"HAT (Lou 2008 Neurology) for sICH after stroke thrombolysis. Diabetes or glucose \u003e200 mg/dL (1; not additive). NIHSS \u003c15 0, 15-20 1, \u003e20 2. CT hypodensity none 0, \u003c1/3 MCA 1, \u003e1/3 MCA 2 (no equals-1/3). Max 5. Collective sICH 2/5/10/15/44% for scores 0/1/2/3/\u003e3. Glucose in mg/dL (mmol × 18). Not a tPA withhold. magent does not assign NIHSS or read CT.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"diabetes":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hypodensity":"none","nihss":10},{"diabetes":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hypodensity":"none","nihss":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lou M, Safdar A, Mehdiratta M, Kumar S, Schlaug G, Caplan L, Searls D, Selim M","doi":"10.1212/01.wnl.0000330297.58334.dd","id":"lou-2008","pmid":"18955684","source":"Neurology. 2008;71(18):1417-1423","title":"The HAT Score: a simple grading scale for predicting hemorrhage after thrombolysis"},"components":[{"diabetes":false,"factor":"diabetes_or_glucose","points":0,"present":false,"value":108},{"factor":"nihss","points":0,"present":false,"value":10},{"factor":"hypodensity","points":0,"present":false,"value":"none"}],"diabetes":false,"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":"hat","formula_expression":"HAT = (diabetes OR baseline glucose \u003e200 mg/dL) 1 (not additive) + NIHSS (\u003c15 0, 15-20 1, \u003e20 2) + hypodensity (none 0, \u003c1/3 MCA 1, \u003e1/3 MCA 2); Lou 2008; max 5; collective sICH 2/5/10/15/44% for scores 0/1/2/3/\u003e3","glucose_mg_dl":108,"hypodensity":"none","max_score":5,"nihss":10,"score":0,"sich_percent":2},{"citation":{"authors":"Lou M, Safdar A, Mehdiratta M, Kumar S, Schlaug G, Caplan L, Searls D, Selim M","doi":"10.1212/01.wnl.0000330297.58334.dd","id":"lou-2008","pmid":"18955684","source":"Neurology. 2008;71(18):1417-1423","title":"The HAT Score: a simple grading scale for predicting hemorrhage after thrombolysis"},"components":[{"diabetes":false,"factor":"diabetes_or_glucose","points":0,"present":false,"value":108},{"factor":"nihss","points":0,"present":false,"value":10},{"factor":"hypodensity","points":0,"present":false,"value":"none"}],"diabetes":false,"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":"hat","formula_expression":"HAT = (diabetes OR baseline glucose \u003e200 mg/dL) 1 (not additive) + NIHSS (\u003c15 0, 15-20 1, \u003e20 2) + hypodensity (none 0, \u003c1/3 MCA 1, \u003e1/3 MCA 2); Lou 2008; max 5; collective sICH 2/5/10/15/44% for scores 0/1/2/3/\u003e3","glucose_mg_dl":108,"hypodensity":"none","max_score":5,"nihss":10,"score":0,"sich_percent":2}],"path":"/api/calc/hat"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"diabetes":{"description":"History of diabetes mellitus (Lou 2008). true scores 1 on the diabetes-or-glucose item; not additive with glucose \u003e200 mg/dL.","type":"boolean"},"glucose_mg_dl":{"description":"Baseline glucose in mg/dL (50-1000). Provide this or glucose_mmol_l, not both. \u003e200 scores 1 on the diabetes-or-glucose item if diabetes is false; 200.0 does not (Lou 2008).","type":"number"},"glucose_mmol_l":{"description":"Baseline glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. Converted as mg/dL = mmol/L × 18. Scores 1 on the diabetes-or-glucose item if \u003e200 mg/dL after conversion (200.0 does not).","type":"number"},"hypodensity":{"description":"Easily visible hypodensity on initial CT as assigned by the caller (Lou 2008). none scores 0; less_than_third (\u003c1/3 MCA) scores 1; greater_than_third (\u003e1/3 MCA) scores 2. No published equals-1/3 category. magent does not read the CT.","enum":["none","less_than_third","greater_than_third"],"type":"string"},"nihss":{"description":"Caller-assigned pretreatment NIH Stroke Scale total (integer 0-42). \u003c15 scores 0; 15-20 scores 1; \u003e20 scores 2 (Lou 2008). magent does not compute NIHSS or examine the patient.","type":"integer"}},"required":["diabetes","nihss","hypodensity"],"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"}}},"lastUpdated":"2026-10-05T15:05:51.922Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T15:05:51.791Z"},"resource":"https://api.magentlab.com/api/calc/hat","serviceName":"magent","tags":["hat","stroke","thrombolysis","sich","neurology"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/sedan","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"SEDAN (Strbian 2012 Ann Neurol) for sICH after stroke thrombolysis. Glucose 8.1-12.0 mmol/L (1) or \u003e12.0 (2); early infarct signs (1); hyperdense cerebral artery (1); age \u003e75 (1); admission NIHSS ≥10 (1); max 6. Derivation absolute sICH 1.4%, 2.9%, 8.5%, 12.2%, 21.7%, 33.3% for scores 0-5; no published percent for 6. Not a tPA withhold decision. magent does not assign NIHSS or read CT.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":60,"early_infarct_signs":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hyperdense_artery":false,"nihss":5},{"age":60,"early_infarct_signs":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hyperdense_artery":false,"nihss":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Strbian D, Engelter S, Michel P, Meretoja A, Sekoranja L, Ahlhelm FJ, Mustanoja S, Lynch J, Soinne L, Sairanen T, Lyrer P, Tatlisumak T","doi":"10.1002/ana.23546","id":"strbian-2012-sedan","source":"Ann Neurol. 2012;71(5):634-641","title":"Symptomatic intracranial hemorrhage after stroke thrombolysis: the SEDAN score"},"components":[{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"early_infarct_signs","points":0,"present":false},{"factor":"hyperdense_artery","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":60},{"factor":"nihss","points":0,"present":false,"value":5}],"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.","early_infarct_signs":false,"formula":"sedan","formula_expression":"SEDAN = glucose (8.1-12.0 mmol/L 1; \u003e12.0 mmol/L 2) + early_infarct_signs 1 + hyperdense_artery 1 + (age \u003e75) 1 + (NIHSS \u003e=10) 1; max 6; derivation sICH 1.4/2.9/8.5/12.2/21.7/33.3% for scores 0-5 (Strbian 2012); no published percent for 6","glucose_mmol_l":6,"hyperdense_artery":false,"max_score":6,"nihss":5,"score":0,"sich_percent":1.4},{"age_years":60,"citation":{"authors":"Strbian D, Engelter S, Michel P, Meretoja A, Sekoranja L, Ahlhelm FJ, Mustanoja S, Lynch J, Soinne L, Sairanen T, Lyrer P, Tatlisumak T","doi":"10.1002/ana.23546","id":"strbian-2012-sedan","source":"Ann Neurol. 2012;71(5):634-641","title":"Symptomatic intracranial hemorrhage after stroke thrombolysis: the SEDAN score"},"components":[{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"early_infarct_signs","points":0,"present":false},{"factor":"hyperdense_artery","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":60},{"factor":"nihss","points":0,"present":false,"value":5}],"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.","early_infarct_signs":false,"formula":"sedan","formula_expression":"SEDAN = glucose (8.1-12.0 mmol/L 1; \u003e12.0 mmol/L 2) + early_infarct_signs 1 + hyperdense_artery 1 + (age \u003e75) 1 + (NIHSS \u003e=10) 1; max 6; derivation sICH 1.4/2.9/8.5/12.2/21.7/33.3% for scores 0-5 (Strbian 2012); no published percent for 6","glucose_mmol_l":6,"hyperdense_artery":false,"max_score":6,"nihss":5,"score":0,"sich_percent":1.4}],"path":"/api/calc/sedan"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). \u003e75 scores 1; 75 does not (Strbian 2012). magent does not date the patient.","type":"integer"},"early_infarct_signs":{"description":"Early infarct signs on admission CT as assigned by the caller (Strbian 2012). true scores 1; false scores 0. magent does not read the CT.","type":"boolean"},"glucose_mg_dl":{"description":"Baseline glucose in mg/dL (50-1000). Converted as mmol/L = mg/dL / 18. Provide this or glucose_mmol_l, not both.","type":"number"},"glucose_mmol_l":{"description":"Baseline glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. 8.1-12.0 inclusive scores 1; \u003e12.0 scores 2; else 0 (Strbian 2012).","type":"number"},"hyperdense_artery":{"description":"(Hyper)dense cerebral artery sign on admission CT as assigned by the caller (Strbian 2012). true scores 1; false scores 0. magent does not read the CT.","type":"boolean"},"nihss":{"description":"Caller-assigned NIH Stroke Scale total (integer 0-42). ≥10 scores 1; 9 does not. magent does not compute NIHSS or examine the patient.","type":"integer"}},"required":["age","nihss","early_infarct_signs","hyperdense_artery"],"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"}}},"lastUpdated":"2026-10-05T15:05:44.944Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T15:05:44.815Z"},"resource":"https://api.magentlab.com/api/calc/sedan","serviceName":"magent","tags":["sedan","stroke","thrombolysis","sich","neurology"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/dragon","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"DRAGON (Strbian 2012 Neurology) for 3-month outcome after IV thrombolysis. CT hyperdense artery or early infarct 0/1/2, prestroke mRS \u003e1 (1), age \u003c65/65-79/\u003e=80 (0/1/2), glucose \u003e8 mmol/L (mg/dL /18) (1), onset-to-treatment \u003e90 min (1), NIHSS 0-4/5-9/10-15/\u003e15 (0/1/2/3); max 10. Tabulated mRS 0-2 and mRS 5-6 percents for scores 0-1, 2, 3, 8, and 9-10 only. Not a tPA decision. Not studied in basilar occlusion. magent does not read CT or assign NIHSS.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":60,"early_infarct_signs":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hyperdense_artery":false,"nihss":3,"onset_to_treatment_min":60,"prestroke_mrs_gt_1":false},{"age":60,"early_infarct_signs":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hyperdense_artery":false,"nihss":3,"onset_to_treatment_min":60,"prestroke_mrs_gt_1":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Strbian D, Meretoja A, Ahlhelm FJ, Pitkäniemi J, Lyrer P, Kaste M, Tatlisumak T","doi":"10.1212/WNL.0b013e318245d2a9","id":"strbian-2012-dragon","pmid":"22311929","source":"Neurology. 2012;78(6):427-432","title":"Predicting outcome of IV thrombolysis-treated ischemic stroke patients: the DRAGON score"},"components":[{"factor":"hyperdense_artery","points":0,"present":false},{"factor":"early_infarct_signs","points":0,"present":false},{"factor":"prestroke_mrs_gt_1","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":60},{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"onset_to_treatment","points":0,"present":false,"value":60},{"factor":"nihss","points":0,"present":false,"value":3}],"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.","early_infarct_signs":false,"formula":"dragon","formula_expression":"DRAGON = dense_ct (hyperdense_artery 1 + early_infarct_signs 1; none 0, either 1, both 2) + prestroke_mrs_gt_1 (1 if prestroke mRS \u003e1) + age (\u003c65 0, 65-79 1, \u003e=80 2) + glucose \u003e8 mmol/L (1; 8.0 does not; mg/dL /18) + onset_to_treatment \u003e90 min (1; 90 does not) + NIHSS (0-4 0, 5-9 1, 10-15 2, \u003e15 3); Strbian 2012; max 10","glucose_mmol_l":6,"good_outcome_percent":96,"hyperdense_artery":false,"max_score":10,"miserable_outcome_percent":0,"nihss":3,"onset_to_treatment_min":60,"prestroke_mrs_gt_1":false,"score":0},{"age_years":60,"citation":{"authors":"Strbian D, Meretoja A, Ahlhelm FJ, Pitkäniemi J, Lyrer P, Kaste M, Tatlisumak T","doi":"10.1212/WNL.0b013e318245d2a9","id":"strbian-2012-dragon","pmid":"22311929","source":"Neurology. 2012;78(6):427-432","title":"Predicting outcome of IV thrombolysis-treated ischemic stroke patients: the DRAGON score"},"components":[{"factor":"hyperdense_artery","points":0,"present":false},{"factor":"early_infarct_signs","points":0,"present":false},{"factor":"prestroke_mrs_gt_1","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":60},{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"onset_to_treatment","points":0,"present":false,"value":60},{"factor":"nihss","points":0,"present":false,"value":3}],"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.","early_infarct_signs":false,"formula":"dragon","formula_expression":"DRAGON = dense_ct (hyperdense_artery 1 + early_infarct_signs 1; none 0, either 1, both 2) + prestroke_mrs_gt_1 (1 if prestroke mRS \u003e1) + age (\u003c65 0, 65-79 1, \u003e=80 2) + glucose \u003e8 mmol/L (1; 8.0 does not; mg/dL /18) + onset_to_treatment \u003e90 min (1; 90 does not) + NIHSS (0-4 0, 5-9 1, 10-15 2, \u003e15 3); Strbian 2012; max 10","glucose_mmol_l":6,"good_outcome_percent":96,"hyperdense_artery":false,"max_score":10,"miserable_outcome_percent":0,"nihss":3,"onset_to_treatment_min":60,"prestroke_mrs_gt_1":false,"score":0}],"path":"/api/calc/dragon"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Strbian 2012: \u003c65 scores 0; 65-79 scores 1; ≥80 scores 2.","type":"integer"},"early_infarct_signs":{"description":"Early infarct signs on admission CT as assigned by the caller (Strbian 2012). true scores 1. Combined with hyperdense_artery: none 0, either 1, both 2. magent does not read CT.","type":"boolean"},"glucose_mg_dl":{"description":"Baseline glucose in mg/dL (50-1000). Converted as mmol/L = mg/dL / 18. Provide this or glucose_mmol_l, not both. \u003e144 mg/dL scores; 144 does not.","type":"number"},"glucose_mmol_l":{"description":"Baseline glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. 1 point if \u003e8.0; 8.0 does not score.","type":"number"},"hyperdense_artery":{"description":"(Hyper)dense cerebral artery sign on admission CT as assigned by the caller (Strbian 2012). true scores 1. Combined with early_infarct_signs: none 0, either 1, both 2. magent does not read CT.","type":"boolean"},"nihss":{"description":"Caller-assigned NIH Stroke Scale total (integer 0-42). 0-4 scores 0; 5-9 scores 1; 10-15 scores 2; \u003e15 (16-42) scores 3. magent does not compute NIHSS or examine the patient.","type":"integer"},"onset_to_treatment_min":{"description":"Onset-to-treatment time in minutes (integer 0-360). \u003e90 scores 1; 90 does not. magent does not clock the delay.","type":"integer"},"prestroke_mrs_gt_1":{"description":"Prestroke modified Rankin Scale \u003e1 as assigned by the caller (Strbian 2012). true scores 1; false scores 0. Do not send a raw mRS integer. magent does not assign mRS.","type":"boolean"}},"required":["age","nihss","onset_to_treatment_min","hyperdense_artery","early_infarct_signs","prestroke_mrs_gt_1"],"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"}}},"lastUpdated":"2026-10-05T15:05:38.119Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T15:05:37.956Z"},"resource":"https://api.magentlab.com/api/calc/dragon","serviceName":"magent","tags":["dragon","stroke","thrombolysis","nihss","neurology"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/cpot","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Gélinas 2006 CPOT from four caller-assigned 0-2 items (facial_expression, body_movements, muscle_tension, plus ventilator_compliance when intubated or vocalization when extubated) using that paper's 0/1/2 descriptors. magent sums only (max 8) and does not observe the patient. No later intensity cutoffs. Not a pain diagnosis or analgesic order. Not PAINAD.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"body_movements":0,"facial_expression":0,"intubated":false,"muscle_tension":0,"ventilator_compliance":0,"vocalization":0},{"body_movements":0,"facial_expression":0,"intubated":false,"muscle_tension":0,"ventilator_compliance":0,"vocalization":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"body_movements":0,"citation":{"authors":"Gélinas C, Fillion L, Puntillo KA, Viens C, Fortier M","doi":"10.4037/ajcc2006.15.4.420","id":"gelinas-2006","pmid":"16823021","source":"Am J Crit Care. 2006;15(4):420-427","title":"Validation of the Critical-Care Pain Observation Tool in Adult Patients"},"components":[{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"body_movements","points":0,"present":true,"value":0},{"factor":"muscle_tension","points":0,"present":true,"value":0},{"factor":"vocalization","points":0,"present":true,"value":0}],"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.","facial_expression":0,"formula":"cpot","formula_expression":"CPOT = facial_expression + body_movements + muscle_tension + ventilator_compliance (intubated) or vocalization (extubated); each caller-assigned 0-2; max 8","intubated":false,"max_score":8,"muscle_tension":0,"score":0,"vocalization":0},{"body_movements":0,"citation":{"authors":"Gélinas C, Fillion L, Puntillo KA, Viens C, Fortier M","doi":"10.4037/ajcc2006.15.4.420","id":"gelinas-2006","pmid":"16823021","source":"Am J Crit Care. 2006;15(4):420-427","title":"Validation of the Critical-Care Pain Observation Tool in Adult Patients"},"components":[{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"body_movements","points":0,"present":true,"value":0},{"factor":"muscle_tension","points":0,"present":true,"value":0},{"factor":"vocalization","points":0,"present":true,"value":0}],"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.","facial_expression":0,"formula":"cpot","formula_expression":"CPOT = facial_expression + body_movements + muscle_tension + ventilator_compliance (intubated) or vocalization (extubated); each caller-assigned 0-2; max 8","intubated":false,"max_score":8,"muscle_tension":0,"score":0,"vocalization":0}],"path":"/api/calc/cpot"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"body_movements":{"description":"Caller-assigned Gélinas 2006 CPOT body movements (integer 0-2): 0 absence of movements or normal position; 1 protection; 2 restlessness. magent does not observe the patient.","type":"integer"},"facial_expression":{"description":"Caller-assigned Gélinas 2006 CPOT facial expression (integer 0-2): 0 relaxed, no muscle tension; 1 tense (brow lowering, orbit tightening, levator contraction); 2 grimacing. magent does not observe the patient.","type":"integer"},"intubated":{"description":"true when intubated: provide ventilator_compliance and omit vocalization. false when extubated: provide vocalization and omit ventilator_compliance. magent does not observe the patient.","type":"boolean"},"muscle_tension":{"description":"Caller-assigned Gélinas 2006 CPOT muscle tension on passive flexion/extension of upper limbs (integer 0-2): 0 relaxed; 1 tense/rigid; 2 very tense or rigid. magent does not observe the patient.","type":"integer"},"ventilator_compliance":{"description":"Caller-assigned Gélinas 2006 CPOT ventilator compliance when intubated=true (integer 0-2): 0 tolerating ventilator or movement; 1 coughing but still tolerating; 2 fighting ventilator. Omit when intubated=false. magent does not observe the patient.","type":"integer"},"vocalization":{"description":"Caller-assigned Gélinas 2006 CPOT vocalization when intubated=false (integer 0-2): 0 talking in normal tone or no sound; 1 sighing, moaning; 2 crying out, sobbing. Omit when intubated=true. magent does not observe the patient.","type":"integer"}},"required":["facial_expression","body_movements","muscle_tension","intubated"],"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"}}},"lastUpdated":"2026-10-05T15:05:02.834Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T15:05:02.711Z"},"resource":"https://api.magentlab.com/api/calc/cpot","serviceName":"magent","tags":["cpot","pain","icu","neurology","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/bush_francis","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Bush 1996 23-item catatonia rating scale from caller-assigned integers. Items 1-16 and 22-23 are 0-3; mitgehen, gegenhalten, ambitendency, grasp_reflex, and perseveration are 0 or 3 only. Severity is the sum of items 1-23 (max 69). The 14-item screen is positive iff at least two of items 1-14 score above 0. magent does not perform the standardized examination. Not a diagnosis, not DSM catatonia criteria, not a medical device.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ambitendency":0,"automatic_obedience":0,"autonomic_abnormality":0,"combativeness":0,"echopraxia_echolalia":0,"excitement":1,"gegenhalten":0,"grasp_reflex":0,"grimacing":0,"immobility_stupor":1,"impulsivity":0,"mannerisms":0,"mitgehen":0,"mutism":0,"negativism":0,"perseveration":0,"posturing_catalepsy":0,"rigidity":0,"staring":0,"stereotypy":0,"verbigeration":0,"waxy_flexibility":0,"withdrawal":0},{"ambitendency":0,"automatic_obedience":0,"autonomic_abnormality":0,"combativeness":0,"echopraxia_echolalia":0,"excitement":1,"gegenhalten":0,"grasp_reflex":0,"grimacing":0,"immobility_stupor":1,"impulsivity":0,"mannerisms":0,"mitgehen":0,"mutism":0,"negativism":0,"perseveration":0,"posturing_catalepsy":0,"rigidity":0,"staring":0,"stereotypy":0,"verbigeration":0,"waxy_flexibility":0,"withdrawal":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Bush G, Fink M, Petrides G, Dowling F, Francis A","doi":"10.1111/j.1600-0447.1996.tb09814.x","id":"bush-1996","pmid":"8686483","source":"Acta Psychiatr Scand. 1996;93(2):129-136","title":"Catatonia. I. Rating scale and standardized examination"},"components":[{"factor":"excitement","points":1,"present":true,"value":1},{"factor":"immobility_stupor","points":1,"present":true,"value":1},{"factor":"mutism","points":0,"present":true,"value":0},{"factor":"staring","points":0,"present":true,"value":0},{"factor":"posturing_catalepsy","points":0,"present":true,"value":0},{"factor":"grimacing","points":0,"present":true,"value":0},{"factor":"echopraxia_echolalia","points":0,"present":true,"value":0},{"factor":"stereotypy","points":0,"present":true,"value":0},{"factor":"mannerisms","points":0,"present":true,"value":0},{"factor":"verbigeration","points":0,"present":true,"value":0},{"factor":"rigidity","points":0,"present":true,"value":0},{"factor":"negativism","points":0,"present":true,"value":0},{"factor":"waxy_flexibility","points":0,"present":true,"value":0},{"factor":"withdrawal","points":0,"present":true,"value":0},{"factor":"impulsivity","points":0,"present":true,"value":0},{"factor":"automatic_obedience","points":0,"present":true,"value":0},{"factor":"mitgehen","points":0,"present":true,"value":0},{"factor":"gegenhalten","points":0,"present":true,"value":0},{"factor":"ambitendency","points":0,"present":true,"value":0},{"factor":"grasp_reflex","points":0,"present":true,"value":0},{"factor":"perseveration","points":0,"present":true,"value":0},{"factor":"combativeness","points":0,"present":true,"value":0},{"factor":"autonomic_abnormality","points":0,"present":true,"value":0}],"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":"bush_francis","formula_expression":"Bush-Francis CRS = excitement + immobility_stupor + mutism + staring + posturing_catalepsy + grimacing + echopraxia_echolalia + stereotypy + mannerisms + verbigeration + rigidity + negativism + waxy_flexibility + withdrawal + impulsivity + automatic_obedience + mitgehen + gegenhalten + ambitendency + grasp_reflex + perseveration + combativeness + autonomic_abnormality; Bush 1996 23-item catatonia rating scale; items 1-16 and 22-23 integers 0-3; items 17-21 (mitgehen, gegenhalten, ambitendency, grasp_reflex, perseveration) 0 or 3 only; severity score = sum of items 1-23; screening instrument = first 14 items; screen_positive iff count of items 1-14 with score \u003e 0 is \u003e= 2; max 69; not a diagnosis","max_score":69,"score":2,"screen_positive":true,"screen_signs_met":2},{"citation":{"authors":"Bush G, Fink M, Petrides G, Dowling F, Francis A","doi":"10.1111/j.1600-0447.1996.tb09814.x","id":"bush-1996","pmid":"8686483","source":"Acta Psychiatr Scand. 1996;93(2):129-136","title":"Catatonia. I. Rating scale and standardized examination"},"components":[{"factor":"excitement","points":1,"present":true,"value":1},{"factor":"immobility_stupor","points":1,"present":true,"value":1},{"factor":"mutism","points":0,"present":true,"value":0},{"factor":"staring","points":0,"present":true,"value":0},{"factor":"posturing_catalepsy","points":0,"present":true,"value":0},{"factor":"grimacing","points":0,"present":true,"value":0},{"factor":"echopraxia_echolalia","points":0,"present":true,"value":0},{"factor":"stereotypy","points":0,"present":true,"value":0},{"factor":"mannerisms","points":0,"present":true,"value":0},{"factor":"verbigeration","points":0,"present":true,"value":0},{"factor":"rigidity","points":0,"present":true,"value":0},{"factor":"negativism","points":0,"present":true,"value":0},{"factor":"waxy_flexibility","points":0,"present":true,"value":0},{"factor":"withdrawal","points":0,"present":true,"value":0},{"factor":"impulsivity","points":0,"present":true,"value":0},{"factor":"automatic_obedience","points":0,"present":true,"value":0},{"factor":"mitgehen","points":0,"present":true,"value":0},{"factor":"gegenhalten","points":0,"present":true,"value":0},{"factor":"ambitendency","points":0,"present":true,"value":0},{"factor":"grasp_reflex","points":0,"present":true,"value":0},{"factor":"perseveration","points":0,"present":true,"value":0},{"factor":"combativeness","points":0,"present":true,"value":0},{"factor":"autonomic_abnormality","points":0,"present":true,"value":0}],"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":"bush_francis","formula_expression":"Bush-Francis CRS = excitement + immobility_stupor + mutism + staring + posturing_catalepsy + grimacing + echopraxia_echolalia + stereotypy + mannerisms + verbigeration + rigidity + negativism + waxy_flexibility + withdrawal + impulsivity + automatic_obedience + mitgehen + gegenhalten + ambitendency + grasp_reflex + perseveration + combativeness + autonomic_abnormality; Bush 1996 23-item catatonia rating scale; items 1-16 and 22-23 integers 0-3; items 17-21 (mitgehen, gegenhalten, ambitendency, grasp_reflex, perseveration) 0 or 3 only; severity score = sum of items 1-23; screening instrument = first 14 items; screen_positive iff count of items 1-14 with score \u003e 0 is \u003e= 2; max 69; not a diagnosis","max_score":69,"score":2,"screen_positive":true,"screen_signs_met":2}],"path":"/api/calc/bush_francis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ambitendency":{"description":"Caller-assigned Bush 1996 ambitendency (item 19; 0 absent or 3 present only). magent does not examine the patient.","enum":[0,3],"type":"integer"},"automatic_obedience":{"description":"Caller-assigned Bush 1996 automatic obedience (item 16; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"autonomic_abnormality":{"description":"Caller-assigned Bush 1996 autonomic abnormality (item 23; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"combativeness":{"description":"Caller-assigned Bush 1996 combativeness (item 22; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"echopraxia_echolalia":{"description":"Caller-assigned Bush 1996 echopraxia/echolalia (item 7; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"excitement":{"description":"Caller-assigned Bush 1996 excitement (item 1; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"gegenhalten":{"description":"Caller-assigned Bush 1996 gegenhalten (item 18; 0 absent or 3 present only). magent does not examine the patient.","enum":[0,3],"type":"integer"},"grasp_reflex":{"description":"Caller-assigned Bush 1996 grasp reflex (item 20; 0 absent or 3 present only). magent does not examine the patient.","enum":[0,3],"type":"integer"},"grimacing":{"description":"Caller-assigned Bush 1996 grimacing (item 6; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"immobility_stupor":{"description":"Caller-assigned Bush 1996 immobility/stupor (item 2; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"impulsivity":{"description":"Caller-assigned Bush 1996 impulsivity (item 15; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"mannerisms":{"description":"Caller-assigned Bush 1996 mannerisms (item 9; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"mitgehen":{"description":"Caller-assigned Bush 1996 mitgehen (item 17; 0 absent or 3 present only). magent does not examine the patient.","enum":[0,3],"type":"integer"},"mutism":{"description":"Caller-assigned Bush 1996 mutism (item 3; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"negativism":{"description":"Caller-assigned Bush 1996 negativism (item 12; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"perseveration":{"description":"Caller-assigned Bush 1996 perseveration (item 21; 0 absent or 3 present only). magent does not examine the patient.","enum":[0,3],"type":"integer"},"posturing_catalepsy":{"description":"Caller-assigned Bush 1996 posturing/catalepsy (item 5; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"rigidity":{"description":"Caller-assigned Bush 1996 rigidity (item 11; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"staring":{"description":"Caller-assigned Bush 1996 staring (item 4; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"stereotypy":{"description":"Caller-assigned Bush 1996 stereotypy (item 8; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"verbigeration":{"description":"Caller-assigned Bush 1996 verbigeration (item 10; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"waxy_flexibility":{"description":"Caller-assigned Bush 1996 waxy flexibility (item 13; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"withdrawal":{"description":"Caller-assigned Bush 1996 withdrawal (item 14; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"}},"required":["excitement","immobility_stupor","mutism","staring","posturing_catalepsy","grimacing","echopraxia_echolalia","stereotypy","mannerisms","verbigeration","rigidity","negativism","waxy_flexibility","withdrawal","impulsivity","automatic_obedience","mitgehen","gegenhalten","ambitendency","grasp_reflex","perseveration","combativeness","autonomic_abnormality"],"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"}}},"lastUpdated":"2026-10-05T15:03:36.974Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T15:03:36.815Z"},"resource":"https://api.magentlab.com/api/calc/bush_francis","serviceName":"magent","tags":["bush-francis","catatonia","neurology","bfcrs","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/astral","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Ntaios 2012 ASTRAL integer score for 3-month mRS \u003e2 in acute ischemic stroke. Age 1/5 years + NIHSS (caller 0-42) + 2 if onset-to-admission \u003e180 min + 2 if visual field defect + 1 if glucose \u003c3.7 or \u003e7.3 mmol/L (mg/dL /18) + 3 if impaired consciousness. Score 31 is 50% unfavorable. Not a tPA decision. magent does not compute NIHSS.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"delay_gt_180":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"loc_impaired":false,"nihss":0,"visual_field_defect":false},{"age":40,"delay_gt_180":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"loc_impaired":false,"nihss":0,"visual_field_defect":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Ntaios G, Faouzi M, Ferrari J, Lang W, Vemmos K, Michel P","doi":"10.1212/WNL.0b013e318259e221","id":"ntaios-2012","pmid":"22649218","source":"Neurology. 2012;78(24):1916-1922","title":"An integer-based score to predict functional outcome in acute ischemic stroke: the ASTRAL score"},"components":[{"factor":"age","points":8,"present":true,"value":40},{"factor":"nihss","points":0,"present":false,"value":0},{"factor":"delay_gt_180","points":0,"present":false},{"factor":"visual_field_defect","points":0,"present":false},{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"loc_impaired","points":0,"present":false}],"delay_gt_180":false,"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":"astral","formula_expression":"ASTRAL = age (1 per 5 years) + NIHSS + 2 if onset-to-admission \u003e180 min + 2 if visual field defect + 1 if glucose \u003c3.7 or \u003e7.3 mmol/L + 3 if impaired consciousness; Ntaios 2012; 3-month mRS \u003e2 is 50% at score 31","glucose_abnormal":false,"glucose_mmol_l":6,"loc_impaired":false,"max_score":74,"nihss":0,"score":8,"unfavorable_ge_31":false,"visual_field_defect":false},{"age_years":40,"citation":{"authors":"Ntaios G, Faouzi M, Ferrari J, Lang W, Vemmos K, Michel P","doi":"10.1212/WNL.0b013e318259e221","id":"ntaios-2012","pmid":"22649218","source":"Neurology. 2012;78(24):1916-1922","title":"An integer-based score to predict functional outcome in acute ischemic stroke: the ASTRAL score"},"components":[{"factor":"age","points":8,"present":true,"value":40},{"factor":"nihss","points":0,"present":false,"value":0},{"factor":"delay_gt_180","points":0,"present":false},{"factor":"visual_field_defect","points":0,"present":false},{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"loc_impaired","points":0,"present":false}],"delay_gt_180":false,"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":"astral","formula_expression":"ASTRAL = age (1 per 5 years) + NIHSS + 2 if onset-to-admission \u003e180 min + 2 if visual field defect + 1 if glucose \u003c3.7 or \u003e7.3 mmol/L + 3 if impaired consciousness; Ntaios 2012; 3-month mRS \u003e2 is 50% at score 31","glucose_abnormal":false,"glucose_mmol_l":6,"loc_impaired":false,"max_score":74,"nihss":0,"score":8,"unfavorable_ge_31":false,"visual_field_defect":false}],"path":"/api/calc/astral"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Ntaios 2012 integer weight is 1 point per 5 years (integer division). magent does not date the patient.","type":"integer"},"delay_gt_180":{"description":"Onset-to-admission delay \u003e180 minutes (Ntaios 2012 time item). true scores 2; false (including 180 min) scores 0. magent does not clock the delay.","type":"boolean"},"glucose_mg_dl":{"description":"Admission glucose in mg/dL (50-1000). Converted as mmol/L = mg/dL / 18. Provide this or glucose_mmol_l, not both.","type":"number"},"glucose_mmol_l":{"description":"Admission glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. 1 point if \u003c3.7 or \u003e7.3; 3.7 and 7.3 do not score.","type":"number"},"loc_impaired":{"description":"Impaired consciousness as assigned by the caller (Ntaios 2012; NIHSS item 1a \u003e0). true scores 3; false scores 0. magent does not compute NIHSS.","type":"boolean"},"nihss":{"description":"Caller-assigned NIH Stroke Scale total (integer 0-42). 1 point per NIHSS point. magent does not compute NIHSS or examine the patient.","type":"integer"},"visual_field_defect":{"description":"Any stroke-related visual field defect as assigned by the caller (Ntaios 2012 range of visual fields). true scores 2; false scores 0. magent does not examine the patient.","type":"boolean"}},"required":["age","nihss","delay_gt_180","visual_field_defect","loc_impaired"],"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"}}},"lastUpdated":"2026-10-05T15:03:01.628Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T15:03:01.465Z"},"resource":"https://api.magentlab.com/api/calc/astral","serviceName":"magent","tags":["astral","stroke","neurology","nihss","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/berg_balance","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Berg 1992 Berg Balance Scale (BBS): fourteen caller-assigned integers 0-4 (sitting to standing through standing on one foot). Sum 0-56. magent does not observe. Berg 1992 printed no 0-20 wheelchair / 21-40 walking-with-assistance / 41-56 independent website bands. Not Timed Up and Go, not a diagnosis, and not a medical device.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alternate_foot_on_stool":0,"reaching_forward":0,"retrieving_object_from_floor":0,"sitting_to_standing":0,"sitting_unsupported":0,"standing_eyes_closed":0,"standing_feet_together":0,"standing_on_one_foot":0,"standing_to_sitting":0,"standing_unsupported":0,"tandem_stance":0,"transfers":0,"turning_360":0,"turning_to_look_behind":0},{"alternate_foot_on_stool":0,"reaching_forward":0,"retrieving_object_from_floor":0,"sitting_to_standing":0,"sitting_unsupported":0,"standing_eyes_closed":0,"standing_feet_together":0,"standing_on_one_foot":0,"standing_to_sitting":0,"standing_unsupported":0,"tandem_stance":0,"transfers":0,"turning_360":0,"turning_to_look_behind":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Berg KO, Wood-Dauphinee SL, Williams JI, Maki B","id":"berg-1992","pmid":"1468055","source":"Can J Public Health. 1992;83 Suppl 2:S7-S11","title":"Measuring balance in the elderly: validation of an instrument"},"components":[{"factor":"sitting_to_standing","points":0,"present":true,"value":0},{"factor":"standing_unsupported","points":0,"present":true,"value":0},{"factor":"sitting_unsupported","points":0,"present":true,"value":0},{"factor":"standing_to_sitting","points":0,"present":true,"value":0},{"factor":"transfers","points":0,"present":true,"value":0},{"factor":"standing_eyes_closed","points":0,"present":true,"value":0},{"factor":"standing_feet_together","points":0,"present":true,"value":0},{"factor":"reaching_forward","points":0,"present":true,"value":0},{"factor":"retrieving_object_from_floor","points":0,"present":true,"value":0},{"factor":"turning_to_look_behind","points":0,"present":true,"value":0},{"factor":"turning_360","points":0,"present":true,"value":0},{"factor":"alternate_foot_on_stool","points":0,"present":true,"value":0},{"factor":"tandem_stance","points":0,"present":true,"value":0},{"factor":"standing_on_one_foot","points":0,"present":true,"value":0}],"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":"berg_balance","formula_expression":"Berg Balance Scale = sitting_to_standing + standing_unsupported + sitting_unsupported + standing_to_sitting + transfers + standing_eyes_closed + standing_feet_together + reaching_forward + retrieving_object_from_floor + turning_to_look_behind + turning_360 + alternate_foot_on_stool + tandem_stance + standing_on_one_foot; each caller-assigned 0-4; Berg 1992 fourteen items; max 56; no 0-20 / 21-40 / 41-56 wheelchair/assist/independent website bands","max_score":56,"score":0},{"citation":{"authors":"Berg KO, Wood-Dauphinee SL, Williams JI, Maki B","id":"berg-1992","pmid":"1468055","source":"Can J Public Health. 1992;83 Suppl 2:S7-S11","title":"Measuring balance in the elderly: validation of an instrument"},"components":[{"factor":"sitting_to_standing","points":0,"present":true,"value":0},{"factor":"standing_unsupported","points":0,"present":true,"value":0},{"factor":"sitting_unsupported","points":0,"present":true,"value":0},{"factor":"standing_to_sitting","points":0,"present":true,"value":0},{"factor":"transfers","points":0,"present":true,"value":0},{"factor":"standing_eyes_closed","points":0,"present":true,"value":0},{"factor":"standing_feet_together","points":0,"present":true,"value":0},{"factor":"reaching_forward","points":0,"present":true,"value":0},{"factor":"retrieving_object_from_floor","points":0,"present":true,"value":0},{"factor":"turning_to_look_behind","points":0,"present":true,"value":0},{"factor":"turning_360","points":0,"present":true,"value":0},{"factor":"alternate_foot_on_stool","points":0,"present":true,"value":0},{"factor":"tandem_stance","points":0,"present":true,"value":0},{"factor":"standing_on_one_foot","points":0,"present":true,"value":0}],"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":"berg_balance","formula_expression":"Berg Balance Scale = sitting_to_standing + standing_unsupported + sitting_unsupported + standing_to_sitting + transfers + standing_eyes_closed + standing_feet_together + reaching_forward + retrieving_object_from_floor + turning_to_look_behind + turning_360 + alternate_foot_on_stool + tandem_stance + standing_on_one_foot; each caller-assigned 0-4; Berg 1992 fourteen items; max 56; no 0-20 / 21-40 / 41-56 wheelchair/assist/independent website bands","max_score":56,"score":0}],"path":"/api/calc/berg_balance"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alternate_foot_on_stool":{"description":"Caller-assigned Berg 1992 placing alternate foot on step or stool while standing unsupported (integer 0-4): 4 able to stand independently and safely and complete 8 steps in 20 seconds; 3 able to stand independently and complete 8 steps in more than 20 seconds; 2 able to complete 4 steps without aid with supervision; 1 able to complete more than 2 steps needs minimal assist; 0 needs assistance to keep from falling or unable to try. magent does not observe the patient.","type":"integer"},"reaching_forward":{"description":"Caller-assigned Berg 1992 reaching forward with outstretched arm while standing (integer 0-4): 4 can reach forward confidently more than 25 cm (10 inches); 3 can reach forward more than 12 cm (5 inches) safely; 2 can reach forward more than 5 cm (2 inches) safely; 1 reaches forward but needs supervision; 0 loses balance while trying or requires external support. magent does not observe the patient.","type":"integer"},"retrieving_object_from_floor":{"description":"Caller-assigned Berg 1992 retrieving object from floor from a standing position (integer 0-4): 4 able to pick up slipper safely and easily; 3 able to pick up slipper but needs supervision; 2 unable to pick up but reaches 2-5 cm from slipper and keeps balance independently; 1 unable to pick up and needs supervision while trying; 0 unable to try or needs assist to keep from losing balance. magent does not observe the patient.","type":"integer"},"sitting_to_standing":{"description":"Caller-assigned Berg 1992 sitting to standing (integer 0-4): 4 able to stand without using hands and stabilize independently; 3 able to stand independently using hands; 2 able to stand using hands after several tries; 1 needs minimal aid to stand or stabilize; 0 needs moderate or maximal assist to stand. magent does not observe the patient.","type":"integer"},"sitting_unsupported":{"description":"Caller-assigned Berg 1992 sitting unsupported, feet supported (integer 0-4): 4 able to sit safely and securely for 2 minutes; 3 able to sit 2 minutes under supervision; 2 able to sit 30 seconds; 1 able to sit 10 seconds; 0 unable to sit without support 10 seconds. magent does not observe the patient.","type":"integer"},"standing_eyes_closed":{"description":"Caller-assigned Berg 1992 standing unsupported with eyes closed (integer 0-4): 4 able to stand 10 seconds safely; 3 able to stand 10 seconds with supervision; 2 able to stand 3 seconds; 1 unable to keep eyes closed 3 seconds but stays standing; 0 needs help to keep from falling. magent does not observe the patient.","type":"integer"},"standing_feet_together":{"description":"Caller-assigned Berg 1992 standing unsupported with feet together (integer 0-4): 4 able to place feet together independently and stand 1 minute safely; 3 able to place feet together independently and stand 1 minute with supervision; 2 able to place feet together independently but unable to hold 30 seconds; 1 needs help to attain position but able to stand 15 seconds; 0 needs help to attain position and unable to hold 15 seconds. magent does not observe the patient.","type":"integer"},"standing_on_one_foot":{"description":"Caller-assigned Berg 1992 standing on one foot (integer 0-4): 4 able to lift leg independently and hold more than 10 seconds; 3 able to lift leg independently and hold 5-10 seconds; 2 able to lift leg independently and hold at least 3 seconds; 1 tries to lift leg unable to hold 3 seconds but remains standing independently; 0 unable to try or needs assist to prevent fall. magent does not observe the patient.","type":"integer"},"standing_to_sitting":{"description":"Caller-assigned Berg 1992 standing to sitting (integer 0-4): 4 sits safely with minimal use of hands; 3 controls descent by using hands; 2 uses back of legs against chair to control descent; 1 sits independently but has uncontrolled descent; 0 needs assistance to sit. magent does not observe the patient.","type":"integer"},"standing_unsupported":{"description":"Caller-assigned Berg 1992 standing unsupported (integer 0-4): 4 able to stand safely for 2 minutes; 3 able to stand 2 minutes with supervision; 2 able to stand 30 seconds unsupported; 1 needs several tries to stand 30 seconds unsupported; 0 unable to stand 30 seconds unassisted. magent does not observe the patient.","type":"integer"},"tandem_stance":{"description":"Caller-assigned Berg 1992 standing unsupported one foot in front (integer 0-4): 4 able to place foot tandem independently and hold 30 seconds; 3 able to place foot ahead of other independently and hold 30 seconds; 2 able to take small step independently and hold 30 seconds; 1 needs help to step but can hold 15 seconds; 0 loses balance while stepping or standing. magent does not observe the patient.","type":"integer"},"transfers":{"description":"Caller-assigned Berg 1992 transfers (integer 0-4): 4 able to transfer safely with minor use of hands; 3 able to transfer safely definite need of hands; 2 able to transfer with verbal cuing and/or supervision; 1 needs one person to assist; 0 needs two people to assist or supervise to be safe. magent does not observe the patient.","type":"integer"},"turning_360":{"description":"Caller-assigned Berg 1992 turning 360 degrees (integer 0-4): 4 able to turn 360 degrees safely in 4 seconds or less; 3 able to turn 360 degrees safely one side only in 4 seconds or less; 2 able to turn 360 degrees safely but slowly; 1 needs close supervision or verbal cuing; 0 needs assistance while turning. magent does not observe the patient.","type":"integer"},"turning_to_look_behind":{"description":"Caller-assigned Berg 1992 turning to look behind over left and right shoulders while standing (integer 0-4): 4 looks behind from both sides with weight shift; 3 looks behind one side only other side shows less weight shift; 2 turns sideways only but maintains balance; 1 needs supervision when turning; 0 needs assist to keep from losing balance or falling. magent does not observe the patient.","type":"integer"}},"required":["sitting_to_standing","standing_unsupported","sitting_unsupported","standing_to_sitting","transfers","standing_eyes_closed","standing_feet_together","reaching_forward","retrieving_object_from_floor","turning_to_look_behind","turning_360","alternate_foot_on_stool","tandem_stance","standing_on_one_foot"],"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"}}},"lastUpdated":"2026-10-05T14:59:39.364Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:59:39.211Z"},"resource":"https://api.magentlab.com/api/calc/berg_balance","serviceName":"magent","tags":["bbs","berg","balance","neurology","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/canadian_tia","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Perry 2021 Canadian TIA Score (Table 1) for 7-day stroke or carotid revascularization after TIA. Clinical: first TIA 2, symptoms \u003e=10 min 2, past carotid stenosis 2, antiplatelet 3, gait 1, unilateral weakness 1, vertigo -3, diastolic \u003e=110 3, dysarthria/aphasia 1. Investigations: AF on ECG 2, infarct on CT 1, platelets \u003e=400 2, glucose \u003e=15 mmol/L 3. Age required, 0 points. Total -3 to 23. Bands \u003c=3 low (0.5%), 4-8 medium (2.3%), \u003e=9 high (5.9%). Not ABCD2. Not a diagnosis or admit order.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"af_on_ecg":false,"age":70,"carotid_stenosis":false,"diastolic_mm_hg":80,"dysarthria_or_aphasia":false,"first_tia":false,"gait_disturbance":false,"glucose_mg_dl":90,"glucose_mmol_l":5,"infarct_on_ct":false,"on_antiplatelet":false,"platelets_10e9_l":200,"symptoms_ge_10_min":false,"unilateral_weakness":false,"vertigo":false},{"af_on_ecg":false,"age":70,"carotid_stenosis":false,"diastolic_mm_hg":80,"dysarthria_or_aphasia":false,"first_tia":false,"gait_disturbance":false,"glucose_mg_dl":90,"glucose_mmol_l":5,"infarct_on_ct":false,"on_antiplatelet":false,"platelets_10e9_l":200,"symptoms_ge_10_min":false,"unilateral_weakness":false,"vertigo":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Perry JJ, Sivilotti MLA, Émond M, Stiell IG, Stotts G, Lee J, Worster A, Morris J, Cheung KW, Jin AY, Oczkowski WJ, Sahlas DJ, Murray HE, Mackey A, Verreault S, Camden MC, Yip S, Teal P, Gladstone DJ, Boulos MI, Chagnon N, Shouldice E, Atzema C, Slaoui T, Teitlebaum J, Abdulaziz K, Nemnom MJ, Wells GA, Sharma M","doi":"10.1136/bmj.n49","id":"perry-2021","pmid":"33541890","source":"BMJ. 2021;372:n49","title":"Prospective validation of Canadian TIA Score and comparison with ABCD2 and ABCD2i for subsequent stroke risk after transient ischaemic attack: multicentre prospective cohort study"},"components":[{"factor":"first_tia","points":0,"present":false},{"factor":"symptoms_ge_10_min","points":0,"present":false},{"factor":"carotid_stenosis","points":0,"present":false},{"factor":"on_antiplatelet","points":0,"present":false},{"factor":"gait_disturbance","points":0,"present":false},{"factor":"unilateral_weakness","points":0,"present":false},{"factor":"vertigo","points":0,"present":false},{"factor":"diastolic_mm_hg","points":0,"present":false,"value":80},{"factor":"dysarthria_or_aphasia","points":0,"present":false},{"factor":"af_on_ecg","points":0,"present":false},{"factor":"infarct_on_ct","points":0,"present":false},{"factor":"platelets_10e9_l","points":0,"present":false,"value":200},{"factor":"glucose","points":0,"present":false,"value":5}],"diastolic_mm_hg":80,"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":"canadian_tia","formula_expression":"Canadian TIA Score = first_tia 2 + symptoms_ge_10_min 2 + carotid_stenosis 2 + on_antiplatelet 3 + gait_disturbance 1 + unilateral_weakness 1 + vertigo -3 + (diastolic_mm_hg \u003e= 110) 3 + dysarthria_or_aphasia 1 + af_on_ecg 2 + infarct_on_ct 1 + (platelets_10e9_l \u003e= 400) 2 + (glucose \u003e= 15 mmol/L) 3; age 18-120 required, 0 points; total -3 to 23; tia_risk low \u003c=3 (0.5%), medium 4-8 (2.3%), high \u003e=9 (5.9%) 7-day stroke or carotid revascularization (Perry 2021 Table 1 / Table 4); max 23","glucose_mmol_l":5,"max_score":23,"platelets_10e9_l":200,"score":0,"tia_risk":"low"},{"age_years":70,"citation":{"authors":"Perry JJ, Sivilotti MLA, Émond M, Stiell IG, Stotts G, Lee J, Worster A, Morris J, Cheung KW, Jin AY, Oczkowski WJ, Sahlas DJ, Murray HE, Mackey A, Verreault S, Camden MC, Yip S, Teal P, Gladstone DJ, Boulos MI, Chagnon N, Shouldice E, Atzema C, Slaoui T, Teitlebaum J, Abdulaziz K, Nemnom MJ, Wells GA, Sharma M","doi":"10.1136/bmj.n49","id":"perry-2021","pmid":"33541890","source":"BMJ. 2021;372:n49","title":"Prospective validation of Canadian TIA Score and comparison with ABCD2 and ABCD2i for subsequent stroke risk after transient ischaemic attack: multicentre prospective cohort study"},"components":[{"factor":"first_tia","points":0,"present":false},{"factor":"symptoms_ge_10_min","points":0,"present":false},{"factor":"carotid_stenosis","points":0,"present":false},{"factor":"on_antiplatelet","points":0,"present":false},{"factor":"gait_disturbance","points":0,"present":false},{"factor":"unilateral_weakness","points":0,"present":false},{"factor":"vertigo","points":0,"present":false},{"factor":"diastolic_mm_hg","points":0,"present":false,"value":80},{"factor":"dysarthria_or_aphasia","points":0,"present":false},{"factor":"af_on_ecg","points":0,"present":false},{"factor":"infarct_on_ct","points":0,"present":false},{"factor":"platelets_10e9_l","points":0,"present":false,"value":200},{"factor":"glucose","points":0,"present":false,"value":5}],"diastolic_mm_hg":80,"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":"canadian_tia","formula_expression":"Canadian TIA Score = first_tia 2 + symptoms_ge_10_min 2 + carotid_stenosis 2 + on_antiplatelet 3 + gait_disturbance 1 + unilateral_weakness 1 + vertigo -3 + (diastolic_mm_hg \u003e= 110) 3 + dysarthria_or_aphasia 1 + af_on_ecg 2 + infarct_on_ct 1 + (platelets_10e9_l \u003e= 400) 2 + (glucose \u003e= 15 mmol/L) 3; age 18-120 required, 0 points; total -3 to 23; tia_risk low \u003c=3 (0.5%), medium 4-8 (2.3%), high \u003e=9 (5.9%) 7-day stroke or carotid revascularization (Perry 2021 Table 1 / Table 4); max 23","glucose_mmol_l":5,"max_score":23,"platelets_10e9_l":200,"score":0,"tia_risk":"low"}],"path":"/api/calc/canadian_tia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"af_on_ecg":{"description":"Atrial fibrillation on ECG (Perry 2021 Table 1). true scores 2; false scores 0. magent does not read the ECG.","type":"boolean"},"age":{"description":"Age in years (18-120). Required for the adult ED cohort. Does not add points (Perry 2021 Table 1 has no age item).","type":"integer"},"carotid_stenosis":{"description":"Past history of carotid stenosis (Perry 2021 Table 1). true scores 2; false scores 0. magent does not read imaging.","type":"boolean"},"diastolic_mm_hg":{"description":"Initial triage diastolic blood pressure in mm Hg (20-160). ≥110 scores 3; 109 scores 0 (Perry 2021 Table 1).","type":"number"},"dysarthria_or_aphasia":{"description":"Dysarthria or aphasia on history or examination (Perry 2021 Table 1). true scores 1; false scores 0. Not 3. magent does not examine the patient.","type":"boolean"},"first_tia":{"description":"Lifetime first TIA (Perry 2021 Table 1). true scores 2; false scores 0. Caller-assigned; magent does not take a history.","type":"boolean"},"gait_disturbance":{"description":"Gait disturbance (Perry 2021 Table 1). true scores 1; false scores 0. magent does not examine the patient.","type":"boolean"},"glucose_mg_dl":{"description":"Glucose in mg/dL (50-1000). Converted as mmol/L = mg/dL / 18. Provide this or glucose_mmol_l, not both. ≥15 mmol/L after conversion scores 3.","type":"number"},"glucose_mmol_l":{"description":"Glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. ≥15.0 scores 3; 14.9 scores 0 (Perry 2021 Table 1).","type":"number"},"infarct_on_ct":{"description":"New or old infarction on CT (Perry 2021 Table 1). true scores 1; false scores 0. magent does not read the CT.","type":"boolean"},"on_antiplatelet":{"description":"Already on antiplatelet therapy (Perry 2021 Table 1). true scores 3; false scores 0.","type":"boolean"},"platelets_10e9_l":{"description":"Platelet count ×10^9/L (1-2000). ≥400 scores 2; 399 scores 0 (Perry 2021 Table 1).","type":"number"},"symptoms_ge_10_min":{"description":"Symptoms lasting 10 minutes or longer (Perry 2021 Table 1). true scores 2; false scores 0. magent does not time the episode.","type":"boolean"},"unilateral_weakness":{"description":"Unilateral weakness (Perry 2021 Table 1). true scores 1; false scores 0. magent does not examine the patient.","type":"boolean"},"vertigo":{"description":"Vertigo (Perry 2021 Table 1). true scores -3; false scores 0. magent does not examine the patient.","type":"boolean"}},"required":["age","first_tia","symptoms_ge_10_min","carotid_stenosis","on_antiplatelet","gait_disturbance","unilateral_weakness","vertigo","diastolic_mm_hg","dysarthria_or_aphasia","af_on_ecg","infarct_on_ct","platelets_10e9_l"],"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"}}},"lastUpdated":"2026-10-05T14:58:19.854Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:58:19.708Z"},"resource":"https://api.magentlab.com/api/calc/canadian_tia","serviceName":"magent","tags":["canadian-tia","tia","stroke","neurology","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/nhfs","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Maxwell 2008 Nottingham hip fracture score: age \u003c=65 0, 66-85 3, \u003e=86 4; male 1; hemoglobin \u003c=10 g/dL 1 (g/L / 10); caller-assigned AMTS \u003c=6, lives in institution, \u003e=2 comorbidities, and malignancy 1 each. Max 10. Integer score only; no predicted 30-day mortality percent. magent does not administer AMTS or clear a patient for surgery. Not the 2012 or 2015 recalibrations.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"amts_le_6":false,"comorbidities_ge_2":false,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"lives_in_institution":false,"malignancy":false,"sex":"female"},{"age":70,"amts_le_6":false,"comorbidities_ge_2":false,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"lives_in_institution":false,"malignancy":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"amts_le_6":false,"citation":{"authors":"Maxwell MJ, Moran CG, Moppett IK","doi":"10.1093/bja/aen236","id":"maxwell-2008","pmid":"18723517","source":"Br J Anaesth. 2008;101(4):511-517","title":"Development and validation of a preoperative scoring system to predict 30 day mortality in patients undergoing hip fracture surgery"},"comorbidities_ge_2":false,"components":[{"factor":"age","points":3,"present":true,"value":70},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"hemoglobin","points":0,"present":false,"value":12},{"factor":"amts_le_6","points":0,"present":false},{"factor":"lives_in_institution","points":0,"present":false},{"factor":"comorbidities_ge_2","points":0,"present":false},{"factor":"malignancy","points":0,"present":false}],"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":"nhfs","formula_expression":"NHFS = age (≤65 0, 66-85 3, ≥86 4) + male 1 + (hemoglobin ≤10 g/dL) 1 + amts_le_6 1 + lives_in_institution 1 + comorbidities_ge_2 1 + malignancy 1; Maxwell 2008 integer score; max 10","hemoglobin_g_dl":12,"lives_in_institution":false,"malignancy":false,"max_score":10,"score":3,"sex":"female"},{"age_years":70,"amts_le_6":false,"citation":{"authors":"Maxwell MJ, Moran CG, Moppett IK","doi":"10.1093/bja/aen236","id":"maxwell-2008","pmid":"18723517","source":"Br J Anaesth. 2008;101(4):511-517","title":"Development and validation of a preoperative scoring system to predict 30 day mortality in patients undergoing hip fracture surgery"},"comorbidities_ge_2":false,"components":[{"factor":"age","points":3,"present":true,"value":70},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"hemoglobin","points":0,"present":false,"value":12},{"factor":"amts_le_6","points":0,"present":false},{"factor":"lives_in_institution","points":0,"present":false},{"factor":"comorbidities_ge_2","points":0,"present":false},{"factor":"malignancy","points":0,"present":false}],"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":"nhfs","formula_expression":"NHFS = age (≤65 0, 66-85 3, ≥86 4) + male 1 + (hemoglobin ≤10 g/dL) 1 + amts_le_6 1 + lives_in_institution 1 + comorbidities_ge_2 1 + malignancy 1; Maxwell 2008 integer score; max 10","hemoglobin_g_dl":12,"lives_in_institution":false,"malignancy":false,"max_score":10,"score":3,"sex":"female"}],"path":"/api/calc/nhfs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≤65 scores 0; 66-85 scores 3; ≥86 scores 4 (Maxwell 2008).","type":"integer"},"amts_le_6":{"description":"Abbreviated Mental Test Score ≤6/10 as assigned by the caller (Maxwell 2008). true or false. magent does not administer AMTS. 1 point if true.","type":"boolean"},"comorbidities_ge_2":{"description":"Two or more comorbidities as defined in Maxwell 2008, as assigned by the caller. true or false. magent does not enumerate comorbidities. 1 point if true.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. ≤10 g/dL scores 1 (10.0 scores; 10.1 does not).","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both.","type":"number"},"lives_in_institution":{"description":"Lives in an institution as assigned by the caller (Maxwell 2008). true or false. 1 point if true.","type":"boolean"},"malignancy":{"description":"Active malignancy (Maxwell 2008: within 20 years) as assigned by the caller. true or false. magent does not take a cancer history. 1 point if true.","type":"boolean"},"sex":{"description":"female or male. Male scores 1; female scores 0.","enum":["female","male"],"type":"string"}},"required":["age","sex","amts_le_6","lives_in_institution","comorbidities_ge_2","malignancy"],"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"}}},"lastUpdated":"2026-10-05T14:54:23.805Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:54:23.621Z"},"resource":"https://api.magentlab.com/api/calc/nhfs","serviceName":"magent","tags":["nhfs","hip-fracture","preoperative","score","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/easi","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Hanifin 2001 EASI from four regions. Each region: area 0-6 and erythema, edema/papulation, excoriation, and lichenification 0-3. Region score = (sum of signs) × area × adult weight (head/neck 0.1, upper extremities 0.2, trunk 0.3, lower extremities 0.4). Total max 72. Adult weights only. magent does not examine the skin. No IGA or later severity bands. Not a diagnosis.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"head_neck_area":0,"head_neck_edema_papulation":0,"head_neck_erythema":0,"head_neck_excoriation":0,"head_neck_lichenification":0,"lower_extremities_area":0,"lower_extremities_edema_papulation":0,"lower_extremities_erythema":0,"lower_extremities_excoriation":0,"lower_extremities_lichenification":0,"trunk_area":0,"trunk_edema_papulation":0,"trunk_erythema":0,"trunk_excoriation":0,"trunk_lichenification":0,"upper_extremities_area":0,"upper_extremities_edema_papulation":0,"upper_extremities_erythema":0,"upper_extremities_excoriation":0,"upper_extremities_lichenification":0},{"head_neck_area":0,"head_neck_edema_papulation":0,"head_neck_erythema":0,"head_neck_excoriation":0,"head_neck_lichenification":0,"lower_extremities_area":0,"lower_extremities_edema_papulation":0,"lower_extremities_erythema":0,"lower_extremities_excoriation":0,"lower_extremities_lichenification":0,"trunk_area":0,"trunk_edema_papulation":0,"trunk_erythema":0,"trunk_excoriation":0,"trunk_lichenification":0,"upper_extremities_area":0,"upper_extremities_edema_papulation":0,"upper_extremities_erythema":0,"upper_extremities_excoriation":0,"upper_extremities_lichenification":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hanifin JM, Thurston M, Omoto M, Cherill R, Tofte SJ, Graeber M","doi":"10.1034/j.1600-0625.2001.100102.x","id":"hanifin-2001","pmid":"11168575","source":"Exp Dermatol. 2001;10(1):11-18","title":"The eczema area and severity index (EASI): assessment of reliability in atopic dermatitis"},"components":[{"area":0,"factor":"head_neck","points":0,"present":true,"value":0,"weight":0.1},{"area":0,"factor":"upper_extremities","points":0,"present":true,"value":0,"weight":0.2},{"area":0,"factor":"trunk","points":0,"present":true,"value":0,"weight":0.3},{"area":0,"factor":"lower_extremities","points":0,"present":true,"value":0,"weight":0.4}],"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":"easi","formula_expression":"EASI = 0.1*(head_neck_erythema + head_neck_edema_papulation + head_neck_excoriation + head_neck_lichenification)*head_neck_area + 0.2*(upper_extremities_erythema + upper_extremities_edema_papulation + upper_extremities_excoriation + upper_extremities_lichenification)*upper_extremities_area + 0.3*(trunk_erythema + trunk_edema_papulation + trunk_excoriation + trunk_lichenification)*trunk_area + 0.4*(lower_extremities_erythema + lower_extremities_edema_papulation + lower_extremities_excoriation + lower_extremities_lichenification)*lower_extremities_area; each area integer 0-6 (0 none, 1 \u003c10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%); each sign integer 0-3 (0 none, 1 mild, 2 moderate, 3 severe); adult region weights head/neck 0.1, upper extremities 0.2, trunk 0.3, lower extremities 0.4; max 72; magent uses these adult weights only; this paper published no Investigator Global Assessment or mild-moderate-severe EASI cutoffs","head_neck_score":0,"lower_extremities_score":0,"max_score":72,"score":0,"trunk_score":0,"upper_extremities_score":0},{"citation":{"authors":"Hanifin JM, Thurston M, Omoto M, Cherill R, Tofte SJ, Graeber M","doi":"10.1034/j.1600-0625.2001.100102.x","id":"hanifin-2001","pmid":"11168575","source":"Exp Dermatol. 2001;10(1):11-18","title":"The eczema area and severity index (EASI): assessment of reliability in atopic dermatitis"},"components":[{"area":0,"factor":"head_neck","points":0,"present":true,"value":0,"weight":0.1},{"area":0,"factor":"upper_extremities","points":0,"present":true,"value":0,"weight":0.2},{"area":0,"factor":"trunk","points":0,"present":true,"value":0,"weight":0.3},{"area":0,"factor":"lower_extremities","points":0,"present":true,"value":0,"weight":0.4}],"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":"easi","formula_expression":"EASI = 0.1*(head_neck_erythema + head_neck_edema_papulation + head_neck_excoriation + head_neck_lichenification)*head_neck_area + 0.2*(upper_extremities_erythema + upper_extremities_edema_papulation + upper_extremities_excoriation + upper_extremities_lichenification)*upper_extremities_area + 0.3*(trunk_erythema + trunk_edema_papulation + trunk_excoriation + trunk_lichenification)*trunk_area + 0.4*(lower_extremities_erythema + lower_extremities_edema_papulation + lower_extremities_excoriation + lower_extremities_lichenification)*lower_extremities_area; each area integer 0-6 (0 none, 1 \u003c10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%); each sign integer 0-3 (0 none, 1 mild, 2 moderate, 3 severe); adult region weights head/neck 0.1, upper extremities 0.2, trunk 0.3, lower extremities 0.4; max 72; magent uses these adult weights only; this paper published no Investigator Global Assessment or mild-moderate-severe EASI cutoffs","head_neck_score":0,"lower_extremities_score":0,"max_score":72,"score":0,"trunk_score":0,"upper_extremities_score":0}],"path":"/api/calc/easi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"head_neck_area":{"description":"Caller-assigned Hanifin 2001 EASI area of involvement for this body region (integer 0-6): 0 none, 1 \u003c10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"head_neck_edema_papulation":{"description":"Caller-assigned Hanifin 2001 EASI edema/papulation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"head_neck_erythema":{"description":"Caller-assigned Hanifin 2001 EASI erythema for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"head_neck_excoriation":{"description":"Caller-assigned Hanifin 2001 EASI excoriation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"head_neck_lichenification":{"description":"Caller-assigned Hanifin 2001 EASI lichenification for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"lower_extremities_area":{"description":"Caller-assigned Hanifin 2001 EASI area of involvement for this body region (integer 0-6): 0 none, 1 \u003c10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"lower_extremities_edema_papulation":{"description":"Caller-assigned Hanifin 2001 EASI edema/papulation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"lower_extremities_erythema":{"description":"Caller-assigned Hanifin 2001 EASI erythema for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"lower_extremities_excoriation":{"description":"Caller-assigned Hanifin 2001 EASI excoriation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"lower_extremities_lichenification":{"description":"Caller-assigned Hanifin 2001 EASI lichenification for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"trunk_area":{"description":"Caller-assigned Hanifin 2001 EASI area of involvement for this body region (integer 0-6): 0 none, 1 \u003c10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"trunk_edema_papulation":{"description":"Caller-assigned Hanifin 2001 EASI edema/papulation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"trunk_erythema":{"description":"Caller-assigned Hanifin 2001 EASI erythema for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"trunk_excoriation":{"description":"Caller-assigned Hanifin 2001 EASI excoriation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"trunk_lichenification":{"description":"Caller-assigned Hanifin 2001 EASI lichenification for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"upper_extremities_area":{"description":"Caller-assigned Hanifin 2001 EASI area of involvement for this body region (integer 0-6): 0 none, 1 \u003c10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"upper_extremities_edema_papulation":{"description":"Caller-assigned Hanifin 2001 EASI edema/papulation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"upper_extremities_erythema":{"description":"Caller-assigned Hanifin 2001 EASI erythema for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"upper_extremities_excoriation":{"description":"Caller-assigned Hanifin 2001 EASI excoriation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"upper_extremities_lichenification":{"description":"Caller-assigned Hanifin 2001 EASI lichenification for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"}},"required":["head_neck_area","head_neck_erythema","head_neck_edema_papulation","head_neck_excoriation","head_neck_lichenification","upper_extremities_area","upper_extremities_erythema","upper_extremities_edema_papulation","upper_extremities_excoriation","upper_extremities_lichenification","trunk_area","trunk_erythema","trunk_edema_papulation","trunk_excoriation","trunk_lichenification","lower_extremities_area","lower_extremities_erythema","lower_extremities_edema_papulation","lower_extremities_excoriation","lower_extremities_lichenification"],"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"}}},"lastUpdated":"2026-10-05T14:54:09.656Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:54:09.508Z"},"resource":"https://api.magentlab.com/api/calc/easi","serviceName":"magent","tags":["easi","atopic-dermatitis","emergency","hanifin-2001","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/burch_wartofsky","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Burch 1993 points: °F (\u003c99→0, 99.0–99.9→5, 100.0–100.9→10, 101.0–101.9→15, 102.0–102.9→20, 103.0–103.9→25, ≥104→30); CNS 0/10/20/30; GI-hepatic 0/10/20; HR (\u003c90→0, 90–109→5, 110–119→10, 120–129→15, 130–139→20, ≥140→25); HF 0/5/10/15; AF 10; precipitant 10. Max 140. \u003c25 unlikely, 25–44 impending, ≥45 highly suggestive. temperature_f or temperature_c, not both. Not a diagnosis or ICU order. magent does not measure temperature or an ECG.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"atrial_fibrillation":false,"cns_effects":"none","gi_hepatic":"none","heart_failure":"none","heart_rate_bpm":80,"precipitating_event":false,"temperature_c":37,"temperature_f":98.6},{"atrial_fibrillation":false,"cns_effects":"none","gi_hepatic":"none","heart_failure":"none","heart_rate_bpm":80,"precipitating_event":false,"temperature_c":37,"temperature_f":98.6}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"atrial_fibrillation":false,"bwps_band":"unlikely","citation":{"authors":"Burch HB, Wartofsky L","doi":"10.1016/S0889-8529(18)30165-8","id":"burch-1993","pmid":"8325286","source":"Endocrinol Metab Clin North Am. 1993;22(2):263-277","title":"Life-threatening thyrotoxicosis. Thyroid storm"},"cns_effects":"none","components":[{"factor":"temperature_f","points":0,"present":false,"value":98.6},{"factor":"cns_effects","points":0,"present":false,"value":"none"},{"factor":"gi_hepatic","points":0,"present":false,"value":"none"},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"heart_failure","points":0,"present":false,"value":"none"},{"factor":"atrial_fibrillation","points":0,"present":false,"value":false},{"factor":"precipitating_event","points":0,"present":false,"value":false}],"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":"burch_wartofsky","formula_expression":"BWPS = temp_F(\u003c99.0→0, 99.0–99.9→5, 100.0–100.9→10, 101.0–101.9→15, 102.0–102.9→20, 103.0–103.9→25, ≥104.0→30) + CNS(none→0, mild→10, moderate→20, severe→30) + GI-hepatic(none→0, moderate→10, severe→20) + HR(\u003c90→0, 90–109→5, 110–119→10, 120–129→15, 130–139→20, ≥140→25) + HF(none→0, mild→5, moderate→10, severe→15) + 10*AF + 10*precipitant; Burch 1993; max 140; \u003c25 unlikely, 25–44 impending, ≥45 highly_suggestive","gi_hepatic":"none","heart_failure":"none","heart_rate_bpm":80,"max_score":140,"precipitating_event":false,"score":0,"temperature_f":98.6},{"atrial_fibrillation":false,"bwps_band":"unlikely","citation":{"authors":"Burch HB, Wartofsky L","doi":"10.1016/S0889-8529(18)30165-8","id":"burch-1993","pmid":"8325286","source":"Endocrinol Metab Clin North Am. 1993;22(2):263-277","title":"Life-threatening thyrotoxicosis. Thyroid storm"},"cns_effects":"none","components":[{"factor":"temperature_f","points":0,"present":false,"value":98.6},{"factor":"cns_effects","points":0,"present":false,"value":"none"},{"factor":"gi_hepatic","points":0,"present":false,"value":"none"},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"heart_failure","points":0,"present":false,"value":"none"},{"factor":"atrial_fibrillation","points":0,"present":false,"value":false},{"factor":"precipitating_event","points":0,"present":false,"value":false}],"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":"burch_wartofsky","formula_expression":"BWPS = temp_F(\u003c99.0→0, 99.0–99.9→5, 100.0–100.9→10, 101.0–101.9→15, 102.0–102.9→20, 103.0–103.9→25, ≥104.0→30) + CNS(none→0, mild→10, moderate→20, severe→30) + GI-hepatic(none→0, moderate→10, severe→20) + HR(\u003c90→0, 90–109→5, 110–119→10, 120–129→15, 130–139→20, ≥140→25) + HF(none→0, mild→5, moderate→10, severe→15) + 10*AF + 10*precipitant; Burch 1993; max 140; \u003c25 unlikely, 25–44 impending, ≥45 highly_suggestive","gi_hepatic":"none","heart_failure":"none","heart_rate_bpm":80,"max_score":140,"precipitating_event":false,"score":0,"temperature_f":98.6}],"path":"/api/calc/burch_wartofsky"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"atrial_fibrillation":{"description":"Atrial fibrillation as assigned by the caller (true or false). Burch 1993: true → 10. magent does not read an ECG.","type":"boolean"},"cns_effects":{"description":"Caller-assigned CNS effects (Burch 1993). none → 0; mild (agitation) → 10; moderate (delirium, psychosis, extreme lethargy) → 20; severe (seizure or coma) → 30. magent does not examine the patient.","enum":["none","mild","moderate","severe"],"type":"string"},"gi_hepatic":{"description":"Caller-assigned GI-hepatic dysfunction (Burch 1993). none → 0; moderate (diarrhea, nausea/vomiting, abdominal pain) → 10; severe (unexplained jaundice) → 20. magent does not examine the patient.","enum":["none","moderate","severe"],"type":"string"},"heart_failure":{"description":"Caller-assigned heart-failure grade (Burch 1993). none → 0; mild (pedal edema) → 5; moderate (bibasilar rales) → 10; severe (pulmonary edema) → 15. magent does not examine the patient.","enum":["none","mild","moderate","severe"],"type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). Burch 1993: \u003c90 → 0, 90-109 → 5, 110-119 → 10, 120-129 → 15, 130-139 → 20, ≥140 → 25. Bins start at 90, not 99. magent does not read an ECG.","type":"integer"},"precipitating_event":{"description":"Precipitating event as assigned by the caller (true or false). Burch 1993: true → 10. magent does not take a history.","type":"boolean"},"temperature_c":{"description":"Temperature in °C (32.2-43.3). Converted as F = C×9/5+32, then scored on the Burch 1993 Fahrenheit table. Provide this or temperature_f, not both. magent does not measure temperature.","type":"number"},"temperature_f":{"description":"Temperature in °F (90-110). Provide this or temperature_c, not both. Burch 1993: \u003c99.0 → 0, 99.0-99.9 → 5, 100.0-100.9 → 10, 101.0-101.9 → 15, 102.0-102.9 → 20, 103.0-103.9 → 25, ≥104.0 → 30. magent does not measure temperature.","type":"number"}},"required":["cns_effects","gi_hepatic","heart_rate_bpm","heart_failure","atrial_fibrillation","precipitating_event"],"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"}}},"lastUpdated":"2026-10-05T14:49:48.024Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:49:47.888Z"},"resource":"https://api.magentlab.com/api/calc/burch_wartofsky","serviceName":"magent","tags":["thyroid-storm","thyrotoxicosis","emergency","burch-wartofsky","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/itas2010","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Misra 2013 ITAS2010: weighted sum of 44 caller-assigned Takayasu clinical-activity items that are new or worsening within 3 months and ascribed to active vasculitis. Seven items score 2 (diastolic hypertension, stroke, bruits, pulse inequality, pulse loss, claudication, carotidodynia); the other 37 score 1. Max 51. active_disease iff score ≥ 2. magent does not examine the patient. Not ITAS-A, not a diagnosis, and not a medical device.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abortions":false,"aortic_incompetence":false,"bp_inequality":false,"bruit_left_carotid":false,"bruit_left_renal":false,"bruit_left_subclavian":false,"bruit_right_carotid":false,"bruit_right_renal":false,"bruit_right_subclavian":false,"bruits":false,"cardiomyopathy_cardiac_failure":false,"carotidodynia":false,"claudication":false,"claudication_arm":false,"claudication_leg":false,"diastolic_hypertension":false,"headache":false,"malaise_weight_loss":false,"myalgia_arthralgia_arthritis":false,"myocardial_infarct_angina":false,"pulse_inequality":false,"pulse_loss":false,"pulse_loss_left_brachial":false,"pulse_loss_left_carotid":false,"pulse_loss_left_dorsalis_pedis":false,"pulse_loss_left_femoral":false,"pulse_loss_left_popliteal":false,"pulse_loss_left_posterior_tibial":false,"pulse_loss_left_radial":false,"pulse_loss_left_subclavian":false,"pulse_loss_right_brachial":false,"pulse_loss_right_carotid":false,"pulse_loss_right_dorsalis_pedis":false,"pulse_loss_right_femoral":false,"pulse_loss_right_popliteal":false,"pulse_loss_right_posterior_tibial":false,"pulse_loss_right_radial":false,"pulse_loss_right_subclavian":false,"seizures":false,"severe_abdominal_pain":false,"stroke":false,"syncope":false,"systolic_hypertension":false,"vertigo_dizziness":false},{"abortions":false,"aortic_incompetence":false,"bp_inequality":false,"bruit_left_carotid":false,"bruit_left_renal":false,"bruit_left_subclavian":false,"bruit_right_carotid":false,"bruit_right_renal":false,"bruit_right_subclavian":false,"bruits":false,"cardiomyopathy_cardiac_failure":false,"carotidodynia":false,"claudication":false,"claudication_arm":false,"claudication_leg":false,"diastolic_hypertension":false,"headache":false,"malaise_weight_loss":false,"myalgia_arthralgia_arthritis":false,"myocardial_infarct_angina":false,"pulse_inequality":false,"pulse_loss":false,"pulse_loss_left_brachial":false,"pulse_loss_left_carotid":false,"pulse_loss_left_dorsalis_pedis":false,"pulse_loss_left_femoral":false,"pulse_loss_left_popliteal":false,"pulse_loss_left_posterior_tibial":false,"pulse_loss_left_radial":false,"pulse_loss_left_subclavian":false,"pulse_loss_right_brachial":false,"pulse_loss_right_carotid":false,"pulse_loss_right_dorsalis_pedis":false,"pulse_loss_right_femoral":false,"pulse_loss_right_popliteal":false,"pulse_loss_right_posterior_tibial":false,"pulse_loss_right_radial":false,"pulse_loss_right_subclavian":false,"seizures":false,"severe_abdominal_pain":false,"stroke":false,"syncope":false,"systolic_hypertension":false,"vertigo_dizziness":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"active_disease":false,"citation":{"authors":"Misra R, Danda D, Rajappa SM, et al; Indian Rheumatology Vasculitis (IRAVAS) group","doi":"10.1093/rheumatology/ket128","id":"misra-2013","pmid":"23594468","source":"Rheumatology (Oxford). 2013;52(10):1795-1801","title":"Development and initial validation of the Indian Takayasu Clinical Activity Score (ITAS2010)"},"components":[{"factor":"malaise_weight_loss","points":0,"present":false},{"factor":"myalgia_arthralgia_arthritis","points":0,"present":false},{"factor":"headache","points":0,"present":false},{"factor":"severe_abdominal_pain","points":0,"present":false},{"factor":"abortions","points":0,"present":false},{"factor":"diastolic_hypertension","points":0,"present":false},{"factor":"systolic_hypertension","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"seizures","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"vertigo_dizziness","points":0,"present":false},{"factor":"bruits","points":0,"present":false},{"factor":"bruit_right_carotid","points":0,"present":false},{"factor":"bruit_left_carotid","points":0,"present":false},{"factor":"bruit_right_subclavian","points":0,"present":false},{"factor":"bruit_left_subclavian","points":0,"present":false},{"factor":"bruit_right_renal","points":0,"present":false},{"factor":"bruit_left_renal","points":0,"present":false},{"factor":"pulse_inequality","points":0,"present":false},{"factor":"bp_inequality","points":0,"present":false},{"factor":"pulse_loss","points":0,"present":false},{"factor":"pulse_loss_right_carotid","points":0,"present":false},{"factor":"pulse_loss_left_carotid","points":0,"present":false},{"factor":"pulse_loss_right_subclavian","points":0,"present":false},{"factor":"pulse_loss_left_subclavian","points":0,"present":false},{"factor":"pulse_loss_right_brachial","points":0,"present":false},{"factor":"pulse_loss_left_brachial","points":0,"present":false},{"factor":"pulse_loss_right_radial","points":0,"present":false},{"factor":"pulse_loss_left_radial","points":0,"present":false},{"factor":"pulse_loss_right_femoral","points":0,"present":false},{"factor":"pulse_loss_left_femoral","points":0,"present":false},{"factor":"pulse_loss_right_popliteal","points":0,"present":false},{"factor":"pulse_loss_left_popliteal","points":0,"present":false},{"factor":"pulse_loss_right_posterior_tibial","points":0,"present":false},{"factor":"pulse_loss_left_posterior_tibial","points":0,"present":false},{"factor":"pulse_loss_right_dorsalis_pedis","points":0,"present":false},{"factor":"pulse_loss_left_dorsalis_pedis","points":0,"present":false},{"factor":"claudication","points":0,"present":false},{"factor":"claudication_arm","points":0,"present":false},{"factor":"claudication_leg","points":0,"present":false},{"factor":"carotidodynia","points":0,"present":false},{"factor":"aortic_incompetence","points":0,"present":false},{"factor":"myocardial_infarct_angina","points":0,"present":false},{"factor":"cardiomyopathy_cardiac_failure","points":0,"present":false}],"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":"itas2010","formula_expression":"ITAS2010 = 2*(diastolic_hypertension + stroke + bruits + pulse_inequality + pulse_loss + claudication + carotidodynia) + malaise_weight_loss + myalgia_arthralgia_arthritis + headache + severe_abdominal_pain + abortions + systolic_hypertension + seizures + syncope + vertigo_dizziness + bruit_right_carotid + bruit_left_carotid + bruit_right_subclavian + bruit_left_subclavian + bruit_right_renal + bruit_left_renal + bp_inequality + pulse_loss_right_carotid + pulse_loss_left_carotid + pulse_loss_right_subclavian + pulse_loss_left_subclavian + pulse_loss_right_brachial + pulse_loss_left_brachial + pulse_loss_right_radial + pulse_loss_left_radial + pulse_loss_right_femoral + pulse_loss_left_femoral + pulse_loss_right_popliteal + pulse_loss_left_popliteal + pulse_loss_right_posterior_tibial + pulse_loss_left_posterior_tibial + pulse_loss_right_dorsalis_pedis + pulse_loss_left_dorsalis_pedis + claudication_arm + claudication_leg + aortic_incompetence + myocardial_infarct_angina + cardiomyopathy_cardiac_failure; Misra 2013; each item true only if new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller; magent does not examine the patient; active_disease iff score ≥ 2; max 51; not ITAS-A; not a diagnosis","max_score":51,"score":0},{"active_disease":false,"citation":{"authors":"Misra R, Danda D, Rajappa SM, et al; Indian Rheumatology Vasculitis (IRAVAS) group","doi":"10.1093/rheumatology/ket128","id":"misra-2013","pmid":"23594468","source":"Rheumatology (Oxford). 2013;52(10):1795-1801","title":"Development and initial validation of the Indian Takayasu Clinical Activity Score (ITAS2010)"},"components":[{"factor":"malaise_weight_loss","points":0,"present":false},{"factor":"myalgia_arthralgia_arthritis","points":0,"present":false},{"factor":"headache","points":0,"present":false},{"factor":"severe_abdominal_pain","points":0,"present":false},{"factor":"abortions","points":0,"present":false},{"factor":"diastolic_hypertension","points":0,"present":false},{"factor":"systolic_hypertension","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"seizures","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"vertigo_dizziness","points":0,"present":false},{"factor":"bruits","points":0,"present":false},{"factor":"bruit_right_carotid","points":0,"present":false},{"factor":"bruit_left_carotid","points":0,"present":false},{"factor":"bruit_right_subclavian","points":0,"present":false},{"factor":"bruit_left_subclavian","points":0,"present":false},{"factor":"bruit_right_renal","points":0,"present":false},{"factor":"bruit_left_renal","points":0,"present":false},{"factor":"pulse_inequality","points":0,"present":false},{"factor":"bp_inequality","points":0,"present":false},{"factor":"pulse_loss","points":0,"present":false},{"factor":"pulse_loss_right_carotid","points":0,"present":false},{"factor":"pulse_loss_left_carotid","points":0,"present":false},{"factor":"pulse_loss_right_subclavian","points":0,"present":false},{"factor":"pulse_loss_left_subclavian","points":0,"present":false},{"factor":"pulse_loss_right_brachial","points":0,"present":false},{"factor":"pulse_loss_left_brachial","points":0,"present":false},{"factor":"pulse_loss_right_radial","points":0,"present":false},{"factor":"pulse_loss_left_radial","points":0,"present":false},{"factor":"pulse_loss_right_femoral","points":0,"present":false},{"factor":"pulse_loss_left_femoral","points":0,"present":false},{"factor":"pulse_loss_right_popliteal","points":0,"present":false},{"factor":"pulse_loss_left_popliteal","points":0,"present":false},{"factor":"pulse_loss_right_posterior_tibial","points":0,"present":false},{"factor":"pulse_loss_left_posterior_tibial","points":0,"present":false},{"factor":"pulse_loss_right_dorsalis_pedis","points":0,"present":false},{"factor":"pulse_loss_left_dorsalis_pedis","points":0,"present":false},{"factor":"claudication","points":0,"present":false},{"factor":"claudication_arm","points":0,"present":false},{"factor":"claudication_leg","points":0,"present":false},{"factor":"carotidodynia","points":0,"present":false},{"factor":"aortic_incompetence","points":0,"present":false},{"factor":"myocardial_infarct_angina","points":0,"present":false},{"factor":"cardiomyopathy_cardiac_failure","points":0,"present":false}],"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":"itas2010","formula_expression":"ITAS2010 = 2*(diastolic_hypertension + stroke + bruits + pulse_inequality + pulse_loss + claudication + carotidodynia) + malaise_weight_loss + myalgia_arthralgia_arthritis + headache + severe_abdominal_pain + abortions + systolic_hypertension + seizures + syncope + vertigo_dizziness + bruit_right_carotid + bruit_left_carotid + bruit_right_subclavian + bruit_left_subclavian + bruit_right_renal + bruit_left_renal + bp_inequality + pulse_loss_right_carotid + pulse_loss_left_carotid + pulse_loss_right_subclavian + pulse_loss_left_subclavian + pulse_loss_right_brachial + pulse_loss_left_brachial + pulse_loss_right_radial + pulse_loss_left_radial + pulse_loss_right_femoral + pulse_loss_left_femoral + pulse_loss_right_popliteal + pulse_loss_left_popliteal + pulse_loss_right_posterior_tibial + pulse_loss_left_posterior_tibial + pulse_loss_right_dorsalis_pedis + pulse_loss_left_dorsalis_pedis + claudication_arm + claudication_leg + aortic_incompetence + myocardial_infarct_angina + cardiomyopathy_cardiac_failure; Misra 2013; each item true only if new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller; magent does not examine the patient; active_disease iff score ≥ 2; max 51; not ITAS-A; not a diagnosis","max_score":51,"score":0}],"path":"/api/calc/itas2010"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abortions":{"description":"Misra 2013 ITAS2010: abortion (genitourinary item), new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"aortic_incompetence":{"description":"Misra 2013 ITAS2010: aortic incompetence, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bp_inequality":{"description":"Misra 2013 ITAS2010: blood-pressure inequality, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_left_carotid":{"description":"Misra 2013 ITAS2010: left carotid bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_left_renal":{"description":"Misra 2013 ITAS2010: left renal bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_left_subclavian":{"description":"Misra 2013 ITAS2010: left subclavian bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_right_carotid":{"description":"Misra 2013 ITAS2010: right carotid bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_right_renal":{"description":"Misra 2013 ITAS2010: right renal bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_right_subclavian":{"description":"Misra 2013 ITAS2010: right subclavian bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruits":{"description":"Misra 2013 ITAS2010: bruits (weighted parent item), new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"cardiomyopathy_cardiac_failure":{"description":"Misra 2013 ITAS2010: cardiomyopathy or cardiac failure, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"carotidodynia":{"description":"Misra 2013 ITAS2010: carotidodynia, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"claudication":{"description":"Misra 2013 ITAS2010: claudication (weighted parent item), new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"claudication_arm":{"description":"Misra 2013 ITAS2010: arm claudication, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"claudication_leg":{"description":"Misra 2013 ITAS2010: leg claudication, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"diastolic_hypertension":{"description":"Misra 2013 ITAS2010: diastolic blood pressure \u003e90 mmHg, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"headache":{"description":"Misra 2013 ITAS2010: headache, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"malaise_weight_loss":{"description":"Misra 2013 ITAS2010: malaise or weight loss \u003e2 kg, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"myalgia_arthralgia_arthritis":{"description":"Misra 2013 ITAS2010: myalgia, arthralgia, or arthritis, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"myocardial_infarct_angina":{"description":"Misra 2013 ITAS2010: myocardial infarction or angina, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_inequality":{"description":"Misra 2013 ITAS2010: pulse inequality, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"pulse_loss":{"description":"Misra 2013 ITAS2010: new loss of pulses (weighted parent item), new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_brachial":{"description":"Misra 2013 ITAS2010: new loss of the left brachial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_carotid":{"description":"Misra 2013 ITAS2010: new loss of the left carotid pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_dorsalis_pedis":{"description":"Misra 2013 ITAS2010: new loss of the left dorsalis pedis pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_femoral":{"description":"Misra 2013 ITAS2010: new loss of the left femoral pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_popliteal":{"description":"Misra 2013 ITAS2010: new loss of the left popliteal pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_posterior_tibial":{"description":"Misra 2013 ITAS2010: new loss of the left posterior tibial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_radial":{"description":"Misra 2013 ITAS2010: new loss of the left radial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_subclavian":{"description":"Misra 2013 ITAS2010: new loss of the left subclavian pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_brachial":{"description":"Misra 2013 ITAS2010: new loss of the right brachial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_carotid":{"description":"Misra 2013 ITAS2010: new loss of the right carotid pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_dorsalis_pedis":{"description":"Misra 2013 ITAS2010: new loss of the right dorsalis pedis pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_femoral":{"description":"Misra 2013 ITAS2010: new loss of the right femoral pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_popliteal":{"description":"Misra 2013 ITAS2010: new loss of the right popliteal pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_posterior_tibial":{"description":"Misra 2013 ITAS2010: new loss of the right posterior tibial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_radial":{"description":"Misra 2013 ITAS2010: new loss of the right radial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_subclavian":{"description":"Misra 2013 ITAS2010: new loss of the right subclavian pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"seizures":{"description":"Misra 2013 ITAS2010: seizures (not hypertensive), new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"severe_abdominal_pain":{"description":"Misra 2013 ITAS2010: severe abdominal pain, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"stroke":{"description":"Misra 2013 ITAS2010: stroke, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"syncope":{"description":"Misra 2013 ITAS2010: syncope, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"systolic_hypertension":{"description":"Misra 2013 ITAS2010: systolic blood pressure \u003e140 mmHg, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"vertigo_dizziness":{"description":"Misra 2013 ITAS2010: vertigo or dizziness, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"}},"required":["malaise_weight_loss","myalgia_arthralgia_arthritis","headache","severe_abdominal_pain","abortions","diastolic_hypertension","systolic_hypertension","stroke","seizures","syncope","vertigo_dizziness","bruits","bruit_right_carotid","bruit_left_carotid","bruit_right_subclavian","bruit_left_subclavian","bruit_right_renal","bruit_left_renal","pulse_inequality","bp_inequality","pulse_loss","pulse_loss_right_carotid","pulse_loss_left_carotid","pulse_loss_right_subclavian","pulse_loss_left_subclavian","pulse_loss_right_brachial","pulse_loss_left_brachial","pulse_loss_right_radial","pulse_loss_left_radial","pulse_loss_right_femoral","pulse_loss_left_femoral","pulse_loss_right_popliteal","pulse_loss_left_popliteal","pulse_loss_right_posterior_tibial","pulse_loss_left_posterior_tibial","pulse_loss_right_dorsalis_pedis","pulse_loss_left_dorsalis_pedis","claudication","claudication_arm","claudication_leg","carotidodynia","aortic_incompetence","myocardial_infarct_angina","cardiomyopathy_cardiac_failure"],"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"}}},"lastUpdated":"2026-10-05T14:48:51.381Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:48:51.202Z"},"resource":"https://api.magentlab.com/api/calc/itas2010","serviceName":"magent","tags":["itas2010","takayasu","vasculitis","disease-activity","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/sledai_2k","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Gladman 2002 SLEDAI-2K: weighted sum of 24 caller-assigned descriptors present in the last 10 days (max 105). magent does not examine the patient. Proteinuria scores if \u003e0.5 g/24 h (not original SLEDAI \u003e3.5 g/24 h only). Rash, alopecia, and mucosal ulcers score if new or persistent (not new only). Not a diagnosis, not SLICC damage, not SELENA-SLEDAI flare rules, and not a medical device.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alopecia":false,"arthritis":true,"cranial_nerve_disorder":false,"cva":false,"fever":false,"hematuria":false,"increased_dna_binding":false,"leukopenia":false,"low_complement":false,"lupus_headache":false,"mucosal_ulcers":false,"myositis":false,"organic_brain_syndrome":false,"pericarditis":false,"pleurisy":false,"proteinuria":false,"psychosis":false,"pyuria":false,"rash":true,"seizure":false,"thrombocytopenia":false,"urinary_casts":false,"vasculitis":false,"visual_disturbance":false},{"alopecia":false,"arthritis":true,"cranial_nerve_disorder":false,"cva":false,"fever":false,"hematuria":false,"increased_dna_binding":false,"leukopenia":false,"low_complement":false,"lupus_headache":false,"mucosal_ulcers":false,"myositis":false,"organic_brain_syndrome":false,"pericarditis":false,"pleurisy":false,"proteinuria":false,"psychosis":false,"pyuria":false,"rash":true,"seizure":false,"thrombocytopenia":false,"urinary_casts":false,"vasculitis":false,"visual_disturbance":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gladman DD, Ibañez D, Urowitz MB","id":"gladman-2002","pmid":"11838846","source":"J Rheumatol. 2002;29(2):288-291","title":"Systemic lupus erythematosus disease activity index 2000"},"components":[{"factor":"seizure","points":0,"present":false},{"factor":"psychosis","points":0,"present":false},{"factor":"organic_brain_syndrome","points":0,"present":false},{"factor":"visual_disturbance","points":0,"present":false},{"factor":"cranial_nerve_disorder","points":0,"present":false},{"factor":"lupus_headache","points":0,"present":false},{"factor":"cva","points":0,"present":false},{"factor":"vasculitis","points":0,"present":false},{"factor":"arthritis","points":4,"present":true},{"factor":"myositis","points":0,"present":false},{"factor":"urinary_casts","points":0,"present":false},{"factor":"hematuria","points":0,"present":false},{"factor":"proteinuria","points":0,"present":false},{"factor":"pyuria","points":0,"present":false},{"factor":"rash","points":2,"present":true},{"factor":"alopecia","points":0,"present":false},{"factor":"mucosal_ulcers","points":0,"present":false},{"factor":"pleurisy","points":0,"present":false},{"factor":"pericarditis","points":0,"present":false},{"factor":"low_complement","points":0,"present":false},{"factor":"increased_dna_binding","points":0,"present":false},{"factor":"fever","points":0,"present":false},{"factor":"thrombocytopenia","points":0,"present":false},{"factor":"leukopenia","points":0,"present":false}],"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":"sledai_2k","formula_expression":"SLEDAI-2K = 8*(seizure + psychosis + organic_brain_syndrome + visual_disturbance + cranial_nerve_disorder + lupus_headache + cva + vasculitis) + 4*(arthritis + myositis + urinary_casts + hematuria + proteinuria + pyuria) + 2*(rash + alopecia + mucosal_ulcers + pleurisy + pericarditis + low_complement + increased_dna_binding) + (fever + thrombocytopenia + leukopenia); Gladman 2002; each descriptor present in the last 10 days as assigned by the caller; proteinuria scores if \u003e0.5 g/24 h (not original SLEDAI \u003e3.5 g/24 h only); rash, alopecia, and mucosal ulcers score if new or persistent (not new only); max 105; not a diagnosis","max_score":105,"score":6},{"citation":{"authors":"Gladman DD, Ibañez D, Urowitz MB","id":"gladman-2002","pmid":"11838846","source":"J Rheumatol. 2002;29(2):288-291","title":"Systemic lupus erythematosus disease activity index 2000"},"components":[{"factor":"seizure","points":0,"present":false},{"factor":"psychosis","points":0,"present":false},{"factor":"organic_brain_syndrome","points":0,"present":false},{"factor":"visual_disturbance","points":0,"present":false},{"factor":"cranial_nerve_disorder","points":0,"present":false},{"factor":"lupus_headache","points":0,"present":false},{"factor":"cva","points":0,"present":false},{"factor":"vasculitis","points":0,"present":false},{"factor":"arthritis","points":4,"present":true},{"factor":"myositis","points":0,"present":false},{"factor":"urinary_casts","points":0,"present":false},{"factor":"hematuria","points":0,"present":false},{"factor":"proteinuria","points":0,"present":false},{"factor":"pyuria","points":0,"present":false},{"factor":"rash","points":2,"present":true},{"factor":"alopecia","points":0,"present":false},{"factor":"mucosal_ulcers","points":0,"present":false},{"factor":"pleurisy","points":0,"present":false},{"factor":"pericarditis","points":0,"present":false},{"factor":"low_complement","points":0,"present":false},{"factor":"increased_dna_binding","points":0,"present":false},{"factor":"fever","points":0,"present":false},{"factor":"thrombocytopenia","points":0,"present":false},{"factor":"leukopenia","points":0,"present":false}],"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":"sledai_2k","formula_expression":"SLEDAI-2K = 8*(seizure + psychosis + organic_brain_syndrome + visual_disturbance + cranial_nerve_disorder + lupus_headache + cva + vasculitis) + 4*(arthritis + myositis + urinary_casts + hematuria + proteinuria + pyuria) + 2*(rash + alopecia + mucosal_ulcers + pleurisy + pericarditis + low_complement + increased_dna_binding) + (fever + thrombocytopenia + leukopenia); Gladman 2002; each descriptor present in the last 10 days as assigned by the caller; proteinuria scores if \u003e0.5 g/24 h (not original SLEDAI \u003e3.5 g/24 h only); rash, alopecia, and mucosal ulcers score if new or persistent (not new only); max 105; not a diagnosis","max_score":105,"score":6}],"path":"/api/calc/sledai_2k"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alopecia":{"description":"Alopecia in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): abnormal, patchy or diffuse loss of hair. Scores if new or persistent (not original SLEDAI new only). true scores 2. magent does not examine the scalp.","type":"boolean"},"arthritis":{"description":"Arthritis in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): more than 2 joints with pain and signs of inflammation (tenderness, swelling, or effusion). true scores 4. magent does not examine joints.","type":"boolean"},"cranial_nerve_disorder":{"description":"Cranial nerve disorder in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): new onset of sensory or motor neuropathy involving cranial nerves. true scores 8. magent does not examine cranial nerves.","type":"boolean"},"cva":{"description":"Cerebrovascular accident in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): new onset of CVA(s). Exclude arteriosclerosis. true scores 8. magent does not read imaging.","type":"boolean"},"fever":{"description":"Fever in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): \u003e38°C. Exclude infectious cause. true scores 1. magent does not measure temperature.","type":"boolean"},"hematuria":{"description":"Hematuria in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): \u003e5 red blood cells/high power field. Exclude stone, infection, or other cause. true scores 4. magent does not assay urine.","type":"boolean"},"increased_dna_binding":{"description":"Increased DNA binding in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): DNA binding by Farr assay above the normal range for the testing laboratory. true scores 2. magent does not assay anti-dsDNA.","type":"boolean"},"leukopenia":{"description":"Leukopenia in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): \u003c3,000 white blood cells/mm³. Exclude drug causes. true scores 1. magent does not assay blood counts.","type":"boolean"},"low_complement":{"description":"Low complement in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): CH50, C3, or C4 below the lower limit of normal for the testing laboratory. true scores 2. magent does not assay complement.","type":"boolean"},"lupus_headache":{"description":"Lupus headache in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): severe persistent headache; may be migrainous, but must be nonresponsive to narcotic analgesia. true scores 8. magent does not examine the patient.","type":"boolean"},"mucosal_ulcers":{"description":"Mucosal ulcers in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): oral or nasal ulcerations. Scores if new or persistent (not original SLEDAI new only). true scores 2. magent does not examine mucosa.","type":"boolean"},"myositis":{"description":"Myositis in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): proximal muscle aching/weakness with elevated creatine phosphokinase/aldolase, EMG changes, or a biopsy showing myositis. true scores 4. magent does not assay muscle enzymes.","type":"boolean"},"organic_brain_syndrome":{"description":"Organic brain syndrome in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): altered mental function with impaired orientation, memory, or other intellectual function, rapid onset and fluctuating features. Exclude metabolic, infectious, or drug causes. true scores 8. magent does not examine the patient.","type":"boolean"},"pericarditis":{"description":"Pericarditis in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): pericardial pain with at least one of rub, effusion, or electrocardiogram or echocardiogram confirmation. true scores 2. magent does not examine the heart.","type":"boolean"},"pleurisy":{"description":"Pleurisy in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): pleuritic chest pain with pleural rub or effusion, or pleural thickening. true scores 2. magent does not examine the chest.","type":"boolean"},"proteinuria":{"description":"Proteinuria in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): \u003e0.5 g/24 h (not original SLEDAI \u003e3.5 g/24 h only). true scores 4. magent does not assay urine.","type":"boolean"},"psychosis":{"description":"Psychosis in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): altered ability to function in normal activity due to severe disturbance in the perception of reality. Exclude uremia and drug causes. true scores 8. magent does not examine the patient.","type":"boolean"},"pyuria":{"description":"Pyuria in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): \u003e5 white blood cells/high power field. Exclude infection. true scores 4. magent does not assay urine.","type":"boolean"},"rash":{"description":"Rash in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): inflammatory type rash. Scores if new or persistent (not original SLEDAI new only). true scores 2. magent does not examine skin.","type":"boolean"},"seizure":{"description":"Seizure in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K). Recent onset. Exclude metabolic, infectious, or drug cause. true scores 8. magent does not examine the patient.","type":"boolean"},"thrombocytopenia":{"description":"Thrombocytopenia in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): \u003c100,000 platelets/mm³. Exclude drug causes. true scores 1. magent does not assay platelets.","type":"boolean"},"urinary_casts":{"description":"Urinary casts in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): heme-granular or red blood cell casts. true scores 4. magent does not assay urine.","type":"boolean"},"vasculitis":{"description":"Vasculitis in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): ulceration, gangrene, tender finger nodules, periungual infarction, splinter hemorrhages, or biopsy or angiogram proof of vasculitis. true scores 8. magent does not examine skin or read a biopsy.","type":"boolean"},"visual_disturbance":{"description":"Visual disturbance in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): retinal changes of SLE (cytoid bodies, retinal hemorrhages, serous exudate or hemorrhages in the choroid, or optic neuritis). Exclude hypertension, infection, or drug causes. true scores 8. magent does not examine the fundus.","type":"boolean"}},"required":["seizure","psychosis","organic_brain_syndrome","visual_disturbance","cranial_nerve_disorder","lupus_headache","cva","vasculitis","arthritis","myositis","urinary_casts","hematuria","proteinuria","pyuria","rash","alopecia","mucosal_ulcers","pleurisy","pericarditis","low_complement","increased_dna_binding","fever","thrombocytopenia","leukopenia"],"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"}}},"lastUpdated":"2026-10-05T14:48:44.362Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:48:44.217Z"},"resource":"https://api.magentlab.com/api/calc/sledai_2k","serviceName":"magent","tags":["sledai-2k","lupus","sle","disease-activity","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/slicc_sle","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"SLICC 2012 SLE classification (Petri Table 3). classified iff biopsy-proven lupus nephritis plus ANA or anti-dsDNA, or at least four criteria including at least one clinical and one immunologic. 11 clinical and 6 immunologic caller flags. Direct Coombs counts only in the absence of hemolytic anemia. Criteria need not be concurrent. Not a diagnosis. Not 1997 ACR. Not 2019 EULAR/ACR. magent does not examine skin, assay serologies, or read a biopsy.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_cutaneous_lupus":true,"ana":true,"anti_dsdna":true,"anti_sm":false,"antiphospholipid":false,"biopsy_lupus_nephritis":false,"chronic_cutaneous_lupus":false,"direct_coombs":false,"hemolytic_anemia":false,"leukopenia_or_lymphopenia":false,"low_complement":false,"neurologic":false,"nonscarring_alopecia":false,"oral_or_nasal_ulcers":true,"renal":false,"serositis":false,"synovitis":true,"thrombocytopenia":false},{"acute_cutaneous_lupus":true,"ana":true,"anti_dsdna":true,"anti_sm":false,"antiphospholipid":false,"biopsy_lupus_nephritis":false,"chronic_cutaneous_lupus":false,"direct_coombs":false,"hemolytic_anemia":false,"leukopenia_or_lymphopenia":false,"low_complement":false,"neurologic":false,"nonscarring_alopecia":false,"oral_or_nasal_ulcers":true,"renal":false,"serositis":false,"synovitis":true,"thrombocytopenia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Petri M, Orbai AM, Alarcón GS, Gordon C, Merrill JT, Fortin PR, Bruce IN, Isenberg D, Wallace DJ, Nived O, Sturfelt G, Ramsey-Goldman R, Bae SC, Hanly JG, Sánchez-Guerrero J, Clarke A, Aranow C, Manzi S, Urowitz M, Gladman D, Kalunian K, Costner M, Werth VP, Zoma A, Bernatsky S, Ruiz-Irastorza G, Khamashta MA, Jacobsen S, Buyon JP, Maddison P, Dooley MA, van Vollenhoven RF, Ginzler E, Stoll T, Peschken C, Jorizzo JL, Callen JP, Lim SS, Fessler BJ, Inanc M, Kamen DL, Rahman A, Steinsson K, Franks AG, Sigler L, Hameed S, Fang H, Pham N, Brey R, Weisman MH, McGwin G, Magder LS","doi":"10.1002/art.34473","id":"petri-2012","pmid":"22553077","source":"Arthritis Rheum. 2012;64(8):2677-2686","title":"Derivation and validation of the Systemic Lupus International Collaborating Clinics classification criteria for systemic lupus erythematosus"},"classified":true,"clinical_count":3,"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":"slicc_sle","formula_expression":"SLICC 2012 SLE classification (Petri Table 3 + classification rule): 11 clinical flags (acute_cutaneous_lupus, chronic_cutaneous_lupus, oral_or_nasal_ulcers, nonscarring_alopecia, synovitis, serositis, renal, neurologic, hemolytic_anemia, leukopenia_or_lymphopenia, thrombocytopenia) and 6 immunologic flags (ana, anti_dsdna, anti_sm, antiphospholipid, low_complement, direct_coombs). clinical_count = count of clinical flags that are true. immunologic_count = count of immunologic flags that are true, except direct_coombs counts only when hemolytic_anemia is false. nephritis_shortcut iff biopsy_lupus_nephritis and (ana or anti_dsdna). classified iff nephritis_shortcut or (clinical_count ≥1 and immunologic_count ≥1 and clinical_count + immunologic_count ≥4). Criteria need not be concurrent. Not a diagnosis. Not 1997 ACR. Not 2019 EULAR/ACR","immunologic_count":2,"nephritis_shortcut":false},{"citation":{"authors":"Petri M, Orbai AM, Alarcón GS, Gordon C, Merrill JT, Fortin PR, Bruce IN, Isenberg D, Wallace DJ, Nived O, Sturfelt G, Ramsey-Goldman R, Bae SC, Hanly JG, Sánchez-Guerrero J, Clarke A, Aranow C, Manzi S, Urowitz M, Gladman D, Kalunian K, Costner M, Werth VP, Zoma A, Bernatsky S, Ruiz-Irastorza G, Khamashta MA, Jacobsen S, Buyon JP, Maddison P, Dooley MA, van Vollenhoven RF, Ginzler E, Stoll T, Peschken C, Jorizzo JL, Callen JP, Lim SS, Fessler BJ, Inanc M, Kamen DL, Rahman A, Steinsson K, Franks AG, Sigler L, Hameed S, Fang H, Pham N, Brey R, Weisman MH, McGwin G, Magder LS","doi":"10.1002/art.34473","id":"petri-2012","pmid":"22553077","source":"Arthritis Rheum. 2012;64(8):2677-2686","title":"Derivation and validation of the Systemic Lupus International Collaborating Clinics classification criteria for systemic lupus erythematosus"},"classified":true,"clinical_count":3,"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":"slicc_sle","formula_expression":"SLICC 2012 SLE classification (Petri Table 3 + classification rule): 11 clinical flags (acute_cutaneous_lupus, chronic_cutaneous_lupus, oral_or_nasal_ulcers, nonscarring_alopecia, synovitis, serositis, renal, neurologic, hemolytic_anemia, leukopenia_or_lymphopenia, thrombocytopenia) and 6 immunologic flags (ana, anti_dsdna, anti_sm, antiphospholipid, low_complement, direct_coombs). clinical_count = count of clinical flags that are true. immunologic_count = count of immunologic flags that are true, except direct_coombs counts only when hemolytic_anemia is false. nephritis_shortcut iff biopsy_lupus_nephritis and (ana or anti_dsdna). classified iff nephritis_shortcut or (clinical_count ≥1 and immunologic_count ≥1 and clinical_count + immunologic_count ≥4). Criteria need not be concurrent. Not a diagnosis. Not 1997 ACR. Not 2019 EULAR/ACR","immunologic_count":2,"nephritis_shortcut":false}],"path":"/api/calc/slicc_sle"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_cutaneous_lupus":{"description":"Acute cutaneous lupus as assigned by the caller (Petri 2012 Table 3): lupus malar rash (do not count if malar discoid), bullous lupus, toxic epidermal necrolysis variant of SLE, maculopapular lupus rash, photosensitive lupus rash in the absence of dermatomyositis, or subacute cutaneous lupus. true or false. magent does not examine skin.","type":"boolean"},"ana":{"description":"ANA above laboratory reference range as assigned by the caller (Petri 2012 Table 3). With biopsy_lupus_nephritis (or anti_dsdna), fulfills the nephritis shortcut. true or false. magent does not assay ANA.","type":"boolean"},"anti_dsdna":{"description":"Anti-dsDNA above laboratory reference range (or \u003e2-fold the reference range if tested by ELISA), as assigned by the caller (Petri 2012 Table 3). true or false. magent does not assay anti-dsDNA.","type":"boolean"},"anti_sm":{"description":"Antibody to Sm nuclear antigen as assigned by the caller (Petri 2012 Table 3). true or false. magent does not assay anti-Sm.","type":"boolean"},"antiphospholipid":{"description":"Antiphospholipid antibody positivity as assigned by the caller (Petri 2012 Table 3): lupus anticoagulant, false-positive rapid plasma reagin, medium- or high-titer anticardiolipin (IgA, IgG, or IgM), or anti-β2-glycoprotein I (IgA, IgG, or IgM). true or false. magent does not assay antiphospholipid antibodies.","type":"boolean"},"biopsy_lupus_nephritis":{"description":"Biopsy-proven nephritis compatible with SLE as assigned by the caller (Petri 2012 classification rule). With ANA or anti-dsDNA, classifies without four criteria. Distinct from the renal clinical item. true or false. magent does not read a biopsy.","type":"boolean"},"chronic_cutaneous_lupus":{"description":"Chronic cutaneous lupus as assigned by the caller (Petri 2012 Table 3): classic discoid (localized or generalized), hypertrophic (verrucous) lupus, lupus panniculitis (profundus), mucosal lupus, lupus erythematosus tumidus, chilblains lupus, or discoid lupus/lichen planus overlap. true or false. magent does not examine skin.","type":"boolean"},"direct_coombs":{"description":"Direct Coombs’ test as assigned by the caller (Petri 2012 Table 3). Counts toward immunologic_count only when hemolytic_anemia is false. true or false. magent does not run a Coombs test.","type":"boolean"},"hemolytic_anemia":{"description":"Hemolytic anemia as assigned by the caller (Petri 2012 Table 3). When true, direct_coombs does not count toward immunologic_count. true or false. magent does not assay hemolysis.","type":"boolean"},"leukopenia_or_lymphopenia":{"description":"Leukopenia (\u003c4,000/mm³ at least once) in the absence of other known causes, or lymphopenia (\u003c1,000/mm³ at least once) in the absence of other known causes, as assigned by the caller (Petri 2012 Table 3). true or false. magent does not assay blood counts.","type":"boolean"},"low_complement":{"description":"Low C3, low C4, or low CH50 as assigned by the caller (Petri 2012 Table 3). true or false. magent does not assay complement.","type":"boolean"},"neurologic":{"description":"Neurologic criterion as assigned by the caller (Petri 2012 Table 3): seizures, psychosis, mononeuritis multiplex, myelitis, peripheral or cranial neuropathy, or acute confusional state, in the absence of other known causes. true or false. magent does not examine the nervous system.","type":"boolean"},"nonscarring_alopecia":{"description":"Nonscarring alopecia: diffuse thinning or hair fragility with visible broken hairs, in the absence of other causes, as assigned by the caller (Petri 2012 Table 3). true or false. magent does not examine the scalp.","type":"boolean"},"oral_or_nasal_ulcers":{"description":"Oral ulcers (palate, buccal, tongue) or nasal ulcers, in the absence of other causes, as assigned by the caller (Petri 2012 Table 3). true or false. magent does not examine mucosa.","type":"boolean"},"renal":{"description":"Renal clinical criterion as assigned by the caller (Petri 2012 Table 3): urine protein-to-creatinine ratio (or 24-hour urine protein) representing 500 mg protein/24 hours, or red blood cell casts. Distinct from biopsy_lupus_nephritis. true or false. magent does not assay urine.","type":"boolean"},"serositis":{"description":"Serositis as assigned by the caller (Petri 2012 Table 3): typical pleurisy \u003e1 day or pleural effusion or pleural rub, or typical pericardial pain \u003e1 day or pericardial effusion or pericardial rub or pericarditis by electrocardiography, in the absence of other causes. true or false. magent does not examine the chest.","type":"boolean"},"synovitis":{"description":"Synovitis involving 2 or more joints, characterized by swelling or effusion, or tenderness in 2 or more joints and at least 30 minutes of morning stiffness, as assigned by the caller (Petri 2012 Table 3). true or false. magent does not examine joints.","type":"boolean"},"thrombocytopenia":{"description":"Thrombocytopenia (\u003c100,000/mm³) at least once in the absence of other known causes, as assigned by the caller (Petri 2012 Table 3). true or false. magent does not assay platelets.","type":"boolean"}},"required":["acute_cutaneous_lupus","chronic_cutaneous_lupus","oral_or_nasal_ulcers","nonscarring_alopecia","synovitis","serositis","renal","neurologic","hemolytic_anemia","leukopenia_or_lymphopenia","thrombocytopenia","ana","anti_dsdna","anti_sm","antiphospholipid","low_complement","direct_coombs","biopsy_lupus_nephritis"],"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"}}},"lastUpdated":"2026-10-05T14:48:37.665Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:48:37.527Z"},"resource":"https://api.magentlab.com/api/calc/slicc_sle","serviceName":"magent","tags":["slicc","sle","lupus","classification","emergency"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/acr_eular_gout","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"ACR/EULAR 2015 gout classification (Neogi). MSU crystals classify without score ≥8; else score ≥8 (max 23). Pattern 0/1/2, characteristics 0–3, time course 0/1/2, tophus 4, urate −4 to 4, MSU-negative −2, imaging 4+4. Not a diagnosis. Not Janssens 2010. magent does not examine joints or polarizing microscopy.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"characteristics":0,"entry_criterion":true,"imaging_erosion":"absent_or_not_done","imaging_urate":"absent_or_not_done","pattern":"other","sufficient_msu":false,"synovial":"not_done","time_course":"none","tophus":false,"uric_acid_mg_dl":5,"uric_acid_umol_l":300},{"characteristics":0,"entry_criterion":true,"imaging_erosion":"absent_or_not_done","imaging_urate":"absent_or_not_done","pattern":"other","sufficient_msu":false,"synovial":"not_done","time_course":"none","tophus":false,"uric_acid_mg_dl":5,"uric_acid_umol_l":300}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Neogi T, Jansen TLTA, Dalbeth N, Fransen J, Schumacher HR, Berendsen D, Brown M, Choi H, Edwards NL, Janssens HJEM, Lioté F, Naden RP, Nuki G, Ogdie A, Perez-Ruiz F, Saag K, Singh JA, Sundy JS, Tausche AK, Vazquez-Mellado J, Yarows SA, Taylor WJ","doi":"10.1002/art.39254","id":"neogi-2015","pmid":"26352873","source":"Arthritis Rheumatol. 2015;67(10):2557-2568","title":"2015 Gout Classification Criteria: an American College of Rheumatology/European League Against Rheumatism collaborative initiative"},"classified_gout":false,"components":[{"factor":"pattern","points":0,"present":true,"value":"other"},{"factor":"characteristics","points":0,"present":true,"value":0},{"factor":"time_course","points":0,"present":true,"value":"none"},{"factor":"tophus","points":0,"present":true,"value":false},{"factor":"serum_urate","points":0,"present":true,"value":5},{"factor":"synovial","points":0,"present":true,"value":"not_done"},{"factor":"imaging_urate","points":0,"present":true,"value":"absent_or_not_done"},{"factor":"imaging_erosion","points":0,"present":true,"value":"absent_or_not_done"}],"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":"acr_eular_gout","formula_expression":"ACR/EULAR 2015 gout classification (Neogi Table 2): entry (episode of swelling, pain, or tenderness in a peripheral joint or bursa) required; sufficient MSU in a symptomatic joint/bursa or tophus classifies without score ≥8; else score ≥8 classifies. Score = pattern (other 0, ankle_midfoot 1, mtp1 2) + characteristics 0-3 + time_course (none 0, one_typical 1, recurrent 2) + tophus true 4 + serum urate (\u003c4 mg/dL or \u003c0.24 mmol/L −4; ≥4–\u003c6 or ≥0.24–\u003c0.36 0; 6–\u003c8 or 0.36–\u003c0.48 2; 8–\u003c10 or 0.48–\u003c0.60 3; ≥10 or ≥0.60 4) + synovial (not_done 0, msu_negative −2) + imaging_urate present 4 + imaging_erosion present 4; max 23. Not a diagnosis. Not Janssens 2010","gout_band":"not_classified","max_score":23,"score":0,"sufficient_criterion":false},{"citation":{"authors":"Neogi T, Jansen TLTA, Dalbeth N, Fransen J, Schumacher HR, Berendsen D, Brown M, Choi H, Edwards NL, Janssens HJEM, Lioté F, Naden RP, Nuki G, Ogdie A, Perez-Ruiz F, Saag K, Singh JA, Sundy JS, Tausche AK, Vazquez-Mellado J, Yarows SA, Taylor WJ","doi":"10.1002/art.39254","id":"neogi-2015","pmid":"26352873","source":"Arthritis Rheumatol. 2015;67(10):2557-2568","title":"2015 Gout Classification Criteria: an American College of Rheumatology/European League Against Rheumatism collaborative initiative"},"classified_gout":false,"components":[{"factor":"pattern","points":0,"present":true,"value":"other"},{"factor":"characteristics","points":0,"present":true,"value":0},{"factor":"time_course","points":0,"present":true,"value":"none"},{"factor":"tophus","points":0,"present":true,"value":false},{"factor":"serum_urate","points":0,"present":true,"value":5},{"factor":"synovial","points":0,"present":true,"value":"not_done"},{"factor":"imaging_urate","points":0,"present":true,"value":"absent_or_not_done"},{"factor":"imaging_erosion","points":0,"present":true,"value":"absent_or_not_done"}],"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":"acr_eular_gout","formula_expression":"ACR/EULAR 2015 gout classification (Neogi Table 2): entry (episode of swelling, pain, or tenderness in a peripheral joint or bursa) required; sufficient MSU in a symptomatic joint/bursa or tophus classifies without score ≥8; else score ≥8 classifies. Score = pattern (other 0, ankle_midfoot 1, mtp1 2) + characteristics 0-3 + time_course (none 0, one_typical 1, recurrent 2) + tophus true 4 + serum urate (\u003c4 mg/dL or \u003c0.24 mmol/L −4; ≥4–\u003c6 or ≥0.24–\u003c0.36 0; 6–\u003c8 or 0.36–\u003c0.48 2; 8–\u003c10 or 0.48–\u003c0.60 3; ≥10 or ≥0.60 4) + synovial (not_done 0, msu_negative −2) + imaging_urate present 4 + imaging_erosion present 4; max 23. Not a diagnosis. Not Janssens 2010","gout_band":"not_classified","max_score":23,"score":0,"sufficient_criterion":false}],"path":"/api/calc/acr_eular_gout"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"characteristics":{"description":"Count (0-3) of symptomatic-episode characteristics ever: erythema overlying the affected joint; cannot bear touch or pressure; great difficulty walking or inability to use the affected joint (Neogi 2015). Points equal the count. magent does not examine joints.","enum":[0,1,2,3],"type":"integer"},"entry_criterion":{"description":"Must be true. ACR/EULAR 2015 entry: at least one episode of swelling, pain, or tenderness in a peripheral joint or bursa. false is invalid. magent does not examine joints.","type":"boolean"},"imaging_erosion":{"description":"Conventional radiograph of hands and/or feet with ≥1 gout-related erosion (cortical break with sclerotic margin and overhanging edge; excludes DIP joints and gull-wing) (Neogi 2015). present scores 4; absent_or_not_done scores 0. magent does not read radiographs.","enum":["absent_or_not_done","present"],"type":"string"},"imaging_urate":{"description":"Imaging evidence of urate deposition (ultrasound double-contour or DECT urate) in a symptomatic (ever) joint/bursa (Neogi 2015). present scores 4. If imaging is not available, absent_or_not_done scores 0. magent does not read imaging.","enum":["absent_or_not_done","present"],"type":"string"},"pattern":{"description":"Pattern of joint/bursa involvement ever, monoarticular or oligoarticular unless other (Neogi 2015). other (joints/bursa other than ankle, midfoot, or 1st MTP, or only as part of a polyarticular presentation) scores 0. ankle_midfoot (ankle or midfoot without 1st MTP) scores 1. mtp1 (1st MTP) scores 2. magent does not examine joints.","enum":["other","ankle_midfoot","mtp1"],"type":"string"},"sufficient_msu":{"description":"Presence of MSU crystals in a symptomatic joint or bursa (synovial fluid) or tophus (Neogi 2015 Step 2). true classifies gout without requiring score ≥8. magent does not perform polarizing microscopy.","type":"boolean"},"synovial":{"description":"Synovial fluid of a symptomatic (ever) joint/bursa, trained observer (Neogi 2015). not_done scores 0; msu_negative scores −2. MSU-positive is sufficient_msu, not this field. magent does not perform polarizing microscopy.","enum":["not_done","msu_negative"],"type":"string"},"time_course":{"description":"Time course of episode(s) ever (Neogi 2015). A typical episode has ≥2 of: time to maximum pain \u003c24 h; resolution ≤14 days; complete resolution between episodes. none scores 0; one_typical scores 1; recurrent scores 2. magent does not take a history.","enum":["none","one_typical","recurrent"],"type":"string"},"tophus":{"description":"Clinical evidence of tophus: draining or chalk-like subcutaneous nodule under transparent skin, often with overlying vascularity, in typical locations (joints, ears, olecranon bursae, finger pads, tendons e.g. Achilles) (Neogi 2015). true scores 4; false scores 0. magent does not examine joints.","type":"boolean"},"uric_acid_mg_dl":{"description":"Highest serum urate in mg/dL (uricase method; 1-20). Provide this or uric_acid_umol_l, not both. \u003c4 scores −4; ≥4 and \u003c6 scores 0; 6–\u003c8 scores 2; 8–\u003c10 scores 3; ≥10 scores 4. magent does not assay uric acid.","type":"number"},"uric_acid_umol_l":{"description":"Highest serum urate in µmol/L (uricase method; 60-1190). Provide this or uric_acid_mg_dl, not both. mmol/L = µmol/L / 1000. \u003c0.24 scores −4; ≥0.24 and \u003c0.36 scores 0; 0.36–\u003c0.48 scores 2; 0.48–\u003c0.60 scores 3; ≥0.60 scores 4. magent does not assay uric acid.","type":"number"}},"required":["entry_criterion","sufficient_msu","pattern","characteristics","time_course","tophus","synovial","imaging_urate","imaging_erosion"],"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"}}},"lastUpdated":"2026-10-05T14:47:46.913Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:47:46.779Z"},"resource":"https://api.magentlab.com/api/calc/acr_eular_gout","serviceName":"magent","tags":["gout","acr-eular","classification","emergency","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/gout_rule","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Janssens 2010 diagnostic rule for acute gouty arthritis without joint fluid: male 2, previous arthritis attack 2, onset within 1 day 0.5, joint redness 1, MTP1 2.5, hypertension or CVD 1.5, uric acid \u003e5.88 mg/dL or \u003e350 µmol/L 3.5; max 13. Low ≤4, intermediate 4.5–7.5, high ≥8. uric_acid_mg_dl or uric_acid_umol_l, not both. Deterministic published score; not a gout diagnosis; magent does not examine joints or replace synovial crystal analysis.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hypertension_or_cvd":false,"joint_redness":false,"mtp1_involvement":false,"onset_within_1_day":false,"previous_arthritis_attack":false,"sex":"female","uric_acid_mg_dl":5,"uric_acid_umol_l":300},{"hypertension_or_cvd":false,"joint_redness":false,"mtp1_involvement":false,"onset_within_1_day":false,"previous_arthritis_attack":false,"sex":"female","uric_acid_mg_dl":5,"uric_acid_umol_l":300}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Janssens HJEM, Fransen J, van de Lisdonk EH, van Riel PLCM, van Weel C, Janssen M","doi":"10.1001/archinternmed.2010.196","id":"janssens-2010","pmid":"20625017","source":"Arch Intern Med. 2010;170(13):1120-1126","title":"A diagnostic rule for acute gouty arthritis in primary care without joint fluid analysis"},"components":[{"factor":"male","points":0,"present":false},{"factor":"previous_arthritis_attack","points":0,"present":false},{"factor":"onset_within_1_day","points":0,"present":false},{"factor":"joint_redness","points":0,"present":false},{"factor":"mtp1_involvement","points":0,"present":false},{"factor":"hypertension_or_cvd","points":0,"present":false},{"factor":"uric_acid","points":0,"present":false,"value":5}],"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":"gout_rule","formula_expression":"gout_rule = 2*male + 2*previous_arthritis_attack + 0.5*onset_within_1_day + 1*joint_redness + 2.5*mtp1_involvement + 1.5*hypertension_or_cvd + 3.5*(uric_acid_mg_dl\u003e5.88 | uric_acid_umol_l\u003e350); Janssens 2010; max 13; low ≤4, intermediate 4.5-7.5, high ≥8","gout_band":"low","max_score":13,"score":0},{"citation":{"authors":"Janssens HJEM, Fransen J, van de Lisdonk EH, van Riel PLCM, van Weel C, Janssen M","doi":"10.1001/archinternmed.2010.196","id":"janssens-2010","pmid":"20625017","source":"Arch Intern Med. 2010;170(13):1120-1126","title":"A diagnostic rule for acute gouty arthritis in primary care without joint fluid analysis"},"components":[{"factor":"male","points":0,"present":false},{"factor":"previous_arthritis_attack","points":0,"present":false},{"factor":"onset_within_1_day","points":0,"present":false},{"factor":"joint_redness","points":0,"present":false},{"factor":"mtp1_involvement","points":0,"present":false},{"factor":"hypertension_or_cvd","points":0,"present":false},{"factor":"uric_acid","points":0,"present":false,"value":5}],"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":"gout_rule","formula_expression":"gout_rule = 2*male + 2*previous_arthritis_attack + 0.5*onset_within_1_day + 1*joint_redness + 2.5*mtp1_involvement + 1.5*hypertension_or_cvd + 3.5*(uric_acid_mg_dl\u003e5.88 | uric_acid_umol_l\u003e350); Janssens 2010; max 13; low ≤4, intermediate 4.5-7.5, high ≥8","gout_band":"low","max_score":13,"score":0}],"path":"/api/calc/gout_rule"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hypertension_or_cvd":{"description":"Hypertension or one or more cardiovascular diseases (Janssens 2010). true scores 1.5. magent does not diagnose hypertension or cardiovascular disease.","type":"boolean"},"joint_redness":{"description":"Joint redness as assigned by the caller (Janssens 2010). true scores 1.0. magent does not examine joints.","type":"boolean"},"mtp1_involvement":{"description":"Involvement of the first metatarsophalangeal joint (Janssens 2010). true scores 2.5. magent does not examine joints.","type":"boolean"},"onset_within_1_day":{"description":"Onset within 1 day (Janssens 2010). true scores 0.5. magent does not timestamp onset.","type":"boolean"},"previous_arthritis_attack":{"description":"Previous patient-reported arthritis attack (Janssens 2010). true scores 2.0. magent does not take a history.","type":"boolean"},"sex":{"description":"Caller-assigned sex (Janssens 2010). male scores 2.0; female scores 0. magent does not assign sex.","enum":["female","male"],"type":"string"},"uric_acid_mg_dl":{"description":"Serum uric acid in mg/dL (1-20). Provide this or uric_acid_umol_l, not both. Scores 3.5 when \u003e5.88; 5.88 does not score. magent does not assay uric acid.","type":"number"},"uric_acid_umol_l":{"description":"Serum uric acid in µmol/L (60-1190). Provide this or uric_acid_mg_dl, not both. Scores 3.5 when \u003e350; 350 does not score. magent does not assay uric acid.","type":"number"}},"required":["sex","previous_arthritis_attack","onset_within_1_day","joint_redness","mtp1_involvement","hypertension_or_cvd"],"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"}}},"lastUpdated":"2026-10-05T14:47:39.939Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:47:39.788Z"},"resource":"https://api.magentlab.com/api/calc/gout_rule","serviceName":"magent","tags":["gout","arthritis","emergency","uric-acid","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/tash","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Yücel 2006 TASH (Trauma Associated Severe Hemorrhage): seven independent nested less-than point bands for arrival SBP, hemoglobin, intra-abdominal fluid, complex long-bone/pelvic fracture AIS, heart rate, base excess, and male sex; max 28. Highest matching band only (do not stack). Deterministic published arithmetic with citation; not a transfusion or MTP order; not ABC (assessment of blood consumption). Caller assigns FAST and AIS; magent does not read imaging.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"base_excess_mmol_l":-4,"fracture_ais":3,"heart_rate_bpm":110,"hemoglobin_g_dl":10.5,"hemoglobin_g_l":105,"intra_abdominal_fluid":false,"sex":"male","systolic_mm_hg":110},{"base_excess_mmol_l":-4,"fracture_ais":3,"heart_rate_bpm":110,"hemoglobin_g_dl":10.5,"hemoglobin_g_l":105,"intra_abdominal_fluid":false,"sex":"male","systolic_mm_hg":110}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"base_excess_mmol_l":-4,"citation":{"authors":"Yücel N, Lefering R, Maegele M, et al.","doi":"10.1097/01.ta.0000220386.84012.bf","id":"yucel-2006","pmid":"16766965","source":"J Trauma. 2006;60(6):1228-1236","title":"Trauma Associated Severe Hemorrhage (TASH)-Score: probability of mass transfusion as surrogate for life threatening hemorrhage after multiple trauma"},"components":[{"factor":"systolic","points":1,"present":true,"value":110},{"factor":"hemoglobin","points":3,"present":true,"value":10.5},{"factor":"intra_abdominal_fluid","points":0,"present":false},{"factor":"fracture_ais","points":3,"present":true,"value":3},{"factor":"heart_rate","points":0,"present":false,"value":110},{"factor":"base_excess","points":1,"present":true,"value":-4},{"factor":"male","points":1,"present":true,"value":"male"}],"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":"tash","formula_expression":"TASH = SBP (\u003c100:4, \u003c120:1) + Hb g/dL (\u003c7:8, \u003c9:6, \u003c10:4, \u003c11:3, \u003c12:2) + intra-abdominal fluid 3 + fracture AIS (3-4:3, 5:6) + HR\u003e120:2 + BE mmol/L (\u003c-10:4, \u003c-6:3, \u003c-2:1) + male 1; nested less-than highest band only; max 28","fracture_ais":3,"heart_rate_bpm":110,"hemoglobin_g_dl":10.5,"intra_abdominal_fluid":false,"max_score":28,"score":9,"sex":"male","systolic_mm_hg":110},{"base_excess_mmol_l":-4,"citation":{"authors":"Yücel N, Lefering R, Maegele M, et al.","doi":"10.1097/01.ta.0000220386.84012.bf","id":"yucel-2006","pmid":"16766965","source":"J Trauma. 2006;60(6):1228-1236","title":"Trauma Associated Severe Hemorrhage (TASH)-Score: probability of mass transfusion as surrogate for life threatening hemorrhage after multiple trauma"},"components":[{"factor":"systolic","points":1,"present":true,"value":110},{"factor":"hemoglobin","points":3,"present":true,"value":10.5},{"factor":"intra_abdominal_fluid","points":0,"present":false},{"factor":"fracture_ais","points":3,"present":true,"value":3},{"factor":"heart_rate","points":0,"present":false,"value":110},{"factor":"base_excess","points":1,"present":true,"value":-4},{"factor":"male","points":1,"present":true,"value":"male"}],"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":"tash","formula_expression":"TASH = SBP (\u003c100:4, \u003c120:1) + Hb g/dL (\u003c7:8, \u003c9:6, \u003c10:4, \u003c11:3, \u003c12:2) + intra-abdominal fluid 3 + fracture AIS (3-4:3, 5:6) + HR\u003e120:2 + BE mmol/L (\u003c-10:4, \u003c-6:3, \u003c-2:1) + male 1; nested less-than highest band only; max 28","fracture_ais":3,"heart_rate_bpm":110,"hemoglobin_g_dl":10.5,"intra_abdominal_fluid":false,"max_score":28,"score":9,"sex":"male","systolic_mm_hg":110}],"path":"/api/calc/tash"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"base_excess_mmol_l":{"description":"Admission base excess in mmol/L (−30 to 20). Nested less-than: \u003c −10 scores 4; \u003c −6 scores 3; \u003c −2 scores 1; ≥ −2 scores 0. Highest matching band only.","type":"number"},"fracture_ais":{"description":"Caller-assigned AIS for complex long bone and/or pelvic fractures. Must be 0 (none), 3, 4, or 5. 3 or 4 scores 3; 5 scores 6. magent does not assign AIS from imaging.","type":"integer"},"heart_rate_bpm":{"description":"Arrival heart rate in beats per minute (integer 30-220). \u003e120 scores 2; 120 does not.","type":"integer"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. Nested less-than: \u003c7 scores 8; \u003c9 scores 6; \u003c10 scores 4; \u003c11 scores 3; \u003c12 scores 2; ≥12 scores 0. Highest matching band only.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both.","type":"number"},"intra_abdominal_fluid":{"description":"Intra-abdominal fluid (FAST) as assigned by the caller (Yücel 2006). true or false. true scores 3. magent does not interpret FAST images.","type":"boolean"},"sex":{"description":"Sex as assigned by the caller. male scores 1; female scores 0.","type":"string"},"systolic_mm_hg":{"description":"Arrival systolic blood pressure in mm Hg (integer 0-300). Nested less-than: \u003c100 scores 4; \u003c120 (and not \u003c100) scores 1; ≥120 scores 0. Highest matching band only.","type":"integer"}},"required":["systolic_mm_hg","intra_abdominal_fluid","fracture_ais","heart_rate_bpm","base_excess_mmol_l","sex"],"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"}}},"lastUpdated":"2026-10-05T14:45:53.704Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:45:53.574Z"},"resource":"https://api.magentlab.com/api/calc/tash","serviceName":"magent","tags":["tash","trauma","hemorrhage","transfusion"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/bam","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Cacciola 2013 Brief Addiction Monitor (BAM; public-domain VA instrument). Three subscales only: Use (items 4+5+6, 0-90), Risk (items 1+2+3+8+11+15, 0-102 on Table 1 0-4 Likert plus 0-30 days), Protective (items 9+10+12+13+14+16, 0-98; income No=0 Yes=30). Items 7a-g and 17 collected, not summed. No total BAM score. magent does not interview the patient. Not a diagnosis, level-of-care order, or medical device.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abstinence_confidence":0,"adequate_income":false,"craving":0,"days_alcohol":0,"days_drug":0,"days_heavy_alcohol":0,"days_psychological":0,"days_risky":0,"days_self_help":0,"days_sleep":0,"days_structured":0,"days_supportive":0,"drug_cocaine":false,"drug_inhalants":false,"drug_marijuana":false,"drug_opiates":false,"drug_other":false,"drug_sedatives":false,"drug_stimulants":false,"family_arguments":0,"physical_health":0,"recovery_satisfaction":0,"religion_support":0},{"abstinence_confidence":0,"adequate_income":false,"craving":0,"days_alcohol":0,"days_drug":0,"days_heavy_alcohol":0,"days_psychological":0,"days_risky":0,"days_self_help":0,"days_sleep":0,"days_structured":0,"days_supportive":0,"drug_cocaine":false,"drug_inhalants":false,"drug_marijuana":false,"drug_opiates":false,"drug_other":false,"drug_sedatives":false,"drug_stimulants":false,"family_arguments":0,"physical_health":0,"recovery_satisfaction":0,"religion_support":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cacciola JS, Alterman AI, DePhilippis D, et al.","doi":"10.1016/j.jsat.2012.07.013","id":"cacciola-2013","pmid":"22898042","source":"J Subst Abuse Treat. 2013;44(5):492-499","title":"Development and initial evaluation of the Brief Addiction Monitor (BAM)"},"components":[{"factor":"physical_health","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_sleep","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_psychological","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_alcohol","points":0,"present":true,"subscale":"use","value":0},{"factor":"days_heavy_alcohol","points":0,"present":true,"subscale":"use","value":0},{"factor":"days_drug","points":0,"present":true,"subscale":"use","value":0},{"factor":"drug_marijuana","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_sedatives","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_cocaine","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_stimulants","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_opiates","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_inhalants","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_other","points":0,"present":false,"subscale":"collected","value":false},{"factor":"craving","points":0,"present":true,"subscale":"risk","value":0},{"factor":"abstinence_confidence","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_self_help","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_risky","points":0,"present":true,"subscale":"risk","value":0},{"factor":"religion_support","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_structured","points":0,"present":true,"subscale":"protective","value":0},{"factor":"adequate_income","points":0,"present":false,"subscale":"protective","value":false},{"factor":"family_arguments","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_supportive","points":0,"present":true,"subscale":"protective","value":0},{"factor":"recovery_satisfaction","points":0,"present":true,"subscale":"collected","value":0}],"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":"bam","formula_expression":"Use = days_alcohol + days_heavy_alcohol + days_drug (Cacciola 2013 Table 1 items 4+5+6; each 0-30; max 90); Risk = physical_health + days_sleep + days_psychological + craving + days_risky + family_arguments (items 1+2+3+8+11+15; Table 1 Likert 0-4 kept on Table 1's own scale, day-counts 0-30; max 102); Protective = abstinence_confidence + days_self_help + religion_support + days_structured + adequate_income + days_supportive (items 9+10+12+13+14+16; Table 1 Likert 0-4, day-counts 0-30, income No=0 Yes=30; max 98); items 7a-g and 17 collected and not summed. No single total BAM score. magent does not interview the patient. Not a diagnosis or level-of-care order.","protective":0,"protective_max":98,"risk":0,"risk_max":102,"use":0,"use_max":90},{"citation":{"authors":"Cacciola JS, Alterman AI, DePhilippis D, et al.","doi":"10.1016/j.jsat.2012.07.013","id":"cacciola-2013","pmid":"22898042","source":"J Subst Abuse Treat. 2013;44(5):492-499","title":"Development and initial evaluation of the Brief Addiction Monitor (BAM)"},"components":[{"factor":"physical_health","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_sleep","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_psychological","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_alcohol","points":0,"present":true,"subscale":"use","value":0},{"factor":"days_heavy_alcohol","points":0,"present":true,"subscale":"use","value":0},{"factor":"days_drug","points":0,"present":true,"subscale":"use","value":0},{"factor":"drug_marijuana","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_sedatives","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_cocaine","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_stimulants","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_opiates","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_inhalants","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_other","points":0,"present":false,"subscale":"collected","value":false},{"factor":"craving","points":0,"present":true,"subscale":"risk","value":0},{"factor":"abstinence_confidence","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_self_help","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_risky","points":0,"present":true,"subscale":"risk","value":0},{"factor":"religion_support","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_structured","points":0,"present":true,"subscale":"protective","value":0},{"factor":"adequate_income","points":0,"present":false,"subscale":"protective","value":false},{"factor":"family_arguments","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_supportive","points":0,"present":true,"subscale":"protective","value":0},{"factor":"recovery_satisfaction","points":0,"present":true,"subscale":"collected","value":0}],"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":"bam","formula_expression":"Use = days_alcohol + days_heavy_alcohol + days_drug (Cacciola 2013 Table 1 items 4+5+6; each 0-30; max 90); Risk = physical_health + days_sleep + days_psychological + craving + days_risky + family_arguments (items 1+2+3+8+11+15; Table 1 Likert 0-4 kept on Table 1's own scale, day-counts 0-30; max 102); Protective = abstinence_confidence + days_self_help + religion_support + days_structured + adequate_income + days_supportive (items 9+10+12+13+14+16; Table 1 Likert 0-4, day-counts 0-30, income No=0 Yes=30; max 98); items 7a-g and 17 collected and not summed. No single total BAM score. magent does not interview the patient. Not a diagnosis or level-of-care order.","protective":0,"protective_max":98,"risk":0,"risk_max":102,"use":0,"use_max":90}],"path":"/api/calc/bam"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abstinence_confidence":{"description":"Caller-assigned Cacciola 2013 Table 1 item 9 abstinence-confidence rating (integer 0-4; 0 not at all, 4 extremely). Kept on Table 1's 0-4 scale. magent does not interview the patient.","type":"integer"},"adequate_income":{"description":"Caller-assigned Cacciola 2013 Table 1 item 14 adequate income (true or false). No scores 0; Yes scores 30 (VA public-domain BAM-R item-14 map). magent does not interview the patient.","type":"boolean"},"craving":{"description":"Caller-assigned Cacciola 2013 Table 1 item 8 craving rating (integer 0-4; 0 not at all, 4 extremely). Kept on Table 1's 0-4 scale. magent does not interview the patient.","type":"integer"},"days_alcohol":{"description":"Caller-assigned Cacciola 2013 Table 1 item 4 days of alcohol use in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_drug":{"description":"Caller-assigned Cacciola 2013 Table 1 item 6 days of drug use in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_heavy_alcohol":{"description":"Caller-assigned Cacciola 2013 Table 1 item 5 days of heavy alcohol use in the prior 30 days (integer 0-30). Contingent on item 4 in that paper; this tool accepts 0-30 independently. magent does not interview the patient.","type":"integer"},"days_psychological":{"description":"Caller-assigned Cacciola 2013 Table 1 item 3 days of psychological problems in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_risky":{"description":"Caller-assigned Cacciola 2013 Table 1 item 11 days in risky situations in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_self_help":{"description":"Caller-assigned Cacciola 2013 Table 1 item 10 days of self-help group attendance in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_sleep":{"description":"Caller-assigned Cacciola 2013 Table 1 item 2 days of trouble sleeping in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_structured":{"description":"Caller-assigned Cacciola 2013 Table 1 item 13 days of structured activities in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_supportive":{"description":"Caller-assigned Cacciola 2013 Table 1 item 16 days with supportive family/friends in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"drug_cocaine":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7c (cocaine/crack). Collected and not summed. magent does not interview the patient.","type":"boolean"},"drug_inhalants":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7f (inhalants). Collected and not summed. magent does not interview the patient.","type":"boolean"},"drug_marijuana":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7a (marijuana). Collected and not summed. Table 1 names a 6-category checklist without listing categories; 7a-g follow the VA public-domain slots. magent does not interview the patient.","type":"boolean"},"drug_opiates":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7e (opiates). Collected and not summed. magent does not interview the patient.","type":"boolean"},"drug_other":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7g (other drugs). Collected and not summed. magent does not interview the patient.","type":"boolean"},"drug_sedatives":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7b (sedatives/tranquilizers). Collected and not summed. magent does not interview the patient.","type":"boolean"},"drug_stimulants":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7d (other stimulants). Collected and not summed. magent does not interview the patient.","type":"boolean"},"family_arguments":{"description":"Caller-assigned Cacciola 2013 Table 1 item 15 arguments with family/friends rating (integer 0-4; 0 not at all, 4 extremely). Kept on Table 1's 0-4 scale. magent does not interview the patient.","type":"integer"},"physical_health":{"description":"Caller-assigned Cacciola 2013 Table 1 item 1 physical-health rating (integer 0-4; 0 excellent, 4 poor). Healthiest published anchor is 0. Kept on Table 1's 0-4 scale (not a 0/8/15/22/30 recode). magent does not interview the patient.","type":"integer"},"recovery_satisfaction":{"description":"Caller-assigned Cacciola 2013 Table 1 item 17 recovery-satisfaction rating (integer 0-4; 0 not at all, 4 extremely). Collected and not summed. magent does not interview the patient.","type":"integer"},"religion_support":{"description":"Caller-assigned Cacciola 2013 Table 1 item 12 religion/spirituality support rating (integer 0-4; 0 not at all, 4 extremely). Kept on Table 1's 0-4 scale. magent does not interview the patient.","type":"integer"}},"required":["physical_health","days_sleep","days_psychological","days_alcohol","days_heavy_alcohol","days_drug","drug_marijuana","drug_sedatives","drug_cocaine","drug_stimulants","drug_opiates","drug_inhalants","drug_other","craving","abstinence_confidence","days_self_help","days_risky","religion_support","days_structured","adequate_income","family_arguments","days_supportive","recovery_satisfaction"],"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"}}},"lastUpdated":"2026-10-05T14:41:53.349Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:41:53.193Z"},"resource":"https://api.magentlab.com/api/calc/bam","serviceName":"magent","tags":["bam","addiction","emergency","substance-use","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/ehmrg","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Lee 2012 EHMRG 7-day ED model (Table 3 integer score): 2*age + 60 if EMS transport - min(SBP,160) + clamp(HR,80-120) - 2*min(SpO2,92) + 20*creatinine_mg_dl + K (\u003c=3.9: +5; 4.0-4.5: 0; \u003e=4.6: +30) + 60 if troponin\u003eULN + 45 if active cancer + 60 if home metolazone + 12. Groups 1/2/3/4/5a/5b. Dialysis-dependent excluded. Not EHMRG30-ST, not ADHERE CART, not a discharge or admission order.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"active_cancer":false,"age":70,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"dialysis_dependent":false,"ems_transport":false,"heart_rate_bpm":80,"metolazone":false,"potassium_mmol_l":4.2,"spo2_percent":92,"systolic_mm_hg":160,"troponin_gt_uln":false},{"active_cancer":false,"age":70,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"dialysis_dependent":false,"ems_transport":false,"heart_rate_bpm":80,"metolazone":false,"potassium_mmol_l":4.2,"spo2_percent":92,"systolic_mm_hg":160,"troponin_gt_uln":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"active_cancer":false,"age_years":70,"citation":{"authors":"Lee DS, Stitt A, Austin PC, Stukel TA, Schull MJ, Chong A, Newton GE, Lee JS, Tu JV","doi":"10.7326/0003-4819-156-11-201206050-00003","id":"lee-2012","pmid":"22665814","source":"Ann Intern Med. 2012;156(11):767-775","title":"Prediction of heart failure mortality in emergent care: a cohort study"},"creatinine_mg_dl":1,"dialysis_dependent":false,"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.","ehmrg_score":-92,"ems_transport":false,"formula":"ehmrg","formula_expression":"ehmrg_score = 2*age_years + 60*(ems_transport) - min(systolic_mm_hg, 160) + clamp(heart_rate_bpm, 80, 120) - 2*min(spo2_percent, 92) + 20*creatinine_mg_dl + K(\u003c=3.9:5, 4.0-4.5:0, \u003e=4.6:30) + 60*(troponin_gt_uln) + 45*(active_cancer) + 60*(metolazone) + 12; Lee 2012 Table 3 7-day ED model; dialysis-dependent excluded; risk_group 1 (score \u003c= -49.1), 2 (-49.0 to -15.9), 3 (-15.8 to 17.9), 4 (18.0 to 56.5), 5a (56.6 to 89.3), 5b (\u003e= 89.4)","heart_rate_bpm":80,"metolazone":false,"potassium_mmol_l":4.2,"risk_group":"1","spo2_percent":92,"systolic_mm_hg":160,"troponin_gt_uln":false},{"active_cancer":false,"age_years":70,"citation":{"authors":"Lee DS, Stitt A, Austin PC, Stukel TA, Schull MJ, Chong A, Newton GE, Lee JS, Tu JV","doi":"10.7326/0003-4819-156-11-201206050-00003","id":"lee-2012","pmid":"22665814","source":"Ann Intern Med. 2012;156(11):767-775","title":"Prediction of heart failure mortality in emergent care: a cohort study"},"creatinine_mg_dl":1,"dialysis_dependent":false,"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.","ehmrg_score":-92,"ems_transport":false,"formula":"ehmrg","formula_expression":"ehmrg_score = 2*age_years + 60*(ems_transport) - min(systolic_mm_hg, 160) + clamp(heart_rate_bpm, 80, 120) - 2*min(spo2_percent, 92) + 20*creatinine_mg_dl + K(\u003c=3.9:5, 4.0-4.5:0, \u003e=4.6:30) + 60*(troponin_gt_uln) + 45*(active_cancer) + 60*(metolazone) + 12; Lee 2012 Table 3 7-day ED model; dialysis-dependent excluded; risk_group 1 (score \u003c= -49.1), 2 (-49.0 to -15.9), 3 (-15.8 to 17.9), 4 (18.0 to 56.5), 5a (56.6 to 89.3), 5b (\u003e= 89.4)","heart_rate_bpm":80,"metolazone":false,"potassium_mmol_l":4.2,"risk_group":"1","spo2_percent":92,"systolic_mm_hg":160,"troponin_gt_uln":false}],"path":"/api/calc/ehmrg"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_cancer":{"description":"Active cancer as assigned by the caller (true or false). Lee 2012 Table 3: +45 if true.","type":"boolean"},"age":{"description":"Age in years (integer 18-120). Lee 2012 Table 3 adds +2 per year. magent does not assign age.","type":"integer"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Lee 2012 Table 3 adds +20 per mg/dL. magent does not measure creatinine.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Provide this or creatinine_mg_dl, not both.","type":"number"},"dialysis_dependent":{"description":"Dialysis dependence as assigned by the caller (true or false). Lee 2012 excludes dialysis-dependent patients; true returns HTTP 400. magent does not determine dialysis status.","type":"boolean"},"ems_transport":{"description":"Transported by EMS as assigned by the caller (true or false). Lee 2012 Table 3: +60 if true.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). Lee 2012 Table 3 scores +1 * clamp(HR, 80, 120): floor 80, ceiling 120. magent does not measure heart rate.","type":"integer"},"metolazone":{"description":"Metolazone at home as assigned by the caller (true or false). Lee 2012 Table 3: +60 if true.","type":"boolean"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (1.5-8.0). Lee 2012 Table 3: 4.0-4.5 inclusive → 0; \u003e=4.6 → +30; \u003c=3.9 → +5. Unpublished 3.91-3.99 pin with \u003c=3.9; 4.51-4.59 pin with \u003e=4.6. magent does not measure potassium.","type":"number"},"spo2_percent":{"description":"Lowest initial/triage oxygen saturation percent (50-100). Lee 2012 Table 3 scores -2 * min(SpO2, 92); values above 92% are capped. magent does not measure saturation.","type":"number"},"systolic_mm_hg":{"description":"Initial/triage systolic blood pressure in mm Hg (integer 50-250). Lee 2012 Table 3 scores -1 * min(SBP, 160); values above 160 mm Hg are capped. magent does not measure blood pressure.","type":"integer"},"troponin_gt_uln":{"description":"Troponin above the local upper limit of normal as assigned by the caller (true or false). Lee 2012 Table 3: +60 if true.","type":"boolean"}},"required":["age","ems_transport","systolic_mm_hg","heart_rate_bpm","spo2_percent","potassium_mmol_l","troponin_gt_uln","active_cancer","metolazone","dialysis_dependent"],"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"}}},"lastUpdated":"2026-10-05T14:39:44.006Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:39:43.853Z"},"resource":"https://api.magentlab.com/api/calc/ehmrg","serviceName":"magent","tags":["ehmrg","heart-failure","emergency","mortality","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/saps_3","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Moreno 2005 SAPS 3 admission score from caller-assigned ICU-hour boxes (age, comorbidities, stay, location, vasoactive drugs, admission circumstances, and ten physiology items) plus the published 16-point offset. Converts the integer to hospital-mortality percent with the Part 2 global logit. Not SAPS II. Not APACHE. magent does not measure vitals.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_abdomen":false,"age":35,"aids":false,"anaphylactic_or_mixed_shock":false,"arterial_ph":7.4,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":14,"cancer_therapy":false,"chronic_hf_nyha_iv":false,"cirrhosis":false,"coma_stupor_agitation":false,"creatinine_mg_dl":1,"creatinine_umol_l":88,"focal_neurologic_deficit":false,"gcs":15,"heart_rate":80,"hematologic_cancer":false,"hypovolemic_shock":false,"icu_admission":"planned","intracranial_mass_effect":false,"leukocytes_g_l":8,"liver_failure":false,"location":"operating_room","los_days":1,"mechanical_ventilation":false,"metastatic_cancer":false,"nosocomial_infection":false,"pao2_fio2":250,"pao2_mm_hg":90,"platelets_g_l":250,"respiratory_infection":false,"rhythm_disturbances":false,"seizures":false,"septic_shock":false,"severe_pancreatitis":false,"surgery_site":"all_others","surgical_status":"scheduled_surgery","systolic_bp_mm_hg":120,"temperature_c":37,"vasoactive_drugs":false},{"acute_abdomen":false,"age":35,"aids":false,"anaphylactic_or_mixed_shock":false,"arterial_ph":7.4,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":14,"cancer_therapy":false,"chronic_hf_nyha_iv":false,"cirrhosis":false,"coma_stupor_agitation":false,"creatinine_mg_dl":1,"creatinine_umol_l":88,"focal_neurologic_deficit":false,"gcs":15,"heart_rate":80,"hematologic_cancer":false,"hypovolemic_shock":false,"icu_admission":"planned","intracranial_mass_effect":false,"leukocytes_g_l":8,"liver_failure":false,"location":"operating_room","los_days":1,"mechanical_ventilation":false,"metastatic_cancer":false,"nosocomial_infection":false,"pao2_fio2":250,"pao2_mm_hg":90,"platelets_g_l":250,"respiratory_infection":false,"rhythm_disturbances":false,"seizures":false,"septic_shock":false,"severe_pancreatitis":false,"surgery_site":"all_others","surgical_status":"scheduled_surgery","systolic_bp_mm_hg":120,"temperature_c":37,"vasoactive_drugs":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Moreno RP, Metnitz PGH, Almeida E, et al; SAPS 3 Investigators","doi":"10.1007/s00134-005-2763-5","id":"moreno-2005","pmid":"16132893","source":"Intensive Care Med. 2005;31(10):1345-1355","title":"SAPS 3—From evaluation of the patient to evaluation of the intensive care unit. Part 2: Development of a prognostic model for hospital mortality at ICU admission"},"components":[{"factor":"admission_offset","points":16,"present":true,"value":16},{"factor":"age","points":0,"present":false,"value":35},{"factor":"los_days","points":0,"present":false,"value":1},{"factor":"location","points":0,"present":false,"value":"operating_room"},{"aids":false,"cancer_therapy":false,"chronic_hf_nyha_iv":false,"cirrhosis":false,"factor":"comorbidities","hematologic_cancer":false,"metastatic_cancer":false,"points":0,"present":false},{"factor":"vasoactive_drugs","points":0,"present":false,"value":false},{"factor":"icu_admission","points":0,"present":false,"value":"planned"},{"acute_abdomen":false,"anaphylactic_or_mixed_shock":false,"coma_stupor_agitation":false,"factor":"reasons_for_admission","focal_neurologic_deficit":false,"hypovolemic_shock":false,"intracranial_mass_effect":false,"liver_failure":false,"points":0,"present":false,"rhythm_disturbances":false,"seizures":false,"septic_shock":false,"severe_pancreatitis":false},{"factor":"surgical_status","points":0,"present":false,"value":"scheduled_surgery"},{"factor":"surgery_site","points":0,"present":false,"value":"all_others"},{"factor":"infection","nosocomial_infection":false,"points":0,"present":false,"respiratory_infection":false},{"factor":"gcs","points":0,"present":false,"value":15},{"branch":"bilirubin_mg_dl","factor":"bilirubin","points":0,"present":false,"value":0.8},{"factor":"temperature_c","points":0,"present":false,"value":37},{"branch":"creatinine_mg_dl","factor":"creatinine","points":0,"present":false,"value":1},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"leukocytes_g_l","points":0,"present":false,"value":8},{"factor":"arterial_ph","points":0,"present":false,"value":7.4},{"factor":"platelets_g_l","points":0,"present":false,"value":250},{"factor":"systolic_bp_mm_hg","points":0,"present":false,"value":120},{"branch":"pao2_no_mv","factor":"oxygenation","mechanical_ventilation":false,"points":0,"present":false,"value":90}],"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.","estimated_probability_percent":0.17,"formula":"saps_3","formula_expression":"SAPS 3 = 16 (admission offset) + Box I + Box II + Box III (Moreno 2005 Part 2 scoresheet). Box I: age (\u003c40 → 0, 40-59 → 5, 60-69 → 9, 70-74 → 13, 75-79 → 15, ≥80 → 18); los_days (\u003c14 → 0, 14-27 → 6, ≥28 → 7); location (operating_room → 0, emergency_room → 5, other_icu → 7, other → 8); comorbidities additive (cancer_therapy → 3, metastatic_cancer → 11, hematologic_cancer → 6, chronic_hf_nyha_iv → 6, cirrhosis → 8, aids → 8); vasoactive_drugs → 3. Box II: unplanned ICU admission → 3; reasons additive (rhythm_disturbances → -5, hypovolemic_shock → 3, septic_shock → 5, anaphylactic_or_mixed_shock → 5, liver_failure → 6, severe_pancreatitis → 9, acute_abdomen → 3, intracranial_mass_effect → 10, focal_neurologic_deficit → 7, seizures → -4, coma_stupor_agitation → 4; if rhythm and seizures both, only -4; hypovolemic_shock plus acute_abdomen scores both); surgical_status (scheduled_surgery → 0, emergency_surgery → 6, no_surgery → 5); surgery_site (transplantation → -11, trauma_isolated or trauma_multiple → -8, cabg_no_valve → -6, neurosurgery_cva → 5, all_others → 0); nosocomial_infection → 4, respiratory_infection → 5. Box III within ±1 h as assigned: GCS (3-4 → 15, 5 → 10, 6 → 7, 7-12 → 2, ≥13 → 0); bilirubin_mg_dl (\u003c2 → 0, 2-\u003c6 → 4, ≥6 → 5) or bilirubin_umol_l (\u003c34.2 → 0, 34.2-\u003c102.6 → 4, ≥102.6 → 5); temperature_c (\u003c35 → 7, ≥35 → 0); creatinine_mg_dl (\u003c1.2 → 0, 1.2-\u003c2 → 2, 2-\u003c3.5 → 7, ≥3.5 → 8) or creatinine_umol_l (\u003c106.1 → 0, 106.1-\u003c176.8 → 2, 176.8-\u003c309.4 → 7, ≥309.4 → 8); heart_rate (\u003c120 → 0, 120-159 → 5, ≥160 → 7); leukocytes_g_l (\u003c15 → 0, ≥15 → 2); arterial_ph (≤7.25 → 3, \u003e7.25 → 0); platelets_g_l (\u003c20 → 13, 20-\u003c50 → 8, 50-\u003c100 → 5, ≥100 → 0); systolic_bp_mm_hg (\u003c40 → 11, 40-\u003c70 → 8, 70-\u003c120 → 3, ≥120 → 0); oxygenation (PaO2/FiO2 \u003c100 and MV → 11, PaO2/FiO2 ≥100 and MV → 7, PaO2 \u003c60 and no MV → 5, else 0). logit = -32.6659 + ln(SAPS_3 + 20.5958) × 7.3068; estimated_probability_percent = 100 × exp(logit)/(1+exp(logit)); max 217","logit":-6.3619,"max_score":217,"score":16},{"citation":{"authors":"Moreno RP, Metnitz PGH, Almeida E, et al; SAPS 3 Investigators","doi":"10.1007/s00134-005-2763-5","id":"moreno-2005","pmid":"16132893","source":"Intensive Care Med. 2005;31(10):1345-1355","title":"SAPS 3—From evaluation of the patient to evaluation of the intensive care unit. Part 2: Development of a prognostic model for hospital mortality at ICU admission"},"components":[{"factor":"admission_offset","points":16,"present":true,"value":16},{"factor":"age","points":0,"present":false,"value":35},{"factor":"los_days","points":0,"present":false,"value":1},{"factor":"location","points":0,"present":false,"value":"operating_room"},{"aids":false,"cancer_therapy":false,"chronic_hf_nyha_iv":false,"cirrhosis":false,"factor":"comorbidities","hematologic_cancer":false,"metastatic_cancer":false,"points":0,"present":false},{"factor":"vasoactive_drugs","points":0,"present":false,"value":false},{"factor":"icu_admission","points":0,"present":false,"value":"planned"},{"acute_abdomen":false,"anaphylactic_or_mixed_shock":false,"coma_stupor_agitation":false,"factor":"reasons_for_admission","focal_neurologic_deficit":false,"hypovolemic_shock":false,"intracranial_mass_effect":false,"liver_failure":false,"points":0,"present":false,"rhythm_disturbances":false,"seizures":false,"septic_shock":false,"severe_pancreatitis":false},{"factor":"surgical_status","points":0,"present":false,"value":"scheduled_surgery"},{"factor":"surgery_site","points":0,"present":false,"value":"all_others"},{"factor":"infection","nosocomial_infection":false,"points":0,"present":false,"respiratory_infection":false},{"factor":"gcs","points":0,"present":false,"value":15},{"branch":"bilirubin_mg_dl","factor":"bilirubin","points":0,"present":false,"value":0.8},{"factor":"temperature_c","points":0,"present":false,"value":37},{"branch":"creatinine_mg_dl","factor":"creatinine","points":0,"present":false,"value":1},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"leukocytes_g_l","points":0,"present":false,"value":8},{"factor":"arterial_ph","points":0,"present":false,"value":7.4},{"factor":"platelets_g_l","points":0,"present":false,"value":250},{"factor":"systolic_bp_mm_hg","points":0,"present":false,"value":120},{"branch":"pao2_no_mv","factor":"oxygenation","mechanical_ventilation":false,"points":0,"present":false,"value":90}],"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.","estimated_probability_percent":0.17,"formula":"saps_3","formula_expression":"SAPS 3 = 16 (admission offset) + Box I + Box II + Box III (Moreno 2005 Part 2 scoresheet). Box I: age (\u003c40 → 0, 40-59 → 5, 60-69 → 9, 70-74 → 13, 75-79 → 15, ≥80 → 18); los_days (\u003c14 → 0, 14-27 → 6, ≥28 → 7); location (operating_room → 0, emergency_room → 5, other_icu → 7, other → 8); comorbidities additive (cancer_therapy → 3, metastatic_cancer → 11, hematologic_cancer → 6, chronic_hf_nyha_iv → 6, cirrhosis → 8, aids → 8); vasoactive_drugs → 3. Box II: unplanned ICU admission → 3; reasons additive (rhythm_disturbances → -5, hypovolemic_shock → 3, septic_shock → 5, anaphylactic_or_mixed_shock → 5, liver_failure → 6, severe_pancreatitis → 9, acute_abdomen → 3, intracranial_mass_effect → 10, focal_neurologic_deficit → 7, seizures → -4, coma_stupor_agitation → 4; if rhythm and seizures both, only -4; hypovolemic_shock plus acute_abdomen scores both); surgical_status (scheduled_surgery → 0, emergency_surgery → 6, no_surgery → 5); surgery_site (transplantation → -11, trauma_isolated or trauma_multiple → -8, cabg_no_valve → -6, neurosurgery_cva → 5, all_others → 0); nosocomial_infection → 4, respiratory_infection → 5. Box III within ±1 h as assigned: GCS (3-4 → 15, 5 → 10, 6 → 7, 7-12 → 2, ≥13 → 0); bilirubin_mg_dl (\u003c2 → 0, 2-\u003c6 → 4, ≥6 → 5) or bilirubin_umol_l (\u003c34.2 → 0, 34.2-\u003c102.6 → 4, ≥102.6 → 5); temperature_c (\u003c35 → 7, ≥35 → 0); creatinine_mg_dl (\u003c1.2 → 0, 1.2-\u003c2 → 2, 2-\u003c3.5 → 7, ≥3.5 → 8) or creatinine_umol_l (\u003c106.1 → 0, 106.1-\u003c176.8 → 2, 176.8-\u003c309.4 → 7, ≥309.4 → 8); heart_rate (\u003c120 → 0, 120-159 → 5, ≥160 → 7); leukocytes_g_l (\u003c15 → 0, ≥15 → 2); arterial_ph (≤7.25 → 3, \u003e7.25 → 0); platelets_g_l (\u003c20 → 13, 20-\u003c50 → 8, 50-\u003c100 → 5, ≥100 → 0); systolic_bp_mm_hg (\u003c40 → 11, 40-\u003c70 → 8, 70-\u003c120 → 3, ≥120 → 0); oxygenation (PaO2/FiO2 \u003c100 and MV → 11, PaO2/FiO2 ≥100 and MV → 7, PaO2 \u003c60 and no MV → 5, else 0). logit = -32.6659 + ln(SAPS_3 + 20.5958) × 7.3068; estimated_probability_percent = 100 × exp(logit)/(1+exp(logit)); max 217","logit":-6.3619,"max_score":217,"score":16}],"path":"/api/calc/saps_3"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_abdomen":{"description":"Digestive acute abdomen or other digestive (not pancreatitis) as one Box II row (+3). Additive with hypovolemic_shock. Omit or false → 0.","type":"boolean"},"age":{"description":"Age in years, integer 18-120, as assigned at ICU admission. \u003c40 → 0; 40-59 → 5; 60-69 → 9; 70-74 → 13; 75-79 → 15; ≥80 → 18.","type":"integer"},"aids":{"description":"AIDS as assigned (+8). Additive with cirrhosis. Omit or false → 0.","type":"boolean"},"anaphylactic_or_mixed_shock":{"description":"Anaphylactic, mixed, or undefined shock (+5). Additive. Omit or false → 0.","type":"boolean"},"arterial_ph":{"description":"Lowest arterial pH (6.5-8.0). ≤7.25 → 3; \u003e7.25 → 0.","type":"number"},"bilirubin_mg_dl":{"description":"Highest total bilirubin in mg/dL (0-40). One of bilirubin_mg_dl or bilirubin_umol_l is required. If both are sent, bilirubin_mg_dl is scored. \u003c2 → 0; 2-\u003c6 → 4; ≥6 → 5.","type":"number"},"bilirubin_umol_l":{"description":"Highest total bilirubin in µmol/L (0-684). Alternate to bilirubin_mg_dl. Ignored when bilirubin_mg_dl is present. \u003c34.2 → 0; 34.2-\u003c102.6 → 4; ≥102.6 → 5. magent does not convert units.","type":"number"},"cancer_therapy":{"description":"Chemotherapy, other immunosuppression, radiotherapy, or steroid treatment as assigned (+3). Additive with other comorbidity flags. Omit or false → 0.","type":"boolean"},"chronic_hf_nyha_iv":{"description":"Chronic heart failure NYHA class IV as assigned (+6). Additive. Omit or false → 0.","type":"boolean"},"cirrhosis":{"description":"Cirrhosis as assigned (+8). Additive with aids. Omit or false → 0.","type":"boolean"},"coma_stupor_agitation":{"description":"Coma, stupor, obtunded, agitation, vigilance disturbance, confusion, or delirium (+4). Omit or false → 0.","type":"boolean"},"creatinine_mg_dl":{"description":"Highest creatinine in mg/dL (0.1-20). One of creatinine_mg_dl or creatinine_umol_l is required. If both are sent, creatinine_mg_dl is scored. \u003c1.2 → 0; 1.2-\u003c2 → 2; 2-\u003c3.5 → 7; ≥3.5 → 8.","type":"number"},"creatinine_umol_l":{"description":"Highest creatinine in µmol/L (9-1768). Alternate to creatinine_mg_dl. Ignored when creatinine_mg_dl is present. \u003c106.1 → 0; 106.1-\u003c176.8 → 2; 176.8-\u003c309.4 → 7; ≥309.4 → 8. magent does not convert units.","type":"number"},"focal_neurologic_deficit":{"description":"Focal neurologic deficit (+7). Additive. Omit or false → 0.","type":"boolean"},"gcs":{"description":"Lowest estimated Glasgow Coma Scale, integer 3-15, within ±1 h of ICU admission as assigned by the caller. 3-4 → 15; 5 → 10; 6 → 7; 7-12 → 2; ≥13 → 0. magent does not examine the patient.","type":"integer"},"heart_rate":{"description":"Highest heart rate in beats/min, integer 20-250. \u003c120 → 0; 120-159 → 5; ≥160 → 7. magent does not measure pulse.","type":"integer"},"hematologic_cancer":{"description":"Haematological cancer as assigned (+6). Additive. Omit or false → 0.","type":"boolean"},"hypovolemic_shock":{"description":"Hypovolemic hemorrhagic or non-hemorrhagic shock as one Box II row (+3). Additive with acute_abdomen. Omit or false → 0.","type":"boolean"},"icu_admission":{"description":"Planned (0) or unplanned (3) ICU admission as assigned by the caller. magent does not classify the admission.","enum":["planned","unplanned"],"type":"string"},"intracranial_mass_effect":{"description":"Neurologic intracranial mass effect (+10). Additive. Omit or false → 0.","type":"boolean"},"leukocytes_g_l":{"description":"Lowest leukocytes in G/L (0.1-200), numerically equal to 10^9/L. \u003c15 → 0; ≥15 → 2. magent does not count cells.","type":"number"},"liver_failure":{"description":"Hepatic liver failure as a reason for ICU admission (+6). Omit or false → 0.","type":"boolean"},"location":{"description":"Intra-hospital location before ICU admission: operating_room (0), emergency_room (5), other_icu (7; intermediate/high-dependency, other ICU, or recovery), or other (8; ward or other). magent does not classify the bed.","enum":["operating_room","emergency_room","other_icu","other"],"type":"string"},"los_days":{"description":"Hospital stay in days before ICU admission as assigned by the caller (integer 0-365). \u003c14 → 0; 14-27 → 6; ≥28 → 7. magent does not subtract timestamps.","type":"integer"},"mechanical_ventilation":{"description":"true if the caller assigns mechanical ventilation at ICU admission. true scores PaO2/FiO2 (pao2_fio2 required). false scores PaO2 (pao2_mm_hg required) and pao2_fio2 is ignored.","type":"boolean"},"metastatic_cancer":{"description":"Metastatic cancer as assigned (+11). Additive. Omit or false → 0. magent does not diagnose.","type":"boolean"},"nosocomial_infection":{"description":"Hospital-acquired infection at ICU admission (+4). Additive with respiratory_infection. Omit or false → 0.","type":"boolean"},"pao2_fio2":{"description":"PaO2/FiO2 ratio in mm Hg (10-800). Required when mechanical_ventilation is true. \u003c100 → 11; ≥100 → 7. Ignored when mechanical_ventilation is false. magent does not compute the ratio.","type":"number"},"pao2_mm_hg":{"description":"Lowest PaO2 in mm Hg (20-700). Required when mechanical_ventilation is false. \u003c60 → 5; ≥60 → 0. Ignored when mechanical_ventilation is true.","type":"number"},"platelets_g_l":{"description":"Lowest platelets in G/L (0-2000). \u003c20 → 13; 20-\u003c50 → 8; 50-\u003c100 → 5; ≥100 → 0.","type":"number"},"respiratory_infection":{"description":"Lower respiratory tract infection at ICU admission (+5). Additive with nosocomial_infection. Omit or false → 0.","type":"boolean"},"rhythm_disturbances":{"description":"Cardiovascular reason: rhythm disturbances (-5). If seizures is also true, only -4 is scored. Omit or false → 0.","type":"boolean"},"seizures":{"description":"Seizures (-4). If rhythm_disturbances is also true, only -4 is scored. Omit or false → 0.","type":"boolean"},"septic_shock":{"description":"Septic shock as a reason for ICU admission (+5). Additive. Omit or false → 0.","type":"boolean"},"severe_pancreatitis":{"description":"Severe pancreatitis (+9). Omit or false → 0.","type":"boolean"},"surgery_site":{"description":"Anatomical site of surgery as assigned: all_others (0), transplantation (-11), trauma_isolated or trauma_multiple (-8), cabg_no_valve (-6), or neurosurgery_cva (5). One token. magent does not classify a procedure.","enum":["all_others","transplantation","trauma_isolated","trauma_multiple","cabg_no_valve","neurosurgery_cva"],"type":"string"},"surgical_status":{"description":"Surgical status at ICU admission: scheduled_surgery (0), emergency_surgery (6), or no_surgery (5).","enum":["scheduled_surgery","emergency_surgery","no_surgery"],"type":"string"},"systolic_bp_mm_hg":{"description":"Lowest systolic blood pressure in mm Hg (20-300). \u003c40 → 11; 40-\u003c70 → 8; 70-\u003c120 → 3; ≥120 → 0. magent does not measure blood pressure.","type":"number"},"temperature_c":{"description":"Highest body temperature in °C (20-46) within ±1 h as assigned. \u003c35 → 7; ≥35 → 0. The scoresheet has no hyperthermia points. magent does not measure temperature or convert Fahrenheit.","type":"number"},"vasoactive_drugs":{"description":"true if the caller assigns vasoactive drugs before ICU admission (+3). false → 0. magent does not inspect the medication list.","type":"boolean"}},"required":["age","los_days","location","vasoactive_drugs","icu_admission","surgical_status","surgery_site","gcs","temperature_c","heart_rate","leukocytes_g_l","arterial_ph","platelets_g_l","systolic_bp_mm_hg","mechanical_ventilation"],"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"}}},"lastUpdated":"2026-10-05T14:39:29.854Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:39:29.7Z"},"resource":"https://api.magentlab.com/api/calc/saps_3","serviceName":"magent","tags":["saps-3","icu","severity","physiology","mortality"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/saps_ii","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Le Gall 1993 Simplified Acute Physiology Score II from 12 physiology variables (worst values in the first 24 hours as assigned by the caller), age, type of admission, and one chronic disease (AIDS, metastatic cancer, or hematologic malignancy). Max 163. Converts the integer to hospital-mortality probability with the paper's logit. PaO2/FiO2 is scored only if ventilated or CPAP. Not SAPS 3. Not APACHE. magent does not measure vitals.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"admission_type":"scheduled_surgical","age":35,"bicarbonate_meq_l":24,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":14,"bun_mg_dl":15,"chronic_disease":"none","gcs":15,"heart_rate":80,"pao2_fio2":250,"potassium_mmol_l":4,"sodium_mmol_l":140,"systolic_bp_mm_hg":120,"temperature_c":37,"urea_mmol_l":5,"urine_output_l_day":1.5,"ventilated":false,"wbc_k_ul":8},{"admission_type":"scheduled_surgical","age":35,"bicarbonate_meq_l":24,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":14,"bun_mg_dl":15,"chronic_disease":"none","gcs":15,"heart_rate":80,"pao2_fio2":250,"potassium_mmol_l":4,"sodium_mmol_l":140,"systolic_bp_mm_hg":120,"temperature_c":37,"urea_mmol_l":5,"urine_output_l_day":1.5,"ventilated":false,"wbc_k_ul":8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Le Gall JR, Lemeshow S, Saulnier F","doi":"10.1001/jama.270.24.2957","id":"le-gall-1993","pmid":"8254858","source":"JAMA. 1993;270(24):2957-2963","title":"A new Simplified Acute Physiology Score (SAPS II) based on a European/North American multicenter study"},"components":[{"factor":"age","points":0,"present":false,"value":35},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"systolic_bp_mm_hg","points":0,"present":false,"value":120},{"factor":"temperature_c","points":0,"present":false,"value":37},{"branch":"not_ventilated","factor":"oxygenation","points":0,"present":false,"value":null,"ventilated":false},{"factor":"urine_output_l_day","points":0,"present":false,"value":1.5},{"branch":"urea_mmol_l","factor":"urea","points":0,"present":false,"value":5},{"factor":"wbc_k_ul","points":0,"present":false,"value":8},{"factor":"potassium_mmol_l","points":0,"present":false,"value":4},{"factor":"sodium_mmol_l","points":0,"present":false,"value":140},{"factor":"bicarbonate_meq_l","points":0,"present":false,"value":24},{"branch":"bilirubin_mg_dl","factor":"bilirubin","points":0,"present":false,"value":0.8},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"admission_type","points":0,"present":false,"value":"scheduled_surgical"},{"factor":"chronic_disease","points":0,"present":false,"value":"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":"saps_ii","formula_expression":"SAPS II = sum of 17 Le Gall 1993 variables (worst values in 24h as assigned by the caller): heart_rate (\u003c40 → 11, 40-69 → 2, 70-119 → 0, 120-159 → 4, ≥160 → 7), systolic_bp_mm_hg (\u003c70 → 13, 70-99 → 5, 100-199 → 0, ≥200 → 2), temperature_c (\u003c39 → 0, ≥39 → 3), PaO2/FiO2 mm Hg if ventilated or CPAP (\u003c100 → 11, 100-199 → 9, ≥200 → 6) else 0, urine_output_l_day (\u003c0.500 → 11, 0.500-0.999 → 4, ≥1.000 → 0), urea_mmol_l (\u003c10.0 → 0, 10.0-29.9 → 6, ≥30.0 → 10) or bun_mg_dl (\u003c28 → 0, 28-83 → 6, ≥84 → 10), wbc_k_ul (\u003c1.0 → 12, 1.0-19.9 → 0, ≥20.0 → 3), potassium_mmol_l (\u003c3.0 or ≥5.0 → 3, 3.0-4.9 → 0), sodium_mmol_l (\u003c125 → 5, 125-144 → 0, ≥145 → 1), bicarbonate_meq_l (\u003c15 → 6, 15-19 → 3, ≥20 → 0), bilirubin_mg_dl (\u003c4.0 → 0, 4.0-5.9 → 4, ≥6.0 → 9) or bilirubin_umol_l (\u003c68.4 → 0, 68.4-102.5 → 4, ≥102.6 → 9), gcs (\u003c6 → 26, 6-8 → 13, 9-10 → 7, 11-13 → 5, 14-15 → 0), age (\u003c40 → 0, 40-59 → 7, 60-69 → 12, 70-74 → 15, 75-79 → 16, ≥80 → 18), admission_type (scheduled_surgical → 0, medical → 6, unscheduled_surgical → 8), chronic_disease (none → 0, metastatic_cancer → 9, hematologic_malignancy → 10, aids → 17, one row not additive); logit = -7.7631 + 0.0737*SAPS_II + 0.9971*ln(SAPS_II+1); hospital_mortality_probability = exp(logit)/(1+exp(logit)); max 163","hospital_mortality_probability":0.000425,"logit":-7.7631,"max_score":163,"score":0},{"citation":{"authors":"Le Gall JR, Lemeshow S, Saulnier F","doi":"10.1001/jama.270.24.2957","id":"le-gall-1993","pmid":"8254858","source":"JAMA. 1993;270(24):2957-2963","title":"A new Simplified Acute Physiology Score (SAPS II) based on a European/North American multicenter study"},"components":[{"factor":"age","points":0,"present":false,"value":35},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"systolic_bp_mm_hg","points":0,"present":false,"value":120},{"factor":"temperature_c","points":0,"present":false,"value":37},{"branch":"not_ventilated","factor":"oxygenation","points":0,"present":false,"value":null,"ventilated":false},{"factor":"urine_output_l_day","points":0,"present":false,"value":1.5},{"branch":"urea_mmol_l","factor":"urea","points":0,"present":false,"value":5},{"factor":"wbc_k_ul","points":0,"present":false,"value":8},{"factor":"potassium_mmol_l","points":0,"present":false,"value":4},{"factor":"sodium_mmol_l","points":0,"present":false,"value":140},{"factor":"bicarbonate_meq_l","points":0,"present":false,"value":24},{"branch":"bilirubin_mg_dl","factor":"bilirubin","points":0,"present":false,"value":0.8},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"admission_type","points":0,"present":false,"value":"scheduled_surgical"},{"factor":"chronic_disease","points":0,"present":false,"value":"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":"saps_ii","formula_expression":"SAPS II = sum of 17 Le Gall 1993 variables (worst values in 24h as assigned by the caller): heart_rate (\u003c40 → 11, 40-69 → 2, 70-119 → 0, 120-159 → 4, ≥160 → 7), systolic_bp_mm_hg (\u003c70 → 13, 70-99 → 5, 100-199 → 0, ≥200 → 2), temperature_c (\u003c39 → 0, ≥39 → 3), PaO2/FiO2 mm Hg if ventilated or CPAP (\u003c100 → 11, 100-199 → 9, ≥200 → 6) else 0, urine_output_l_day (\u003c0.500 → 11, 0.500-0.999 → 4, ≥1.000 → 0), urea_mmol_l (\u003c10.0 → 0, 10.0-29.9 → 6, ≥30.0 → 10) or bun_mg_dl (\u003c28 → 0, 28-83 → 6, ≥84 → 10), wbc_k_ul (\u003c1.0 → 12, 1.0-19.9 → 0, ≥20.0 → 3), potassium_mmol_l (\u003c3.0 or ≥5.0 → 3, 3.0-4.9 → 0), sodium_mmol_l (\u003c125 → 5, 125-144 → 0, ≥145 → 1), bicarbonate_meq_l (\u003c15 → 6, 15-19 → 3, ≥20 → 0), bilirubin_mg_dl (\u003c4.0 → 0, 4.0-5.9 → 4, ≥6.0 → 9) or bilirubin_umol_l (\u003c68.4 → 0, 68.4-102.5 → 4, ≥102.6 → 9), gcs (\u003c6 → 26, 6-8 → 13, 9-10 → 7, 11-13 → 5, 14-15 → 0), age (\u003c40 → 0, 40-59 → 7, 60-69 → 12, 70-74 → 15, 75-79 → 16, ≥80 → 18), admission_type (scheduled_surgical → 0, medical → 6, unscheduled_surgical → 8), chronic_disease (none → 0, metastatic_cancer → 9, hematologic_malignancy → 10, aids → 17, one row not additive); logit = -7.7631 + 0.0737*SAPS_II + 0.9971*ln(SAPS_II+1); hospital_mortality_probability = exp(logit)/(1+exp(logit)); max 163","hospital_mortality_probability":0.000425,"logit":-7.7631,"max_score":163,"score":0}],"path":"/api/calc/saps_ii"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"admission_type":{"description":"Le Gall 1993 type of admission as assigned by the caller: scheduled_surgical (0), medical (6), or unscheduled_surgical (8). magent does not classify the admission.","enum":["scheduled_surgical","medical","unscheduled_surgical"],"type":"string"},"age":{"description":"Age in years, integer 18-120 (Le Gall 1993 excluded patients younger than 18). \u003c40 → 0; 40-59 → 7; 60-69 → 12; 70-74 → 15; 75-79 → 16; ≥80 → 18.","type":"integer"},"bicarbonate_meq_l":{"description":"Serum bicarbonate in mEq/L (2-60). \u003c15 → 6; 15-19 → 3; ≥20 → 0. Arterial pH is not a SAPS II variable.","type":"number"},"bilirubin_mg_dl":{"description":"Serum bilirubin in mg/dL (0-40). One of bilirubin_mg_dl or bilirubin_umol_l is required. If both are sent, bilirubin_mg_dl is scored and bilirubin_umol_l is ignored. \u003c4.0 → 0; 4.0-5.9 → 4; ≥6.0 → 9.","type":"number"},"bilirubin_umol_l":{"description":"Serum bilirubin in µmol/L (0-684). Alternate to bilirubin_mg_dl (Le Gall 1993 SI column). Ignored when bilirubin_mg_dl is present. \u003c68.4 → 0; 68.4-102.5 → 4; ≥102.6 → 9. magent does not convert units.","type":"number"},"bun_mg_dl":{"description":"Blood urea nitrogen in mg/dL (1-250). Alternate to urea_mmol_l (Le Gall 1993 US column). Ignored when urea_mmol_l is present. \u003c28 → 0; 28-83 → 6; ≥84 → 10. magent does not convert BUN to urea.","type":"number"},"chronic_disease":{"description":"Le Gall 1993 chronic-disease row as assigned by the caller: none (0), metastatic_cancer (9), hematologic_malignancy (10), or aids (17). One token; the paper's table is not additive. magent does not diagnose.","enum":["none","metastatic_cancer","hematologic_malignancy","aids"],"type":"string"},"gcs":{"description":"Glasgow Coma Scale total as assigned by the caller (integer 3-15). \u003c6 → 26; 6-8 → 13; 9-10 → 7; 11-13 → 5; 14-15 → 0. magent does not examine the patient.","type":"integer"},"heart_rate":{"description":"Heart rate in beats/min, integer 20-250, worst in 24h as assigned by the caller. \u003c40 → 11; 40-69 → 2; 70-119 → 0; 120-159 → 4; ≥160 → 7. magent does not measure pulse.","type":"integer"},"pao2_fio2":{"description":"PaO2/FiO2 ratio in mm Hg (10-800). Required when ventilated is true. \u003c100 → 11; 100-199 → 9; ≥200 → 6. Ignored when ventilated is false. magent does not compute the ratio from PaO2 and FiO2.","type":"number"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (1-12). \u003c3.0 → 3; 3.0-4.9 → 0; ≥5.0 → 3.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (90-200). \u003c125 → 5; 125-144 → 0; ≥145 → 1.","type":"number"},"systolic_bp_mm_hg":{"description":"Systolic blood pressure in mm Hg (20-300), worst in 24h as assigned by the caller. \u003c70 → 13; 70-99 → 5; 100-199 → 0; ≥200 → 2. magent does not measure blood pressure.","type":"number"},"temperature_c":{"description":"Body temperature in °C (20-46). \u003c39 → 0; ≥39 → 3. The 1993 table has no hypothermia points. magent does not measure temperature or convert Fahrenheit.","type":"number"},"urea_mmol_l":{"description":"Serum urea in mmol/L (0.1-80). One of urea_mmol_l or bun_mg_dl is required. If both are sent, urea_mmol_l is scored and bun_mg_dl is ignored. \u003c10.0 → 0; 10.0-29.9 → 6; ≥30.0 → 10.","type":"number"},"urine_output_l_day":{"description":"Urine output in L/24h (0-20) as assigned by the caller. \u003c0.500 → 11; 0.500-0.999 → 4; ≥1.000 → 0. magent does not measure urine.","type":"number"},"ventilated":{"description":"true if the caller assigns mechanical ventilation or CPAP in the first 24h (Le Gall 1993 PaO2/FiO2 row). false → 0 oxygenation points and pao2_fio2 is ignored. Ventilated or CPAP scores at least 6 even when PaO2/FiO2 is ≥200.","type":"boolean"},"wbc_k_ul":{"description":"White blood count in thousands per mm^3 (0-100). \u003c1.0 → 12; 1.0-19.9 → 0; ≥20.0 → 3.","type":"number"}},"required":["age","heart_rate","systolic_bp_mm_hg","temperature_c","ventilated","urine_output_l_day","wbc_k_ul","potassium_mmol_l","sodium_mmol_l","bicarbonate_meq_l","gcs","admission_type","chronic_disease"],"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"}}},"lastUpdated":"2026-10-05T14:39:22.786Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:39:22.646Z"},"resource":"https://api.magentlab.com/api/calc/saps_ii","serviceName":"magent","tags":["saps-ii","icu","severity","physiology","mortality"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/nri","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"VA TPN 1991 Nutritional Risk Index (NEJM): NRI = 1.519*albumin_g_l + 41.7*(current/usual weight). Malnourished if NRI \u003c= 100. Strata: not_malnourished if NRI \u003e 100; borderline_malnourished if 97.5 \u003c NRI \u003c= 100; mildly_malnourished if 83.5 \u003c= NRI \u003c= 97.5; severely_malnourished if NRI \u003c 83.5. Does not cap current/usual at 1. Not a malnutrition diagnosis or TPN order. magent does not assay albumin or weigh the patient. Not GNRI or PNI.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":4,"albumin_g_l":40,"current_weight_kg":70,"usual_weight_kg":70},{"albumin_g_dl":4,"albumin_g_l":40,"current_weight_kg":70,"usual_weight_kg":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_l":40,"citation":{"authors":"The Veterans Affairs Total Parenteral Nutrition Cooperative Study Group","doi":"10.1056/NEJM199108223250801","id":"va-tpn-1991","pmid":"1906163","source":"N Engl J Med. 1991;325(8):525-532","title":"Perioperative total parenteral nutrition in surgical patients"},"current_weight_kg":70,"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":"nri","formula_expression":"NRI = 1.519 × albumin_g_l + 0.417 × (current_weight_kg / usual_weight_kg) × 100","nri":102.5,"screening":"not_malnourished","stratification":"not_malnourished","usual_weight_kg":70},{"albumin_g_l":40,"citation":{"authors":"The Veterans Affairs Total Parenteral Nutrition Cooperative Study Group","doi":"10.1056/NEJM199108223250801","id":"va-tpn-1991","pmid":"1906163","source":"N Engl J Med. 1991;325(8):525-532","title":"Perioperative total parenteral nutrition in surgical patients"},"current_weight_kg":70,"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":"nri","formula_expression":"NRI = 1.519 × albumin_g_l + 0.417 × (current_weight_kg / usual_weight_kg) × 100","nri":102.5,"screening":"not_malnourished","stratification":"not_malnourished","usual_weight_kg":70}],"path":"/api/calc/nri"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. VA TPN 1991 NRI uses g/L. magent does not assay albumin.","type":"number"},"current_weight_kg":{"description":"Current weight in kg (1-500). Not capped at usual weight. magent does not weigh the patient.","type":"number"},"usual_weight_kg":{"description":"Usual weight in kg (1-500). Must be greater than 0. magent does not weigh the patient.","type":"number"}},"required":["current_weight_kg","usual_weight_kg"],"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"}}},"lastUpdated":"2026-10-05T14:38:47.443Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:38:47.309Z"},"resource":"https://api.magentlab.com/api/calc/nri","serviceName":"magent","tags":["nri","nutrition","emergency","albumin","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/vacs_cci","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"McGinnis 2024 VACS-CCI Table 2 Model 7 linear predictor from sex, age, hemoglobin, FIB-4, eGFR, albumin, WBC, BMI, hepatitis C, and caller-assigned Charlson groupings. CCI group is those weights (0/1/2/3+) times age band. The 0-100 score needs unpublished development min/max Xbeta; magent does not invent it. Paper prints score 30 to 1/3/8/18% and 45 to 6/14/35/61% at 1/2/5/10 years. Not a diagnosis or individual prognosis. magent does not code the chart.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":55,"albumin_g_dl":4,"any_malignancy":false,"bmi_kg_m2":25,"cerebrovascular_disease":false,"chronic_pulmonary_disease":false,"congestive_heart_failure":false,"dementia":false,"diabetes_with_complications":false,"diabetes_without_complications":false,"egfr_ml_min_1_73m2":90,"fib4":1,"hemiplegia_or_paraplegia":false,"hemoglobin_g_dl":14,"hepatitis_c":false,"kidney_mild_to_moderate":false,"kidney_severe":false,"liver_mild":false,"liver_moderate_to_severe":false,"metastatic_solid_tumor":false,"myocardial_infarction":false,"peptic_ulcer_disease":false,"peripheral_vascular_disease":false,"rheumatic_disease":false,"sex":"male","wbc_10e9_l":4},{"age":55,"albumin_g_dl":4,"any_malignancy":false,"bmi_kg_m2":25,"cerebrovascular_disease":false,"chronic_pulmonary_disease":false,"congestive_heart_failure":false,"dementia":false,"diabetes_with_complications":false,"diabetes_without_complications":false,"egfr_ml_min_1_73m2":90,"fib4":1,"hemiplegia_or_paraplegia":false,"hemoglobin_g_dl":14,"hepatitis_c":false,"kidney_mild_to_moderate":false,"kidney_severe":false,"liver_mild":false,"liver_moderate_to_severe":false,"metastatic_solid_tumor":false,"myocardial_infarction":false,"peptic_ulcer_disease":false,"peripheral_vascular_disease":false,"rheumatic_disease":false,"sex":"male","wbc_10e9_l":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":55,"age_band":"50_64","albumin_g_dl":4,"any_malignancy":false,"bmi_kg_m2":25,"cci_group":"0","cci_score":0,"cerebrovascular_disease":false,"chronic_pulmonary_disease":false,"citation":{"authors":"McGinnis KA, Justice AC, Marconi VC, et al.","doi":"10.3389/fmed.2023.1342466","id":"mcginnis-2024-vacs-cci","pmid":"38356736","source":"Front Med (Lausanne). 2024;10:1342466","title":"Combining Charlson comorbidity and VACS indices improves prognostic accuracy for all-cause mortality for patients with and without HIV in the Veterans Health Administration"},"congestive_heart_failure":false,"dementia":false,"diabetes_with_complications":false,"diabetes_without_complications":false,"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.","egfr_ml_min_1_73m2":90,"fib4":1,"formula":"vacs_cci","formula_expression":"lp = sex_female -0.513 + age_poly(X=age-50, 0.278/0.006/-0.001) + hb_poly(X=hemoglobin-14, -0.115/0.024/0.004) + fib4_poly(X, 0.205/-0.006) + egfr_poly(X=egfr-90, 0.071/0.036/0.002) + alb_poly(X=albumin-4, -0.405/0.326/0.156) + wbc_poly(X=WBC-4, -0.011/0.053/-0.008/0.000) + bmi_poly(X=BMI-25, -0.061/0.005/0.000) + hepatitis_c 0.273 + Table 2 Charlson condition coefficients + CCI-group x age-band interaction (CCI 0/1/2/3+ by \u003c50, 50-64, 65-79, 80+; CCI 1 x 50-64 is reference 0); cci_group from caller-assigned condition weights (MI 1, CHF 1, PVD 1, CVD 1, dementia 1, pulmonary 1, rheumatic 1, PUD 1, DM without 1, DM with 2, hemiplegia 2, kidney mild-to-moderate 2, kidney severe 2, any malignancy 2, metastatic 6, liver mild 1, liver moderate-to-severe 3); McGinnis 2024 Table 2 Model 7; 1st/99th percentile winsorizing not published; 0-100 score uses unpublished development min/max Xbeta so magent does not scale; paper prints 0-100 score 30 → 1-year 1%, 2-year 3%, 5-year 8%, 10-year 18% and score 45 → 6%, 14%, 35%, 61%; no published S0; 2025 corrigendum PMID 39845833 does not change Table 2 coefficients; caller-assigned comorbidities, FIB-4, and eGFR","hemiplegia_or_paraplegia":false,"hemoglobin_g_dl":14,"hepatitis_c":false,"kidney_mild_to_moderate":false,"kidney_severe":false,"linear_predictor":1.228,"liver_mild":false,"liver_moderate_to_severe":false,"metastatic_solid_tumor":false,"myocardial_infarction":false,"peptic_ulcer_disease":false,"peripheral_vascular_disease":false,"rheumatic_disease":false,"sex":"male","wbc_10e9_l":4},{"age":55,"age_band":"50_64","albumin_g_dl":4,"any_malignancy":false,"bmi_kg_m2":25,"cci_group":"0","cci_score":0,"cerebrovascular_disease":false,"chronic_pulmonary_disease":false,"citation":{"authors":"McGinnis KA, Justice AC, Marconi VC, et al.","doi":"10.3389/fmed.2023.1342466","id":"mcginnis-2024-vacs-cci","pmid":"38356736","source":"Front Med (Lausanne). 2024;10:1342466","title":"Combining Charlson comorbidity and VACS indices improves prognostic accuracy for all-cause mortality for patients with and without HIV in the Veterans Health Administration"},"congestive_heart_failure":false,"dementia":false,"diabetes_with_complications":false,"diabetes_without_complications":false,"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.","egfr_ml_min_1_73m2":90,"fib4":1,"formula":"vacs_cci","formula_expression":"lp = sex_female -0.513 + age_poly(X=age-50, 0.278/0.006/-0.001) + hb_poly(X=hemoglobin-14, -0.115/0.024/0.004) + fib4_poly(X, 0.205/-0.006) + egfr_poly(X=egfr-90, 0.071/0.036/0.002) + alb_poly(X=albumin-4, -0.405/0.326/0.156) + wbc_poly(X=WBC-4, -0.011/0.053/-0.008/0.000) + bmi_poly(X=BMI-25, -0.061/0.005/0.000) + hepatitis_c 0.273 + Table 2 Charlson condition coefficients + CCI-group x age-band interaction (CCI 0/1/2/3+ by \u003c50, 50-64, 65-79, 80+; CCI 1 x 50-64 is reference 0); cci_group from caller-assigned condition weights (MI 1, CHF 1, PVD 1, CVD 1, dementia 1, pulmonary 1, rheumatic 1, PUD 1, DM without 1, DM with 2, hemiplegia 2, kidney mild-to-moderate 2, kidney severe 2, any malignancy 2, metastatic 6, liver mild 1, liver moderate-to-severe 3); McGinnis 2024 Table 2 Model 7; 1st/99th percentile winsorizing not published; 0-100 score uses unpublished development min/max Xbeta so magent does not scale; paper prints 0-100 score 30 → 1-year 1%, 2-year 3%, 5-year 8%, 10-year 18% and score 45 → 6%, 14%, 35%, 61%; no published S0; 2025 corrigendum PMID 39845833 does not change Table 2 coefficients; caller-assigned comorbidities, FIB-4, and eGFR","hemiplegia_or_paraplegia":false,"hemoglobin_g_dl":14,"hepatitis_c":false,"kidney_mild_to_moderate":false,"kidney_severe":false,"linear_predictor":1.228,"liver_mild":false,"liver_moderate_to_severe":false,"metastatic_solid_tumor":false,"myocardial_infarction":false,"peptic_ulcer_disease":false,"peripheral_vascular_disease":false,"rheumatic_disease":false,"sex":"male","wbc_10e9_l":4}],"path":"/api/calc/vacs_cci"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Table 2 uses the cubic polynomial of (age-50) and CCI x age-band interaction (\u003c50, 50-64, 65-79, 80+). magent does not assign age.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6.5). Table 2 centers at (albumin-4). magent does not assay albumin.","type":"number"},"any_malignancy":{"description":"Caller-assigned any malignancy (McGinnis 2024 Table 2). true adds 0.090 to lp and 2 to the CCI grouping. magent does not diagnose cancer.","type":"boolean"},"bmi_kg_m2":{"description":"Body mass index in kg/m² (10-60). Table 2 centers at (BMI-25). magent does not compute BMI from height and weight.","type":"number"},"cerebrovascular_disease":{"description":"Caller-assigned cerebrovascular disease (McGinnis 2024 Table 2). true adds 0.114 to lp and 1 to the CCI grouping. magent does not diagnose stroke.","type":"boolean"},"chronic_pulmonary_disease":{"description":"Caller-assigned chronic pulmonary disease (McGinnis 2024 Table 2). true adds 0.279 to lp and 1 to the CCI grouping. magent does not diagnose lung disease.","type":"boolean"},"congestive_heart_failure":{"description":"Caller-assigned congestive heart failure (McGinnis 2024 Table 2). true adds 0.420 to lp and 1 to the CCI grouping. magent does not diagnose heart failure.","type":"boolean"},"dementia":{"description":"Caller-assigned dementia (McGinnis 2024 Table 2). true adds 0.489 to lp and 1 to the CCI grouping. magent does not diagnose dementia.","type":"boolean"},"diabetes_with_complications":{"description":"Caller-assigned diabetes with chronic complications (McGinnis 2024 Table 2). true adds 0.075 to lp and 2 to the CCI grouping. magent does not diagnose diabetes.","type":"boolean"},"diabetes_without_complications":{"description":"Caller-assigned diabetes without chronic complications (McGinnis 2024 Table 2). true adds 0.053 to lp and 1 to the CCI grouping. magent does not diagnose diabetes.","type":"boolean"},"egfr_ml_min_1_73m2":{"description":"Caller-assigned eGFR in mL/min/1.73m² (0-200). Table 2 centers at (egfr-90). magent does not compute CKD-EPI.","type":"number"},"fib4":{"description":"Caller-assigned FIB-4 (0.1-20). Table 2 uses X and X2 of FIB-4. magent does not recompute FIB-4.","type":"number"},"hemiplegia_or_paraplegia":{"description":"Caller-assigned hemiplegia or paraplegia (McGinnis 2024 Table 2). true adds -0.049 to lp and 2 to the CCI grouping. magent does not diagnose paralysis.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Table 2 centers at (hemoglobin-14). magent does not assay hemoglobin.","type":"number"},"hepatitis_c":{"description":"Caller-assigned hepatitis C (McGinnis 2024). true adds 0.273 to the linear predictor. magent does not diagnose hepatitis C.","type":"boolean"},"kidney_mild_to_moderate":{"description":"Caller-assigned mild-to-moderate kidney disease (McGinnis 2024 Table 2). true adds -0.199 to lp and 2 to the CCI grouping. magent does not grade kidney disease.","type":"boolean"},"kidney_severe":{"description":"Caller-assigned severe kidney disease (McGinnis 2024 Table 2). true adds -0.098 to lp and 2 to the CCI grouping. magent does not grade kidney disease.","type":"boolean"},"liver_mild":{"description":"Caller-assigned mild liver disease (McGinnis 2024 Table 2). true adds -0.045 to lp and 1 to the CCI grouping. magent does not grade liver disease.","type":"boolean"},"liver_moderate_to_severe":{"description":"Caller-assigned moderate-to-severe liver disease (McGinnis 2024 Table 2). true adds 0.226 to lp and 3 to the CCI grouping. magent does not grade liver disease.","type":"boolean"},"metastatic_solid_tumor":{"description":"Caller-assigned metastatic solid tumor (McGinnis 2024 Table 2). true adds 1.184 to lp and 6 to the CCI grouping. magent does not diagnose cancer.","type":"boolean"},"myocardial_infarction":{"description":"Caller-assigned myocardial infarction (McGinnis 2024 Table 2). true adds 0.008 to lp and 1 to the CCI grouping. magent does not diagnose infarction.","type":"boolean"},"peptic_ulcer_disease":{"description":"Caller-assigned peptic ulcer disease (McGinnis 2024 Table 2). true adds -0.074 to lp and 1 to the CCI grouping. magent does not diagnose ulcer disease.","type":"boolean"},"peripheral_vascular_disease":{"description":"Caller-assigned peripheral vascular disease (McGinnis 2024 Table 2). true adds 0.141 to lp and 1 to the CCI grouping. magent does not diagnose vascular disease.","type":"boolean"},"rheumatic_disease":{"description":"Caller-assigned rheumatic disease (McGinnis 2024 Table 2). true adds -0.034 to lp and 1 to the CCI grouping. magent does not diagnose rheumatic disease.","type":"boolean"},"sex":{"description":"Caller-assigned sex (female or male). Female vs male adds -0.513 to the Table 2 linear predictor. magent does not assign sex.","enum":["female","male"],"type":"string"},"wbc_10e9_l":{"description":"White blood count in 10^9/L (0.5-50), equal to k/µL. Table 2 centers at (WBC-4). magent does not assay WBC.","type":"number"}},"required":["sex","age","hemoglobin_g_dl","fib4","egfr_ml_min_1_73m2","albumin_g_dl","wbc_10e9_l","bmi_kg_m2","hepatitis_c","myocardial_infarction","congestive_heart_failure","peripheral_vascular_disease","cerebrovascular_disease","dementia","chronic_pulmonary_disease","rheumatic_disease","peptic_ulcer_disease","diabetes_without_complications","diabetes_with_complications","hemiplegia_or_paraplegia","kidney_mild_to_moderate","kidney_severe","any_malignancy","metastatic_solid_tumor","liver_mild","liver_moderate_to_severe"],"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"}}},"lastUpdated":"2026-10-05T14:31:43.492Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:31:43.336Z"},"resource":"https://api.magentlab.com/api/calc/vacs_cci","serviceName":"magent","tags":["vacs-cci","charlson","mortality","comorbidity","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/atlas","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Miller 2013 ATLAS for Clostridioides difficile: age (\u003c60 0, 60–79 1, ≥80 2), systemic antibiotics during CDI therapy (0 or 2), WBC (\u003c16 0, 16–25 1, \u003e25 ×10^9/L 2), albumin (\u003e35 0, 26–35 1, ≤25 g/L 2), creatinine (≤120 0, 121–179 1, ≥180 µmol/L 2); max 10. Predicted cure percent = 100 − 5.08 × score (1 decimal). Not a CDI diagnosis, stool culture, or metronidazole/vancomycin/fidaxomicin order.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"albumin_g_dl":4,"albumin_g_l":40,"creatinine_mg_dl":0.9,"creatinine_umol_l":80,"systemic_antibiotics":false,"wbc_k_ul":8,"wbc_ul":8000},{"age":40,"albumin_g_dl":4,"albumin_g_l":40,"creatinine_mg_dl":0.9,"creatinine_umol_l":80,"systemic_antibiotics":false,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"albumin_g_l":40,"atlas_score":0,"citation":{"authors":"Miller MA, Louie T, Mullane K, Weiss K, Lentnek A, Golan Y, Kean Y, Sears P","doi":"10.1186/1471-2334-13-148","id":"miller-2013","pmid":"23530807","source":"BMC Infect Dis. 2013;13:148","title":"Derivation and validation of a simple clinical bedside score (ATLAS) for Clostridium difficile infection which predicts response to therapy"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"systemic_antibiotics","points":0,"present":false},{"factor":"leukocyte","points":0,"present":false,"value":8000},{"factor":"albumin","points":0,"present":false,"value":40},{"factor":"creatinine","points":0,"present":false,"value":80}],"creatinine_umol_l":80,"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":"atlas","formula_expression":"ATLAS = age (\u003c60 0, 60–79 1, ≥80 2) + systemic_antibiotics (false 0, true 2) + leukocyte (\u003c16 ×10^9/L 0, 16–25 1, \u003e25 2) + albumin (\u003e35 g/L 0, 26–35 1, ≤25 2) + creatinine (≤120 µmol/L 0, 121–179 1, ≥180 2); Miller 2013 Table 1 five-component ATLAS; max 10; predicted_cure_percent = 100 − 5.08 × score (1 decimal)","max_score":10,"predicted_cure_percent":100,"score":0,"systemic_antibiotics":false,"wbc_per_ul":8000},{"age_years":40,"albumin_g_l":40,"atlas_score":0,"citation":{"authors":"Miller MA, Louie T, Mullane K, Weiss K, Lentnek A, Golan Y, Kean Y, Sears P","doi":"10.1186/1471-2334-13-148","id":"miller-2013","pmid":"23530807","source":"BMC Infect Dis. 2013;13:148","title":"Derivation and validation of a simple clinical bedside score (ATLAS) for Clostridium difficile infection which predicts response to therapy"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"systemic_antibiotics","points":0,"present":false},{"factor":"leukocyte","points":0,"present":false,"value":8000},{"factor":"albumin","points":0,"present":false,"value":40},{"factor":"creatinine","points":0,"present":false,"value":80}],"creatinine_umol_l":80,"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":"atlas","formula_expression":"ATLAS = age (\u003c60 0, 60–79 1, ≥80 2) + systemic_antibiotics (false 0, true 2) + leukocyte (\u003c16 ×10^9/L 0, 16–25 1, \u003e25 2) + albumin (\u003e35 g/L 0, 26–35 1, ≤25 2) + creatinine (≤120 µmol/L 0, 121–179 1, ≥180 2); Miller 2013 Table 1 five-component ATLAS; max 10; predicted_cure_percent = 100 − 5.08 × score (1 decimal)","max_score":10,"predicted_cure_percent":100,"score":0,"systemic_antibiotics":false,"wbc_per_ul":8000}],"path":"/api/calc/atlas"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Miller 2013 Table 1: \u003c60 scores 0; 60–79 inclusive scores 1; ≥80 scores 2.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Miller 2013: \u003e35 scores 0; 26–35 inclusive scores 1; ≤25 scores 2. magent does not assay albumin.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Converted as µmol/L = mg/dL × 88.42. Provide this or creatinine_umol_l, not both.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Provide this or creatinine_mg_dl, not both. Miller 2013: ≤120 scores 0; 121–179 inclusive scores 1; ≥180 scores 2. magent does not assay creatinine.","type":"number"},"systemic_antibiotics":{"description":"Systemic antibiotics on one or more days of CDI therapy (Miller 2013). true scores 2; false scores 0. There is no 1-point cell. magent does not review the medication list.","type":"boolean"},"wbc_k_ul":{"description":"Total leukocyte count in 10^3/µL (same as ×10^9/L). Provide wbc_k_ul or wbc_ul, not both. Range 0.01-500. Miller 2013: \u003c16 scores 0; 16–25 inclusive scores 1; \u003e25 scores 2.","type":"number"},"wbc_ul":{"description":"Total leukocyte count in cells/µL. Provide wbc_k_ul or wbc_ul, not both. Range 10-500000. Miller 2013: \u003c16000 scores 0; 16000–25000 inclusive scores 1; \u003e25000 scores 2.","type":"number"}},"required":["age","systemic_antibiotics"],"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"}}},"lastUpdated":"2026-10-05T14:29:34.059Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:29:33.931Z"},"resource":"https://api.magentlab.com/api/calc/atlas","serviceName":"magent","tags":["atlas","cdi","c-difficile","infection","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/lrinec","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"LRINEC (Wong 2004): CRP ≥150 mg/L (4), WBC k/µL (\u003c15 0, 15–25 1, \u003e25 2), hemoglobin g/dL (\u003e13.5 0, 11–13.5 1, \u003c11 2), sodium \u003c135 mmol/L (2), creatinine \u003e141 µmol/L (2), glucose \u003e10 mmol/L (1); max 13; cutoff ≥6. Deterministic published laboratory score with citation; not a diagnosis of necrotizing fasciitis and not an operative decision. A score below cutoff does not exclude disease.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"crp_mg_l":20,"glucose_mg_dl":90,"glucose_mmol_l":5,"hemoglobin_g_dl":14,"sodium_mmol_l":140,"wbc_k_ul":8,"wbc_ul":8000},{"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"crp_mg_l":20,"glucose_mg_dl":90,"glucose_mmol_l":5,"hemoglobin_g_dl":14,"sodium_mmol_l":140,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"at_or_above_cutoff":false,"citation":{"authors":"Wong CH, Khin LW, Heng KS, Tan KC, Low CO","doi":"10.1097/01.ccm.0000131218.22741.d4","id":"wong-2004","source":"Crit Care Med. 2004;32(7):1535-1541","title":"The LRINEC (Laboratory Risk Indicator for Necrotizing Fasciitis) score: a tool for distinguishing necrotizing fasciitis from other soft tissue infections"},"components":[{"factor":"crp","points":0,"present":false,"value":20},{"factor":"wbc","points":0,"present":false,"value":8},{"factor":"hemoglobin","points":0,"present":false,"value":14},{"factor":"sodium","points":0,"present":false,"value":140},{"factor":"creatinine","points":0,"present":false,"value":88.42},{"factor":"glucose","points":0,"present":false,"value":4.994949551009535}],"creatinine_umol_l":88.42,"crp_mg_l":20,"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":"lrinec","formula_expression":"LRINEC = CRP (\u003e=150 mg/L → 4) + WBC 10^3/mm^3 (\u003c15 → 0; 15-25 → 1; \u003e25 → 2) + hemoglobin g/dL (\u003e13.5 → 0; 11-13.5 → 1; \u003c11 → 2) + sodium (\u003c135 mmol/L → 2) + creatinine (\u003e141 µmol/L → 2) + glucose (\u003e10 mmol/L → 1); max 13; cutoff \u003e=6","glucose_mmol_l":4.994949551009535,"hemoglobin_g_dl":14,"max_score":13,"score":0,"sodium_mmol_l":140,"wbc_k_ul":8},{"at_or_above_cutoff":false,"citation":{"authors":"Wong CH, Khin LW, Heng KS, Tan KC, Low CO","doi":"10.1097/01.ccm.0000131218.22741.d4","id":"wong-2004","source":"Crit Care Med. 2004;32(7):1535-1541","title":"The LRINEC (Laboratory Risk Indicator for Necrotizing Fasciitis) score: a tool for distinguishing necrotizing fasciitis from other soft tissue infections"},"components":[{"factor":"crp","points":0,"present":false,"value":20},{"factor":"wbc","points":0,"present":false,"value":8},{"factor":"hemoglobin","points":0,"present":false,"value":14},{"factor":"sodium","points":0,"present":false,"value":140},{"factor":"creatinine","points":0,"present":false,"value":88.42},{"factor":"glucose","points":0,"present":false,"value":4.994949551009535}],"creatinine_umol_l":88.42,"crp_mg_l":20,"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":"lrinec","formula_expression":"LRINEC = CRP (\u003e=150 mg/L → 4) + WBC 10^3/mm^3 (\u003c15 → 0; 15-25 → 1; \u003e25 → 2) + hemoglobin g/dL (\u003e13.5 → 0; 11-13.5 → 1; \u003c11 → 2) + sodium (\u003c135 mmol/L → 2) + creatinine (\u003e141 µmol/L → 2) + glucose (\u003e10 mmol/L → 1); max 13; cutoff \u003e=6","glucose_mmol_l":4.994949551009535,"hemoglobin_g_dl":14,"max_score":13,"score":0,"sodium_mmol_l":140,"wbc_k_ul":8}],"path":"/api/calc/lrinec"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"creatinine_mg_dl":{"description":"Creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. Converted as µmol/L = mg/dL × 88.42. \u003e141 µmol/L scores 2.","type":"number"},"creatinine_umol_l":{"description":"Creatinine in µmol/L (9-1768). Provide this or creatinine_mg_dl. \u003e141 scores 2.","type":"number"},"crp_mg_l":{"description":"C-reactive protein in mg/L (0-500). ≥150 scores 4; otherwise 0.","type":"number"},"glucose_mg_dl":{"description":"Plasma glucose in mg/dL (50-1000). Provide this or glucose_mmol_l, not both. Converted as mmol/L = mg/dL / 18.0182. \u003e10 mmol/L scores 1.","type":"number"},"glucose_mmol_l":{"description":"Plasma glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. \u003e10 scores 1.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). \u003e13.5 scores 0; 11-13.5 scores 1; \u003c11 scores 2.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). \u003c135 scores 2; otherwise 0.","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/mm^3 (same as k/µL or 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. \u003c15 scores 0; 15-25 scores 1; \u003e25 scores 2.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. Converted as k/µL = cells/µL / 1000.","type":"number"}},"required":["crp_mg_l","hemoglobin_g_dl","sodium_mmol_l"],"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"}}},"lastUpdated":"2026-10-05T14:28:13.556Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:28:13.433Z"},"resource":"https://api.magentlab.com/api/calc/lrinec","serviceName":"magent","tags":["lrinec","necrotizing-fasciitis","infection","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/khorana","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Khorana 2008 Blood predictive model for chemotherapy-associated thrombosis: very_high site (stomach or pancreas) 2, high (lung, lymphoma, gynecologic, bladder, testicular) 1, other 0; platelets \u003e=350 1; hemoglobin \u003c10 g/dL or ESA 1 (once); WBC \u003e11 x10^9/L 1; BMI\u003e=35 caller flag 1. Max 6. 0 low; 1-2 intermediate; \u003e=3 high. Not a diagnosis. Not Padua or Caprini. Caller assigns cancer site; magent does not compute BMI.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bmi_ge_35":false,"cancer_site":"other","erythropoiesis_stimulating_agent":false,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"platelets_10e9_l":200,"wbc_k_ul":8,"wbc_ul":8000},{"bmi_ge_35":false,"cancer_site":"other","erythropoiesis_stimulating_agent":false,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"platelets_10e9_l":200,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bmi_ge_35":false,"cancer_site":"other","citation":{"authors":"Khorana AA, Kuderer NM, Culakova E, Lyman GH, Francis CW","doi":"10.1182/blood-2007-10-116327","id":"khorana-2008","source":"Blood. 2008;111(10):4902-4907","title":"Development and validation of a predictive model for chemotherapy-associated thrombosis"},"components":[{"factor":"cancer_site","points":0,"present":false,"value":"other"},{"factor":"platelets","points":0,"present":false,"value":200},{"factor":"hemoglobin_or_esa","points":0,"present":false,"value":{"erythropoiesis_stimulating_agent":false,"hemoglobin_g_dl":12}},{"factor":"wbc","points":0,"present":false,"value":8000},{"factor":"bmi_ge_35","points":0,"present":false}],"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.","erythropoiesis_stimulating_agent":false,"formula":"khorana","formula_expression":"Khorana = cancer_site (very_high 2, high 1, other 0) + (platelets\u003e=350) + (hemoglobin\u003c10 g/dL or ESA) + (wbc\u003e11 x10^9/L) + (BMI\u003e=35); max 6; 0 low, 1-2 intermediate, \u003e=3 high","hemoglobin_g_dl":12,"khorana_risk":"low","max_score":6,"platelets_10e9_l":200,"score":0,"wbc_ul":8000},{"bmi_ge_35":false,"cancer_site":"other","citation":{"authors":"Khorana AA, Kuderer NM, Culakova E, Lyman GH, Francis CW","doi":"10.1182/blood-2007-10-116327","id":"khorana-2008","source":"Blood. 2008;111(10):4902-4907","title":"Development and validation of a predictive model for chemotherapy-associated thrombosis"},"components":[{"factor":"cancer_site","points":0,"present":false,"value":"other"},{"factor":"platelets","points":0,"present":false,"value":200},{"factor":"hemoglobin_or_esa","points":0,"present":false,"value":{"erythropoiesis_stimulating_agent":false,"hemoglobin_g_dl":12}},{"factor":"wbc","points":0,"present":false,"value":8000},{"factor":"bmi_ge_35","points":0,"present":false}],"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.","erythropoiesis_stimulating_agent":false,"formula":"khorana","formula_expression":"Khorana = cancer_site (very_high 2, high 1, other 0) + (platelets\u003e=350) + (hemoglobin\u003c10 g/dL or ESA) + (wbc\u003e11 x10^9/L) + (BMI\u003e=35); max 6; 0 low, 1-2 intermediate, \u003e=3 high","hemoglobin_g_dl":12,"khorana_risk":"low","max_score":6,"platelets_10e9_l":200,"score":0,"wbc_ul":8000}],"path":"/api/calc/khorana"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bmi_ge_35":{"description":"BMI ≥35 as assigned by the caller. true or false. magent does not take height or weight. 1 point if true.","type":"boolean"},"cancer_site":{"description":"Caller-assigned Khorana site class. very_high (stomach or pancreas) scores 2; high (lung, lymphoma, gynecologic, bladder, or testicular) scores 1; other scores 0. magent does not assign cancer site from histology text.","type":"string"},"erythropoiesis_stimulating_agent":{"description":"Use of an erythropoiesis-stimulating agent as assigned by the caller. true or false. Scores 1 with hemoglobin \u003c10 g/dL (once, not twice).","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. \u003c10 scores 1 with ESA (once, not twice). 10.0 does not score unless ESA is true.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both.","type":"number"},"platelets_10e9_l":{"description":"Pre-chemotherapy platelet count ×10^9/L (1-2000). ≥350 scores 1 (350 scores; 349 does not).","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. \u003e11 scores 1 (11.0 does not).","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. \u003e11000 scores 1 (11000 does not).","type":"number"}},"required":["cancer_site","platelets_10e9_l","erythropoiesis_stimulating_agent","bmi_ge_35"],"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"}}},"lastUpdated":"2026-10-05T14:27:30.842Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:27:30.696Z"},"resource":"https://api.magentlab.com/api/calc/khorana","serviceName":"magent","tags":["khorana","vte","thrombosis","cancer","score"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/caprini","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Caprini 2005 thrombosis risk assessment (Table 3): exclusive age (41-60=1, 61-74=2, \u003e=75=3) and exclusive surgery (minor=1; arthroscopic/major/laparoscopic=2; arthroplasty=5) plus caller-assigned 1-, 2-, 3-, and 5-point flags. Max 78. Bands: 0-1 low, 2 moderate, 3-4 high, \u003e=5 highest. Not a diagnosis. Not Caprini 2009/2013. Not a prophylaxis order.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_pulmonary_function":false,"acute_myocardial_infarction":false,"adverse_pregnancy_history":false,"age":50,"anticardiolipin_antibodies":false,"central_venous_access":false,"confined_to_bed_gt_72h":false,"congestive_heart_failure":false,"elevated_homocysteine":false,"factor_v_leiden":false,"family_history_thrombosis":false,"heparin_induced_thrombocytopenia":false,"hip_pelvis_leg_fracture":false,"history_dvt_pe":false,"immobilizing_plaster_cast":false,"inflammatory_bowel_disease":false,"lupus_anticoagulant":false,"malignancy":false,"medical_bed_rest":false,"multiple_trauma":false,"obesity":false,"oral_contraceptives_or_hrt":false,"other_risk_factor":false,"other_thrombophilia":false,"pregnancy_or_postpartum":false,"prior_major_surgery":false,"prothrombin_20210a":false,"sepsis":false,"serious_lung_disease":false,"spinal_cord_injury":false,"stroke":false,"surgery":"none","swollen_legs":false,"varicose_veins":false},{"abnormal_pulmonary_function":false,"acute_myocardial_infarction":false,"adverse_pregnancy_history":false,"age":50,"anticardiolipin_antibodies":false,"central_venous_access":false,"confined_to_bed_gt_72h":false,"congestive_heart_failure":false,"elevated_homocysteine":false,"factor_v_leiden":false,"family_history_thrombosis":false,"heparin_induced_thrombocytopenia":false,"hip_pelvis_leg_fracture":false,"history_dvt_pe":false,"immobilizing_plaster_cast":false,"inflammatory_bowel_disease":false,"lupus_anticoagulant":false,"malignancy":false,"medical_bed_rest":false,"multiple_trauma":false,"obesity":false,"oral_contraceptives_or_hrt":false,"other_risk_factor":false,"other_thrombophilia":false,"pregnancy_or_postpartum":false,"prior_major_surgery":false,"prothrombin_20210a":false,"sepsis":false,"serious_lung_disease":false,"spinal_cord_injury":false,"stroke":false,"surgery":"none","swollen_legs":false,"varicose_veins":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Caprini JA","doi":"10.1016/j.disamonth.2005.02.003","id":"caprini-2005","pmid":"15900257","source":"Dis Mon. 2005;51(2-3):70-78","title":"Thrombosis risk assessment as a guide to quality patient care"},"components":[{"factor":"age","points":1,"present":true,"value":50},{"factor":"surgery","points":0,"present":false,"value":"none"},{"factor":"prior_major_surgery","points":0,"present":false},{"factor":"varicose_veins","points":0,"present":false},{"factor":"inflammatory_bowel_disease","points":0,"present":false},{"factor":"swollen_legs","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"acute_myocardial_infarction","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"sepsis","points":0,"present":false},{"factor":"serious_lung_disease","points":0,"present":false},{"factor":"abnormal_pulmonary_function","points":0,"present":false},{"factor":"medical_bed_rest","points":0,"present":false},{"factor":"other_risk_factor","points":0,"present":false},{"factor":"oral_contraceptives_or_hrt","points":0,"present":false},{"factor":"pregnancy_or_postpartum","points":0,"present":false},{"factor":"adverse_pregnancy_history","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"confined_to_bed_gt_72h","points":0,"present":false},{"factor":"immobilizing_plaster_cast","points":0,"present":false},{"factor":"central_venous_access","points":0,"present":false},{"factor":"history_dvt_pe","points":0,"present":false},{"factor":"family_history_thrombosis","points":0,"present":false},{"factor":"factor_v_leiden","points":0,"present":false},{"factor":"prothrombin_20210a","points":0,"present":false},{"factor":"elevated_homocysteine","points":0,"present":false},{"factor":"lupus_anticoagulant","points":0,"present":false},{"factor":"anticardiolipin_antibodies","points":0,"present":false},{"factor":"heparin_induced_thrombocytopenia","points":0,"present":false},{"factor":"other_thrombophilia","points":0,"present":false},{"factor":"hip_pelvis_leg_fracture","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"multiple_trauma","points":0,"present":false},{"factor":"spinal_cord_injury","points":0,"present":false}],"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":"caprini","formula_expression":"Caprini 2005 = exclusive age (\u003c=40: 0, 41-60: 1, 61-74: 2, \u003e=75: 3) + exclusive surgery (none 0, minor 1, arthroscopic 2, major \u003e45 min 2, laparoscopic \u003e45 min 2, elective arthroplasty 5) + Table 3 flags (1, 2, 3, or 5); max 78; 0-1 low, 2 moderate, 3-4 high, \u003e=5 highest","max_score":78,"risk_band":"low","score":1,"surgery":"none"},{"age_years":50,"citation":{"authors":"Caprini JA","doi":"10.1016/j.disamonth.2005.02.003","id":"caprini-2005","pmid":"15900257","source":"Dis Mon. 2005;51(2-3):70-78","title":"Thrombosis risk assessment as a guide to quality patient care"},"components":[{"factor":"age","points":1,"present":true,"value":50},{"factor":"surgery","points":0,"present":false,"value":"none"},{"factor":"prior_major_surgery","points":0,"present":false},{"factor":"varicose_veins","points":0,"present":false},{"factor":"inflammatory_bowel_disease","points":0,"present":false},{"factor":"swollen_legs","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"acute_myocardial_infarction","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"sepsis","points":0,"present":false},{"factor":"serious_lung_disease","points":0,"present":false},{"factor":"abnormal_pulmonary_function","points":0,"present":false},{"factor":"medical_bed_rest","points":0,"present":false},{"factor":"other_risk_factor","points":0,"present":false},{"factor":"oral_contraceptives_or_hrt","points":0,"present":false},{"factor":"pregnancy_or_postpartum","points":0,"present":false},{"factor":"adverse_pregnancy_history","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"confined_to_bed_gt_72h","points":0,"present":false},{"factor":"immobilizing_plaster_cast","points":0,"present":false},{"factor":"central_venous_access","points":0,"present":false},{"factor":"history_dvt_pe","points":0,"present":false},{"factor":"family_history_thrombosis","points":0,"present":false},{"factor":"factor_v_leiden","points":0,"present":false},{"factor":"prothrombin_20210a","points":0,"present":false},{"factor":"elevated_homocysteine","points":0,"present":false},{"factor":"lupus_anticoagulant","points":0,"present":false},{"factor":"anticardiolipin_antibodies","points":0,"present":false},{"factor":"heparin_induced_thrombocytopenia","points":0,"present":false},{"factor":"other_thrombophilia","points":0,"present":false},{"factor":"hip_pelvis_leg_fracture","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"multiple_trauma","points":0,"present":false},{"factor":"spinal_cord_injury","points":0,"present":false}],"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":"caprini","formula_expression":"Caprini 2005 = exclusive age (\u003c=40: 0, 41-60: 1, 61-74: 2, \u003e=75: 3) + exclusive surgery (none 0, minor 1, arthroscopic 2, major \u003e45 min 2, laparoscopic \u003e45 min 2, elective arthroplasty 5) + Table 3 flags (1, 2, 3, or 5); max 78; 0-1 low, 2 moderate, 3-4 high, \u003e=5 highest","max_score":78,"risk_band":"low","score":1,"surgery":"none"}],"path":"/api/calc/caprini"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_pulmonary_function":{"description":"Abnormal pulmonary function (COPD) as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"acute_myocardial_infarction":{"description":"Acute myocardial infarction as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"adverse_pregnancy_history":{"description":"History of unexplained stillborn infant, recurrent spontaneous abortion (\u003e=3), premature birth with toxemia, or growth-restricted infant as assigned by the caller (Caprini 2005 Table 3, listed for women). true scores 1.","type":"boolean"},"age":{"description":"Age in years (18-120). Caprini 2005 exclusive bands: 41-60 scores 1; 61-74 scores 2; 75 or older scores 3. Age 40 or younger scores 0 for age.","type":"integer"},"anticardiolipin_antibodies":{"description":"Elevated anticardiolipin antibodies as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"central_venous_access":{"description":"Central venous access as assigned by the caller (Caprini 2005 Table 3). true scores 2.","type":"boolean"},"confined_to_bed_gt_72h":{"description":"Patient confined to bed (\u003e72 hours) as assigned by the caller (Caprini 2005 Table 3). true scores 2. Independent of medical_bed_rest.","type":"boolean"},"congestive_heart_failure":{"description":"Congestive heart failure (\u003c1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"elevated_homocysteine":{"description":"Elevated serum homocysteine as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"factor_v_leiden":{"description":"Positive Factor V Leiden as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"family_history_thrombosis":{"description":"Family history of thrombosis as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"heparin_induced_thrombocytopenia":{"description":"Heparin-induced thrombocytopenia (HIT) as assigned by the caller (Caprini 2005 Table 3). true scores 3. magent does not diagnose HIT.","type":"boolean"},"hip_pelvis_leg_fracture":{"description":"Hip, pelvis, or leg fracture (\u003c1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5. Independent of exclusive surgery.","type":"boolean"},"history_dvt_pe":{"description":"History of DVT or PE as assigned by the caller (Caprini 2005 Table 3). true scores 3. magent does not diagnose VTE.","type":"boolean"},"immobilizing_plaster_cast":{"description":"Immobilizing plaster cast (\u003c1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 2.","type":"boolean"},"inflammatory_bowel_disease":{"description":"History of inflammatory bowel disease as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"lupus_anticoagulant":{"description":"Positive lupus anticoagulant as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"malignancy":{"description":"Malignancy (present or previous) as assigned by the caller (Caprini 2005 Table 3). true scores 2.","type":"boolean"},"medical_bed_rest":{"description":"Medical patient currently at bed rest as assigned by the caller (Caprini 2005 Table 3). true scores 1. Independent of confined_to_bed_gt_72h.","type":"boolean"},"multiple_trauma":{"description":"Multiple trauma (\u003c1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5.","type":"boolean"},"obesity":{"description":"Obesity as assigned by the caller (Caprini 2005 BMI \u003e25). true scores 1. magent does not take height or weight.","type":"boolean"},"oral_contraceptives_or_hrt":{"description":"Oral contraceptives or hormone replacement therapy as assigned by the caller (Caprini 2005 Table 3, listed for women). true scores 1.","type":"boolean"},"other_risk_factor":{"description":"Other Caprini 2005 Table 3 1-point risk factor as assigned by the caller. true scores 1. magent does not invent a factor from prose.","type":"boolean"},"other_thrombophilia":{"description":"Other congenital or acquired thrombophilia as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"pregnancy_or_postpartum":{"description":"Pregnancy or postpartum (\u003c1 month) as assigned by the caller (Caprini 2005 Table 3, listed for women). true scores 1.","type":"boolean"},"prior_major_surgery":{"description":"History of prior major surgery (\u003c1 month) as assigned by the caller (Caprini 2005 Table 3). Independent of the exclusive surgery category. true scores 1.","type":"boolean"},"prothrombin_20210a":{"description":"Positive Prothrombin 20210A as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"sepsis":{"description":"Sepsis (\u003c1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"serious_lung_disease":{"description":"Serious lung disease including pneumonia (\u003c1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"spinal_cord_injury":{"description":"Acute spinal cord injury (paralysis) (\u003c1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5.","type":"boolean"},"stroke":{"description":"Stroke (\u003c1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5.","type":"boolean"},"surgery":{"description":"Mutually exclusive Caprini 2005 Table 3 surgery category as assigned by the caller. none scores 0. minor (minor surgery planned) scores 1. arthroscopic, major (major surgery \u003e45 minutes), and laparoscopic (laparoscopic surgery \u003e45 minutes) score 2. arthroplasty (elective major lower extremity arthroplasty) scores 5. One category only. History of prior major surgery is a separate 1-point flag.","enum":["none","minor","arthroscopic","major","laparoscopic","arthroplasty"],"type":"string"},"swollen_legs":{"description":"Swollen legs (current) as assigned by the caller (Caprini 2005 Table 3). true scores 1. magent does not examine the patient.","type":"boolean"},"varicose_veins":{"description":"Varicose veins as assigned by the caller (Caprini 2005 Table 3). true scores 1. magent does not examine the patient.","type":"boolean"}},"required":["age","surgery","prior_major_surgery","varicose_veins","inflammatory_bowel_disease","swollen_legs","obesity","acute_myocardial_infarction","congestive_heart_failure","sepsis","serious_lung_disease","abnormal_pulmonary_function","medical_bed_rest","other_risk_factor","oral_contraceptives_or_hrt","pregnancy_or_postpartum","adverse_pregnancy_history","malignancy","confined_to_bed_gt_72h","immobilizing_plaster_cast","central_venous_access","history_dvt_pe","family_history_thrombosis","factor_v_leiden","prothrombin_20210a","elevated_homocysteine","lupus_anticoagulant","anticardiolipin_antibodies","heparin_induced_thrombocytopenia","other_thrombophilia","hip_pelvis_leg_fracture","stroke","multiple_trauma","spinal_cord_injury"],"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"}}},"lastUpdated":"2026-10-05T14:27:09.493Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:27:09.347Z"},"resource":"https://api.magentlab.com/api/calc/caprini","serviceName":"magent","tags":["caprini","vte","thrombosis","score","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/4c","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Knight 2020 ISARIC 4C Mortality Score: age (\u003c50→0, 50–59→2, 60–69→4, 70–79→6, ≥80→7) + male 1 + comorbidity_count (0/1/≥2 → 0/1/2; caller-assigned Charlson-plus-obesity count) + RR (\u003c20→0, 20–29→1, ≥30→2) + room-air SpO2 (\u003c92→2) + GCS (\u003c15→2) + urea (\u003c7→0, 7–14→1, \u003e14→3 mmol/L; or BUN/2.8) + CRP (\u003c50→0, 50–99→1, ≥100→2). Max 21. Table 5: low 0–3, intermediate 4–8, high 9–14, very high ≥15. Not a COVID-19 diagnosis or treatment order.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"bun_mg_dl":14,"comorbidity_count":0,"crp_mg_l":10,"gcs":15,"respiratory_rate":16,"sex":"female","spo2_percent":98,"urea_mmol_l":5},{"age":40,"bun_mg_dl":14,"comorbidity_count":0,"crp_mg_l":10,"gcs":15,"respiratory_rate":16,"sex":"female","spo2_percent":98,"urea_mmol_l":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Knight SR, Ho A, Pius R, Buchan I, Carson G, Drake TM, Dunning J, Fairfield CJ, Gamble C, Green CA, Gupta R, Halpin S, Hardwick HE, Holden KA, Horby PW, Jackson C, Mclean KA, Merson L, Nguyen-Van-Tam JS, Norman L, Noursadeghi M, Olliaro PL, Pritchard MG, Russell CD, Shaw CA, Sheikh A, Solomon T, Sudlow C, Swann OV, Turtle LCW, Openshaw PJM, Baillie JK, Semple MG, Docherty AB, Harrison EM; ISARIC4C investigators","doi":"10.1136/bmj.m3339","id":"knight-2020","pmid":"32907855","source":"BMJ. 2020;370:m3339","title":"Risk stratification of patients admitted to hospital with covid-19 using the ISARIC WHO Clinical Characterisation Protocol: development and validation of the 4C Mortality Score"},"comorbidity_count":0,"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"comorbidity_count","points":0,"present":false,"value":0},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"urea","points":0,"present":false,"value":5},{"factor":"crp_mg_l","points":0,"present":false,"value":10}],"crp_mg_l":10,"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":"4c","formula_expression":"4C = age (\u003c50 0, 50–59 2, 60–69 4, 70–79 6, ≥80 7) + sex (female 0, male 1) + comorbidity_count (0→0, 1→1, ≥2→2) + respiratory_rate (\u003c20 0, 20–29 1, ≥30 2) + spo2_percent (≥92 0, \u003c92 2) + gcs (15 0, \u003c15 2) + urea_mmol_l (\u003c7 0, 7–14 1, \u003e14 3) + crp_mg_l (\u003c50 0, 50–99 1, ≥100 2); Knight 2020 Table 2; max 21; Table 5 bands low 0–3, intermediate 4–8, high 9–14, very_high ≥15","four_c_band":"low","gcs":15,"max_score":21,"respiratory_rate":16,"score":0,"sex":"female","spo2_percent":98,"urea_mmol_l":5},{"age_years":40,"citation":{"authors":"Knight SR, Ho A, Pius R, Buchan I, Carson G, Drake TM, Dunning J, Fairfield CJ, Gamble C, Green CA, Gupta R, Halpin S, Hardwick HE, Holden KA, Horby PW, Jackson C, Mclean KA, Merson L, Nguyen-Van-Tam JS, Norman L, Noursadeghi M, Olliaro PL, Pritchard MG, Russell CD, Shaw CA, Sheikh A, Solomon T, Sudlow C, Swann OV, Turtle LCW, Openshaw PJM, Baillie JK, Semple MG, Docherty AB, Harrison EM; ISARIC4C investigators","doi":"10.1136/bmj.m3339","id":"knight-2020","pmid":"32907855","source":"BMJ. 2020;370:m3339","title":"Risk stratification of patients admitted to hospital with covid-19 using the ISARIC WHO Clinical Characterisation Protocol: development and validation of the 4C Mortality Score"},"comorbidity_count":0,"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"comorbidity_count","points":0,"present":false,"value":0},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"urea","points":0,"present":false,"value":5},{"factor":"crp_mg_l","points":0,"present":false,"value":10}],"crp_mg_l":10,"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":"4c","formula_expression":"4C = age (\u003c50 0, 50–59 2, 60–69 4, 70–79 6, ≥80 7) + sex (female 0, male 1) + comorbidity_count (0→0, 1→1, ≥2→2) + respiratory_rate (\u003c20 0, 20–29 1, ≥30 2) + spo2_percent (≥92 0, \u003c92 2) + gcs (15 0, \u003c15 2) + urea_mmol_l (\u003c7 0, 7–14 1, \u003e14 3) + crp_mg_l (\u003c50 0, 50–99 1, ≥100 2); Knight 2020 Table 2; max 21; Table 5 bands low 0–3, intermediate 4–8, high 9–14, very_high ≥15","four_c_band":"low","gcs":15,"max_score":21,"respiratory_rate":16,"score":0,"sex":"female","spo2_percent":98,"urea_mmol_l":5}],"path":"/api/calc/4c"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Knight 2020 Table 2: \u003c50 scores 0; 50–59 scores 2; 60–69 scores 4; 70–79 scores 6; ≥80 scores 7.","type":"integer"},"bun_mg_dl":{"description":"BUN in mg/dL (3–140). Converted as urea_mmol_l = bun_mg_dl / 2.8.","type":"number"},"comorbidity_count":{"description":"Caller-assigned count of Charlson-plus-obesity comorbidities from Knight 2020 (integer 0–20). 0 scores 0; 1 scores 1; ≥2 scores 2. magent does not compute Charlson.","type":"integer"},"crp_mg_l":{"description":"C-reactive protein in mg/L (0–500). Knight 2020: \u003c50 scores 0; 50–99 scores 1; ≥100 scores 2.","type":"number"},"gcs":{"description":"Caller-assigned total GCS as an integer 3–15. 15 scores 0; \u003c15 scores 2 (Knight 2020). This API does not collect eye, verbal, or motor components.","type":"integer"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4–80). Knight 2020: \u003c20 scores 0; 20–29 scores 1; ≥30 scores 2. magent does not measure vitals.","type":"integer"},"sex":{"description":"Sex at birth (Knight 2020). female scores 0; male scores 1.","enum":["female","male"],"type":"string"},"spo2_percent":{"description":"Room-air SpO2 percent (50–100). Knight 2020: ≥92 scores 0; \u003c92 scores 2. magent does not measure saturation.","type":"number"},"urea_mmol_l":{"description":"Serum urea in mmol/L (1–50). Provide this or bun_mg_dl, not both. Knight 2020: \u003c7 scores 0; 7–14 inclusive scores 1; \u003e14 scores 3.","type":"number"}},"required":["age","sex","comorbidity_count","respiratory_rate","spo2_percent","gcs","crp_mg_l"],"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"}}},"lastUpdated":"2026-10-05T14:24:54.201Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:24:54.064Z"},"resource":"https://api.magentlab.com/api/calc/4c","serviceName":"magent","tags":["4c","covid-19","mortality","isaric","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/sofa_2","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Ranzani 2025 SOFA-2 from six organs 0-4 (brain, respiratory, cardiovascular, liver, kidney, hemostasis), max 24. Maps PaO2/FiO2 or SpO2/FiO2 with NIV/ECMO, MAP and vasopressor dose bands, caller-assigned GCS and delirium-drug flag, bilirubin, platelets, creatinine or urine rate, and RRT. Not Vincent 1996 SOFA and not a diagnosis.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"advanced_ventilatory_support":false,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":13.7,"creatinine_mg_dl":1,"creatinine_umol_l":88,"delirium_drugs":false,"dopamine_ug_kg_min":0,"ecmo":false,"epinephrine_ug_kg_min":0,"fio2":0.21,"gcs":15,"map_mm_hg":80,"mechanical_circulatory_support":false,"norepinephrine_ug_kg_min":0,"oliguria_hours":8,"other_vasopressor_or_inotrope":false,"pao2_mm_hg":96,"platelets_10e9_l":200,"rrt":false,"spo2":96,"urine_output_ml_kg_h":1,"vasoactive_unavailable":false,"ventilatory_support_unavailable":false},{"advanced_ventilatory_support":false,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":13.7,"creatinine_mg_dl":1,"creatinine_umol_l":88,"delirium_drugs":false,"dopamine_ug_kg_min":0,"ecmo":false,"epinephrine_ug_kg_min":0,"fio2":0.21,"gcs":15,"map_mm_hg":80,"mechanical_circulatory_support":false,"norepinephrine_ug_kg_min":0,"oliguria_hours":8,"other_vasopressor_or_inotrope":false,"pao2_mm_hg":96,"platelets_10e9_l":200,"rrt":false,"spo2":96,"urine_output_ml_kg_h":1,"vasoactive_unavailable":false,"ventilatory_support_unavailable":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ranzani OT, Singer M, Salluh JIF, Shankar-Hari M, Pilcher D, Berger-Estilita J, Coopersmith CM, Juffermans NP, Laffey J, Reinikainen M, Serpa Neto A, Tavares M, Timsit JF, Arias Lopez MDP, Arulkumaran N, Aryal D, Azoulay E, Celi LA, Chaudhuri D, De Lange D, De Waele J, Dos Santos CC, Du B, Einav S, Engelbrecht T, Fazla F, Ferrer R, Finazzi S, Fujii T, Gershengorn HB, Greene JD, Haniffa R, Hao S, Hasan MS, Hollenberg S, Ippolito M, Jung C, Kirov M, Kobari S, Lakbar I, Lipman J, Liu V, Liu X, Lobo SM, Magatti D, Martin GS, Metnitz B, Metnitz P, Myatra SN, Oczkowski S, Paiva JA, Paruk F, Pekkarinen PT, Piquilloud L, Pölkki A, Prescott HC, Reintam Blaser A, Rezende E, Robba C, Rochwerg B, Ruckly S, Samei R, Schenck EJ, Secombe P, Sendagire C, Siaw-Frimpong M, Simpkin AJ, Soares M, Summers C, Szczeklik W, Takala J, Tanaka S, Tricella G, Vincent JL, Wendon J, Zampieri FG, Rhodes A, Moreno R","doi":"10.1001/jama.2025.20516","id":"ranzani-2025","pmid":"41159833","source":"JAMA. 2025 (SOFA-2)","title":"Development and Validation of the Sequential Organ Failure Assessment (SOFA)-2 Score"},"components":[{"factor":"brain","points":0,"present":false,"value":15},{"factor":"respiratory","points":0,"present":false,"value":457.14285714285717},{"factor":"cardiovascular","points":0,"present":false,"value":80},{"factor":"liver","points":0,"present":false,"value":0.8},{"factor":"kidney","points":0,"present":false,"value":{"creatinine":{"mg_dl":1},"rrt":false,"urine":null}},{"factor":"hemostasis","points":0,"present":false,"value":200}],"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":"sofa_2","formula_expression":"SOFA-2 = brain + respiratory + cardiovascular + liver + kidney + hemostasis; each 0-4; max 24","max_score":24,"score":0},{"citation":{"authors":"Ranzani OT, Singer M, Salluh JIF, Shankar-Hari M, Pilcher D, Berger-Estilita J, Coopersmith CM, Juffermans NP, Laffey J, Reinikainen M, Serpa Neto A, Tavares M, Timsit JF, Arias Lopez MDP, Arulkumaran N, Aryal D, Azoulay E, Celi LA, Chaudhuri D, De Lange D, De Waele J, Dos Santos CC, Du B, Einav S, Engelbrecht T, Fazla F, Ferrer R, Finazzi S, Fujii T, Gershengorn HB, Greene JD, Haniffa R, Hao S, Hasan MS, Hollenberg S, Ippolito M, Jung C, Kirov M, Kobari S, Lakbar I, Lipman J, Liu V, Liu X, Lobo SM, Magatti D, Martin GS, Metnitz B, Metnitz P, Myatra SN, Oczkowski S, Paiva JA, Paruk F, Pekkarinen PT, Piquilloud L, Pölkki A, Prescott HC, Reintam Blaser A, Rezende E, Robba C, Rochwerg B, Ruckly S, Samei R, Schenck EJ, Secombe P, Sendagire C, Siaw-Frimpong M, Simpkin AJ, Soares M, Summers C, Szczeklik W, Takala J, Tanaka S, Tricella G, Vincent JL, Wendon J, Zampieri FG, Rhodes A, Moreno R","doi":"10.1001/jama.2025.20516","id":"ranzani-2025","pmid":"41159833","source":"JAMA. 2025 (SOFA-2)","title":"Development and Validation of the Sequential Organ Failure Assessment (SOFA)-2 Score"},"components":[{"factor":"brain","points":0,"present":false,"value":15},{"factor":"respiratory","points":0,"present":false,"value":457.14285714285717},{"factor":"cardiovascular","points":0,"present":false,"value":80},{"factor":"liver","points":0,"present":false,"value":0.8},{"factor":"kidney","points":0,"present":false,"value":{"creatinine":{"mg_dl":1},"rrt":false,"urine":null}},{"factor":"hemostasis","points":0,"present":false,"value":200}],"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":"sofa_2","formula_expression":"SOFA-2 = brain + respiratory + cardiovascular + liver + kidney + hemostasis; each 0-4; max 24","max_score":24,"score":0}],"path":"/api/calc/sofa_2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"advanced_ventilatory_support":{"description":"High-flow nasal cannula, CPAP, bilevel positive airway pressure, noninvasive ventilation, invasive mechanical ventilation, or long-term home ventilation (Ranzani 2025). true or false. Respiratory scores 3 and 4 require this, ventilatory_support_unavailable, or respiratory ECMO.","type":"boolean"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. ≤1.20 scores 0; ≤3.0 scores 1; ≤6.0 scores 2; ≤12.0 scores 3; \u003e12.0 scores 4.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). ≤20.6 scores 0; ≤51.3 scores 1; ≤102.6 scores 2; ≤205 scores 3; \u003e205 scores 4.","type":"number"},"creatinine_mg_dl":{"description":"Creatinine in mg/dL (0.1-20). Provide this, creatinine_umol_l, or rrt=true. ≤1.20 scores 0; ≤2.0 scores 1; ≤3.50 scores 2; \u003e3.50 scores 3. Kidney is the max of creatinine, urine, and RRT.","type":"number"},"creatinine_umol_l":{"description":"Creatinine in µmol/L (9-1768). ≤110 scores 0; ≤170 scores 1; ≤300 scores 2; \u003e300 scores 3.","type":"number"},"delirium_drugs":{"description":"Drugs given to treat delirium (Ranzani 2025). true or false when provided; absent is false. true scores brain at least 1 even if GCS is 15.","type":"boolean"},"dopamine_ug_kg_min":{"description":"Dopamine in µg/kg·min (0-80) when provided. Absent is 0. As a single vasopressor: ≤20 scores 2; \u003e20 to 40 scores 3; \u003e40 scores 4. With norepinephrine, epinephrine, or another agent it counts as an other vasopressor or inotrope.","type":"number"},"ecmo":{"description":"Respiratory ECMO of any form. true or false when provided; absent is false. true scores respiratory 4 regardless of PaO2/FiO2 or SpO2/FiO2 and does not by itself score cardiovascular points.","type":"boolean"},"epinephrine_ug_kg_min":{"description":"Epinephrine in µg/kg·min (0-10) when provided. Absent is 0. Added to norepinephrine for the published dose bands.","type":"number"},"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent.","type":"number"},"gcs":{"description":"Glasgow Coma Scale total as assigned by the caller (integer 3-15), including last pre-sedation GCS or the motor scale when the three-domain GCS cannot be evaluated. 15 scores 0; 13-14 scores 1; 9-12 scores 2; 6-8 scores 3; 3-5 scores 4. magent does not examine the patient.","type":"integer"},"map_mm_hg":{"description":"Mean arterial pressure in mm Hg (20-180). MAP \u003c70 with no vasopressor or inotrope scores 1 unless a higher cardiovascular band applies. When vasoactive_unavailable is true, MAP ≥70 scores 0; 60-69 scores 1; 50-59 scores 2; 40-49 scores 3; \u003c40 scores 4.","type":"number"},"mechanical_circulatory_support":{"description":"Mechanical circulatory support (veno-arterial ECMO, intra-aortic balloon pump, left ventricular assist device, or microaxial flow pump). true or false when provided; absent is false. true scores cardiovascular 4.","type":"boolean"},"norepinephrine_ug_kg_min":{"description":"Norepinephrine as the base in µg/kg·min (0-10) when provided. Absent is 0. Summed with epinephrine: \u003e0 to ≤0.2 scores 2; \u003e0.2 to ≤0.4 scores 3; \u003e0.4 scores 4. Low-dose plus any other vasopressor or inotrope scores 3; medium-dose plus any other, or mechanical circulatory support, scores 4.","type":"number"},"oliguria_hours":{"description":"Hours at the reported urine_output_ml_kg_h (0-72). Required when urine_output_ml_kg_h is provided.","type":"number"},"other_vasopressor_or_inotrope":{"description":"Any other vasopressor or inotrope (Ranzani 2025). true or false when provided; absent is false. Any dose scores cardiovascular 2 unless a higher norepinephrine/epinephrine or mechanical band applies.","type":"boolean"},"pao2_mm_hg":{"description":"Arterial PaO2 in mm Hg (20-700). Provide this with fio2, or spo2 with fio2 when PaO2 is unavailable. PaO2/FiO2 \u003e300 scores 0; ≤300 scores 1; ≤225 scores 2; ≤150 with advanced ventilatory support scores 3; ≤75 with advanced ventilatory support scores 4. Respiratory ECMO scores 4 regardless of the ratio.","type":"number"},"platelets_10e9_l":{"description":"Platelets ×10^9/L, same as ×10^3/μL (1-2000). \u003e150 scores 0; ≤150 scores 1; ≤100 scores 2; ≤80 scores 3; ≤50 scores 4.","type":"number"},"rrt":{"description":"Receiving renal replacement therapy or fulfilling published RRT criteria, including chronic use (Ranzani 2025). true or false when provided; absent is false. true scores kidney 4. Non-renal RRT is not scored; the caller assigns this flag.","type":"boolean"},"spo2":{"description":"Pulse-oximetry SpO2 as a percent (50-97.9). Used with fio2 only when pao2_mm_hg is absent and SpO2 is \u003c98 (Ranzani 2025). SpO2/FiO2 \u003e300 scores 0; ≤300 scores 1; ≤250 scores 2; ≤200 with advanced ventilatory support scores 3; ≤120 with advanced ventilatory support or ECMO scores 4.","type":"number"},"urine_output_ml_kg_h":{"description":"Urine output in mL/kg/h (0-20) when provided. Provide oliguria_hours with this. \u003c0.5 for 6-12 h scores 1; \u003c0.5 for ≥12 h scores 2; \u003c0.3 for ≥24 h or anuria (0 mL) for ≥12 h scores 3.","type":"number"},"vasoactive_unavailable":{"description":"Vasoactive drugs unavailable or precluded by a ceiling of treatment (Ranzani 2025). true or false when provided; absent is false. When true, cardiovascular points use the MAP-only cutoffs unless mechanical_circulatory_support is true.","type":"boolean"},"ventilatory_support_unavailable":{"description":"Advanced ventilatory support not available or precluded by a ceiling of treatment (Ranzani 2025). true or false when provided; absent is false. When true, oxygenation ratios may score 3 or 4 without advanced_ventilatory_support.","type":"boolean"}},"required":["fio2","advanced_ventilatory_support","platelets_10e9_l","map_mm_hg","gcs"],"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"}}},"lastUpdated":"2026-10-05T14:24:32.869Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:24:32.707Z"},"resource":"https://api.magentlab.com/api/calc/sofa_2","serviceName":"magent","tags":["sofa-2","sepsis","organ-failure","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/smart_cop","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Charles 2008 SMART-COP for intensive respiratory or vasopressor support in community-acquired pneumonia: SBP \u003c90 (2), multilobar CXR (1), albumin \u003c3.5 g/dL (1), age-adjusted RR (1), HR \u003e=125 (1), new confusion (1), age-adjusted low oxygen (2), arterial pH \u003c7.35 (2; omitted pH scores 0). Max 11. IRVS 0-2 low, 3-4 moderate, 5-6 high, \u003e=7 very high. Not a site-of-care protocol. Albumin g/dL or g/L. Exactly one of PaO2, SpO2, or P/F.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"albumin_g_dl":4,"albumin_g_l":40,"arterial_ph":7.4,"confusion":false,"heart_rate_bpm":80,"multilobar_cxr":false,"pao2_mm_hg":90,"pf_ratio":400,"respiratory_rate":16,"spo2_percent":98,"systolic_mm_hg":120},{"age":40,"albumin_g_dl":4,"albumin_g_l":40,"arterial_ph":7.4,"confusion":false,"heart_rate_bpm":80,"multilobar_cxr":false,"pao2_mm_hg":90,"pf_ratio":400,"respiratory_rate":16,"spo2_percent":98,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"albumin_g_dl":4,"arterial_ph":7.4,"citation":{"authors":"Charles PGP, Wolfe R, Whitby M, et al.","doi":"10.1086/589754","id":"charles-2008","pmid":"18558884","source":"Clin Infect Dis. 2008;47(3):375-384","title":"SMART-COP: a tool for predicting the need for intensive respiratory or vasopressor support in community-acquired pneumonia"},"components":[{"factor":"systolic_lt_90","points":0,"present":false,"value":120},{"factor":"multilobar_cxr","points":0,"present":false},{"factor":"albumin_lt_3_5","points":0,"present":false,"value":4},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"heart_rate_ge_125","points":0,"present":false,"value":80},{"factor":"confusion","points":0,"present":false},{"factor":"oxygen_low","input":"spo2_percent","points":0,"present":false,"value":98},{"factor":"arterial_ph_lt_7_35","points":0,"present":false,"value":7.4}],"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":"smart_cop","formula_expression":"SMART-COP (Charles 2008) = SBP\u003c90 (2) + multilobar_cxr (1) + albumin\u003c3.5 g/dL (1) + age-adjusted RR (1; age\u003c=50 RR\u003e=25, age\u003e50 RR\u003e=30) + HR\u003e=125 (1) + confusion (1) + age-adjusted low oxygen (2; age\u003c=50 PaO2\u003c70 or SpO2\u003c=93 or P/F\u003c333; age\u003e50 PaO2\u003c60 or SpO2\u003c=90 or P/F\u003c250) + arterial_pH\u003c7.35 (2; omitted pH scores 0); max 11; IRVS 0-2 low, 3-4 moderate, 5-6 high, \u003e=7 very high","heart_rate_bpm":80,"irvs_risk":"low","max_score":11,"respiratory_rate":16,"score":0,"spo2_percent":98,"systolic_mm_hg":120},{"age_years":40,"albumin_g_dl":4,"arterial_ph":7.4,"citation":{"authors":"Charles PGP, Wolfe R, Whitby M, et al.","doi":"10.1086/589754","id":"charles-2008","pmid":"18558884","source":"Clin Infect Dis. 2008;47(3):375-384","title":"SMART-COP: a tool for predicting the need for intensive respiratory or vasopressor support in community-acquired pneumonia"},"components":[{"factor":"systolic_lt_90","points":0,"present":false,"value":120},{"factor":"multilobar_cxr","points":0,"present":false},{"factor":"albumin_lt_3_5","points":0,"present":false,"value":4},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"heart_rate_ge_125","points":0,"present":false,"value":80},{"factor":"confusion","points":0,"present":false},{"factor":"oxygen_low","input":"spo2_percent","points":0,"present":false,"value":98},{"factor":"arterial_ph_lt_7_35","points":0,"present":false,"value":7.4}],"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":"smart_cop","formula_expression":"SMART-COP (Charles 2008) = SBP\u003c90 (2) + multilobar_cxr (1) + albumin\u003c3.5 g/dL (1) + age-adjusted RR (1; age\u003c=50 RR\u003e=25, age\u003e50 RR\u003e=30) + HR\u003e=125 (1) + confusion (1) + age-adjusted low oxygen (2; age\u003c=50 PaO2\u003c70 or SpO2\u003c=93 or P/F\u003c333; age\u003e50 PaO2\u003c60 or SpO2\u003c=90 or P/F\u003c250) + arterial_pH\u003c7.35 (2; omitted pH scores 0); max 11; IRVS 0-2 low, 3-4 moderate, 5-6 high, \u003e=7 very high","heart_rate_bpm":80,"irvs_risk":"low","max_score":11,"respiratory_rate":16,"score":0,"spo2_percent":98,"systolic_mm_hg":120}],"path":"/api/calc/smart_cop"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≤50 uses RR ≥25, PaO2 \u003c70, SpO2 ≤93%, P/F \u003c333. Age \u003e50 uses RR ≥30, PaO2 \u003c60, SpO2 ≤90%, P/F \u003c250.","type":"integer"},"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Provide this or albumin_g_l, not both. Scores 1 when \u003c3.5; 3.5 does not score (Charles 2008 A).","type":"number"},"albumin_g_l":{"description":"Albumin in g/L (10-60). Converted as g/dL = g/L / 10. Provide this or albumin_g_dl, not both. Scores 1 when \u003c35 g/L.","type":"number"},"arterial_ph":{"description":"Arterial pH (6.80-7.80). Optional. Scores 2 when \u003c7.35; 7.35 does not score. Omitted pH scores 0 (Charles 2008 missing-pH assumption).","type":"number"},"confusion":{"description":"New or acute confusion as assigned by the caller (Charles 2008 C). true or false. 1 point if true. magent does not assess mental status.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Scores 1 when ≥125; 124 does not score (Charles 2008 T).","type":"integer"},"multilobar_cxr":{"description":"Multilobar involvement on chest radiograph as assigned by the caller (Charles 2008 M). true or false. 1 point if true. magent does not interpret radiographs.","type":"boolean"},"pao2_mm_hg":{"description":"Arterial PaO2 in mm Hg (20-700). Provide exactly one of pao2_mm_hg, spo2_percent, or pf_ratio. Age ≤50: \u003c70 scores 2. Age \u003e50: \u003c60 scores 2.","type":"number"},"pf_ratio":{"description":"PaO2/FiO2 ratio (20-800). Provide exactly one of pao2_mm_hg, spo2_percent, or pf_ratio. Age ≤50: \u003c333 scores 2. Age \u003e50: \u003c250 scores 2.","type":"number"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80). Age ≤50: ≥25 scores 1 (24 does not). Age \u003e50: ≥30 scores 1 (29 does not). Charles 2008 R.","type":"integer"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). Provide exactly one of pao2_mm_hg, spo2_percent, or pf_ratio. Age ≤50: ≤93 scores 2. Age \u003e50: ≤90 scores 2.","type":"number"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Scores 2 when \u003c90; 90 does not score (Charles 2008 S).","type":"number"}},"required":["age","systolic_mm_hg","multilobar_cxr","respiratory_rate","heart_rate_bpm","confusion"],"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"}}},"lastUpdated":"2026-10-05T14:22:54.975Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:22:54.842Z"},"resource":"https://api.magentlab.com/api/calc/smart_cop","serviceName":"magent","tags":["smart-cop","pneumonia","cap","irvs","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/nafcs","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Hegele 2025 NAFCS. Table 3 points from age or early HTG onset, BMI, abdominal pain or pancreatitis, secondary factors, fasting TG \u003e880 mg/dL or \u003e10 mmol/L, TG/TC \u003e8 (mg/dL) or \u003e3.5 (mmol/L), and apo B \u003c1.0 g/L, plus published interactions. Max 100. ≥60 definite classical FCS; ≥45 very likely. Not a diagnosis or genetic test. Not Simon Broome or Dutch FH. magent does not examine the patient or assay lipids. Not a medical device.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abdominal_history":"none","age_years":40,"apo_b_g_l":1.2,"apo_b_mg_dl":120,"bmi_below_threshold":false,"htg_onset_before_age_10":false,"secondary_factors_present":true,"tg_mg_dl":500,"tg_mmol_l":8,"tg_tc_ratio_mg_dl":5,"tg_tc_ratio_mmol_l":2},{"abdominal_history":"none","age_years":40,"apo_b_g_l":1.2,"apo_b_mg_dl":120,"bmi_below_threshold":false,"htg_onset_before_age_10":false,"secondary_factors_present":true,"tg_mg_dl":500,"tg_mmol_l":8,"tg_tc_ratio_mg_dl":5,"tg_tc_ratio_mmol_l":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"all_tg_severely_elevated":false,"citation":{"authors":"Hegele RA, Ahmad Z, Ashraf A, et al.","doi":"10.1016/j.jacl.2024.09.008","id":"hegele-2025","pmid":"39537503","source":"J Clin Lipidol. 2025;19(1):83-94","title":"Development and validation of clinical criteria to identify familial chylomicronemia syndrome (FCS) in North America"},"components":[{"factor":"early_htg_onset","points":0,"present":false},{"factor":"child_htg","points":0,"present":false},{"factor":"all_tg_severely_elevated","points":0,"present":false},{"factor":"high_tg_tc_ratio","points":0,"present":false},{"factor":"low_apo_b","points":0,"present":false},{"factor":"bmi_below_threshold","points":0,"present":false},{"factor":"abdominal_pain","points":0,"present":false},{"factor":"pancreatitis","points":0,"present":false},{"factor":"no_secondary_factors","points":0,"present":false},{"factor":"high_ratio_and_low_apo_b","points":0,"present":false},{"factor":"child_and_no_secondary","points":0,"present":false},{"factor":"high_ratio_and_no_secondary","points":0,"present":false}],"definite_classical_fcs":false,"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":"nafcs","formula_expression":"NAFCS = early_htg_onset 12 (age_years ≥10 and htg_onset_before_age_10) + child_htg 12 (age_years 1-9) + all_tg_severely_elevated 13 (all fasting TG \u003e880 mg/dL or \u003e10 mmol/L) + high_tg_tc_ratio 8 (TG/TC \u003e8 mg/dL or \u003e3.5 mmol/L) + low_apo_b 12 (apo B \u003c1.0 g/L or \u003c100 mg/dL) + bmi_below_threshold 9 (BMI \u003c25 kg/m2 or \u003c85th percentile) + abdominal_pain 9 (recurrent abdominal pain without pancreatitis) + pancreatitis 16 + no_secondary_factors 11 + high_ratio_and_low_apo_b 7 + child_and_no_secondary 7 + high_ratio_and_no_secondary 5 (Hegele 2025 Table 3, parameter estimates ×10); max 100; ≥60 definite classical FCS; ≥45 very likely classical FCS","high_tg_tc_ratio":false,"low_apo_b":false,"max_score":100,"score":0,"very_likely_classical_fcs":false},{"age_years":40,"all_tg_severely_elevated":false,"citation":{"authors":"Hegele RA, Ahmad Z, Ashraf A, et al.","doi":"10.1016/j.jacl.2024.09.008","id":"hegele-2025","pmid":"39537503","source":"J Clin Lipidol. 2025;19(1):83-94","title":"Development and validation of clinical criteria to identify familial chylomicronemia syndrome (FCS) in North America"},"components":[{"factor":"early_htg_onset","points":0,"present":false},{"factor":"child_htg","points":0,"present":false},{"factor":"all_tg_severely_elevated","points":0,"present":false},{"factor":"high_tg_tc_ratio","points":0,"present":false},{"factor":"low_apo_b","points":0,"present":false},{"factor":"bmi_below_threshold","points":0,"present":false},{"factor":"abdominal_pain","points":0,"present":false},{"factor":"pancreatitis","points":0,"present":false},{"factor":"no_secondary_factors","points":0,"present":false},{"factor":"high_ratio_and_low_apo_b","points":0,"present":false},{"factor":"child_and_no_secondary","points":0,"present":false},{"factor":"high_ratio_and_no_secondary","points":0,"present":false}],"definite_classical_fcs":false,"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":"nafcs","formula_expression":"NAFCS = early_htg_onset 12 (age_years ≥10 and htg_onset_before_age_10) + child_htg 12 (age_years 1-9) + all_tg_severely_elevated 13 (all fasting TG \u003e880 mg/dL or \u003e10 mmol/L) + high_tg_tc_ratio 8 (TG/TC \u003e8 mg/dL or \u003e3.5 mmol/L) + low_apo_b 12 (apo B \u003c1.0 g/L or \u003c100 mg/dL) + bmi_below_threshold 9 (BMI \u003c25 kg/m2 or \u003c85th percentile) + abdominal_pain 9 (recurrent abdominal pain without pancreatitis) + pancreatitis 16 + no_secondary_factors 11 + high_ratio_and_low_apo_b 7 + child_and_no_secondary 7 + high_ratio_and_no_secondary 5 (Hegele 2025 Table 3, parameter estimates ×10); max 100; ≥60 definite classical FCS; ≥45 very likely classical FCS","high_tg_tc_ratio":false,"low_apo_b":false,"max_score":100,"score":0,"very_likely_classical_fcs":false}],"path":"/api/calc/nafcs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_history":{"description":"Caller-assigned chylomicronemia-related abdominal history (Hegele 2025 Table 3): none (0), abdominal_pain = recurrent abdominal pain without pancreatitis (9), pancreatitis = history of pancreatitis with or without abdominal pain (16). magent does not diagnose pancreatitis.","enum":["none","abdominal_pain","pancreatitis"],"type":"string"},"age_years":{"description":"Current age in whole years (1-120). Hegele 2025 Table 3: ages 1-9 score child_htg 12; ages ≥10 score early_htg_onset 12 only when htg_onset_before_age_10 is true. The score does not provide a value for infants \u003c1 year. magent does not examine the patient.","type":"integer"},"apo_b_g_l":{"description":"Apolipoprotein B in g/L (0.1-3.0). \u003c1.0 scores 12 (Hegele 2025 Table 3). Provide exactly one of apo_b_g_l or apo_b_mg_dl. 1.0 g/L = 100 mg/dL in the paper. magent does not assay apo B.","type":"number"},"apo_b_mg_dl":{"description":"Apolipoprotein B in mg/dL (10-300). \u003c100 scores 12. Provide exactly one of apo_b_g_l or apo_b_mg_dl. magent does not assay apo B.","type":"number"},"bmi_below_threshold":{"description":"BMI \u003c25.0 kg/m2 in adults or \u003c85th percentile in children/adolescents as assigned by the caller (Hegele 2025 Table 3, 9 points). true or false. magent does not compute BMI or pediatric percentiles.","type":"boolean"},"htg_onset_before_age_10":{"description":"Hypertriglyceridemia onset in infancy or childhood (before age 10) as assigned by the caller (Hegele 2025 Table 1). true or false. Scores 12 only when age_years ≥10. For ages 1-9, child_htg is scored from age and this flag does not add points. magent does not date onset.","type":"boolean"},"secondary_factors_present":{"description":"One or more secondary factors that may contribute to hypertriglyceridemia as assigned by the caller (Hegele 2025 Table 1: lifestyle, medications, clinical conditions). true (≥1, 0 points) or false (none, 11 points, plus published interactions). magent does not take a history.","type":"boolean"},"tg_mg_dl":{"description":"Caller-assigned fasting triglycerides in mg/dL (440-20000) representing all readings used in the score (Hegele 2025 Table 1: last 3 labs in adults, last 2 in children). All readings \u003e880 score 13. Provide exactly one of tg_mg_dl or tg_mmol_l. magent does not assay lipids.","type":"number"},"tg_mmol_l":{"description":"Caller-assigned fasting triglycerides in mmol/L (5-226). All readings \u003e10 score 13. Provide exactly one of tg_mg_dl or tg_mmol_l. magent does not assay lipids.","type":"number"},"tg_tc_ratio_mg_dl":{"description":"Triglyceride/total-cholesterol ratio when both are in mg/dL (0.1-80). \u003e8 scores 8 (Hegele 2025 Table 1). Provide exactly one of tg_tc_ratio_mg_dl or tg_tc_ratio_mmol_l. magent does not assay lipids.","type":"number"},"tg_tc_ratio_mmol_l":{"description":"Triglyceride/total-cholesterol ratio when both are in mmol/L (0.1-35). \u003e3.5 scores 8. Provide exactly one of tg_tc_ratio_mg_dl or tg_tc_ratio_mmol_l. magent does not assay lipids.","type":"number"}},"required":["age_years","htg_onset_before_age_10","bmi_below_threshold","abdominal_history","secondary_factors_present"],"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"}}},"lastUpdated":"2026-10-05T14:20:21.433Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:20:21.297Z"},"resource":"https://api.magentlab.com/api/calc/nafcs","serviceName":"magent","tags":["nafcs","fcs","lipids","chylomicronemia","hegele-2025"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/dutch_fh","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Dutch Lipid Clinic Network (Nordestgaard 2013 Table 1) familial hypercholesterolaemia score. One LDL (mmol/L or mg/dL / 38.67) plus family, clinical, physical, and DNA groups; per group only the highest. Max 26. Definite \u003e8, probable 6-8, possible 3-5, unlikely 0-2. Score 8 (mutation alone) is probable. Adult Table 1 only; not Simon Broome, not MEDPED, not homozygous FH. magent does not assay lipids, examine tendons or arcus, or sequence genes. Not a medical device and not a diagnosis of FH.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"causative_mutation_ldlr_apob_pcsk9":false,"child_ldl_gt_95th":false,"corneal_arcus_age_lt_45":false,"first_degree_ldl_gt_95th":false,"first_degree_premature_chd":false,"first_degree_xanthoma_or_arcus":false,"ldl_mg_dl":348,"ldl_mmol_l":9,"premature_cerebral_or_pvd":false,"premature_chd":false,"tendon_xanthoma":true},{"causative_mutation_ldlr_apob_pcsk9":false,"child_ldl_gt_95th":false,"corneal_arcus_age_lt_45":false,"first_degree_ldl_gt_95th":false,"first_degree_premature_chd":false,"first_degree_xanthoma_or_arcus":false,"ldl_mg_dl":348,"ldl_mmol_l":9,"premature_cerebral_or_pvd":false,"premature_chd":false,"tendon_xanthoma":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Nordestgaard BG, Chapman MJ, Humphries SE, et al.","doi":"10.1093/eurheartj/eht273","id":"nordestgaard-2013","pmid":"23956253","source":"Eur Heart J. 2013;34(45):3478-3490","title":"Familial hypercholesterolaemia is underdiagnosed and undertreated in the general population: guidance for clinicians to prevent coronary heart disease: consensus statement of the European Atherosclerosis Society"},"classification":"definite","clinical_points":0,"components":[{"factor":"family","points":0,"present":false},{"factor":"clinical","points":0,"present":false},{"factor":"physical","points":6,"present":true},{"factor":"ldl","points":8,"present":true,"value":9},{"factor":"dna","points":0,"present":false}],"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.","dna_points":0,"family_points":0,"formula":"dutch_fh","formula_expression":"DLCN (Nordestgaard 2013 Table 1) = family + clinical + physical + ldl + dna (per group only the highest); family: first_degree_xanthoma_or_arcus or child_ldl_gt_95th -\u003e 2 else first_degree_premature_chd or first_degree_ldl_gt_95th -\u003e 1; clinical: premature_chd -\u003e 2 else premature_cerebral_or_pvd -\u003e 1; physical: tendon_xanthoma -\u003e 6 else corneal_arcus_age_lt_45 -\u003e 4; ldl mmol/L: \u003e8.5 -\u003e 8, 6.5-8.4 -\u003e 5, 5.0-6.4 -\u003e 3, 4.0-4.9 -\u003e 1; dna causative_mutation_ldlr_apob_pcsk9 -\u003e 8; max 26; definite \u003e8, probable 6-8, possible 3-5, unlikely 0-2","ldl_mmol_l":9,"ldl_points":8,"max_score":26,"physical_points":6,"score":14},{"citation":{"authors":"Nordestgaard BG, Chapman MJ, Humphries SE, et al.","doi":"10.1093/eurheartj/eht273","id":"nordestgaard-2013","pmid":"23956253","source":"Eur Heart J. 2013;34(45):3478-3490","title":"Familial hypercholesterolaemia is underdiagnosed and undertreated in the general population: guidance for clinicians to prevent coronary heart disease: consensus statement of the European Atherosclerosis Society"},"classification":"definite","clinical_points":0,"components":[{"factor":"family","points":0,"present":false},{"factor":"clinical","points":0,"present":false},{"factor":"physical","points":6,"present":true},{"factor":"ldl","points":8,"present":true,"value":9},{"factor":"dna","points":0,"present":false}],"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.","dna_points":0,"family_points":0,"formula":"dutch_fh","formula_expression":"DLCN (Nordestgaard 2013 Table 1) = family + clinical + physical + ldl + dna (per group only the highest); family: first_degree_xanthoma_or_arcus or child_ldl_gt_95th -\u003e 2 else first_degree_premature_chd or first_degree_ldl_gt_95th -\u003e 1; clinical: premature_chd -\u003e 2 else premature_cerebral_or_pvd -\u003e 1; physical: tendon_xanthoma -\u003e 6 else corneal_arcus_age_lt_45 -\u003e 4; ldl mmol/L: \u003e8.5 -\u003e 8, 6.5-8.4 -\u003e 5, 5.0-6.4 -\u003e 3, 4.0-4.9 -\u003e 1; dna causative_mutation_ldlr_apob_pcsk9 -\u003e 8; max 26; definite \u003e8, probable 6-8, possible 3-5, unlikely 0-2","ldl_mmol_l":9,"ldl_points":8,"max_score":26,"physical_points":6,"score":14}],"path":"/api/calc/dutch_fh"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"causative_mutation_ldlr_apob_pcsk9":{"description":"Causative mutation in LDLR, APOB, or PCSK9 as assigned by the caller (Nordestgaard 2013 Table 1 DNA analysis, 8 points). true or false. magent does not sequence genes. Mutation alone is probable (score 8), not definite.","type":"boolean"},"child_ldl_gt_95th":{"description":"Child under 18 years with LDL cholesterol above the 95th percentile (Nordestgaard 2013 Table 1 family history, 2 points). true or false as assigned by the caller. magent does not assay lipids or take a pedigree.","type":"boolean"},"corneal_arcus_age_lt_45":{"description":"Arcus cornealis before age 45 years (Nordestgaard 2013 Table 1 physical examination, 4 points). true or false as assigned by the caller. magent does not examine the cornea or compute age.","type":"boolean"},"first_degree_ldl_gt_95th":{"description":"First-degree relative with LDL cholesterol above the 95th percentile (Nordestgaard 2013 Table 1 family history, 1 point). true or false as assigned by the caller. magent does not assay lipids or take a pedigree.","type":"boolean"},"first_degree_premature_chd":{"description":"First-degree relative with premature coronary heart disease (Nordestgaard 2013 Table 1 family history, 1 point). true or false as assigned by the caller. magent does not take a pedigree. Either this or first_degree_ldl_gt_95th scores 1 for the family group; a 2-point family item still yields family 2, not 3.","type":"boolean"},"first_degree_xanthoma_or_arcus":{"description":"First-degree relative with tendon xanthoma and/or arcus cornealis (Nordestgaard 2013 Table 1 family history, 2 points). true or false as assigned by the caller. magent does not examine relatives. Either this or child_ldl_gt_95th scores 2 for the family group (max of family items).","type":"boolean"},"ldl_mg_dl":{"description":"LDL cholesterol in mg/dL (40-800). Converted to mmol/L as mg/dL / 38.67, then scored on the mmol/L bands. Provide exactly one lipid parameter.","type":"number"},"ldl_mmol_l":{"description":"LDL cholesterol in mmol/L (1-20). Nordestgaard 2013 Table 1 bands: \u003e8.5 → 8, 6.5-8.4 → 5, 5.0-6.4 → 3, 4.0-4.9 → 1. Provide exactly one of ldl_mmol_l or ldl_mg_dl. magent does not assay lipids.","type":"number"},"premature_cerebral_or_pvd":{"description":"Premature cerebral or peripheral vascular disease in the subject (Nordestgaard 2013 Table 1 clinical history, 1 point). true or false as assigned by the caller. magent does not diagnose vascular disease.","type":"boolean"},"premature_chd":{"description":"Premature coronary heart disease in the subject (Nordestgaard 2013 Table 1 clinical history, 2 points; men \u003c55 years / women \u003c60 years as assigned by the caller). true or false. magent does not diagnose CHD or compute age or sex. If premature_cerebral_or_pvd is also true, the clinical group is 2, not 3.","type":"boolean"},"tendon_xanthoma":{"description":"Tendon xanthoma in the subject (Nordestgaard 2013 Table 1 physical examination, 6 points). true or false as assigned by the caller. magent does not examine tendons. If corneal_arcus_age_lt_45 is also true, the physical group is 6, not 10.","type":"boolean"}},"required":["first_degree_premature_chd","first_degree_ldl_gt_95th","first_degree_xanthoma_or_arcus","child_ldl_gt_95th","premature_chd","premature_cerebral_or_pvd","tendon_xanthoma","corneal_arcus_age_lt_45","causative_mutation_ldlr_apob_pcsk9"],"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"}}},"lastUpdated":"2026-10-05T14:20:14.369Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:20:14.221Z"},"resource":"https://api.magentlab.com/api/calc/dutch_fh","serviceName":"magent","tags":["dutch-fh","fh","lipids","dlcn","xanthoma"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/medped","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Williams 1993 US MEDPED total cholesterol cutoffs by age and relative degree (first, second, third, or general population). Meets the published criterion iff total cholesterol in mg/dL is greater than the table cutoff (mmol/L converted as mg/dL = mmol/L * 38.67). Total cholesterol only; not Dutch Lipid Clinic or Simon Broome. Not a medical device and not a diagnosis of familial hypercholesterolemia.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"relative_degree":"general_population","total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":10},{"age":50,"relative_degree":"general_population","total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"citation":{"authors":"Williams RR, Hunt SC, Schumacher MC, Hegele RA, Leppert MF, Ludwig EH, Hopkins PN","doi":"10.1016/0002-9149(93)90155-6","id":"williams-1993","pmid":"8328379","source":"Am J Cardiol. 1993;72(2):171-176","title":"Diagnosing heterozygous familial hypercholesterolemia using new practical criteria validated by molecular genetics"},"classification":"below_cutoff","criteria":[{"cutoff_mg_dl":360,"factor":"total_cholesterol_gt_cutoff","met":false,"value":200}],"cutoff_mg_dl":360,"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":"medped","formula_expression":"meets_criteria iff total_cholesterol_mg_dl \u003e cutoff_mg_dl (Williams 1993 US MEDPED total cholesterol); mmol/L converted as mg/dL = mmol/L * 38.67; age \u003c20: first 220, second 230, third 240, general_population 270; 20-29: 240/250/260/290; 30-39: 270/280/290/340; \u003e=40: 290/300/310/360","meets_criteria":false,"relative_degree":"general_population","total_cholesterol_mg_dl":200},{"age":50,"citation":{"authors":"Williams RR, Hunt SC, Schumacher MC, Hegele RA, Leppert MF, Ludwig EH, Hopkins PN","doi":"10.1016/0002-9149(93)90155-6","id":"williams-1993","pmid":"8328379","source":"Am J Cardiol. 1993;72(2):171-176","title":"Diagnosing heterozygous familial hypercholesterolemia using new practical criteria validated by molecular genetics"},"classification":"below_cutoff","criteria":[{"cutoff_mg_dl":360,"factor":"total_cholesterol_gt_cutoff","met":false,"value":200}],"cutoff_mg_dl":360,"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":"medped","formula_expression":"meets_criteria iff total_cholesterol_mg_dl \u003e cutoff_mg_dl (Williams 1993 US MEDPED total cholesterol); mmol/L converted as mg/dL = mmol/L * 38.67; age \u003c20: first 220, second 230, third 240, general_population 270; 20-29: 240/250/260/290; 30-39: 270/280/290/340; \u003e=40: 290/300/310/360","meets_criteria":false,"relative_degree":"general_population","total_cholesterol_mg_dl":200}],"path":"/api/calc/medped"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 1-120). Selects the Williams 1993 US MEDPED total cholesterol row: \u003c20, 20-29, 30-39, or \u003e=40.","type":"integer"},"relative_degree":{"description":"Relative degree as assigned by the caller: first, second, third, or general_population (Williams 1993). magent does not take a pedigree.","type":"string"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Provide exactly one of total_cholesterol_mg_dl or total_cholesterol_mmol_l. Meets the published cutoff iff this value is greater than the age- and relative-degree-specific mg/dL cutoff. magent does not assay lipids.","type":"number"},"total_cholesterol_mmol_l":{"description":"Total cholesterol in mmol/L (1.3-20). Converted as mg/dL = mmol/L * 38.67, then compared with the US MEDPED mg/dL cutoff. Provide exactly one lipid parameter.","type":"number"}},"required":["age","relative_degree"],"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"}}},"lastUpdated":"2026-10-05T14:20:07.548Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:20:07.41Z"},"resource":"https://api.magentlab.com/api/calc/medped","serviceName":"magent","tags":["medped","fh","lipids","cholesterol","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/simon_broome","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Simon Broome Register 1991 adult definite familial hypercholesterolaemia: total cholesterol \u003e7.5 mmol/L or LDL cholesterol \u003e4.9 mmol/L plus tendon xanthomas in the patient or a relative (parent, child, grandparent, sibling, uncle, or aunt). One lipid (mmol/L or mg/dL). magent does not assay lipids or examine tendons. Not a diagnosis, not possible FH, and not a DNA or child-cutoff classifier.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ldl_mg_dl":200,"ldl_mmol_l":5,"tendon_xanthoma_patient_or_relative":true,"total_cholesterol_mg_dl":310,"total_cholesterol_mmol_l":8},{"ldl_mg_dl":200,"ldl_mmol_l":5,"tendon_xanthoma_patient_or_relative":true,"total_cholesterol_mg_dl":310,"total_cholesterol_mmol_l":8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"cholesterol_threshold_met":true,"citation":{"authors":"Scientific Steering Committee on behalf of the Simon Broome Register Group","doi":"10.1136/bmj.303.6807.893","id":"simon-broome-1991","source":"BMJ. 1991;303(6807):893-896","title":"Risk of fatal coronary heart disease in familial hypercholesterolaemia"},"classification":"definite","components":[{"factor":"cholesterol_threshold","met":true,"value":8},{"factor":"tendon_xanthoma","met":true}],"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":"simon_broome","formula_expression":"definite FH iff (total cholesterol \u003e7.5 mmol/L or LDL cholesterol \u003e4.9 mmol/L) and tendon xanthomas in the patient or a relative (parent, child, grandparent, sibling, uncle, or aunt); adult 1991 register definition","lipid_kind":"total_cholesterol","lipid_mmol_l":8,"tendon_xanthoma_patient_or_relative":true},{"cholesterol_threshold_met":true,"citation":{"authors":"Scientific Steering Committee on behalf of the Simon Broome Register Group","doi":"10.1136/bmj.303.6807.893","id":"simon-broome-1991","source":"BMJ. 1991;303(6807):893-896","title":"Risk of fatal coronary heart disease in familial hypercholesterolaemia"},"classification":"definite","components":[{"factor":"cholesterol_threshold","met":true,"value":8},{"factor":"tendon_xanthoma","met":true}],"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":"simon_broome","formula_expression":"definite FH iff (total cholesterol \u003e7.5 mmol/L or LDL cholesterol \u003e4.9 mmol/L) and tendon xanthomas in the patient or a relative (parent, child, grandparent, sibling, uncle, or aunt); adult 1991 register definition","lipid_kind":"total_cholesterol","lipid_mmol_l":8,"tendon_xanthoma_patient_or_relative":true}],"path":"/api/calc/simon_broome"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ldl_mg_dl":{"description":"LDL cholesterol in mg/dL (40-600). Converted to mmol/L as mg/dL / 38.67, then compared with \u003e4.9. Provide exactly one lipid parameter.","type":"number"},"ldl_mmol_l":{"description":"LDL cholesterol in mmol/L (1-15). Adult threshold is \u003e4.9 mmol/L (4.9 does not meet). Provide exactly one lipid parameter. magent does not assay lipids.","type":"number"},"tendon_xanthoma_patient_or_relative":{"description":"Tendon xanthomas in the patient or a relative (parent, child, grandparent, sibling, uncle, or aunt) as assigned by the caller. true or false. magent does not examine tendons or take a pedigree.","type":"boolean"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Converted to mmol/L as mg/dL / 38.67, then compared with \u003e7.5. Provide exactly one lipid parameter.","type":"number"},"total_cholesterol_mmol_l":{"description":"Total cholesterol in mmol/L (1.3-20). Adult threshold is \u003e7.5 mmol/L (7.5 does not meet). Provide exactly one of total_cholesterol_mmol_l, total_cholesterol_mg_dl, ldl_mmol_l, or ldl_mg_dl. magent does not assay lipids.","type":"number"}},"required":["tendon_xanthoma_patient_or_relative"],"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"}}},"lastUpdated":"2026-10-05T14:19:59.939Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:19:59.812Z"},"resource":"https://api.magentlab.com/api/calc/simon_broome","serviceName":"magent","tags":["simon-broome","fh","lipids","cholesterol","xanthoma"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/sampson","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Sampson 2020 estimated LDL-C from total cholesterol, HDL, and triglycerides (valid through 800 mg/dL). One unit system (mg/dL or mmol/L). Deterministic published equation with citation; not Friedewald, not a diagnosis or statin order.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hdl_mg_dl":50,"hdl_mmol_l":1,"total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":5,"triglycerides_mg_dl":150,"triglycerides_mmol_l":2.2},{"hdl_mg_dl":50,"hdl_mmol_l":1,"total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":5,"triglycerides_mg_dl":150,"triglycerides_mmol_l":2.2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sampson M, Ling C, Sun Q, et al.","doi":"10.1001/jamacardiol.2020.0013","id":"sampson-2020","source":"JAMA Cardiol. 2020;5(5):540-548","title":"A new equation for calculation of low-density lipoprotein cholesterol in patients with normolipidemia and/or hypertriglyceridemia"},"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":"sampson","formula_expression":"LDL-C = TC/0.948 - HDL/0.971 - (TG/8.56 + TG*(TC-HDL)/2140 - TG^2/16100) - 9.44 (mg/dL)","hdl_mg_dl":50,"ldl_c_mg_dl":123.4,"ldl_c_mmol_l":3.2,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150,"unit":"mg_dl"},{"citation":{"authors":"Sampson M, Ling C, Sun Q, et al.","doi":"10.1001/jamacardiol.2020.0013","id":"sampson-2020","source":"JAMA Cardiol. 2020;5(5):540-548","title":"A new equation for calculation of low-density lipoprotein cholesterol in patients with normolipidemia and/or hypertriglyceridemia"},"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":"sampson","formula_expression":"LDL-C = TC/0.948 - HDL/0.971 - (TG/8.56 + TG*(TC-HDL)/2140 - TG^2/16100) - 9.44 (mg/dL)","hdl_mg_dl":50,"ldl_c_mg_dl":123.4,"ldl_c_mmol_l":3.2,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150,"unit":"mg_dl"}],"path":"/api/calc/sampson"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Same unit system as the other lipids.","type":"number"},"hdl_mmol_l":{"description":"HDL cholesterol in mmol/L (0.1-3.9). Converted as mg/dL = mmol/L * 38.67.","type":"number"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-500). Provide the full mg/dL set or the full mmol/L set, not mixed.","type":"number"},"total_cholesterol_mmol_l":{"description":"Total cholesterol in mmol/L (1.3-12.9). Converted as mg/dL = mmol/L * 38.67. Do not mix with mg/dL keys.","type":"number"},"triglycerides_mg_dl":{"description":"Triglycerides in mg/dL (10-800). Values above 800 are rejected; Sampson 2020 is not applied above 800 mg/dL.","type":"number"},"triglycerides_mmol_l":{"description":"Triglycerides in mmol/L (0.1-9.03). Cap is the SI stand-in for 800 mg/dL (mg/dL = mmol/L * 88.57). The Sampson equation is applied in mg/dL.","type":"number"}},"required":[],"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"}}},"lastUpdated":"2026-10-05T14:19:52.943Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:19:52.821Z"},"resource":"https://api.magentlab.com/api/calc/sampson","serviceName":"magent","tags":["ldl","sampson","lipids","cholesterol","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/friedewald","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Friedewald estimated LDL-C from total cholesterol, HDL, and triglycerides. One unit system (mg/dL or mmol/L). Deterministic published equation with citation; not a diagnosis or statin order.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hdl_mg_dl":50,"hdl_mmol_l":1,"total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":5,"triglycerides_mg_dl":150,"triglycerides_mmol_l":2.2},{"hdl_mg_dl":50,"hdl_mmol_l":1,"total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":5,"triglycerides_mg_dl":150,"triglycerides_mmol_l":2.2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Friedewald WT, Levy RI, Fredrickson DS","doi":"10.1093/clinchem/18.6.499","id":"friedewald-1972","source":"Clin Chem. 1972;18(6):499-502","title":"Estimation of the concentration of low-density lipoprotein cholesterol in plasma, without use of the preparative ultracentrifuge"},"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":"friedewald","formula_expression":"ldl_c_mg_dl = total_cholesterol_mg_dl - hdl_mg_dl - (triglycerides_mg_dl / 5)","hdl_mg_dl":50,"ldl_c_mg_dl":120,"ldl_c_mmol_l":3.1,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150,"unit":"mg_dl"},{"citation":{"authors":"Friedewald WT, Levy RI, Fredrickson DS","doi":"10.1093/clinchem/18.6.499","id":"friedewald-1972","source":"Clin Chem. 1972;18(6):499-502","title":"Estimation of the concentration of low-density lipoprotein cholesterol in plasma, without use of the preparative ultracentrifuge"},"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":"friedewald","formula_expression":"ldl_c_mg_dl = total_cholesterol_mg_dl - hdl_mg_dl - (triglycerides_mg_dl / 5)","hdl_mg_dl":50,"ldl_c_mg_dl":120,"ldl_c_mmol_l":3.1,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150,"unit":"mg_dl"}],"path":"/api/calc/friedewald"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Same unit system as the other lipids.","type":"number"},"hdl_mmol_l":{"description":"HDL cholesterol in mmol/L (0.1-3.9). Converted as mg/dL = mmol/L * 38.67.","type":"number"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-500). Provide the full mg/dL set or the full mmol/L set, not mixed.","type":"number"},"total_cholesterol_mmol_l":{"description":"Total cholesterol in mmol/L (1.3-12.9). Converted as mg/dL = mmol/L * 38.67. Do not mix with mg/dL keys.","type":"number"},"triglycerides_mg_dl":{"description":"Triglycerides in mg/dL (10-400). Values above 400 are rejected; Friedewald VLDL is TG/5 for typical specimens only.","type":"number"},"triglycerides_mmol_l":{"description":"Triglycerides in mmol/L (0.1-4.5). Cap is the SI stand-in for 400 mg/dL (mg/dL = mmol/L * 88.57). SI LDL uses TG/2.2.","type":"number"}},"required":[],"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"}}},"lastUpdated":"2026-10-05T14:19:38.795Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:19:38.666Z"},"resource":"https://api.magentlab.com/api/calc/friedewald","serviceName":"magent","tags":["ldl","friedewald","lipids","cholesterol","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/beam","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"BeAM (bedtime minus pre-breakfast glucose) in mg/dL from Zisman 2016. Provide bedtime_glucose_mg_dl or bedtime_glucose_mmol_l independently of AM, and am_glucose_mg_dl or am_glucose_mmol_l. mmol/L converts as mg/dL = mmol/L × 18. Returns beam_mg_dl (1 decimal) and the published analysis band (\u003c0, 0-50, \u003e50). 0 and 50 are 0-50. Does not use a 45 or 55 cutoff, order prandial insulin, or diagnose diabetes.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"am_glucose_mg_dl":120,"am_glucose_mmol_l":6.67,"bedtime_glucose_mg_dl":180,"bedtime_glucose_mmol_l":10},{"am_glucose_mg_dl":120,"am_glucose_mmol_l":6.67,"bedtime_glucose_mg_dl":180,"bedtime_glucose_mmol_l":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"am_glucose_mg_dl":120,"beam_band":"\u003e50","beam_mg_dl":60,"bedtime_glucose_mg_dl":180,"citation":{"authors":"Zisman A, Morales F, Stewart J, Stuhr A, Vlajnic A, Zhou R","doi":"10.1136/bmjdrc-2015-000171","id":"zisman-2016","pmid":"27110368","source":"BMJ Open Diabetes Res Care. 2016;4(1):e000171","title":"BeAM value: an indicator of the need to initiate and intensify prandial therapy in patients with type 2 diabetes mellitus receiving basal insulin"},"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":"beam","formula_expression":"beam_mg_dl = bedtime_glucose_mg_dl - am_glucose_mg_dl; mmol/L × 18 → mg/dL; band \u003c0 if beam_mg_dl \u003c 0, 0-50 if 0 \u003c= beam_mg_dl \u003c= 50, \u003e50 if beam_mg_dl \u003e 50"},{"am_glucose_mg_dl":120,"beam_band":"\u003e50","beam_mg_dl":60,"bedtime_glucose_mg_dl":180,"citation":{"authors":"Zisman A, Morales F, Stewart J, Stuhr A, Vlajnic A, Zhou R","doi":"10.1136/bmjdrc-2015-000171","id":"zisman-2016","pmid":"27110368","source":"BMJ Open Diabetes Res Care. 2016;4(1):e000171","title":"BeAM value: an indicator of the need to initiate and intensify prandial therapy in patients with type 2 diabetes mellitus receiving basal insulin"},"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":"beam","formula_expression":"beam_mg_dl = bedtime_glucose_mg_dl - am_glucose_mg_dl; mmol/L × 18 → mg/dL; band \u003c0 if beam_mg_dl \u003c 0, 0-50 if 0 \u003c= beam_mg_dl \u003c= 50, \u003e50 if beam_mg_dl \u003e 50"}],"path":"/api/calc/beam"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"am_glucose_mg_dl":{"description":"Pre-breakfast (AM) glucose in mg/dL (40-600). Provide this or am_glucose_mmol_l, not both. Independent of the bedtime unit.","type":"number"},"am_glucose_mmol_l":{"description":"Pre-breakfast (AM) glucose in mmol/L (2.2-33.3). Converted as mg/dL = mmol/L × 18. Provide this or am_glucose_mg_dl, not both.","type":"number"},"bedtime_glucose_mg_dl":{"description":"Bedtime glucose in mg/dL (40-600). Provide this or bedtime_glucose_mmol_l, not both. Independent of the AM unit.","type":"number"},"bedtime_glucose_mmol_l":{"description":"Bedtime glucose in mmol/L (2.2-33.3). Converted as mg/dL = mmol/L × 18 (same factor as HOMA-IR). Provide this or bedtime_glucose_mg_dl, not both.","type":"number"}},"required":[],"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"}}},"lastUpdated":"2026-10-05T14:17:38.706Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:17:38.591Z"},"resource":"https://api.magentlab.com/api/calc/beam","serviceName":"magent","tags":["beam","glucose","diabetes","calculator","zisman-2016"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/mets_ir","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Bello-Chavolla 2018 METS-IR: ln(2×glucose_mg_dl + triglycerides_mg_dl)×BMI / ln(HDL_mg_dl), natural log, two decimals. Supply glucose, triglycerides, and HDL each as exactly one of mg/dL or mmol/L (glucose ×18, TG ×88.57, HDL ×38.67). BMI is caller-supplied (10–80). highest_quartile_t2d is true only when METS-IR \u003e 50.39 (derivation highest T2D-risk quartile). Not a diabetes diagnosis, not HOMA-IR/HOMA2, and not a treatment threshold.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bmi_kg_m2":25,"glucose_mg_dl":90,"glucose_mmol_l":5,"hdl_mg_dl":50,"hdl_mmol_l":1.29,"triglycerides_mg_dl":100,"triglycerides_mmol_l":1.13},{"bmi_kg_m2":25,"glucose_mg_dl":90,"glucose_mmol_l":5,"hdl_mg_dl":50,"hdl_mmol_l":1.29,"triglycerides_mg_dl":100,"triglycerides_mmol_l":1.13}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bmi_kg_m2":25,"citation":{"authors":"Bello-Chavolla OY, Almeda-Valdes P, Gomez-Velasco D, Viveros-Ruiz T, Cruz-Bautista I, Romo-Romo A, Sánchez-Lázaro D, Meza-Oviedo D, Vargas-Vázquez A, Campos OA, Sevilla-González MDR, Martagón AJ, Hernández LM, Mehta R, Caballeros-Barragán CR, Aguilar-Salinas CA","doi":"10.1530/eje-17-0883","id":"bello-chavolla-2018","pmid":"29535168","source":"Eur J Endocrinol. 2018;178(5):533-544","title":"METS-IR, a novel score to evaluate insulin sensitivity, is predictive of visceral adiposity and incident type 2 diabetes"},"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":"mets_ir","formula_expression":"mets_ir = ln(2 * glucose_mg_dl + triglycerides_mg_dl) * bmi_kg_m2 / ln(hdl_mg_dl)","glucose_mg_dl":90,"hdl_mg_dl":50,"highest_quartile_t2d":false,"mets_ir":36.01,"triglycerides_mg_dl":100},{"bmi_kg_m2":25,"citation":{"authors":"Bello-Chavolla OY, Almeda-Valdes P, Gomez-Velasco D, Viveros-Ruiz T, Cruz-Bautista I, Romo-Romo A, Sánchez-Lázaro D, Meza-Oviedo D, Vargas-Vázquez A, Campos OA, Sevilla-González MDR, Martagón AJ, Hernández LM, Mehta R, Caballeros-Barragán CR, Aguilar-Salinas CA","doi":"10.1530/eje-17-0883","id":"bello-chavolla-2018","pmid":"29535168","source":"Eur J Endocrinol. 2018;178(5):533-544","title":"METS-IR, a novel score to evaluate insulin sensitivity, is predictive of visceral adiposity and incident type 2 diabetes"},"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":"mets_ir","formula_expression":"mets_ir = ln(2 * glucose_mg_dl + triglycerides_mg_dl) * bmi_kg_m2 / ln(hdl_mg_dl)","glucose_mg_dl":90,"hdl_mg_dl":50,"highest_quartile_t2d":false,"mets_ir":36.01,"triglycerides_mg_dl":100}],"path":"/api/calc/mets_ir"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI.","type":"number"},"glucose_mg_dl":{"description":"Fasting plasma glucose in mg/dL (50-1000). Provide this or glucose_mmol_l, not both.","type":"number"},"glucose_mmol_l":{"description":"Fasting plasma glucose in mmol/L (2.8-55.5). Converted as mg/dL = mmol/L * 18. Provide this or glucose_mg_dl, not both.","type":"number"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Provide this or hdl_mmol_l, not both. Used in the natural-log term.","type":"number"},"hdl_mmol_l":{"description":"HDL cholesterol in mmol/L (0.1-3.9). Converted as mg/dL = mmol/L * 38.67. Provide this or hdl_mg_dl, not both.","type":"number"},"triglycerides_mg_dl":{"description":"Triglycerides in mg/dL (10-2000). Provide this or triglycerides_mmol_l, not both.","type":"number"},"triglycerides_mmol_l":{"description":"Triglycerides in mmol/L (0.11-22.6). Converted as mg/dL = mmol/L * 88.57. Provide this or triglycerides_mg_dl, not both.","type":"number"}},"required":["bmi_kg_m2"],"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"}}},"lastUpdated":"2026-10-05T14:16:35.49Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:16:35.362Z"},"resource":"https://api.magentlab.com/api/calc/mets_ir","serviceName":"magent","tags":["mets-ir","insulin-sensitivity","triglycerides","glucose","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/homa_ir","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"HOMA-IR as (fasting glucose in mmol/L × insulin in µU/mL) / 22.5 (Matthews et al. 1985). Provide glucose_mg_dl (50–1000) or glucose_mmol_l (2.8–55.5), not both; mg/dL converts as mmol/L = mg/dL / 18. Returns the approximation rounded to two decimals. Not HOMA-B, not the HOMA2 computer model, not a diabetes diagnosis, and not an insulin-resistance cutoff.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"glucose_mg_dl":90,"glucose_mmol_l":5,"insulin_uu_ml":10},{"glucose_mg_dl":90,"glucose_mmol_l":5,"insulin_uu_ml":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Matthews DR, Hosker JP, Rudenski AS, Naylor BA, Treacher DF, Turner RC","doi":"10.1007/BF00280883","id":"matthews-1985","source":"Diabetologia. 1985;28(7):412-419","title":"Homeostasis model assessment: insulin resistance and beta-cell function from fasting plasma glucose and insulin concentrations in man"},"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":"homa_ir","formula_expression":"homa_ir = (glucose_mmol_l * insulin_uu_ml) / 22.5","glucose_mmol_l":5,"homa_ir":2.22,"insulin_uu_ml":10},{"citation":{"authors":"Matthews DR, Hosker JP, Rudenski AS, Naylor BA, Treacher DF, Turner RC","doi":"10.1007/BF00280883","id":"matthews-1985","source":"Diabetologia. 1985;28(7):412-419","title":"Homeostasis model assessment: insulin resistance and beta-cell function from fasting plasma glucose and insulin concentrations in man"},"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":"homa_ir","formula_expression":"homa_ir = (glucose_mmol_l * insulin_uu_ml) / 22.5","glucose_mmol_l":5,"homa_ir":2.22,"insulin_uu_ml":10}],"path":"/api/calc/homa_ir"},"type":"json"}},"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 plasma glucose in mg/dL (50-1000). Converted as mmol/L = mg/dL / 18. Provide this or glucose_mmol_l, not both.","type":"number"},"glucose_mmol_l":{"description":"Fasting plasma glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both.","type":"number"},"insulin_uu_ml":{"description":"Fasting insulin in µU/mL (= mU/L) (0.1-500).","type":"number"}},"required":["insulin_uu_ml"],"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"}}},"lastUpdated":"2026-10-05T14:16:21.138Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:16:20.99Z"},"resource":"https://api.magentlab.com/api/calc/homa_ir","serviceName":"magent","tags":["homa-ir","insulin","glucose","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/a1c_eag","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Nathan/ADAG A1C to estimated average glucose conversion, or the reverse. Provide exactly one of a1c_percent or eAG. Deterministic published equation with citation.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"a1c_percent":7,"eag_mg_dl":154,"eag_mmol_l":8.6},{"a1c_percent":7,"eag_mg_dl":154,"eag_mmol_l":8.6}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"a1c_percent":7,"citation":{"authors":"Nathan DM, Kuenen J, Borg R, Zheng H, Schoenfeld D, Heine RJ","doi":"10.2337/dc08-0545","id":"nathan-2008","source":"Diabetes Care. 2008;31(8):1473-1478","title":"Translating the A1C assay into estimated average glucose values"},"direction":"a1c_to_eag","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.","eag_mg_dl":154.2,"eag_mmol_l":8.6,"formula":"nathan_adag","formula_expression":"eAG_mg_dl = 28.7 * A1C_percent - 46.7"},{"a1c_percent":7,"citation":{"authors":"Nathan DM, Kuenen J, Borg R, Zheng H, Schoenfeld D, Heine RJ","doi":"10.2337/dc08-0545","id":"nathan-2008","source":"Diabetes Care. 2008;31(8):1473-1478","title":"Translating the A1C assay into estimated average glucose values"},"direction":"a1c_to_eag","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.","eag_mg_dl":154.2,"eag_mmol_l":8.6,"formula":"nathan_adag","formula_expression":"eAG_mg_dl = 28.7 * A1C_percent - 46.7"}],"path":"/api/calc/a1c_eag"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"a1c_percent":{"description":"HbA1c in percent (4-15). Provide this or an eAG, not both.","type":"number"},"eag_mg_dl":{"description":"Estimated average glucose in mg/dL (50-500).","type":"number"},"eag_mmol_l":{"description":"Estimated average glucose in mmol/L. Converted as mg/dL = mmol/L * 18.","type":"number"}},"required":[],"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"}}},"lastUpdated":"2026-10-05T14:16:13.918Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:16:13.79Z"},"resource":"https://api.magentlab.com/api/calc/a1c_eag","serviceName":"magent","tags":["a1c","eag","diabetes","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/ho_index","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Ho 2004 day-3 IV-steroid score for severe UC (0–9): mean stools (\u003c4 → 0; 4 ≤ x \u003c 6 → 1; 6 ≤ x ≤ 9 → 2; x \u003e 9 → 4), caller-assigned colonic dilatation (+4), albumin \u003c30 g/L (+1; 30 is not low). Failure: 0–1 → 11%, 2–3 → 43%, ≥4 → 85% (ROC ≥4). Not Travis, not Truelove and Witts, not a colectomy order. magent does not count stools, read films, or measure albumin.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":3.5,"albumin_g_l":35,"colonic_dilatation":false,"mean_stool_frequency":3},{"albumin_g_dl":3.5,"albumin_g_l":35,"colonic_dilatation":false,"mean_stool_frequency":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_l":35,"citation":{"authors":"Ho GT, Mowat C, Goddard CJ, Fennell JM, Shah NB, Prescott RJ, Satsangi J","doi":"10.1111/j.1365-2036.2004.01945.x","id":"ho-2004","pmid":"15142197","source":"Aliment Pharmacol Ther. 2004;19(10):1079-1087","title":"Predicting the outcome of severe ulcerative colitis: development of a novel risk score to aid early selection of patients for second-line medical therapy or surgery"},"colonic_dilatation":false,"components":[{"factor":"mean_stool_frequency","points":0,"present":false,"value":3},{"factor":"colonic_dilatation","points":0,"present":false},{"factor":"hypoalbuminaemia","points":0,"present":false,"value":35}],"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":"ho_index","formula_expression":"Ho 2004 day-3 IV-steroid severe UC: stool_points(\u003c4 → 0; 4 ≤ mean_stool_frequency \u003c 6 → 1; 6 ≤ x ≤ 9 → 2; x \u003e 9 → 4) + colonic_dilatation (true → 4) + hypoalbuminaemia (albumin_g_l \u003c 30 → 1); max 9; medical-therapy failure 0–1 → 11%, 2–3 → 43%, ≥4 → 85% (ROC operating point ≥4)","hypoalbuminaemia":false,"max_score":9,"mean_stool_frequency":3,"medical_failure_percent":11,"risk":"low","score":0,"score_ge_4":false},{"albumin_g_l":35,"citation":{"authors":"Ho GT, Mowat C, Goddard CJ, Fennell JM, Shah NB, Prescott RJ, Satsangi J","doi":"10.1111/j.1365-2036.2004.01945.x","id":"ho-2004","pmid":"15142197","source":"Aliment Pharmacol Ther. 2004;19(10):1079-1087","title":"Predicting the outcome of severe ulcerative colitis: development of a novel risk score to aid early selection of patients for second-line medical therapy or surgery"},"colonic_dilatation":false,"components":[{"factor":"mean_stool_frequency","points":0,"present":false,"value":3},{"factor":"colonic_dilatation","points":0,"present":false},{"factor":"hypoalbuminaemia","points":0,"present":false,"value":35}],"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":"ho_index","formula_expression":"Ho 2004 day-3 IV-steroid severe UC: stool_points(\u003c4 → 0; 4 ≤ mean_stool_frequency \u003c 6 → 1; 6 ≤ x ≤ 9 → 2; x \u003e 9 → 4) + colonic_dilatation (true → 4) + hypoalbuminaemia (albumin_g_l \u003c 30 → 1); max 9; medical-therapy failure 0–1 → 11%, 2–3 → 43%, ≥4 → 85% (ROC operating point ≥4)","hypoalbuminaemia":false,"max_score":9,"mean_stool_frequency":3,"medical_failure_percent":11,"risk":"low","score":0,"score_ge_4":false}],"path":"/api/calc/ho_index"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Ho 2004 hypoalbuminaemia is \u003c30 g/L (30 is not low). magent does not assay albumin.","type":"number"},"colonic_dilatation":{"description":"Caller-assigned colonic dilatation (Ho 2004). true scores 4; false scores 0. magent does not read an abdominal film and does not invent a centimetre cutoff.","type":"boolean"},"mean_stool_frequency":{"description":"Mean stool frequency over the first 3 days of IV steroids, as assigned by the caller (number 0-40). Ho 2004: \u003c4 scores 0; 4 ≤ x \u003c 6 scores 1; 6 ≤ x ≤ 9 scores 2; x \u003e 9 scores 4. Exactly 6 and exactly 9 score 2. magent does not count stools.","type":"number"}},"required":["mean_stool_frequency","colonic_dilatation"],"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"}}},"lastUpdated":"2026-10-05T14:15:38.463Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:15:38.343Z"},"resource":"https://api.magentlab.com/api/calc/ho_index","serviceName":"magent","tags":["ho-index","ulcerative-colitis","gi","albumin","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/ses_cd","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Daperno 2004 simplified endoscopic activity score for Crohn's disease (SES-CD): caller-assigned integers 0-3 for ulcers, ulcerated_surface, affected_surface, and narrowings in ileum, right_colon, transverse_colon, left_colon, and rectum (20 params). magent sums only (max 60). Unexamined segments are 0 as assigned by the caller. Daperno 2004 did not publish remission or response bands; magent returns score and max_score only. magent does not perform endoscopy. Not CDEIS and not Best 1976 CDAI.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ileum_affected_surface":0,"ileum_narrowings":0,"ileum_ulcerated_surface":0,"ileum_ulcers":0,"left_colon_affected_surface":0,"left_colon_narrowings":0,"left_colon_ulcerated_surface":0,"left_colon_ulcers":0,"rectum_affected_surface":0,"rectum_narrowings":0,"rectum_ulcerated_surface":0,"rectum_ulcers":0,"right_colon_affected_surface":0,"right_colon_narrowings":0,"right_colon_ulcerated_surface":0,"right_colon_ulcers":0,"transverse_colon_affected_surface":0,"transverse_colon_narrowings":0,"transverse_colon_ulcerated_surface":0,"transverse_colon_ulcers":0},{"ileum_affected_surface":0,"ileum_narrowings":0,"ileum_ulcerated_surface":0,"ileum_ulcers":0,"left_colon_affected_surface":0,"left_colon_narrowings":0,"left_colon_ulcerated_surface":0,"left_colon_ulcers":0,"rectum_affected_surface":0,"rectum_narrowings":0,"rectum_ulcerated_surface":0,"rectum_ulcers":0,"right_colon_affected_surface":0,"right_colon_narrowings":0,"right_colon_ulcerated_surface":0,"right_colon_ulcers":0,"transverse_colon_affected_surface":0,"transverse_colon_narrowings":0,"transverse_colon_ulcerated_surface":0,"transverse_colon_ulcers":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Daperno M, D'Haens G, Van Assche G, et al.","doi":"10.1016/s0016-5107(04)01878-4","id":"daperno-2004","pmid":"15472670","source":"Gastrointest Endosc. 2004;60(4):505-512","title":"Development and validation of a new, simplified endoscopic activity score for Crohn's disease: the SES-CD."},"components":[{"factor":"ileum_ulcers","points":0,"present":true,"value":0},{"factor":"ileum_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"ileum_affected_surface","points":0,"present":true,"value":0},{"factor":"ileum_narrowings","points":0,"present":true,"value":0},{"factor":"right_colon_ulcers","points":0,"present":true,"value":0},{"factor":"right_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"right_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"right_colon_narrowings","points":0,"present":true,"value":0},{"factor":"transverse_colon_ulcers","points":0,"present":true,"value":0},{"factor":"transverse_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"transverse_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"transverse_colon_narrowings","points":0,"present":true,"value":0},{"factor":"left_colon_ulcers","points":0,"present":true,"value":0},{"factor":"left_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"left_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"left_colon_narrowings","points":0,"present":true,"value":0},{"factor":"rectum_ulcers","points":0,"present":true,"value":0},{"factor":"rectum_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"rectum_affected_surface","points":0,"present":true,"value":0},{"factor":"rectum_narrowings","points":0,"present":true,"value":0}],"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":"ses_cd","formula_expression":"SES-CD = sum of ulcers, ulcerated_surface, affected_surface, and narrowings (each integer 0-3) in ileum, right_colon, transverse_colon, left_colon, and rectum; Daperno 2004 caller-assigned; max 60; unexamined segments 0 as assigned by the caller; no published activity bands","max_score":60,"score":0},{"citation":{"authors":"Daperno M, D'Haens G, Van Assche G, et al.","doi":"10.1016/s0016-5107(04)01878-4","id":"daperno-2004","pmid":"15472670","source":"Gastrointest Endosc. 2004;60(4):505-512","title":"Development and validation of a new, simplified endoscopic activity score for Crohn's disease: the SES-CD."},"components":[{"factor":"ileum_ulcers","points":0,"present":true,"value":0},{"factor":"ileum_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"ileum_affected_surface","points":0,"present":true,"value":0},{"factor":"ileum_narrowings","points":0,"present":true,"value":0},{"factor":"right_colon_ulcers","points":0,"present":true,"value":0},{"factor":"right_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"right_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"right_colon_narrowings","points":0,"present":true,"value":0},{"factor":"transverse_colon_ulcers","points":0,"present":true,"value":0},{"factor":"transverse_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"transverse_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"transverse_colon_narrowings","points":0,"present":true,"value":0},{"factor":"left_colon_ulcers","points":0,"present":true,"value":0},{"factor":"left_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"left_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"left_colon_narrowings","points":0,"present":true,"value":0},{"factor":"rectum_ulcers","points":0,"present":true,"value":0},{"factor":"rectum_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"rectum_affected_surface","points":0,"present":true,"value":0},{"factor":"rectum_narrowings","points":0,"present":true,"value":0}],"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":"ses_cd","formula_expression":"SES-CD = sum of ulcers, ulcerated_surface, affected_surface, and narrowings (each integer 0-3) in ileum, right_colon, transverse_colon, left_colon, and rectum; Daperno 2004 caller-assigned; max 60; unexamined segments 0 as assigned by the caller; no published activity bands","max_score":60,"score":0}],"path":"/api/calc/ses_cd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ileum_affected_surface":{"description":"Caller-assigned Daperno 2004 SES-CD affected surface for the ileum (integer 0-3; Table 1: 0 unaffected / 1 \u003c50% / 2 50–75% / 3 \u003e75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"ileum_narrowings":{"description":"Caller-assigned Daperno 2004 SES-CD narrowings for the ileum (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"ileum_ulcerated_surface":{"description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the ileum (integer 0-3; Table 1: 0 none / 1 \u003c10% / 2 10–30% / 3 \u003e30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"ileum_ulcers":{"description":"Caller-assigned Daperno 2004 SES-CD ulcers for the ileum (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large \u003e2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"left_colon_affected_surface":{"description":"Caller-assigned Daperno 2004 SES-CD affected surface for the left colon (integer 0-3; Table 1: 0 unaffected / 1 \u003c50% / 2 50–75% / 3 \u003e75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"left_colon_narrowings":{"description":"Caller-assigned Daperno 2004 SES-CD narrowings for the left colon (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"left_colon_ulcerated_surface":{"description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the left colon (integer 0-3; Table 1: 0 none / 1 \u003c10% / 2 10–30% / 3 \u003e30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"left_colon_ulcers":{"description":"Caller-assigned Daperno 2004 SES-CD ulcers for the left colon (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large \u003e2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"rectum_affected_surface":{"description":"Caller-assigned Daperno 2004 SES-CD affected surface for the rectum (integer 0-3; Table 1: 0 unaffected / 1 \u003c50% / 2 50–75% / 3 \u003e75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"rectum_narrowings":{"description":"Caller-assigned Daperno 2004 SES-CD narrowings for the rectum (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"rectum_ulcerated_surface":{"description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the rectum (integer 0-3; Table 1: 0 none / 1 \u003c10% / 2 10–30% / 3 \u003e30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"rectum_ulcers":{"description":"Caller-assigned Daperno 2004 SES-CD ulcers for the rectum (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large \u003e2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"right_colon_affected_surface":{"description":"Caller-assigned Daperno 2004 SES-CD affected surface for the right colon (integer 0-3; Table 1: 0 unaffected / 1 \u003c50% / 2 50–75% / 3 \u003e75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"right_colon_narrowings":{"description":"Caller-assigned Daperno 2004 SES-CD narrowings for the right colon (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"right_colon_ulcerated_surface":{"description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the right colon (integer 0-3; Table 1: 0 none / 1 \u003c10% / 2 10–30% / 3 \u003e30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"right_colon_ulcers":{"description":"Caller-assigned Daperno 2004 SES-CD ulcers for the right colon (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large \u003e2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"transverse_colon_affected_surface":{"description":"Caller-assigned Daperno 2004 SES-CD affected surface for the transverse colon (integer 0-3; Table 1: 0 unaffected / 1 \u003c50% / 2 50–75% / 3 \u003e75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"transverse_colon_narrowings":{"description":"Caller-assigned Daperno 2004 SES-CD narrowings for the transverse colon (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"transverse_colon_ulcerated_surface":{"description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the transverse colon (integer 0-3; Table 1: 0 none / 1 \u003c10% / 2 10–30% / 3 \u003e30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"transverse_colon_ulcers":{"description":"Caller-assigned Daperno 2004 SES-CD ulcers for the transverse colon (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large \u003e2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"}},"required":["ileum_ulcers","ileum_ulcerated_surface","ileum_affected_surface","ileum_narrowings","right_colon_ulcers","right_colon_ulcerated_surface","right_colon_affected_surface","right_colon_narrowings","transverse_colon_ulcers","transverse_colon_ulcerated_surface","transverse_colon_affected_surface","transverse_colon_narrowings","left_colon_ulcers","left_colon_ulcerated_surface","left_colon_affected_surface","left_colon_narrowings","rectum_ulcers","rectum_ulcerated_surface","rectum_affected_surface","rectum_narrowings"],"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"}}},"lastUpdated":"2026-10-05T14:09:31.04Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:09:30.853Z"},"resource":"https://api.magentlab.com/api/calc/ses_cd","serviceName":"magent","tags":["ses-cd","crohns","endoscopy","gi","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/montreal_ibd","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Satsangi 2006 Montreal IBD phenotype (Vienna revision). Crohn: A1-A3, L1-L4, B1-B3, optional +L4 (not when isolated L4) and p. UC: E1-E3 plus S0-S3 as assigned. Compact string, no spaces. Not an activity index (not CDAI/Mayo), not Paris, not IBDU. magent does not perform endoscopy. Not a diagnosis. Not a medical device.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_at_diagnosis":"A2","behaviour":"B1","disease":"crohn","extent":"E1","location":"L3","perianal":false,"severity":"S0","upper_gi":false},{"age_at_diagnosis":"A2","behaviour":"B1","disease":"crohn","extent":"E1","location":"L3","perianal":false,"severity":"S0","upper_gi":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Satsangi J, Silverberg MS, Vermeire S, Colombel JF","doi":"10.1136/gut.2005.082909","id":"satsangi-2006","pmid":"16698746","source":"Gut. 2006;55(6):749-753","title":"The Montreal classification of inflammatory bowel disease: controversies, consensus, and implications"},"criteria":[{"factor":"disease_crohn","met":true},{"factor":"disease_uc","met":false},{"factor":"A1","met":false},{"factor":"A2","met":true},{"factor":"A3","met":false},{"factor":"L1","met":false},{"factor":"L2","met":false},{"factor":"L3","met":true},{"factor":"L4","met":false},{"factor":"upper_gi","met":false},{"factor":"B1","met":true},{"factor":"B2","met":false},{"factor":"B3","met":false},{"factor":"perianal","met":false}],"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.","disease":"crohn","formula":"montreal_ibd","formula_expression":"Crohn phenotype = age_at_diagnosis (A1 ≤16 y, A2 17-40 y, A3 \u003e40 y) + location (L1 ileal, L2 colonic, L3 ileocolonic, L4 isolated upper GI) + optional +L4 when concomitant upper GI with L1-L3 (forbidden when location is isolated L4) + behaviour (B1 non-stricturing non-penetrating, B2 stricturing, B3 penetrating) + optional p when concomitant perianal disease; UC phenotype = extent (E1 ulcerative proctitis distal to the rectosigmoid junction, E2 left-sided distal to the splenic flexure, E3 extensive proximal to the splenic flexure) + severity (S0 clinical remission, S1 mild, S2 moderate, S3 severe as assigned) (Satsangi 2006 Montreal revision of Vienna). Compact string, no spaces. Not a disease-activity score. magent does not perform endoscopy. Not Paris pediatric classification.","phenotype":"A2L3B1"},{"citation":{"authors":"Satsangi J, Silverberg MS, Vermeire S, Colombel JF","doi":"10.1136/gut.2005.082909","id":"satsangi-2006","pmid":"16698746","source":"Gut. 2006;55(6):749-753","title":"The Montreal classification of inflammatory bowel disease: controversies, consensus, and implications"},"criteria":[{"factor":"disease_crohn","met":true},{"factor":"disease_uc","met":false},{"factor":"A1","met":false},{"factor":"A2","met":true},{"factor":"A3","met":false},{"factor":"L1","met":false},{"factor":"L2","met":false},{"factor":"L3","met":true},{"factor":"L4","met":false},{"factor":"upper_gi","met":false},{"factor":"B1","met":true},{"factor":"B2","met":false},{"factor":"B3","met":false},{"factor":"perianal","met":false}],"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.","disease":"crohn","formula":"montreal_ibd","formula_expression":"Crohn phenotype = age_at_diagnosis (A1 ≤16 y, A2 17-40 y, A3 \u003e40 y) + location (L1 ileal, L2 colonic, L3 ileocolonic, L4 isolated upper GI) + optional +L4 when concomitant upper GI with L1-L3 (forbidden when location is isolated L4) + behaviour (B1 non-stricturing non-penetrating, B2 stricturing, B3 penetrating) + optional p when concomitant perianal disease; UC phenotype = extent (E1 ulcerative proctitis distal to the rectosigmoid junction, E2 left-sided distal to the splenic flexure, E3 extensive proximal to the splenic flexure) + severity (S0 clinical remission, S1 mild, S2 moderate, S3 severe as assigned) (Satsangi 2006 Montreal revision of Vienna). Compact string, no spaces. Not a disease-activity score. magent does not perform endoscopy. Not Paris pediatric classification.","phenotype":"A2L3B1"}],"path":"/api/calc/montreal_ibd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_at_diagnosis":{"description":"Montreal Crohn age at diagnosis as assigned (Satsangi 2006): A1 ≤16 years, A2 17-40 years, A3 \u003e40 years. Required when disease=crohn. Omit when disease=uc. magent does not assign the A token from a chart.","enum":["A1","A2","A3"],"type":"string"},"behaviour":{"description":"Montreal Crohn behaviour as assigned (Satsangi 2006): B1 non-stricturing non-penetrating, B2 stricturing, B3 penetrating. Required when disease=crohn. Omit when disease=uc. magent does not perform endoscopy.","enum":["B1","B2","B3"],"type":"string"},"disease":{"description":"Satsangi 2006 Montreal disease as assigned: crohn or uc. IBDU and indeterminate colitis are not encoded. magent does not diagnose IBD.","enum":["crohn","uc"],"type":"string"},"extent":{"description":"Montreal UC extent as assigned (Satsangi 2006): E1 ulcerative proctitis (distal to the rectosigmoid junction), E2 left-sided (distal to the splenic flexure), E3 extensive (proximal to the splenic flexure). Required when disease=uc. Omit when disease=crohn. magent does not perform endoscopy.","enum":["E1","E2","E3"],"type":"string"},"location":{"description":"Montreal Crohn location as assigned (Satsangi 2006): L1 ileal, L2 colonic, L3 ileocolonic, L4 isolated upper GI. Required when disease=crohn. Omit when disease=uc. magent does not perform endoscopy.","enum":["L1","L2","L3","L4"],"type":"string"},"perianal":{"description":"Concomitant perianal disease as assigned (Satsangi 2006 p modifier). true appends p after B1, B2, or B3. Required when disease=crohn. Omit when disease=uc. magent does not examine the patient.","type":"boolean"},"severity":{"description":"Montreal UC severity as assigned (Satsangi 2006): S0 clinical remission; S1 mild (≤4 stools/day with or without blood, no systemic illness, normal ESR); S2 moderate (\u003e4 stools/day, minimal systemic toxicity); S3 severe (≥6 bloody stools/day AND pulse ≥90 AND temperature ≥37.5°C AND haemoglobin \u003c10.5 g/100 ml AND ESR ≥30 mm/h). The caller assigns the S token. Required when disease=uc. Omit when disease=crohn. magent does not take vitals.","enum":["S0","S1","S2","S3"],"type":"string"},"upper_gi":{"description":"Concomitant upper GI disease as assigned (Satsangi 2006 L4 modifier). true adds +L4 after L1, L2, or L3. Must be false when location is isolated L4. Required when disease=crohn. Omit when disease=uc. magent does not perform endoscopy.","type":"boolean"}},"required":["disease"],"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"}}},"lastUpdated":"2026-10-05T14:09:24.01Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:09:23.84Z"},"resource":"https://api.magentlab.com/api/calc/montreal_ibd","serviceName":"magent","tags":["montreal-ibd","crohn","ulcerative-colitis","gi","phenotype"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/oakland","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Oakland 2017 risk score for safe discharge after acute lower gastrointestinal bleeding. Points from age (0-2), sex (male 1), previous LGIB admission (1), caller-assigned blood on digital rectal examination (1), heart rate (0-3), systolic BP (0-5), and hemoglobin g/dL (0-22); max 35. safe_discharge when score ≤8 (derivation cutoff, not a later US validation). Not a discharge order or LGIB diagnosis. magent does not examine the rectum or assay hemoglobin. Hemoglobin g/dL or g/L.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":35,"dre_blood":false,"heart_rate_bpm":65,"hemoglobin_g_dl":16.5,"hemoglobin_g_l":165,"previous_lgib_admission":false,"sex":"female","systolic_mm_hg":165},{"age":35,"dre_blood":false,"heart_rate_bpm":65,"hemoglobin_g_dl":16.5,"hemoglobin_g_l":165,"previous_lgib_admission":false,"sex":"female","systolic_mm_hg":165}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":35,"citation":{"authors":"Oakland K, Jairath V, Uberoi R, Guy R, Ayaru L, Mortensen N, Murphy MF, Collins GS","doi":"10.1016/s2468-1253(17)30150-4","id":"oakland-2017","pmid":"28651935","source":"Lancet Gastroenterol Hepatol. 2017;2(9):635-643","title":"Derivation and validation of a novel risk score for safe discharge after acute lower gastrointestinal bleeding: a modelling study"},"components":[{"factor":"age","points":0,"present":false,"value":35},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"previous_lgib_admission","points":0,"present":false},{"factor":"dre_blood","points":0,"present":false},{"factor":"heart_rate","points":0,"present":false,"value":65},{"factor":"systolic","points":0,"present":false,"value":165},{"factor":"hemoglobin","points":0,"present":false,"value":16.5}],"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.","dre_blood":false,"formula":"oakland","formula_expression":"Oakland = age (≤39:0, 40-69:1, ≥70:2) + male 1 + previous_lgib_admission 1 + dre_blood 1 + HR (\u003c70:0, 70-89:1, 90-109:2, ≥110:3) + SBP (50-89:5, 90-119:4, 120-129:3, 130-159:2, ≥160:0) + Hb g/dL (3.6-6.9:22, 7.0-8.9:17, 9.0-10.9:13, 11.0-12.9:8, 13.0-15.9:4, ≥16.0:0); Oakland 2017 derivation; max 35; safe_discharge ≤8","heart_rate_bpm":65,"hemoglobin_g_dl":16.5,"max_score":35,"oakland_band":"safe_discharge","previous_lgib_admission":false,"score":0,"sex":"female","systolic_mm_hg":165},{"age_years":35,"citation":{"authors":"Oakland K, Jairath V, Uberoi R, Guy R, Ayaru L, Mortensen N, Murphy MF, Collins GS","doi":"10.1016/s2468-1253(17)30150-4","id":"oakland-2017","pmid":"28651935","source":"Lancet Gastroenterol Hepatol. 2017;2(9):635-643","title":"Derivation and validation of a novel risk score for safe discharge after acute lower gastrointestinal bleeding: a modelling study"},"components":[{"factor":"age","points":0,"present":false,"value":35},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"previous_lgib_admission","points":0,"present":false},{"factor":"dre_blood","points":0,"present":false},{"factor":"heart_rate","points":0,"present":false,"value":65},{"factor":"systolic","points":0,"present":false,"value":165},{"factor":"hemoglobin","points":0,"present":false,"value":16.5}],"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.","dre_blood":false,"formula":"oakland","formula_expression":"Oakland = age (≤39:0, 40-69:1, ≥70:2) + male 1 + previous_lgib_admission 1 + dre_blood 1 + HR (\u003c70:0, 70-89:1, 90-109:2, ≥110:3) + SBP (50-89:5, 90-119:4, 120-129:3, 130-159:2, ≥160:0) + Hb g/dL (3.6-6.9:22, 7.0-8.9:17, 9.0-10.9:13, 11.0-12.9:8, 13.0-15.9:4, ≥16.0:0); Oakland 2017 derivation; max 35; safe_discharge ≤8","heart_rate_bpm":65,"hemoglobin_g_dl":16.5,"max_score":35,"oakland_band":"safe_discharge","previous_lgib_admission":false,"score":0,"sex":"female","systolic_mm_hg":165}],"path":"/api/calc/oakland"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 16-120). Oakland 2017: ≤39 → 0, 40-69 → 1, ≥70 → 2.","type":"integer"},"dre_blood":{"description":"Blood on digital rectal examination as assigned by the caller (Oakland 2017). true scores 1. magent does not examine the rectum.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Oakland 2017: \u003c70 → 0, 70-89 → 1, 90-109 → 2, ≥110 → 3.","type":"integer"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. Oakland 2017 bands start at 3.6 g/dL: 3.6-6.9 → 22, 7.0-8.9 → 17, 9.0-10.9 → 13, 11.0-12.9 → 8, 13.0-15.9 → 4, ≥16.0 → 0. Values \u003c3.6 after conversion are rejected. magent does not assay hemoglobin.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both. Values \u003c3.6 g/dL after conversion are rejected.","type":"number"},"previous_lgib_admission":{"description":"Previous admission for lower GI bleeding as assigned by the caller (Oakland 2017). true scores 1.","type":"boolean"},"sex":{"description":"Sex as assigned by the caller. female scores 0; male scores 1.","enum":["female","male"],"type":"string"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Oakland 2017: 50-89 → 5, 90-119 → 4, 120-129 → 3, 130-159 → 2, ≥160 → 0. magent does not read a blood pressure.","type":"number"}},"required":["age","sex","previous_lgib_admission","dre_blood","heart_rate_bpm","systolic_mm_hg"],"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"}}},"lastUpdated":"2026-10-05T14:07:15.688Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:07:15.546Z"},"resource":"https://api.magentlab.com/api/calc/oakland","serviceName":"magent","tags":["oakland","lgib","gi-bleed","discharge","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/aims65","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Saltzman 2011 AIMS65 for in-hospital mortality in acute upper GI bleeding: albumin \u003c3.0 g/dL, INR \u003e1.5, caller-assigned altered mental status, systolic BP \u003c=90 mm Hg, and age \u003e65; 1 point each, max 5. Albumin 3.0, INR 1.5, and age 65 do not score; SBP 90 does. Score only; no mortality percentages. Not a diagnosis. Not Glasgow-Blatchford or Rockall. magent does not assess mental status. Albumin g/dL or g/L.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"albumin_g_dl":4,"albumin_g_l":40,"altered_mental_status":false,"inr":1,"systolic_mm_hg":120},{"age":50,"albumin_g_dl":4,"albumin_g_l":40,"altered_mental_status":false,"inr":1,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"albumin_g_dl":4,"citation":{"authors":"Saltzman JR, Tabak YP, Hyett BH, Sun X, Travis AC, Johannes RS","doi":"10.1016/j.gie.2011.06.024","id":"saltzman-2011","source":"Gastrointest Endosc. 2011;74(6):1215-1224","title":"A simple risk score accurately predicts in-hospital mortality, length of stay, and cost in acute upper GI bleeding"},"components":[{"factor":"albumin_lt_3","points":0,"present":false,"value":4},{"factor":"inr_gt_1_5","points":0,"present":false,"value":1},{"factor":"altered_mental_status","points":0,"present":false},{"factor":"systolic_mm_hg_le_90","points":0,"present":false,"value":120},{"factor":"age_gt_65","points":0,"present":false,"value":50}],"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":"aims65","formula_expression":"AIMS65 = (albumin_g_dl\u003c3.0) + (inr\u003e1.5) + altered_mental_status + (systolic_mm_hg\u003c=90) + (age\u003e65); each 1 if present; max 5","inr":1,"max_score":5,"score":0,"systolic_mm_hg":120},{"age_years":50,"albumin_g_dl":4,"citation":{"authors":"Saltzman JR, Tabak YP, Hyett BH, Sun X, Travis AC, Johannes RS","doi":"10.1016/j.gie.2011.06.024","id":"saltzman-2011","source":"Gastrointest Endosc. 2011;74(6):1215-1224","title":"A simple risk score accurately predicts in-hospital mortality, length of stay, and cost in acute upper GI bleeding"},"components":[{"factor":"albumin_lt_3","points":0,"present":false,"value":4},{"factor":"inr_gt_1_5","points":0,"present":false,"value":1},{"factor":"altered_mental_status","points":0,"present":false},{"factor":"systolic_mm_hg_le_90","points":0,"present":false,"value":120},{"factor":"age_gt_65","points":0,"present":false,"value":50}],"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":"aims65","formula_expression":"AIMS65 = (albumin_g_dl\u003c3.0) + (inr\u003e1.5) + altered_mental_status + (systolic_mm_hg\u003c=90) + (age\u003e65); each 1 if present; max 5","inr":1,"max_score":5,"score":0,"systolic_mm_hg":120}],"path":"/api/calc/aims65"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Scores 1 when age \u003e65; 65 does not score.","type":"integer"},"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Provide this or albumin_g_l, not both. Scores 1 when \u003c3.0; 3.0 does not score.","type":"number"},"albumin_g_l":{"description":"Albumin in g/L (10-60). Converted as g/dL = g/L / 10. Provide this or albumin_g_dl, not both.","type":"number"},"altered_mental_status":{"description":"Altered mental status as assigned by the caller. true or false. magent does not assess mental status. 1 point if true.","type":"boolean"},"inr":{"description":"INR (0.8-10). Scores 1 when \u003e1.5; 1.5 does not score.","type":"number"},"systolic_mm_hg":{"description":"Cuff systolic blood pressure in mm Hg (50-250). Scores 1 when ≤90; 90 scores.","type":"number"}},"required":["age","inr","altered_mental_status","systolic_mm_hg"],"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"}}},"lastUpdated":"2026-10-05T14:06:47.358Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:06:47.23Z"},"resource":"https://api.magentlab.com/api/calc/aims65","serviceName":"magent","tags":["aims65","ugib","gi-bleed","score","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/bun_creatinine_ratio","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Richards 1990 BUN/creatinine ratio as bun_mg_dl / creatinine_mg_dl, rounded to one decimal. A ratio of 36 or greater suggests upper gastrointestinal bleeding. A ratio below 36 is not helpful in locating the source and is not a lower-GI class. Provide creatinine_mg_dl (0.1-20) or creatinine_umol_l (9-1768), not both. Not a diagnosis, endoscopy order, or Blatchford urea band. magent does not locate a bleed.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bun_mg_dl":36,"creatinine_mg_dl":1,"creatinine_umol_l":88.42},{"bun_mg_dl":36,"creatinine_mg_dl":1,"creatinine_umol_l":88.42}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bun_creatinine_ratio":36,"bun_mg_dl":36,"citation":{"authors":"Richards RJ, Donica MB, Grayer D","doi":"10.1097/00004836-199010000-00004","id":"richards-1990","pmid":"2229992","source":"J Clin Gastroenterol. 1990;12(5):500-504","title":"Can the blood urea nitrogen/creatinine ratio distinguish upper from lower gastrointestinal bleeding?"},"creatinine_mg_dl":1,"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":"bun_creatinine_ratio","formula_expression":"bun_creatinine_ratio = bun_mg_dl / creatinine_mg_dl","suggests_upper_gi_bleeding":true},{"bun_creatinine_ratio":36,"bun_mg_dl":36,"citation":{"authors":"Richards RJ, Donica MB, Grayer D","doi":"10.1097/00004836-199010000-00004","id":"richards-1990","pmid":"2229992","source":"J Clin Gastroenterol. 1990;12(5):500-504","title":"Can the blood urea nitrogen/creatinine ratio distinguish upper from lower gastrointestinal bleeding?"},"creatinine_mg_dl":1,"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":"bun_creatinine_ratio","formula_expression":"bun_creatinine_ratio = bun_mg_dl / creatinine_mg_dl","suggests_upper_gi_bleeding":true}],"path":"/api/calc/bun_creatinine_ratio"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bun_mg_dl":{"description":"Blood urea nitrogen in mg/dL (1-200). Richards 1990 ratio uses BUN in mg/dL. Not a Glasgow-Blatchford urea band. magent does not assay BUN.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. magent does not assay creatinine.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Provide this or creatinine_mg_dl, not both.","type":"number"}},"required":["bun_mg_dl"],"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"}}},"lastUpdated":"2026-10-05T14:06:40.178Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:06:40.058Z"},"resource":"https://api.magentlab.com/api/calc/bun_creatinine_ratio","serviceName":"magent","tags":["bun-creatinine","gi-bleeding","gi","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/glasgow_blatchford","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Glasgow-Blatchford score (Blatchford 2000) for need for treatment after upper-gastrointestinal haemorrhage. Points from urea, haemoglobin (sex-specific), systolic BP, heart rate ≥100, melena, syncope, hepatic disease, and cardiac failure; max 23. Score 0 is the published low-risk screen; magent does not invent other GBS bands. Not a diagnosis, not Rockall, and not AIMS65. Urea may be mmol/L or BUN mg/dL; haemoglobin g/L or g/dL.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bun_mg_dl":14,"cardiac_failure":false,"heart_rate_bpm":80,"hemoglobin_g_dl":14,"hemoglobin_g_l":140,"hepatic_disease":false,"melena":false,"sex":"male","syncope":false,"systolic_mm_hg":120,"urea_mmol_l":5},{"bun_mg_dl":14,"cardiac_failure":false,"heart_rate_bpm":80,"hemoglobin_g_dl":14,"hemoglobin_g_l":140,"hepatic_disease":false,"melena":false,"sex":"male","syncope":false,"systolic_mm_hg":120,"urea_mmol_l":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Blatchford O, Murray WR, Blatchford M","doi":"10.1016/S0140-6736(00)02816-6","id":"blatchford-2000","source":"Lancet. 2000;356(9238):1318-1321","title":"A risk score to predict need for treatment for upper-gastrointestinal haemorrhage"},"components":[{"factor":"urea","points":0,"present":false,"value":5},{"factor":"hemoglobin","points":0,"present":false,"value":140},{"factor":"systolic","points":0,"present":false,"value":120},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"melena","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"hepatic_disease","points":0,"present":false},{"factor":"cardiac_failure","points":0,"present":false}],"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":"glasgow_blatchford","formula_expression":"GBS = urea_mmol_l table + haemoglobin_g_l table (sex-specific) + systolic_mm_hg table + (heart_rate_bpm \u003e= 100) + melena + 2*syncope + 2*hepatic_disease + 2*cardiac_failure; max 23; score 0 low, else not_low","gbs_risk":"low","heart_rate_bpm":80,"hemoglobin_g_l":140,"max_score":23,"score":0,"sex":"male","systolic_mm_hg":120,"urea_mmol_l":5},{"citation":{"authors":"Blatchford O, Murray WR, Blatchford M","doi":"10.1016/S0140-6736(00)02816-6","id":"blatchford-2000","source":"Lancet. 2000;356(9238):1318-1321","title":"A risk score to predict need for treatment for upper-gastrointestinal haemorrhage"},"components":[{"factor":"urea","points":0,"present":false,"value":5},{"factor":"hemoglobin","points":0,"present":false,"value":140},{"factor":"systolic","points":0,"present":false,"value":120},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"melena","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"hepatic_disease","points":0,"present":false},{"factor":"cardiac_failure","points":0,"present":false}],"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":"glasgow_blatchford","formula_expression":"GBS = urea_mmol_l table + haemoglobin_g_l table (sex-specific) + systolic_mm_hg table + (heart_rate_bpm \u003e= 100) + melena + 2*syncope + 2*hepatic_disease + 2*cardiac_failure; max 23; score 0 low, else not_low","gbs_risk":"low","heart_rate_bpm":80,"hemoglobin_g_l":140,"max_score":23,"score":0,"sex":"male","systolic_mm_hg":120,"urea_mmol_l":5}],"path":"/api/calc/glasgow_blatchford"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bun_mg_dl":{"description":"BUN in mg/dL (3-140). Converted as urea_mmol_l = bun_mg_dl / 2.8. Provide this or urea_mmol_l, not both.","type":"number"},"cardiac_failure":{"description":"Cardiac failure as assigned by the caller. true or false. 2 points if true.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Scores 1 when ≥100; 99 does not score.","type":"integer"},"hemoglobin_g_dl":{"description":"Haemoglobin in g/dL (3-22). Converted as hemoglobin_g_l = hemoglobin_g_dl × 10. Provide this or hemoglobin_g_l, not both.","type":"number"},"hemoglobin_g_l":{"description":"Haemoglobin in g/L (30-220). Provide this or hemoglobin_g_dl, not both. Men: \u003c100 → 6; 100–119 → 3; 120–129 → 1; ≥130 → 0. Women: \u003c100 → 6; 100–119 → 1; ≥120 → 0.","type":"number"},"hepatic_disease":{"description":"Hepatic disease as assigned by the caller. true or false. 2 points if true.","type":"boolean"},"melena":{"description":"Melena as assigned by the caller. true or false. 1 point if true.","type":"boolean"},"sex":{"description":"Sex (female or male). Haemoglobin points use the Blatchford 2000 sex-specific table.","type":"string"},"syncope":{"description":"Syncope as assigned by the caller. true or false. 2 points if true.","type":"boolean"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). \u003c90 scores 3; 90–99 scores 2; 100–109 scores 1; ≥110 scores 0.","type":"number"},"urea_mmol_l":{"description":"Blood urea in mmol/L (1-50). Provide this or bun_mg_dl, not both. \u003c6.5 scores 0; 6.5–7.9 scores 2; 8.0–9.9 scores 3; 10.0–24.9 scores 4; ≥25.0 scores 6.","type":"number"}},"required":["sex","systolic_mm_hg","heart_rate_bpm","melena","syncope","hepatic_disease","cardiac_failure"],"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"}}},"lastUpdated":"2026-10-05T14:06:33.36Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:06:33.212Z"},"resource":"https://api.magentlab.com/api/calc/glasgow_blatchford","serviceName":"magent","tags":["glasgow-blatchford","gbs","ugib","gi","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/fni","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Tavaglione 2023 fibrotic NASH index (FNI) from AST, HbA1c, and HDL cholesterol. FNI = e^x/(1+e^x) with x = -10.33 + 2.54*ln(AST) + 3.86*ln(HbA1c) - 1.66*ln(HDL mg/dL). HDL may be mg/dL or mmol/L (×38.67). Rule-out ≤0.10; indeterminate between 0.10 and 0.33; rule-in ≥0.33. Not a biopsy, not FIB-4, not the NAFLD fibrosis score, not SAFE, and not BARD.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"a1c_percent":5.5,"ast_u_l":40,"hdl_mg_dl":50,"hdl_mmol_l":1.29},{"a1c_percent":5.5,"ast_u_l":40,"hdl_mg_dl":50,"hdl_mmol_l":1.29}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"a1c_percent":5.5,"ast_u_l":40,"citation":{"authors":"Tavaglione F, Jamialahmadi O, De Vincentis A, et al.","doi":"10.1016/j.cgh.2022.03.044","id":"tavaglione-2023","pmid":"35421583","source":"Clin Gastroenterol Hepatol. 2023;21(6):1523-1532.e1","title":"Development and Validation of a Score for Fibrotic Nonalcoholic Steatohepatitis"},"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.","fni":0.2944,"fni_band":"gt_0_10_lt_0_33","formula":"fni","formula_expression":"FNI = e^x / (1+e^x) where x = -10.33 + 2.54*ln(AST U/L) + 3.86*ln(HbA1c %) - 1.66*ln(HDL mg/dL) (natural log)","hdl_mg_dl":50,"hdl_unit":"mg_dl","x":-0.8739},{"a1c_percent":5.5,"ast_u_l":40,"citation":{"authors":"Tavaglione F, Jamialahmadi O, De Vincentis A, et al.","doi":"10.1016/j.cgh.2022.03.044","id":"tavaglione-2023","pmid":"35421583","source":"Clin Gastroenterol Hepatol. 2023;21(6):1523-1532.e1","title":"Development and Validation of a Score for Fibrotic Nonalcoholic Steatohepatitis"},"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.","fni":0.2944,"fni_band":"gt_0_10_lt_0_33","formula":"fni","formula_expression":"FNI = e^x / (1+e^x) where x = -10.33 + 2.54*ln(AST U/L) + 3.86*ln(HbA1c %) - 1.66*ln(HDL mg/dL) (natural log)","hdl_mg_dl":50,"hdl_unit":"mg_dl","x":-0.8739}],"path":"/api/calc/fni"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"a1c_percent":{"description":"HbA1c in percent (4-15). magent does not convert from eAG.","type":"number"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000).","type":"number"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Provide this or hdl_mmol_l, not both. Used in the natural-log term.","type":"number"},"hdl_mmol_l":{"description":"HDL cholesterol in mmol/L (0.1-3.9). Converted as mg/dL = mmol/L * 38.67. Provide this or hdl_mg_dl, not both.","type":"number"}},"required":["ast_u_l","a1c_percent"],"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"}}},"lastUpdated":"2026-10-05T14:06:19.036Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:06:18.918Z"},"resource":"https://api.magentlab.com/api/calc/fni","serviceName":"magent","tags":["fni","nash","liver","fibrosis","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/ukeld","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Barber 2011 United Kingdom end-stage liver disease (UKELD) from INR, creatinine, bilirubin, and sodium in native SI units. UKELD = 5.395*ln(INR) + 1.485*ln(creatinine_umol_l) + 3.13*ln(bilirubin_umol_l) - 81.565*ln(sodium_mmol_l) + 435, nearest integer. below_listing if \u003c49; listing_threshold if ≥49 (UK elective-list 9% 1-year mortality cut). Not a transplant listing or allocation order. Not MELD or MELD-Na.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bilirubin_mg_dl":2.3,"bilirubin_umol_l":40,"creatinine_mg_dl":1,"creatinine_umol_l":90,"inr":1.2,"sodium_mmol_l":135},{"bilirubin_mg_dl":2.3,"bilirubin_umol_l":40,"creatinine_mg_dl":1,"creatinine_umol_l":90,"inr":1.2,"sodium_mmol_l":135}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bilirubin_umol_l":40,"citation":{"authors":"Barber K, Madden S, Allen J, Collett D, Neuberger J, Gimson A; United Kingdom Liver Transplant Selection and Allocation Working Party","doi":"10.1097/TP.0b013e318225db4d","id":"barber-2011","pmid":"21775931","source":"Transplantation. 2011;92(4):469-476","title":"Elective liver transplant list mortality: development of a United Kingdom end-stage liver disease score"},"creatinine_umol_l":90,"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":"ukeld","formula_expression":"UKELD = 5.395 * ln(INR) + 1.485 * ln(creatinine_umol_l) + 3.13 * ln(bilirubin_umol_l) - 81.565 * ln(sodium_mmol_l) + 435","inr":1.2,"sodium_mmol_l":135,"ukeld":54,"ukeld_band":"listing_threshold"},{"bilirubin_umol_l":40,"citation":{"authors":"Barber K, Madden S, Allen J, Collett D, Neuberger J, Gimson A; United Kingdom Liver Transplant Selection and Allocation Working Party","doi":"10.1097/TP.0b013e318225db4d","id":"barber-2011","pmid":"21775931","source":"Transplantation. 2011;92(4):469-476","title":"Elective liver transplant list mortality: development of a United Kingdom end-stage liver disease score"},"creatinine_umol_l":90,"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":"ukeld","formula_expression":"UKELD = 5.395 * ln(INR) + 1.485 * ln(creatinine_umol_l) + 3.13 * ln(bilirubin_umol_l) - 81.565 * ln(sodium_mmol_l) + 435","inr":1.2,"sodium_mmol_l":135,"ukeld":54,"ukeld_band":"listing_threshold"}],"path":"/api/calc/ukeld"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1. Provide this or bilirubin_umol_l, not both.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Provide this or bilirubin_mg_dl, not both. Barber 2011 uses µmol/L; no MELD floor.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Converted as µmol/L = mg/dL × 88.42. Provide this or creatinine_umol_l, not both.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Provide this or creatinine_mg_dl, not both. Barber 2011 uses µmol/L; no MELD floor.","type":"number"},"inr":{"description":"International normalized ratio (0.8-10). Barber 2011 does not floor INR at 1.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). Barber 2011 does not clamp sodium to 125–137.","type":"number"}},"required":["inr","sodium_mmol_l"],"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"}}},"lastUpdated":"2026-10-05T14:04:32.857Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:04:32.735Z"},"resource":"https://api.magentlab.com/api/calc/ukeld","serviceName":"magent","tags":["ukeld","liver","cirrhosis","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/abic","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Dominguez 2008 ABIC score from age, bilirubin, creatinine, and INR. ABIC = (age * 0.1) + (bilirubin_mg_dl * 0.08) + (creatinine_mg_dl * 0.3) + (inr * 0.8). Low \u003c6.71, intermediate 6.71–9.0, high \u003e9.0. Not a diagnosis of alcoholic hepatitis and not a steroid or transplant order.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"bilirubin_mg_dl":10,"bilirubin_umol_l":171,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"inr":1.5},{"age":50,"bilirubin_mg_dl":10,"bilirubin_umol_l":171,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"inr":1.5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abic_band":"intermediate","abic_score":7.3,"age":50,"bilirubin_mg_dl":10,"citation":{"authors":"Dominguez M, Rincón D, Abraldes JG, Miquel R, Colmenero J, Bellot P, García-Pagán JC, Fernández J, Marín P, Guarner C, Arroyo V, Bruguera M, Bañares R, Ginès P, Caballería J","doi":"10.1111/j.1572-0241.2008.02104.x","id":"dominguez-2008","pmid":"18721242","source":"Am J Gastroenterol. 2008;103(11):2747-2756","title":"A new scoring system for prognostic stratification of patients with alcoholic hepatitis"},"creatinine_mg_dl":1,"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":"abic","formula_expression":"ABIC = (age * 0.1) + (bilirubin_mg_dl * 0.08) + (creatinine_mg_dl * 0.3) + (inr * 0.8)","inr":1.5},{"abic_band":"intermediate","abic_score":7.3,"age":50,"bilirubin_mg_dl":10,"citation":{"authors":"Dominguez M, Rincón D, Abraldes JG, Miquel R, Colmenero J, Bellot P, García-Pagán JC, Fernández J, Marín P, Guarner C, Arroyo V, Bruguera M, Bañares R, Ginès P, Caballería J","doi":"10.1111/j.1572-0241.2008.02104.x","id":"dominguez-2008","pmid":"18721242","source":"Am J Gastroenterol. 2008;103(11):2747-2756","title":"A new scoring system for prognostic stratification of patients with alcoholic hepatitis"},"creatinine_mg_dl":1,"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":"abic","formula_expression":"ABIC = (age * 0.1) + (bilirubin_mg_dl * 0.08) + (creatinine_mg_dl * 0.3) + (inr * 0.8)","inr":1.5}],"path":"/api/calc/abic"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120).","type":"integer"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l, not both.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Converted as mg/dL = µmol/L / 17.1.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"inr":{"description":"International normalized ratio (0.8-10).","type":"number"}},"required":["age","inr"],"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"}}},"lastUpdated":"2026-10-05T14:04:25.812Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:04:25.706Z"},"resource":"https://api.magentlab.com/api/calc/abic","serviceName":"magent","tags":["abic","liver","hepatitis","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/lille","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Lille model (Louvet 2007) from age, albumin, bilirubin at day 0 and day 7, creatinine, and PT seconds or INR. formula=pt or formula=inr is required; magent does not swap them. Score 0-1 with the published 0.45 cutoff. Deterministic published arithmetic with citation; not a medical device or a steroid order.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"albumin_g_dl":3.5,"albumin_g_l":35,"bilirubin_day0_mg_dl":11.7,"bilirubin_day0_umol_l":200,"bilirubin_day7_mg_dl":8.8,"bilirubin_day7_umol_l":150,"creatinine_mg_dl":1,"creatinine_umol_l":88,"formula":"pt","inr":2,"pt_sec":18},{"age":50,"albumin_g_dl":3.5,"albumin_g_l":35,"bilirubin_day0_mg_dl":11.7,"bilirubin_day0_umol_l":200,"bilirubin_day7_mg_dl":8.8,"bilirubin_day7_umol_l":150,"creatinine_mg_dl":1,"creatinine_umol_l":88,"formula":"pt","inr":2,"pt_sec":18}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"albumin_g_l":35,"bilirubin_day0_umol_l":200,"bilirubin_day7_umol_l":150,"citation":{"authors":"Louvet A, Naveau S, Abdelnour M, et al.","doi":"10.1002/hep.21607","id":"louvet-2007","pmid":"17518367","source":"Hepatology. 2007;45(6):1348-1354","title":"The Lille model: a new tool for therapeutic strategy in patients with severe alcoholic hepatitis treated with steroids"},"creatinine_mg_dl":1,"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.","evolution_bilirubin_umol_l":50,"formula":"pt","formula_expression":"R = 3.19 - 0.101*age + 0.147*albumin_g_l + 0.0165*evolution_bilirubin_umol_l - 0.206*renal_insufficiency - 0.0065*bilirubin_day0_umol_l - 0.0096*pt_sec; lille_score = exp(-R)/(1+exp(-R))","lille_score":0.0668,"pt_sec":18,"r":2.6372,"renal_insufficiency":false,"response":"responder"},{"age_years":50,"albumin_g_l":35,"bilirubin_day0_umol_l":200,"bilirubin_day7_umol_l":150,"citation":{"authors":"Louvet A, Naveau S, Abdelnour M, et al.","doi":"10.1002/hep.21607","id":"louvet-2007","pmid":"17518367","source":"Hepatology. 2007;45(6):1348-1354","title":"The Lille model: a new tool for therapeutic strategy in patients with severe alcoholic hepatitis treated with steroids"},"creatinine_mg_dl":1,"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.","evolution_bilirubin_umol_l":50,"formula":"pt","formula_expression":"R = 3.19 - 0.101*age + 0.147*albumin_g_l + 0.0165*evolution_bilirubin_umol_l - 0.206*renal_insufficiency - 0.0065*bilirubin_day0_umol_l - 0.0096*pt_sec; lille_score = exp(-R)/(1+exp(-R))","lille_score":0.0668,"pt_sec":18,"r":2.6372,"renal_insufficiency":false,"response":"responder"}],"path":"/api/calc/lille"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"albumin_g_dl":{"description":"Day-0 albumin in g/dL (1-6). Converted as g/L = g/dL × 10.","type":"number"},"albumin_g_l":{"description":"Day-0 albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Louvet 2007 uses g/L.","type":"number"},"bilirubin_day0_mg_dl":{"description":"Day-0 total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1.","type":"number"},"bilirubin_day0_umol_l":{"description":"Day-0 total bilirubin in µmol/L (2-684). Provide this or bilirubin_day0_mg_dl.","type":"number"},"bilirubin_day7_mg_dl":{"description":"Day-7 total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1.","type":"number"},"bilirubin_day7_umol_l":{"description":"Day-7 total bilirubin in µmol/L (2-684). Provide this or bilirubin_day7_mg_dl.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. Renal insufficiency is 1 when \u003e 1.3 mg/dL if this unit is used (Louvet 2007).","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Provide this or creatinine_mg_dl. Renal insufficiency is 1 when \u003e 115 µmol/L if this unit is used (Louvet 2007).","type":"number"},"formula":{"description":"pt (prothrombin time in seconds) or inr. Required; magent does not swap PT and INR.","enum":["pt","inr"],"type":"string"},"inr":{"description":"INR (0.8-10). Required when formula=inr. Ignored when formula=pt.","type":"number"},"pt_sec":{"description":"Prothrombin time in seconds (8-120). Required when formula=pt. Ignored when formula=inr.","type":"number"}},"required":["formula","age"],"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"}}},"lastUpdated":"2026-10-05T14:04:18.766Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:04:18.656Z"},"resource":"https://api.magentlab.com/api/calc/lille","serviceName":"magent","tags":["lille","liver","alcoholic-hepatitis","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/fli","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Bedogni 2006 fatty liver index from caller-supplied BMI, waist, triglycerides (mg/dL or mmol/L), and GGT. FLI = logistic(L)*100 with L from loge triglycerides, BMI, loge GGT, and waist. FLI \u003c30 rules out hepatic steatosis; FLI \u003e=60 rules in; 30 to \u003c60 indeterminate. Not a diagnosis, imaging substitute, hepatic steatosis index, NAFLD fibrosis score, FIB-4, or APRI.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bmi_kg_m2":22,"ggt_u_l":20,"triglycerides_mg_dl":80,"triglycerides_mmol_l":0.9,"waist_cm":70},{"bmi_kg_m2":22,"ggt_u_l":20,"triglycerides_mg_dl":80,"triglycerides_mmol_l":0.9,"waist_cm":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bedogni_band":"rule_out","bmi_kg_m2":22,"citation":{"authors":"Bedogni G, Bellentani S, Miglioli L, Masutti F, Passalacqua M, Castiglione A, Tiribelli C","doi":"10.1186/1471-230X-6-33","id":"bedogni-2006","pmid":"17081293","source":"BMC Gastroenterol. 2006;6:33","title":"The Fatty Liver Index: a simple and accurate predictor of hepatic steatosis in the general population"},"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.","fli":6.6,"formula":"fli","formula_expression":"L = 0.953 * loge(triglycerides_mg_dl) + 0.139 * bmi_kg_m2 + 0.718 * loge(ggt_u_l) + 0.053 * waist_cm - 15.745; FLI = (e^L / (1 + e^L)) * 100","ggt_u_l":20,"l":-2.65,"triglycerides_mg_dl":80,"waist_cm":70},{"bedogni_band":"rule_out","bmi_kg_m2":22,"citation":{"authors":"Bedogni G, Bellentani S, Miglioli L, Masutti F, Passalacqua M, Castiglione A, Tiribelli C","doi":"10.1186/1471-230X-6-33","id":"bedogni-2006","pmid":"17081293","source":"BMC Gastroenterol. 2006;6:33","title":"The Fatty Liver Index: a simple and accurate predictor of hepatic steatosis in the general population"},"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.","fli":6.6,"formula":"fli","formula_expression":"L = 0.953 * loge(triglycerides_mg_dl) + 0.139 * bmi_kg_m2 + 0.718 * loge(ggt_u_l) + 0.053 * waist_cm - 15.745; FLI = (e^L / (1 + e^L)) * 100","ggt_u_l":20,"l":-2.65,"triglycerides_mg_dl":80,"waist_cm":70}],"path":"/api/calc/fli"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI.","type":"number"},"ggt_u_l":{"description":"Gamma-glutamyltransferase in U/L (1-2000).","type":"number"},"triglycerides_mg_dl":{"description":"Triglycerides in mg/dL (10-2000). Italian lab units in Bedogni 2006. Provide this or triglycerides_mmol_l, not both.","type":"number"},"triglycerides_mmol_l":{"description":"Triglycerides in mmol/L (0.11-22.6). Converted as mg/dL = mmol/L * 88.57. Provide this or triglycerides_mg_dl, not both.","type":"number"},"waist_cm":{"description":"Waist circumference in cm (40-200).","type":"number"}},"required":["bmi_kg_m2","waist_cm","ggt_u_l"],"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"}}},"lastUpdated":"2026-10-05T14:04:04.512Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:04:04.37Z"},"resource":"https://api.magentlab.com/api/calc/fli","serviceName":"magent","tags":["fli","liver","steatosis","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/nafld_fibrosis","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Angulo 2007 NAFLD fibrosis score from age, BMI, IFG/diabetes, AST, ALT, platelets, and albumin. Deterministic published equation with citation. Not a biopsy or diagnosis. Not FIB-4, APRI, or BARD.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"albumin_g_dl":4,"albumin_g_l":40,"alt_u_l":40,"ast_u_l":40,"bmi_kg_m2":30,"ifg_or_diabetes":true,"platelets_10e9_l":200},{"age":50,"albumin_g_dl":4,"albumin_g_l":40,"alt_u_l":40,"ast_u_l":40,"bmi_kg_m2":30,"ifg_or_diabetes":true,"platelets_10e9_l":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"albumin_g_dl":4,"alt_u_l":40,"angulo_band":"indeterminate","ast_alt_ratio":1,"ast_u_l":40,"bmi_kg_m2":30,"citation":{"authors":"Angulo P, Hui JM, Marchesini G, et al.","doi":"10.1002/hep.21496","id":"angulo-2007","source":"Hepatology. 2007;45(4):846-854","title":"The NAFLD fibrosis score: a noninvasive system that identifies liver fibrosis in patients with NAFLD"},"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":"nafld_fibrosis","formula_expression":"NFS = -1.675 + 0.037*age + 0.094*BMI + 1.13*IFG/diabetes + 0.99*(AST/ALT) - 0.013*platelets - 0.66*albumin","ifg_or_diabetes":true,"nfs":-0.125,"platelets_10e9_l":200},{"age_years":50,"albumin_g_dl":4,"alt_u_l":40,"angulo_band":"indeterminate","ast_alt_ratio":1,"ast_u_l":40,"bmi_kg_m2":30,"citation":{"authors":"Angulo P, Hui JM, Marchesini G, et al.","doi":"10.1002/hep.21496","id":"angulo-2007","source":"Hepatology. 2007;45(4):846-854","title":"The NAFLD fibrosis score: a noninvasive system that identifies liver fibrosis in patients with NAFLD"},"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":"nafld_fibrosis","formula_expression":"NFS = -1.675 + 0.037*age + 0.094*BMI + 1.13*IFG/diabetes + 0.99*(AST/ALT) - 0.013*platelets - 0.66*albumin","ifg_or_diabetes":true,"nfs":-0.125,"platelets_10e9_l":200}],"path":"/api/calc/nafld_fibrosis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Provide albumin_g_dl or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Albumin in g/L (10-60). Converted as g/dL = g/L / 10.","type":"number"},"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-10000).","type":"number"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000).","type":"number"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI.","type":"number"},"ifg_or_diabetes":{"description":"Impaired fasting glucose or diabetes as assigned by the caller (Angulo 2007 IFG/diabetes term). true or false.","type":"boolean"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000).","type":"number"}},"required":["age","bmi_kg_m2","ifg_or_diabetes","ast_u_l","alt_u_l","platelets_10e9_l"],"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"}}},"lastUpdated":"2026-10-05T14:03:50.39Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:03:50.267Z"},"resource":"https://api.magentlab.com/api/calc/nafld_fibrosis","serviceName":"magent","tags":["nfs","nafld","fibrosis","liver","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/gahs","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Forrest 2005 Glasgow alcoholic hepatitis score from age, WBC, urea, PT ratio, and bilirubin (range 5-12) with the published ≥9 band. Deterministic published arithmetic with citation; not a steroid order.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"bilirubin_mg_dl":4.7,"bilirubin_umol_l":80,"bun_mg_dl":11.2,"pt_ratio":1.2,"urea_mmol_l":4,"wbc_k_ul":8,"wbc_ul":8000},{"age":40,"bilirubin_mg_dl":4.7,"bilirubin_umol_l":80,"bun_mg_dl":11.2,"pt_ratio":1.2,"urea_mmol_l":4,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"bilirubin_umol_l":80,"citation":{"authors":"Forrest EH, Evans CD, Stewart S, et al.","doi":"10.1136/gut.2004.050781","id":"forrest-2005","source":"Gut. 2005;54(8):1174-1179","title":"Analysis of factors predictive of mortality in alcoholic hepatitis and derivation and validation of the Glasgow alcoholic hepatitis score"},"components":[{"factor":"age","points":1,"present":false,"value":40},{"factor":"wbc","points":1,"present":false,"value":8},{"factor":"urea","points":1,"present":false,"value":4},{"factor":"pt_ratio","points":1,"present":false,"value":1.2},{"factor":"bilirubin","points":1,"present":false,"value":80}],"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":"gahs","formula_expression":"GAHS = age_points + wbc_points + urea_points + pt_ratio_points + bilirubin_points; range 5-12","gahs_band":"lt_9","max_score":12,"min_score":5,"pt_ratio":1.2,"score":5,"urea_mmol_l":4,"wbc_k_ul":8},{"age_years":40,"bilirubin_umol_l":80,"citation":{"authors":"Forrest EH, Evans CD, Stewart S, et al.","doi":"10.1136/gut.2004.050781","id":"forrest-2005","source":"Gut. 2005;54(8):1174-1179","title":"Analysis of factors predictive of mortality in alcoholic hepatitis and derivation and validation of the Glasgow alcoholic hepatitis score"},"components":[{"factor":"age","points":1,"present":false,"value":40},{"factor":"wbc","points":1,"present":false,"value":8},{"factor":"urea","points":1,"present":false,"value":4},{"factor":"pt_ratio","points":1,"present":false,"value":1.2},{"factor":"bilirubin","points":1,"present":false,"value":80}],"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":"gahs","formula_expression":"GAHS = age_points + wbc_points + urea_points + pt_ratio_points + bilirubin_points; range 5-12","gahs_band":"lt_9","max_score":12,"min_score":5,"pt_ratio":1.2,"score":5,"urea_mmol_l":4,"wbc_k_ul":8}],"path":"/api/calc/gahs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). \u003c50 scores 1; ≥50 scores 2 (Forrest 2005).","type":"integer"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Provide this or bilirubin_mg_dl. \u003c125 scores 1; 125-250 scores 2; \u003e250 scores 3.","type":"number"},"bun_mg_dl":{"description":"BUN in mg/dL (3-140). Converted as urea_mmol_l = bun_mg_dl / 2.8.","type":"number"},"pt_ratio":{"description":"Prothrombin-time ratio (0.8-10). \u003c1.5 scores 1; 1.5-2.0 scores 2; \u003e2.0 scores 3.","type":"number"},"urea_mmol_l":{"description":"Urea in mmol/L (1-50). Provide this or bun_mg_dl, not both. \u003c5 scores 1; ≥5 scores 2.","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. \u003c15 scores 1; ≥15 scores 2.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL. Converted as K/µL = cells/µL / 1000.","type":"number"}},"required":["age","pt_ratio"],"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"}}},"lastUpdated":"2026-10-05T14:03:43.505Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:03:43.345Z"},"resource":"https://api.magentlab.com/api/calc/gahs","serviceName":"magent","tags":["gahs","alcoholic-hepatitis","liver","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/peld_cr","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"OPTN Policy 9 Table 9-1 PELD-Cr from age, albumin, bilirubin, INR, creatinine or dialysis/CVVHD, and caller-assigned minimum CDC height or weight Z-score. PELD = (sum of Table 9-1 terms + 1.5287) × 10 + 2.82; nearest integer; minimum 6. Albumin, bilirubin, and INR floor at 1.0; creatinine 1.3 mg/dL if \u003e1.3 or dialysis/CVVHD. Not a transplant listing order. magent does not compute CDC LMS Z from height or weight.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":2,"albumin_g_dl":2.5,"albumin_g_l":25,"bilirubin_mg_dl":4,"bilirubin_umol_l":68.4,"creatinine_mg_dl":0.4,"creatinine_umol_l":35.368,"dialysis_or_cvvhd":false,"inr":1.5,"min_cdc_z":0},{"age_years":2,"albumin_g_dl":2.5,"albumin_g_l":25,"bilirubin_mg_dl":4,"bilirubin_umol_l":68.4,"creatinine_mg_dl":0.4,"creatinine_umol_l":35.368,"dialysis_or_cvvhd":false,"inr":1.5,"min_cdc_z":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_used_years":2,"age_years":2,"albumin_g_dl":2.5,"albumin_used_g_dl":1.9,"bilirubin_mg_dl":4,"bilirubin_used_mg_dl":4,"citation":{"authors":"Organ Procurement and Transplantation Network","id":"optn-2023-peld-cr","source":"OPTN Policy 9.1.E / Table 9-1 (policy notice June 2022; implementation 13 Jul 2023)","title":"Improving Liver Allocation: MELD, PELD, Status 1A and Status 1B"},"creatinine_mg_dl":0.4,"creatinine_used_mg_dl":0.4,"dialysis_or_cvvhd":false,"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":"optn_peld_cr_2023","formula_expression":"PELD = round((sum of OPTN Policy 9 Table 9-1 terms + 1.5287)*10 + 2.82); min 6. Age (fractional years, \u003c12): \u003c1 → -0.1967*1; 1-5.5 → -0.1967*age; \u003e5.5 → -0.1967*5.5. Albumin g/dL (floor 1.0): 1-1.9 → -1.842*ln(albumin); \u003e1.9 → -1.842*ln(1.9). Bilirubin mg/dL (floor 1.0): 1-4 → 0.7854*ln(bilirubin)+0.3434*ln(4); \u003e4-40 → 0.7854*ln(4)+0.3434*ln(bilirubin); \u003e40 → 0.7854*ln(4)+0.3434*ln(40). INR (floor 1.0): 1-2 → 1.981*ln(INR)+0.7298*ln(2); \u003e2-10 → 1.981*ln(2)+0.7298*ln(INR); \u003e10 → 1.981*ln(2)+0.7298*ln(10). Min CDC height/weight Z: \u003c-5 → -0.1807*(-5); -5 to -2.1 → -0.1807*Z; \u003e-2.1 → -0.1807*(-2.1). Creatinine mg/dL (1.3 if \u003e1.3 or dialysis/CVVHD): \u003c0.2 → 1.453*ln(0.2); 0.2-1.3 → 1.453*ln(creatinine); \u003e1.3 → 1.453*ln(1.3)","inr":1.5,"inr_used":1.5,"min_cdc_z":0,"min_cdc_z_used":-2.1,"peld_cr":22},{"age_used_years":2,"age_years":2,"albumin_g_dl":2.5,"albumin_used_g_dl":1.9,"bilirubin_mg_dl":4,"bilirubin_used_mg_dl":4,"citation":{"authors":"Organ Procurement and Transplantation Network","id":"optn-2023-peld-cr","source":"OPTN Policy 9.1.E / Table 9-1 (policy notice June 2022; implementation 13 Jul 2023)","title":"Improving Liver Allocation: MELD, PELD, Status 1A and Status 1B"},"creatinine_mg_dl":0.4,"creatinine_used_mg_dl":0.4,"dialysis_or_cvvhd":false,"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":"optn_peld_cr_2023","formula_expression":"PELD = round((sum of OPTN Policy 9 Table 9-1 terms + 1.5287)*10 + 2.82); min 6. Age (fractional years, \u003c12): \u003c1 → -0.1967*1; 1-5.5 → -0.1967*age; \u003e5.5 → -0.1967*5.5. Albumin g/dL (floor 1.0): 1-1.9 → -1.842*ln(albumin); \u003e1.9 → -1.842*ln(1.9). Bilirubin mg/dL (floor 1.0): 1-4 → 0.7854*ln(bilirubin)+0.3434*ln(4); \u003e4-40 → 0.7854*ln(4)+0.3434*ln(bilirubin); \u003e40 → 0.7854*ln(4)+0.3434*ln(40). INR (floor 1.0): 1-2 → 1.981*ln(INR)+0.7298*ln(2); \u003e2-10 → 1.981*ln(2)+0.7298*ln(INR); \u003e10 → 1.981*ln(2)+0.7298*ln(10). Min CDC height/weight Z: \u003c-5 → -0.1807*(-5); -5 to -2.1 → -0.1807*Z; \u003e-2.1 → -0.1807*(-2.1). Creatinine mg/dL (1.3 if \u003e1.3 or dialysis/CVVHD): \u003c0.2 → 1.453*ln(0.2); 0.2-1.3 → 1.453*ln(creatinine); \u003e1.3 → 1.453*ln(1.3)","inr":1.5,"inr_used":1.5,"min_cdc_z":0,"min_cdc_z_used":-2.1,"peld_cr":22}],"path":"/api/calc/peld_cr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in fractional calendar years (0 to under 12). Table 9-1 uses 1.0 below age 1 and 5.5 above 5.5 years. PELD-Cr is for candidates under 12.","type":"number"},"albumin_g_dl":{"description":"Serum albumin in g/dL (0.1-6). Provide this or albumin_g_l, not both. Policy floors at 1.0; Table 9-1 uses ln(1.9) above 1.9.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (1-60). Converted as g/dL = g/L / 10.","type":"number"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-80). Provide this or bilirubin_umol_l, not both. Policy floors at 1.0; Table 9-1 knots at 4 and 40.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-1368). Converted as mg/dL = µmol/L / 17.1.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Table 9-1 floors at 0.2 and assigns 1.3 if \u003e1.3 or dialysis_or_cvvhd is true.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"dialysis_or_cvvhd":{"description":"True when the candidate had two or more dialysis treatments in the prior 7 days, or 24 hours of CVVHD in the prior 7 days. Assigns creatinine 1.3 mg/dL.","type":"boolean"},"inr":{"description":"INR (0.8-20). Policy floors at 1.0; Table 9-1 knots at 2 and 10.","type":"number"},"min_cdc_z":{"description":"Caller-assigned minimum of CDC 2000 height or weight Z-score (LMS). magent does not compute Z from height or weight. Table 9-1 clamps -5.0 to -2.1.","type":"number"}},"required":["age_years","inr","dialysis_or_cvvhd","min_cdc_z"],"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"}}},"lastUpdated":"2026-10-05T14:03:29.363Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:03:29.218Z"},"resource":"https://api.magentlab.com/api/calc/peld_cr","serviceName":"magent","tags":["peld-cr","liver","pediatric","optn","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/peld","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"McDiarmid 2002 PELD from bilirubin, INR, albumin, age under 1 year, and growth failure. Deterministic published listing arithmetic with citation; not a transplant listing recommendation.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":2,"albumin_g_dl":2.5,"albumin_g_l":25,"bilirubin_mg_dl":4,"bilirubin_umol_l":68.4,"growth_failure":false,"inr":1.5},{"age_years":2,"albumin_g_dl":2.5,"albumin_g_l":25,"bilirubin_mg_dl":4,"bilirubin_umol_l":68.4,"growth_failure":false,"inr":1.5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_lt_1":false,"age_years":2,"albumin_g_dl":2.5,"albumin_used_g_dl":2.5,"bilirubin_mg_dl":4,"bilirubin_used_mg_dl":4,"citation":{"authors":"McDiarmid SV, Anand R, Lindblad AS; SPLIT Research Group","doi":"10.1097/00007890-200207270-00006","id":"mcdiarmid-2002","source":"Transplantation. 2002;74(2):173-181","title":"Development of a pediatric end-stage liver disease score to predict poor outcome in children awaiting liver transplantation"},"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":"peld","formula_expression":"raw = 0.480*ln(bili) + 1.857*ln(INR) - 0.687*ln(albumin) + 0.436*[age\u003c1] + 0.667*[growth_failure]; PELD = round(10 * raw); bili, INR, and albumin floored at 1.0","growth_failure":false,"inr":1.5,"inr_used":1.5,"peld":8},{"age_lt_1":false,"age_years":2,"albumin_g_dl":2.5,"albumin_used_g_dl":2.5,"bilirubin_mg_dl":4,"bilirubin_used_mg_dl":4,"citation":{"authors":"McDiarmid SV, Anand R, Lindblad AS; SPLIT Research Group","doi":"10.1097/00007890-200207270-00006","id":"mcdiarmid-2002","source":"Transplantation. 2002;74(2):173-181","title":"Development of a pediatric end-stage liver disease score to predict poor outcome in children awaiting liver transplantation"},"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":"peld","formula_expression":"raw = 0.480*ln(bili) + 1.857*ln(INR) - 0.687*ln(albumin) + 0.436*[age\u003c1] + 0.667*[growth_failure]; PELD = round(10 * raw); bili, INR, and albumin floored at 1.0","growth_failure":false,"inr":1.5,"inr_used":1.5,"peld":8}],"path":"/api/calc/peld"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (0-11 inclusive). PELD is for children under 12. Age under 1 adds 0.436 before scaling.","type":"number"},"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Provide this or albumin_g_l, not both. Floored at 1.0 before ln.","type":"number"},"albumin_g_l":{"description":"Albumin in g/L. Converted as g/dL = g/L / 10.","type":"number"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l, not both. Floored at 1.0 before ln.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L. Converted as mg/dL = µmol/L / 17.1.","type":"number"},"growth_failure":{"description":"Growth failure as assigned by the caller. true adds 0.667 before scaling.","type":"boolean"},"inr":{"description":"INR (0.8-10). Floored at 1.0 before ln.","type":"number"}},"required":["age_years","inr","growth_failure"],"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"}}},"lastUpdated":"2026-10-05T14:03:22.336Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:03:22.197Z"},"resource":"https://api.magentlab.com/api/calc/peld","serviceName":"magent","tags":["peld","liver","pediatric","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/saag","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Runyon 1992 SAAG as serum albumin minus ascites albumin in g/dL, rounded to one decimal. portal_hypertension_physiology is true when SAAG \u003e= 1.1 g/dL. Gradient only; not Light-style exudate/transudate criteria for ascites. Not a diagnosis. magent does not diagnose portal hypertension or peritonitis. Serum and ascites albumin as g/dL or g/L.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":3.5,"albumin_g_l":35,"ascites_albumin_g_dl":2,"ascites_albumin_g_l":20},{"albumin_g_dl":3.5,"albumin_g_l":35,"ascites_albumin_g_dl":2,"ascites_albumin_g_l":20}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":3.5,"ascites_albumin_g_dl":2,"citation":{"authors":"Runyon BA, Montano AA, Akriviadis EA, Antillon MR, Irving MA, McHutchison JG","doi":"10.7326/0003-4819-117-3-215","id":"runyon-1992","source":"Ann Intern Med. 1992;117(3):215-220","title":"The serum-ascites albumin gradient is superior to the exudate-transudate concept in the differential diagnosis of ascites"},"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":"saag","formula_expression":"saag_g_dl = albumin_g_dl - ascites_albumin_g_dl","portal_hypertension_physiology":true,"saag_g_dl":1.5},{"albumin_g_dl":3.5,"ascites_albumin_g_dl":2,"citation":{"authors":"Runyon BA, Montano AA, Akriviadis EA, Antillon MR, Irving MA, McHutchison JG","doi":"10.7326/0003-4819-117-3-215","id":"runyon-1992","source":"Ann Intern Med. 1992;117(3):215-220","title":"The serum-ascites albumin gradient is superior to the exudate-transudate concept in the differential diagnosis of ascites"},"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":"saag","formula_expression":"saag_g_dl = albumin_g_dl - ascites_albumin_g_dl","portal_hypertension_physiology":true,"saag_g_dl":1.5}],"path":"/api/calc/saag"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Converted as g/dL = g/L / 10. Provide this or albumin_g_dl, not both.","type":"number"},"ascites_albumin_g_dl":{"description":"Ascites albumin in g/dL (0.1-6). Provide this or ascites_albumin_g_l, not both. May be lower than serum albumin.","type":"number"},"ascites_albumin_g_l":{"description":"Ascites albumin in g/L (1-60). Converted as g/dL = g/L / 10. Provide this or ascites_albumin_g_dl, not both.","type":"number"}},"required":[],"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"}}},"lastUpdated":"2026-10-05T14:03:15.614Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:03:15.483Z"},"resource":"https://api.magentlab.com/api/calc/saag","serviceName":"magent","tags":["saag","ascites","albumin","liver","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/aih_original","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Alvarez 1999 revised original IAIHG AIH score, not Hennes 2008 simplified. Caller-assigned sex, ALP:AST/ALT ratio, globulin/IgG, ANA/SMA/LKM titer, AMA, viral markers, drugs, alcohol, additive histology, other autoimmune disease; optional HLA/other autoantibodies if seronegative and treatment response. Pretreatment definite \u003e15 / probable 10-15; posttreatment definite \u003e17 / probable 12-17. magent does not read histology. Not a diagnosis or immunosuppression order.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alcohol_intake":"gt_60","alp_ratio":"gt_3","ama_positive":true,"autoantibody_titer":"lt_1_40","biliary_changes":true,"globulin_igg":"lt_1x","hepatotoxic_drugs":true,"hla_dr3_or_dr4":false,"interface_hepatitis":false,"liver_cell_rosettes":false,"lymphoplasmacytic_infiltrate":false,"other_atypical_histology":true,"other_autoantibodies":false,"other_autoimmune_disease":false,"sex":"male","treatment_response":"none","viral_markers_positive":true},{"alcohol_intake":"gt_60","alp_ratio":"gt_3","ama_positive":true,"autoantibody_titer":"lt_1_40","biliary_changes":true,"globulin_igg":"lt_1x","hepatotoxic_drugs":true,"hla_dr3_or_dr4":false,"interface_hepatitis":false,"liver_cell_rosettes":false,"lymphoplasmacytic_infiltrate":false,"other_atypical_histology":true,"other_autoantibodies":false,"other_autoimmune_disease":false,"sex":"male","treatment_response":"none","viral_markers_positive":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"aih_band":"not_aih","citation":{"authors":"Alvarez F, Berg PA, Bianchi FB, et al.","doi":"10.1016/s0168-8278(99)80297-9","id":"alvarez-1999","pmid":"10580593","source":"J Hepatol. 1999;31(5):929-938","title":"International Autoimmune Hepatitis Group Report: review of criteria for diagnosis of autoimmune hepatitis"},"components":[{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"alp_ratio","points":-2,"present":true,"value":"gt_3"},{"factor":"globulin_igg","points":0,"present":false,"value":"lt_1x"},{"factor":"autoantibody_titer","points":0,"present":false,"value":"lt_1_40"},{"factor":"ama_positive","points":-4,"present":true},{"factor":"viral_markers_positive","points":-3,"present":true,"value":true},{"factor":"hepatotoxic_drugs","points":-4,"present":true,"value":true},{"factor":"alcohol_intake","points":-2,"present":true,"value":"gt_60"},{"factor":"interface_hepatitis","points":0,"present":false},{"factor":"lymphoplasmacytic_infiltrate","points":0,"present":false},{"factor":"liver_cell_rosettes","points":0,"present":false},{"factor":"typical_histology_absent","points":-5,"present":true},{"factor":"biliary_changes","points":-3,"present":true},{"factor":"other_atypical_histology","points":-3,"present":true},{"factor":"other_autoimmune_disease","points":0,"present":false},{"factor":"other_autoantibodies","points":0,"present":false},{"factor":"hla_dr3_or_dr4","points":0,"present":false},{"factor":"treatment_response","points":0,"present":false,"value":"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":"aih_original","formula_expression":"revised original IAIHG AIH (Alvarez 1999) = sex (male 0, female 2) + alp_ratio (lt_1_5 2, 1_5_to_3 0, gt_3 -2) + globulin_igg (lt_1x 0, 1_to_1_5x 1, 1_5_to_2x 2, gt_2x 3) + autoantibody_titer (lt_1_40 0, 1_40 1, 1_80 2, gt_1_80 3) + ama_positive (true -4) + viral_markers (positive -3, negative 3) + hepatotoxic_drugs (true -4, false 1) + alcohol (lt_25 2, 25_to_60 0, gt_60 -2) + histology (interface 3, lymphoplasmacytic 1, rosettes 1, none of those -5, biliary -3, other atypical -3; additive) + other_autoimmune_disease (true 2) + other_autoantibodies (true 2 if titer lt_1_40) + hla_dr3_or_dr4 (true 1 if titer lt_1_40) + treatment_response (complete 2, relapse 3); max 26; pretreatment definite \u003e15, probable 10-15; posttreatment definite \u003e17, probable 12-17","max_score":26,"score":-26,"timing":"pretreatment"},{"aih_band":"not_aih","citation":{"authors":"Alvarez F, Berg PA, Bianchi FB, et al.","doi":"10.1016/s0168-8278(99)80297-9","id":"alvarez-1999","pmid":"10580593","source":"J Hepatol. 1999;31(5):929-938","title":"International Autoimmune Hepatitis Group Report: review of criteria for diagnosis of autoimmune hepatitis"},"components":[{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"alp_ratio","points":-2,"present":true,"value":"gt_3"},{"factor":"globulin_igg","points":0,"present":false,"value":"lt_1x"},{"factor":"autoantibody_titer","points":0,"present":false,"value":"lt_1_40"},{"factor":"ama_positive","points":-4,"present":true},{"factor":"viral_markers_positive","points":-3,"present":true,"value":true},{"factor":"hepatotoxic_drugs","points":-4,"present":true,"value":true},{"factor":"alcohol_intake","points":-2,"present":true,"value":"gt_60"},{"factor":"interface_hepatitis","points":0,"present":false},{"factor":"lymphoplasmacytic_infiltrate","points":0,"present":false},{"factor":"liver_cell_rosettes","points":0,"present":false},{"factor":"typical_histology_absent","points":-5,"present":true},{"factor":"biliary_changes","points":-3,"present":true},{"factor":"other_atypical_histology","points":-3,"present":true},{"factor":"other_autoimmune_disease","points":0,"present":false},{"factor":"other_autoantibodies","points":0,"present":false},{"factor":"hla_dr3_or_dr4","points":0,"present":false},{"factor":"treatment_response","points":0,"present":false,"value":"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":"aih_original","formula_expression":"revised original IAIHG AIH (Alvarez 1999) = sex (male 0, female 2) + alp_ratio (lt_1_5 2, 1_5_to_3 0, gt_3 -2) + globulin_igg (lt_1x 0, 1_to_1_5x 1, 1_5_to_2x 2, gt_2x 3) + autoantibody_titer (lt_1_40 0, 1_40 1, 1_80 2, gt_1_80 3) + ama_positive (true -4) + viral_markers (positive -3, negative 3) + hepatotoxic_drugs (true -4, false 1) + alcohol (lt_25 2, 25_to_60 0, gt_60 -2) + histology (interface 3, lymphoplasmacytic 1, rosettes 1, none of those -5, biliary -3, other atypical -3; additive) + other_autoimmune_disease (true 2) + other_autoantibodies (true 2 if titer lt_1_40) + hla_dr3_or_dr4 (true 1 if titer lt_1_40) + treatment_response (complete 2, relapse 3); max 26; pretreatment definite \u003e15, probable 10-15; posttreatment definite \u003e17, probable 12-17","max_score":26,"score":-26,"timing":"pretreatment"}],"path":"/api/calc/aih_original"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alcohol_intake":{"description":"Caller-assigned average alcohol intake (Alvarez 1999). lt_25 (\u003c25 g/day) scores 2; 25_to_60 scores 0 (gap between the tabulated \u003c25 and \u003e60 cells); gt_60 (\u003e60 g/day) scores -2.","enum":["lt_25","25_to_60","gt_60"],"type":"string"},"alp_ratio":{"description":"Caller-assigned ALP:(AST or ALT) ratio as multiples of ULN (Alvarez 1999 note 1). lt_1_5 (\u003c1.5) scores 2; 1_5_to_3 (1.5–3.0) scores 0; gt_3 (\u003e3) scores -2. magent does not take raw enzymes.","enum":["lt_1_5","1_5_to_3","gt_3"],"type":"string"},"ama_positive":{"description":"Caller-assigned antimitochondrial antibody. true scores -4; false scores 0 (Alvarez 1999). magent does not assay AMA.","type":"boolean"},"autoantibody_titer":{"description":"Caller-assigned highest ANA, SMA, or LKM-1 immunofluorescence titer (Alvarez 1999). lt_1_40 scores 0; 1_40 scores 1; 1_80 scores 2; gt_1_80 scores 3. magent does not titer autoantibodies.","enum":["lt_1_40","1_40","1_80","gt_1_80"],"type":"string"},"biliary_changes":{"description":"Caller-assigned biliary changes typical of PBC or PSC (Alvarez 1999 note 5). true scores -3; additive with other histology items. magent does not read histology.","type":"boolean"},"globulin_igg":{"description":"Caller-assigned serum globulin or IgG as multiples of ULN (Alvarez 1999). lt_1x scores 0; 1_to_1_5x scores 1; 1_5_to_2x scores 2; gt_2x scores 3. magent does not assay globulin or IgG.","enum":["lt_1x","1_to_1_5x","1_5_to_2x","gt_2x"],"type":"string"},"hepatotoxic_drugs":{"description":"Recent or current known or suspected hepatotoxic drugs (Alvarez 1999 note 4). true scores -4; false scores 1.","type":"boolean"},"hla_dr3_or_dr4":{"description":"Optional. HLA DR3 or DR4 (Alvarez 1999 note 9). true scores 1 only when autoantibody_titer is lt_1_40; otherwise 0. Omit or false scores 0.","type":"boolean"},"interface_hepatitis":{"description":"Caller-assigned interface hepatitis on liver histology. true scores 3 (Alvarez 1999; additive). magent does not read histology.","type":"boolean"},"liver_cell_rosettes":{"description":"Caller-assigned liver-cell rosettes. true scores 1 (Alvarez 1999; additive). magent does not read histology.","type":"boolean"},"lymphoplasmacytic_infiltrate":{"description":"Caller-assigned predominantly lymphoplasmacytic infiltrate. true scores 1 (Alvarez 1999; additive). magent does not read histology.","type":"boolean"},"other_atypical_histology":{"description":"Caller-assigned other prominent histologic features suggesting a different etiology (Alvarez 1999 note 6). true scores -3; additive. magent does not read histology.","type":"boolean"},"other_autoantibodies":{"description":"Optional. Seropositivity for other defined autoantibodies (pANCA, anti-LC1, anti-SLA, anti-ASGPR, anti-LP, anti-sulfatide; Alvarez 1999 note 8). true scores 2 only when autoantibody_titer is lt_1_40; otherwise 0. Omit or false scores 0.","type":"boolean"},"other_autoimmune_disease":{"description":"Any other autoimmune disorder in the patient or first-degree relatives (Alvarez 1999 note 7). true scores 2; false scores 0.","type":"boolean"},"sex":{"description":"Caller-assigned sex (Alvarez 1999). female scores 2; male scores 0. magent does not examine the patient.","enum":["female","male"],"type":"string"},"treatment_response":{"description":"Optional. Alvarez 1999 response to therapy, added to presentation points. none or omit: pretreatment bands (definite \u003e15, probable 10-15). complete scores 2; relapse scores 3; both use posttreatment bands (definite \u003e17, probable 12-17). Not an immunosuppression order.","enum":["none","complete","relapse"],"type":"string"},"viral_markers_positive":{"description":"Caller-assigned hepatitis A/B/C viral markers (Alvarez 1999 note 3). true scores -3; false (negative) scores 3. magent does not interpret viral serology.","type":"boolean"}},"required":["sex","alp_ratio","globulin_igg","autoantibody_titer","ama_positive","viral_markers_positive","hepatotoxic_drugs","alcohol_intake","interface_hepatitis","lymphoplasmacytic_infiltrate","liver_cell_rosettes","biliary_changes","other_atypical_histology","other_autoimmune_disease"],"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"}}},"lastUpdated":"2026-10-05T14:03:08.284Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:03:08.147Z"},"resource":"https://api.magentlab.com/api/calc/aih_original","serviceName":"magent","tags":["aih-original","autoimmune","hepatitis","liver","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/albi","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Johnson 2015 albumin-bilirubin (ALBI) grade from total bilirubin and albumin. xb = 0.66*log10(bilirubin umol/L) + albumin_g_l*(-0.085). Grade 1 if xb \u003c= -2.60, grade 2 if xb \u003c= -1.39, else 3. Returns albi_score (4 decimals) and albi_grade. Not a listing protocol, Child-Pugh, survival estimate, mALBI, PALBI, or EZ-ALBI.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":4,"albumin_g_l":40,"bilirubin_mg_dl":1,"bilirubin_umol_l":10},{"albumin_g_dl":4,"albumin_g_l":40,"bilirubin_mg_dl":1,"bilirubin_umol_l":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albi_grade":1,"albi_score":-2.74,"albumin_g_l":40,"bilirubin_umol_l":10,"citation":{"authors":"Johnson PJ, Berhane S, Kagebayashi C, et al.","doi":"10.1200/JCO.2014.57.9151","id":"johnson-2015","pmid":"25512453","source":"J Clin Oncol. 2015;33(6):550-558","title":"Assessment of liver function in patients with hepatocellular carcinoma: a new evidence-based approach-the ALBI grade"},"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":"albi","formula_expression":"albi_score = (log10(bilirubin_umol_l) * 0.66) + (albumin_g_l * -0.085)"},{"albi_grade":1,"albi_score":-2.74,"albumin_g_l":40,"bilirubin_umol_l":10,"citation":{"authors":"Johnson PJ, Berhane S, Kagebayashi C, et al.","doi":"10.1200/JCO.2014.57.9151","id":"johnson-2015","pmid":"25512453","source":"J Clin Oncol. 2015;33(6):550-558","title":"Assessment of liver function in patients with hepatocellular carcinoma: a new evidence-based approach-the ALBI grade"},"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":"albi","formula_expression":"albi_score = (log10(bilirubin_umol_l) * 0.66) + (albumin_g_l * -0.085)"}],"path":"/api/calc/albi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Johnson 2015 uses g/L.","type":"number"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1. Provide this or bilirubin_umol_l, not both.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Provide this or bilirubin_mg_dl, not both. Johnson 2015 uses µmol/L in log10.","type":"number"}},"required":[],"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"}}},"lastUpdated":"2026-10-05T14:02:54.057Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:02:53.918Z"},"resource":"https://api.magentlab.com/api/calc/albi","serviceName":"magent","tags":["albi","liver","hcc","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/arc_hbr","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"ARC-HBR (Urban 2019 Table 3). High bleeding risk at PCI iff ≥1 major or ≥2 minor. Binary; no weighted point score. Caller-assigned booleans; magent does not assay labs or read NIHSS. Mutex (400): severe vs moderate CKD, Hb \u003c11 vs mild anemia, major vs minor bleed, moderate-severe stroke \u003c6 mo vs any other ischemic stroke. Not a DAPT duration. Not a medical device.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"active_malignancy_12mo":false,"age_ge_75":true,"anticipated_long_term_oac":false,"any_ischemic_stroke_not_major":false,"bavm":false,"chronic_bleeding_diathesis":false,"cirrhosis_with_portal_hypertension":false,"hemoglobin_lt_11":false,"long_term_nsaid_or_steroid":false,"mild_anemia":false,"moderate_ckd":false,"moderate_severe_ischemic_stroke_6mo":false,"nondeferrable_major_surgery_dapt":false,"previous_spontaneous_ich":false,"recent_major_surgery_or_trauma_30d":false,"severe_or_esrd_ckd":false,"spontaneous_bleed_major":false,"spontaneous_bleed_minor":false,"thrombocytopenia_lt_100":false,"traumatic_ich_12mo":false},{"active_malignancy_12mo":false,"age_ge_75":true,"anticipated_long_term_oac":false,"any_ischemic_stroke_not_major":false,"bavm":false,"chronic_bleeding_diathesis":false,"cirrhosis_with_portal_hypertension":false,"hemoglobin_lt_11":false,"long_term_nsaid_or_steroid":false,"mild_anemia":false,"moderate_ckd":false,"moderate_severe_ischemic_stroke_6mo":false,"nondeferrable_major_surgery_dapt":false,"previous_spontaneous_ich":false,"recent_major_surgery_or_trauma_30d":false,"severe_or_esrd_ckd":false,"spontaneous_bleed_major":false,"spontaneous_bleed_minor":false,"thrombocytopenia_lt_100":false,"traumatic_ich_12mo":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Urban P, Mehran R, Colleran R, Angiolillo DJ, Byrne RA, Capodanno D, Cuisset T, Cutlip D, Eerdmans P, Eikelboom J, Farb A, Gibson CM, Gregson J, Haude M, James SK, Kim HS, Kimura T, Konishi A, Laschinger J, Leon MB, Magee PFA, Price MJ, Salett E, Schulz C, Valgimigli M, Varenne O, Yeh RW, Krucoff MW","doi":"10.1161/CIRCULATIONAHA.119.040167","id":"urban-2019","pmid":"31116032","source":"Circulation. 2019;140(3):240-261","title":"Defining High Bleeding Risk in Patients Undergoing Percutaneous Coronary Intervention: A Consensus Document From the Academic Research Consortium for High Bleeding Risk"},"criteria":[{"factor":"anticipated_long_term_oac","met":false},{"factor":"severe_or_esrd_ckd","met":false},{"factor":"hemoglobin_lt_11","met":false},{"factor":"spontaneous_bleed_major","met":false},{"factor":"thrombocytopenia_lt_100","met":false},{"factor":"chronic_bleeding_diathesis","met":false},{"factor":"cirrhosis_with_portal_hypertension","met":false},{"factor":"active_malignancy_12mo","met":false},{"factor":"previous_spontaneous_ich","met":false},{"factor":"traumatic_ich_12mo","met":false},{"factor":"bavm","met":false},{"factor":"moderate_severe_ischemic_stroke_6mo","met":false},{"factor":"nondeferrable_major_surgery_dapt","met":false},{"factor":"recent_major_surgery_or_trauma_30d","met":false},{"factor":"age_ge_75","met":true},{"factor":"moderate_ckd","met":false},{"factor":"mild_anemia","met":false},{"factor":"spontaneous_bleed_minor","met":false},{"factor":"long_term_nsaid_or_steroid","met":false},{"factor":"any_ischemic_stroke_not_major","met":false}],"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":"arc_hbr","formula_expression":"high_bleeding_risk iff major_count \u003e= 1 or minor_count \u003e= 2 (Urban 2019 Table 3). Binary HBR; not a weighted point score. Majors: anticipated_long_term_oac, severe_or_esrd_ckd, hemoglobin_lt_11, spontaneous_bleed_major, thrombocytopenia_lt_100, chronic_bleeding_diathesis, cirrhosis_with_portal_hypertension, active_malignancy_12mo, previous_spontaneous_ich, traumatic_ich_12mo, bavm, moderate_severe_ischemic_stroke_6mo, nondeferrable_major_surgery_dapt, recent_major_surgery_or_trauma_30d. Minors: age_ge_75, moderate_ckd, mild_anemia, spontaneous_bleed_minor, long_term_nsaid_or_steroid, any_ischemic_stroke_not_major","high_bleeding_risk":false,"major_count":0,"minor_count":1},{"citation":{"authors":"Urban P, Mehran R, Colleran R, Angiolillo DJ, Byrne RA, Capodanno D, Cuisset T, Cutlip D, Eerdmans P, Eikelboom J, Farb A, Gibson CM, Gregson J, Haude M, James SK, Kim HS, Kimura T, Konishi A, Laschinger J, Leon MB, Magee PFA, Price MJ, Salett E, Schulz C, Valgimigli M, Varenne O, Yeh RW, Krucoff MW","doi":"10.1161/CIRCULATIONAHA.119.040167","id":"urban-2019","pmid":"31116032","source":"Circulation. 2019;140(3):240-261","title":"Defining High Bleeding Risk in Patients Undergoing Percutaneous Coronary Intervention: A Consensus Document From the Academic Research Consortium for High Bleeding Risk"},"criteria":[{"factor":"anticipated_long_term_oac","met":false},{"factor":"severe_or_esrd_ckd","met":false},{"factor":"hemoglobin_lt_11","met":false},{"factor":"spontaneous_bleed_major","met":false},{"factor":"thrombocytopenia_lt_100","met":false},{"factor":"chronic_bleeding_diathesis","met":false},{"factor":"cirrhosis_with_portal_hypertension","met":false},{"factor":"active_malignancy_12mo","met":false},{"factor":"previous_spontaneous_ich","met":false},{"factor":"traumatic_ich_12mo","met":false},{"factor":"bavm","met":false},{"factor":"moderate_severe_ischemic_stroke_6mo","met":false},{"factor":"nondeferrable_major_surgery_dapt","met":false},{"factor":"recent_major_surgery_or_trauma_30d","met":false},{"factor":"age_ge_75","met":true},{"factor":"moderate_ckd","met":false},{"factor":"mild_anemia","met":false},{"factor":"spontaneous_bleed_minor","met":false},{"factor":"long_term_nsaid_or_steroid","met":false},{"factor":"any_ischemic_stroke_not_major","met":false}],"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":"arc_hbr","formula_expression":"high_bleeding_risk iff major_count \u003e= 1 or minor_count \u003e= 2 (Urban 2019 Table 3). Binary HBR; not a weighted point score. Majors: anticipated_long_term_oac, severe_or_esrd_ckd, hemoglobin_lt_11, spontaneous_bleed_major, thrombocytopenia_lt_100, chronic_bleeding_diathesis, cirrhosis_with_portal_hypertension, active_malignancy_12mo, previous_spontaneous_ich, traumatic_ich_12mo, bavm, moderate_severe_ischemic_stroke_6mo, nondeferrable_major_surgery_dapt, recent_major_surgery_or_trauma_30d. Minors: age_ge_75, moderate_ckd, mild_anemia, spontaneous_bleed_minor, long_term_nsaid_or_steroid, any_ischemic_stroke_not_major","high_bleeding_risk":false,"major_count":0,"minor_count":1}],"path":"/api/calc/arc_hbr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_malignancy_12mo":{"description":"Active malignancy (excluding nonmelanoma skin cancer) as assigned by the caller: diagnosis within 12 months and/or ongoing treatment (Urban 2019 Table 3 major). true or false. magent does not diagnose cancer.","type":"boolean"},"age_ge_75":{"description":"Age ≥75 years as assigned by the caller (Urban 2019 Table 3 minor). true or false. magent does not take a numeric age.","type":"boolean"},"anticipated_long_term_oac":{"description":"Anticipated use of long-term oral anticoagulation as assigned by the caller (Urban 2019 Table 3 major). Paper footnote excludes vascular-protection doses; that exclusion is a limitation, not a separate param. true or false. magent does not prescribe anticoagulation.","type":"boolean"},"any_ischemic_stroke_not_major":{"description":"Any ischemic stroke at any time that does not meet the major stroke criterion, as assigned by the caller (Urban 2019 Table 3 minor). Mutually exclusive with moderate_severe_ischemic_stroke_6mo. true or false. magent does not assign NIHSS.","type":"boolean"},"bavm":{"description":"Brain arteriovenous malformation as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not read imaging.","type":"boolean"},"chronic_bleeding_diathesis":{"description":"Chronic bleeding diathesis as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not diagnose a coagulopathy.","type":"boolean"},"cirrhosis_with_portal_hypertension":{"description":"Liver cirrhosis with portal hypertension as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not diagnose cirrhosis.","type":"boolean"},"hemoglobin_lt_11":{"description":"Hemoglobin \u003c11 g/dL as assigned by the caller (Urban 2019 Table 3 major). Mutually exclusive with mild_anemia. true or false. magent does not assay hemoglobin.","type":"boolean"},"long_term_nsaid_or_steroid":{"description":"Long-term oral NSAID or steroid use (planned daily intake ≥4 days per week) as assigned by the caller (Urban 2019 Table 3 minor). true or false. magent does not prescribe NSAIDs or steroids.","type":"boolean"},"mild_anemia":{"description":"Mild anemia (hemoglobin 11–12.9 g/dL in men or 11–11.9 g/dL in women) as assigned by the caller (Urban 2019 Table 3 minor). Mutually exclusive with hemoglobin_lt_11. true or false. magent does not take sex or hemoglobin numbers.","type":"boolean"},"moderate_ckd":{"description":"Moderate CKD (eGFR 30–59 mL/min) as assigned by the caller (Urban 2019 Table 3 minor). Mutually exclusive with severe_or_esrd_ckd. true or false. magent does not assay creatinine or compute eGFR.","type":"boolean"},"moderate_severe_ischemic_stroke_6mo":{"description":"Moderate or severe ischemic stroke (NIHSS ≥5 on presentation) within the past 6 months as assigned by the caller (Urban 2019 Table 3 major). Mutually exclusive with any_ischemic_stroke_not_major. true or false. magent does not assign NIHSS.","type":"boolean"},"nondeferrable_major_surgery_dapt":{"description":"Nondeferrable major surgery on DAPT as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not schedule surgery.","type":"boolean"},"previous_spontaneous_ich":{"description":"Previous spontaneous intracranial hemorrhage at any time as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not read imaging.","type":"boolean"},"recent_major_surgery_or_trauma_30d":{"description":"Recent major surgery or major trauma within 30 days before PCI as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not date the event.","type":"boolean"},"severe_or_esrd_ckd":{"description":"Severe or end-stage CKD (eGFR \u003c30 mL/min) as assigned by the caller (Urban 2019 Table 3 major). Mutually exclusive with moderate_ckd. true or false. magent does not assay creatinine or compute eGFR.","type":"boolean"},"spontaneous_bleed_major":{"description":"Spontaneous bleeding requiring hospitalization or transfusion in the past 6 months, or recurrent at any time, as assigned by the caller (Urban 2019 Table 3 major). Mutually exclusive with spontaneous_bleed_minor. true or false.","type":"boolean"},"spontaneous_bleed_minor":{"description":"Spontaneous bleeding requiring hospitalization or transfusion within the past 12 months that does not meet the major criterion, as assigned by the caller (Urban 2019 Table 3 minor). Mutually exclusive with spontaneous_bleed_major. true or false.","type":"boolean"},"thrombocytopenia_lt_100":{"description":"Baseline platelet count \u003c100×10^9/L before PCI as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not assay platelets.","type":"boolean"},"traumatic_ich_12mo":{"description":"Previous traumatic intracranial hemorrhage within the past 12 months as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not read imaging.","type":"boolean"}},"required":["anticipated_long_term_oac","severe_or_esrd_ckd","hemoglobin_lt_11","spontaneous_bleed_major","thrombocytopenia_lt_100","chronic_bleeding_diathesis","cirrhosis_with_portal_hypertension","active_malignancy_12mo","previous_spontaneous_ich","traumatic_ich_12mo","bavm","moderate_severe_ischemic_stroke_6mo","nondeferrable_major_surgery_dapt","recent_major_surgery_or_trauma_30d","age_ge_75","moderate_ckd","mild_anemia","spontaneous_bleed_minor","long_term_nsaid_or_steroid","any_ischemic_stroke_not_major"],"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"}}},"lastUpdated":"2026-10-05T14:01:10.431Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:01:10.279Z"},"resource":"https://api.magentlab.com/api/calc/arc_hbr","serviceName":"magent","tags":["arc-hbr","pci","bleeding-risk","acs"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/aub_has2","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Dakik 2019 AUB-HAS2 for 30-day death/MI/stroke after noncardiac surgery: six 1-point elements (history of heart disease, angina or dyspnea, age ≥75, hemoglobin \u003c12 g/dL, vascular surgery, emergency surgery). Low 0-1, intermediate 2-3, high \u003e3 (max 6). Derivation rates 0%, 0.5%, 2.0%, 5.6%, 15.7% by score 0/1/2/3/\u003e3. Not a medical device, not RCRI, not ACS treatment, and not operative clearance.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"angina_or_dyspnea":false,"emergency_surgery":false,"hemoglobin_g_dl":13,"hemoglobin_g_l":130,"history_of_heart_disease":false,"vascular_surgery":false},{"age":50,"angina_or_dyspnea":false,"emergency_surgery":false,"hemoglobin_g_dl":13,"hemoglobin_g_l":130,"history_of_heart_disease":false,"vascular_surgery":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"angina_or_dyspnea":false,"citation":{"authors":"Dakik HA, Chehab O, Eldirani M, Sbeity E, Karam C, Abou Hassan O, Msheik A, Kaspar C, Makki M, Tamim H","doi":"10.1016/j.jacc.2019.04.023","id":"dakik-2019","pmid":"31221255","source":"J Am Coll Cardiol. 2019;73(24):3067-3078","title":"A New Index for Pre-Operative Cardiovascular Evaluation"},"components":[{"factor":"history_of_heart_disease","points":0,"present":false},{"factor":"angina_or_dyspnea","points":0,"present":false},{"factor":"age_ge_75","points":0,"present":false,"value":50},{"factor":"hemoglobin_lt_12","points":0,"present":false,"value":13},{"factor":"vascular_surgery","points":0,"present":false},{"factor":"emergency_surgery","points":0,"present":false}],"derivation_event_rate_percent":0,"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.","emergency_surgery":false,"formula":"aub_has2","formula_expression":"AUB-HAS2 = history_of_heart_disease + angina_or_dyspnea + (age ≥75) + (hemoglobin \u003c12 g/dL) + vascular_surgery + emergency_surgery; each 1; max 6; low 0-1, intermediate 2-3, high \u003e3","hemoglobin_g_dl":13,"history_of_heart_disease":false,"max_score":6,"risk_band":"low","score":0,"vascular_surgery":false},{"age_years":50,"angina_or_dyspnea":false,"citation":{"authors":"Dakik HA, Chehab O, Eldirani M, Sbeity E, Karam C, Abou Hassan O, Msheik A, Kaspar C, Makki M, Tamim H","doi":"10.1016/j.jacc.2019.04.023","id":"dakik-2019","pmid":"31221255","source":"J Am Coll Cardiol. 2019;73(24):3067-3078","title":"A New Index for Pre-Operative Cardiovascular Evaluation"},"components":[{"factor":"history_of_heart_disease","points":0,"present":false},{"factor":"angina_or_dyspnea","points":0,"present":false},{"factor":"age_ge_75","points":0,"present":false,"value":50},{"factor":"hemoglobin_lt_12","points":0,"present":false,"value":13},{"factor":"vascular_surgery","points":0,"present":false},{"factor":"emergency_surgery","points":0,"present":false}],"derivation_event_rate_percent":0,"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.","emergency_surgery":false,"formula":"aub_has2","formula_expression":"AUB-HAS2 = history_of_heart_disease + angina_or_dyspnea + (age ≥75) + (hemoglobin \u003c12 g/dL) + vascular_surgery + emergency_surgery; each 1; max 6; low 0-1, intermediate 2-3, high \u003e3","hemoglobin_g_dl":13,"history_of_heart_disease":false,"max_score":6,"risk_band":"low","score":0,"vascular_surgery":false}],"path":"/api/calc/aub_has2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥75 scores 1 (Dakik 2019). 75 scores; 74 does not.","type":"integer"},"angina_or_dyspnea":{"description":"Symptoms of angina or dyspnea as assigned by the caller (Dakik 2019). true or false. magent does not take a symptom history. 1 point if true.","type":"boolean"},"emergency_surgery":{"description":"Emergency surgery as assigned by the caller (Dakik 2019). true or false. 1 point if true.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. Dakik 2019 writes mg/dl; clinical use is g/dL. \u003c12 g/dL scores 1 (11.9 scores; 12.0 does not). magent does not assay hemoglobin.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both.","type":"number"},"history_of_heart_disease":{"description":"History of heart disease as assigned by the caller (Dakik 2019). true or false. magent does not take a cardiac history. 1 point if true.","type":"boolean"},"vascular_surgery":{"description":"Vascular surgery as assigned by the caller (Dakik 2019). true or false. 1 point if true.","type":"boolean"}},"required":["age","history_of_heart_disease","angina_or_dyspnea","vascular_surgery","emergency_surgery"],"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"}}},"lastUpdated":"2026-10-05T14:00:56.205Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T14:00:56.058Z"},"resource":"https://api.magentlab.com/api/calc/aub_has2","serviceName":"magent","tags":["aub-has2","preoperative","cardiac-risk","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/kt_v","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Daugirdas 1993 second-generation single-pool variable-volume Kt/V. Kt/V = -ln(R - 0.008 * t) + (4 - 3.5 * R) * UF / W, with R = post_bun_mg_dl / pre_bun_mg_dl. Numeric Kt/V to 2 decimals. Not a dialysis prescription, not equilibrated eKt/V, not stdKt/V, and not a urea-reduction-ratio tool. magent does not assign KDOQI or other adequacy targets.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"post_bun_mg_dl":24,"pre_bun_mg_dl":80,"session_hours":4,"uf_l":2,"weight_kg":70,"weight_lb":154.32},{"post_bun_mg_dl":24,"pre_bun_mg_dl":80,"session_hours":4,"uf_l":2,"weight_kg":70,"weight_lb":154.32}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Daugirdas JT","doi":"10.1681/ASN.V451205","id":"daugirdas-1993","pmid":"8305648","source":"J Am Soc Nephrol. 1993;4(5):1205-1213","title":"Second generation logarithmic estimates of single-pool variable volume Kt/V: an analysis of error"},"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":"daugirdas_1993","formula_expression":"Kt/V = -ln(R - 0.008 * t) + (4 - 3.5 * R) * UF / W","kt_v":1.4,"post_bun_mg_dl":24,"pre_bun_mg_dl":80,"session_hours":4,"uf_l":2,"weight_kg":70},{"citation":{"authors":"Daugirdas JT","doi":"10.1681/ASN.V451205","id":"daugirdas-1993","pmid":"8305648","source":"J Am Soc Nephrol. 1993;4(5):1205-1213","title":"Second generation logarithmic estimates of single-pool variable volume Kt/V: an analysis of error"},"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":"daugirdas_1993","formula_expression":"Kt/V = -ln(R - 0.008 * t) + (4 - 3.5 * R) * UF / W","kt_v":1.4,"post_bun_mg_dl":24,"pre_bun_mg_dl":80,"session_hours":4,"uf_l":2,"weight_kg":70}],"path":"/api/calc/kt_v"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"post_bun_mg_dl":{"description":"Postdialysis blood urea nitrogen in mg/dL (1-200). Required with pre_bun_mg_dl.","type":"number"},"pre_bun_mg_dl":{"description":"Predialysis blood urea nitrogen in mg/dL (1-200). Required with post_bun_mg_dl.","type":"number"},"session_hours":{"description":"Hemodialysis session length in hours (1.0-8.0). Daugirdas 1993 t.","type":"number"},"uf_l":{"description":"Ultrafiltration volume in litres (0-15). Daugirdas 1993 UF.","type":"number"},"weight_kg":{"description":"Post-dialysis body weight in kilograms (1-500). Provide weight_kg or weight_lb, not both.","type":"number"},"weight_lb":{"description":"Post-dialysis body weight in pounds (2-1100). Converted as kg = lb × 0.45359237. Provide weight_kg or weight_lb, not both.","type":"number"}},"required":["pre_bun_mg_dl","post_bun_mg_dl","session_hours","uf_l"],"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"}}},"lastUpdated":"2026-10-05T13:55:37.684Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:55:37.562Z"},"resource":"https://api.magentlab.com/api/calc/kt_v","serviceName":"magent","tags":["kt-v","dialysis","kidney","urea","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/psad","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Benson 1992 PSA density: psa_ng_ml / prostate volume (ml). Volume is length_cm × width_cm × depth_cm × 0.5 (D1×D2×D3×1/2), not π/6. Provide PSA with prostate_volume_ml (1-500) or three dimensions (1-20 cm each), not both. Reports dimensionless psad to 3 decimals and retrospective bands \u003c=0.05, 0.05-0.10, \u003e=0.10. magent does not measure the gland or diagnose cancer. Not a medical device.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"depth_cm":4,"length_cm":4,"prostate_volume_ml":40,"psa_ng_ml":4,"width_cm":4},{"depth_cm":4,"length_cm":4,"prostate_volume_ml":40,"psa_ng_ml":4,"width_cm":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"benson_band":"\u003e=0.10","citation":{"authors":"Benson MC, Whang IS, Pantuck A, Ring K, Kaplan SA, Olsson CA, Cooner WH","doi":"10.1016/s0022-5347(17)37393-7","id":"benson-1992-psad","pmid":"1371554","source":"J Urol. 1992;147(3 Pt 2):815-816","title":"Prostate specific antigen density: a means of distinguishing benign prostatic hypertrophy and prostate cancer"},"depth_cm":4,"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":"psad","formula_expression":"volume_ml = length_cm × width_cm × depth_cm × 0.5 (Benson: D1×D2×D3×1/2, not π/6); psad = psa_ng_ml / volume_ml","length_cm":4,"prostate_volume_ml":32,"psa_ng_ml":4,"psad":0.125,"width_cm":4},{"benson_band":"\u003e=0.10","citation":{"authors":"Benson MC, Whang IS, Pantuck A, Ring K, Kaplan SA, Olsson CA, Cooner WH","doi":"10.1016/s0022-5347(17)37393-7","id":"benson-1992-psad","pmid":"1371554","source":"J Urol. 1992;147(3 Pt 2):815-816","title":"Prostate specific antigen density: a means of distinguishing benign prostatic hypertrophy and prostate cancer"},"depth_cm":4,"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":"psad","formula_expression":"volume_ml = length_cm × width_cm × depth_cm × 0.5 (Benson: D1×D2×D3×1/2, not π/6); psad = psa_ng_ml / volume_ml","length_cm":4,"prostate_volume_ml":32,"psa_ng_ml":4,"psad":0.125,"width_cm":4}],"path":"/api/calc/psad"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"depth_cm":{"description":"Prostate depth (D3) in cm (1-20). Required with length_cm and width_cm when prostate_volume_ml is omitted.","type":"number"},"length_cm":{"description":"Prostate length (D1) in cm (1-20). Required with width_cm and depth_cm when prostate_volume_ml is omitted. Benson volume = L×W×D×0.5.","type":"number"},"prostate_volume_ml":{"description":"Caller-supplied prostate volume in ml (1-500). Provide this or length_cm, width_cm, and depth_cm, not both. magent does not measure the gland.","type":"number"},"psa_ng_ml":{"description":"Serum prostate-specific antigen in ng/ml (0.01-10000, magent clamp). magent does not assay PSA.","type":"number"},"width_cm":{"description":"Prostate width (D2) in cm (1-20). Required with length_cm and depth_cm when prostate_volume_ml is omitted.","type":"number"}},"required":["psa_ng_ml"],"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"}}},"lastUpdated":"2026-10-05T13:55:09.797Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:55:09.653Z"},"resource":"https://api.magentlab.com/api/calc/psad","serviceName":"magent","tags":["psad","psa-density","prostate","kidney","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/cp_aki","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Gupta 2024 Figure 2 simple CP-AKI score after first IV cisplatin: age, hypertension, diabetes, current or former smoking, hemoglobin g/L, WBC, albumin g/L, magnesium mmol/L, and cisplatin dose mg. Max 22.5. Low / moderate / high / very_high. Not a diagnosis or chemo order. magent does not assay labs or dose cisplatin.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"albumin_g_dl":4.2,"albumin_g_l":42,"cisplatin_dose_mg":50,"current_or_former_smoker":false,"diabetes":false,"hemoglobin_g_dl":13,"hemoglobin_g_l":130,"hypertension":false,"magnesium_mmol_l":0.9,"wbc_k_ul":8,"wbc_ul":8000},{"age":40,"albumin_g_dl":4.2,"albumin_g_l":42,"cisplatin_dose_mg":50,"current_or_former_smoker":false,"diabetes":false,"hemoglobin_g_dl":13,"hemoglobin_g_l":130,"hypertension":false,"magnesium_mmol_l":0.9,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"albumin_g_l":42,"cisplatin_dose_mg":50,"citation":{"authors":"Gupta S, et al.","doi":"10.1136/bmj-2023-077169","id":"gupta-2024","pmid":"38538012","source":"BMJ. 2024;384:e077169","title":"Derivation and external validation of a simple risk score for predicting severe acute kidney injury after intravenous cisplatin: cohort study"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"hypertension","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"current_or_former_smoker","points":0,"present":false},{"factor":"hemoglobin","points":0,"present":false,"value":130},{"factor":"wbc","points":0,"present":false,"value":8},{"factor":"albumin","points":0,"present":false,"value":42},{"factor":"magnesium","points":0,"present":false,"value":0.9},{"factor":"cisplatin_dose","points":0,"present":false,"value":50}],"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":"cp_aki","formula_expression":"CP-AKI simple = age (≤45 0; 46-60 2.5; 61-70 3.5; \u003e70 4.5) + hypertension 1 + diabetes 1 + current_or_former_smoker 1 + hemoglobin_g_l (≥120 0; 110-119 1; \u003c110 1.5) + wbc_10e9_l (≤12.0 0; \u003e12.0 1.5) + albumin_g_l (\u003e38 0; 33-38 1; \u003c33 1.5) + magnesium_mmol_l (≥0.82 0; \u003c0.82 1) + cisplatin_dose_mg (≤50 0; 51-75 2; 76-100 2.5; 101-125 3; 126-150 5; 151-200 7.5; \u003e200 9.5); Gupta 2024 Figure 2 odds-ratio points; max 22.5; no creatinine; no platelets; low 0-5.5 / moderate 6-9.5 / high 10-15.5 / very_high ≥16","hemoglobin_g_l":130,"magnesium_mmol_l":0.9,"max_score":22.5,"risk_group":"low","score":0,"wbc_10e9_l":8},{"age":40,"albumin_g_l":42,"cisplatin_dose_mg":50,"citation":{"authors":"Gupta S, et al.","doi":"10.1136/bmj-2023-077169","id":"gupta-2024","pmid":"38538012","source":"BMJ. 2024;384:e077169","title":"Derivation and external validation of a simple risk score for predicting severe acute kidney injury after intravenous cisplatin: cohort study"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"hypertension","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"current_or_former_smoker","points":0,"present":false},{"factor":"hemoglobin","points":0,"present":false,"value":130},{"factor":"wbc","points":0,"present":false,"value":8},{"factor":"albumin","points":0,"present":false,"value":42},{"factor":"magnesium","points":0,"present":false,"value":0.9},{"factor":"cisplatin_dose","points":0,"present":false,"value":50}],"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":"cp_aki","formula_expression":"CP-AKI simple = age (≤45 0; 46-60 2.5; 61-70 3.5; \u003e70 4.5) + hypertension 1 + diabetes 1 + current_or_former_smoker 1 + hemoglobin_g_l (≥120 0; 110-119 1; \u003c110 1.5) + wbc_10e9_l (≤12.0 0; \u003e12.0 1.5) + albumin_g_l (\u003e38 0; 33-38 1; \u003c33 1.5) + magnesium_mmol_l (≥0.82 0; \u003c0.82 1) + cisplatin_dose_mg (≤50 0; 51-75 2; 76-100 2.5; 101-125 3; 126-150 5; 151-200 7.5; \u003e200 9.5); Gupta 2024 Figure 2 odds-ratio points; max 22.5; no creatinine; no platelets; low 0-5.5 / moderate 6-9.5 / high 10-15.5 / very_high ≥16","hemoglobin_g_l":130,"magnesium_mmol_l":0.9,"max_score":22.5,"risk_group":"low","score":0,"wbc_10e9_l":8}],"path":"/api/calc/cp_aki"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Gupta 2024 Figure 2: ≤45 scores 0; 46-60 scores 2.5; 61-70 scores 3.5; \u003e70 scores 4.5.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as albumin_g_l = albumin_g_dl × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60), Gupta 2024 units. Provide this or albumin_g_dl, not both. \u003e38 scores 0; 33-38 scores 1; \u003c33 scores 1.5. magent does not assay albumin.","type":"number"},"cisplatin_dose_mg":{"description":"First intravenous cisplatin dose in mg (1-500), Gupta 2024 Figure 2. ≤50 scores 0; 51-75 scores 2; 76-100 scores 2.5; 101-125 scores 3; 126-150 scores 5; 151-200 scores 7.5; \u003e200 scores 9.5. magent does not dose cisplatin.","type":"number"},"current_or_former_smoker":{"description":"Caller-assigned current or former smoker (Gupta 2024 Figure 2 simple score; BMJ 2024;385:q1207). true scores 1. magent does not take a smoking history.","type":"boolean"},"diabetes":{"description":"Caller-assigned diabetes mellitus (Gupta 2024 Figure 2). true scores 1. magent does not diagnose diabetes.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Converted as hemoglobin_g_l = hemoglobin_g_dl × 10. Provide this or hemoglobin_g_l, not both.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220), Gupta 2024 units. Provide this or hemoglobin_g_dl, not both. ≥120 scores 0; 110-119 scores 1; \u003c110 scores 1.5. magent does not assay hemoglobin.","type":"number"},"hypertension":{"description":"Caller-assigned hypertension (Gupta 2024 Figure 2). true scores 1. magent does not diagnose hypertension.","type":"boolean"},"magnesium_mmol_l":{"description":"Serum magnesium in mmol/L (0.2-2.5), Gupta 2024 units. ≥0.82 scores 0; \u003c0.82 scores 1. magent does not assay magnesium.","type":"number"},"wbc_k_ul":{"description":"White blood cell count in 10^9/L (0.01-500), same as k/µL. Provide this or wbc_ul, not both. ≤12.0 scores 0; \u003e12.0 scores 1.5 (Gupta 2024 Figure 2). magent does not assay WBC.","type":"number"},"wbc_ul":{"description":"White blood cell count per µL (10-500000). Converted as wbc_10e9_l = wbc_ul / 1000. Provide this or wbc_k_ul, not both.","type":"number"}},"required":["age","hypertension","diabetes","current_or_former_smoker","magnesium_mmol_l","cisplatin_dose_mg"],"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"}}},"lastUpdated":"2026-10-05T13:54:34.149Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:54:34.021Z"},"resource":"https://api.magentlab.com/api/calc/cp_aki","serviceName":"magent","tags":["cp-aki","cisplatin","kidney","aki","oncology"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/pack_years","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"NCI pack-year smoking exposure: pack_years = packs_per_day x years_smoked. One pack per day for one year is one pack-year; two packs per day for 0.5 year is the same. Provide packs_per_day (0-10) or cigarettes_per_day (0-200; 20 cigarettes = 1 pack), not both, plus years_smoked (0-80). magent does not take a smoking history interview. Not a lung-cancer screening order, COPD diagnosis, or medical device.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cigarettes_per_day":10,"packs_per_day":1,"years_smoked":1},{"cigarettes_per_day":10,"packs_per_day":1,"years_smoked":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"National Cancer Institute","id":"nci-pack-year","source":"NCI Dictionaries","title":"NCI Dictionary of Cancer Terms: pack year"},"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":"pack_years","formula_expression":"pack_years = packs_per_day × years_smoked","pack_years":1,"packs_per_day":1,"years_smoked":1},{"citation":{"authors":"National Cancer Institute","id":"nci-pack-year","source":"NCI Dictionaries","title":"NCI Dictionary of Cancer Terms: pack year"},"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":"pack_years","formula_expression":"pack_years = packs_per_day × years_smoked","pack_years":1,"packs_per_day":1,"years_smoked":1}],"path":"/api/calc/pack_years"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cigarettes_per_day":{"description":"Cigarettes smoked per day (0-200, magent clamp). Converted as packs_per_day = cigarettes_per_day / 20. Provide this or packs_per_day, not both.","type":"number"},"packs_per_day":{"description":"Cigarette packs smoked per day (0-10, magent clamp; NCI does not publish an input band). Provide this or cigarettes_per_day, not both. NCI: 1 pack/day for 1 year = 1 pack-year.","type":"number"},"years_smoked":{"description":"Years smoked (0-80, magent clamp; NCI does not publish an input band). NCI: 2 packs/day for 0.5 year = 1 pack-year. magent does not take a smoking history interview.","type":"number"}},"required":["years_smoked"],"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"}}},"lastUpdated":"2026-10-05T13:51:36.32Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:51:36.192Z"},"resource":"https://api.magentlab.com/api/calc/pack_years","serviceName":"magent","tags":["pack-years","smoking","respiratory","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/lips","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Gajic 2011 lung injury prediction score (Table 3): caller-assigned predisposing conditions, at most one high-risk surgery type plus emergency add-on, stacking trauma items, and risk modifiers including diabetes -1 only with sepsis. Score is a number; published observed range 0-15.5. Band low if \u003c4, high if \u003e=4 (ROC cutoff). Not an ARDS diagnosis. magent does not examine the patient or read imaging.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acidosis_ph_lt_735":false,"acute_abdomen":false,"alcohol_abuse":true,"aortic_vascular":false,"aspiration":false,"cardiac":false,"chemotherapy":false,"diabetes_mellitus":false,"emergency_surgery":false,"fio2_gt_035":true,"hypoalbuminemia":false,"lung_contusion":false,"multiple_fractures":false,"near_drowning":false,"obesity_bmi_gt_30":false,"orthopedic_spine":false,"pneumonia":true,"sepsis":true,"shock":true,"smoke_inhalation":false,"spo2_lt_95":false,"tachypnea_rr_gt_30":false,"traumatic_brain_injury":false},{"acidosis_ph_lt_735":false,"acute_abdomen":false,"alcohol_abuse":true,"aortic_vascular":false,"aspiration":false,"cardiac":false,"chemotherapy":false,"diabetes_mellitus":false,"emergency_surgery":false,"fio2_gt_035":true,"hypoalbuminemia":false,"lung_contusion":false,"multiple_fractures":false,"near_drowning":false,"obesity_bmi_gt_30":false,"orthopedic_spine":false,"pneumonia":true,"sepsis":true,"shock":true,"smoke_inhalation":false,"spo2_lt_95":false,"tachypnea_rr_gt_30":false,"traumatic_brain_injury":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gajic O, Dabbagh O, Park PK, Adesanya A, Chang SY, Hou P, Anderson H 3rd, Hoth JJ, Mikkelsen ME, Gentile NT, Gong MN, Talmor D, Bajwa E, Watkins TR, Festic E, Yilmaz M, Liendahl M, Khan NA, Sevransky JE, Malinchoc M; US Critical Illness and Injury Trials Group: Lung Injury Prevention Study Investigators (USCIITG-LIPS)","doi":"10.1164/rccm.201004-0549OC","id":"gajic-2011","pmid":"20802164","source":"Am J Respir Crit Care Med. 2011;183(4):462-470","title":"Early Identification of Patients at Risk of Acute Lung Injury: Evaluation of Lung Injury Prediction Score in a Multicenter Cohort Study"},"components":[{"factor":"shock","points":2,"present":true},{"factor":"aspiration","points":0,"present":false},{"factor":"sepsis","points":1,"present":true},{"factor":"pneumonia","points":1.5,"present":true},{"factor":"emergency_surgery","points":0,"present":false},{"factor":"traumatic_brain_injury","points":0,"present":false},{"factor":"smoke_inhalation","points":0,"present":false},{"factor":"near_drowning","points":0,"present":false},{"factor":"lung_contusion","points":0,"present":false},{"factor":"multiple_fractures","points":0,"present":false},{"factor":"alcohol_abuse","points":1,"present":true},{"factor":"obesity_bmi_gt_30","points":0,"present":false},{"factor":"hypoalbuminemia","points":0,"present":false},{"factor":"chemotherapy","points":0,"present":false},{"factor":"fio2_gt_035","points":2,"present":true},{"factor":"tachypnea_rr_gt_30","points":0,"present":false},{"factor":"spo2_lt_95","points":0,"present":false},{"factor":"acidosis_ph_lt_735","points":0,"present":false},{"factor":"orthopedic_spine","points":0,"present":false},{"factor":"acute_abdomen","points":0,"present":false},{"factor":"cardiac","points":0,"present":false},{"factor":"aortic_vascular","points":0,"present":false},{"factor":"diabetes_mellitus","points":0,"present":false}],"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":"lips","formula_expression":"LIPS = shock(2) + aspiration(2) + sepsis(1) + pneumonia(1.5) + at most one of orthopedic_spine(1), acute_abdomen(2), cardiac(2.5), aortic_vascular(3.5) + emergency_surgery(1.5) + traumatic_brain_injury(2) + smoke_inhalation(2) + near_drowning(2) + lung_contusion(1.5) + multiple_fractures(1.5) + alcohol_abuse(1) + obesity_bmi_gt_30(1) + hypoalbuminemia(1) + chemotherapy(1) + fio2_gt_035(2) + tachypnea_rr_gt_30(1.5) + spo2_lt_95(1) + acidosis_ph_lt_735(1.5) + diabetes_mellitus(-1 only if sepsis); Gajic 2011 Table 3; published observed range 0-15.5; low \u003c4, high \u003e=4","lips_band":"high","max_score":15.5,"score":7.5},{"citation":{"authors":"Gajic O, Dabbagh O, Park PK, Adesanya A, Chang SY, Hou P, Anderson H 3rd, Hoth JJ, Mikkelsen ME, Gentile NT, Gong MN, Talmor D, Bajwa E, Watkins TR, Festic E, Yilmaz M, Liendahl M, Khan NA, Sevransky JE, Malinchoc M; US Critical Illness and Injury Trials Group: Lung Injury Prevention Study Investigators (USCIITG-LIPS)","doi":"10.1164/rccm.201004-0549OC","id":"gajic-2011","pmid":"20802164","source":"Am J Respir Crit Care Med. 2011;183(4):462-470","title":"Early Identification of Patients at Risk of Acute Lung Injury: Evaluation of Lung Injury Prediction Score in a Multicenter Cohort Study"},"components":[{"factor":"shock","points":2,"present":true},{"factor":"aspiration","points":0,"present":false},{"factor":"sepsis","points":1,"present":true},{"factor":"pneumonia","points":1.5,"present":true},{"factor":"emergency_surgery","points":0,"present":false},{"factor":"traumatic_brain_injury","points":0,"present":false},{"factor":"smoke_inhalation","points":0,"present":false},{"factor":"near_drowning","points":0,"present":false},{"factor":"lung_contusion","points":0,"present":false},{"factor":"multiple_fractures","points":0,"present":false},{"factor":"alcohol_abuse","points":1,"present":true},{"factor":"obesity_bmi_gt_30","points":0,"present":false},{"factor":"hypoalbuminemia","points":0,"present":false},{"factor":"chemotherapy","points":0,"present":false},{"factor":"fio2_gt_035","points":2,"present":true},{"factor":"tachypnea_rr_gt_30","points":0,"present":false},{"factor":"spo2_lt_95","points":0,"present":false},{"factor":"acidosis_ph_lt_735","points":0,"present":false},{"factor":"orthopedic_spine","points":0,"present":false},{"factor":"acute_abdomen","points":0,"present":false},{"factor":"cardiac","points":0,"present":false},{"factor":"aortic_vascular","points":0,"present":false},{"factor":"diabetes_mellitus","points":0,"present":false}],"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":"lips","formula_expression":"LIPS = shock(2) + aspiration(2) + sepsis(1) + pneumonia(1.5) + at most one of orthopedic_spine(1), acute_abdomen(2), cardiac(2.5), aortic_vascular(3.5) + emergency_surgery(1.5) + traumatic_brain_injury(2) + smoke_inhalation(2) + near_drowning(2) + lung_contusion(1.5) + multiple_fractures(1.5) + alcohol_abuse(1) + obesity_bmi_gt_30(1) + hypoalbuminemia(1) + chemotherapy(1) + fio2_gt_035(2) + tachypnea_rr_gt_30(1.5) + spo2_lt_95(1) + acidosis_ph_lt_735(1.5) + diabetes_mellitus(-1 only if sepsis); Gajic 2011 Table 3; published observed range 0-15.5; low \u003c4, high \u003e=4","lips_band":"high","max_score":15.5,"score":7.5}],"path":"/api/calc/lips"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acidosis_ph_lt_735":{"description":"Acidosis (pH \u003c7.35) as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not assay blood gas.","type":"boolean"},"acute_abdomen":{"description":"High-risk acute abdomen surgery as assigned by the caller (Gajic 2011 Table 3). true scores 2. At most one of orthopedic_spine, acute_abdomen, cardiac, and aortic_vascular may be true.","type":"boolean"},"alcohol_abuse":{"description":"Alcohol abuse as assigned by the caller (Gajic 2011 Table 3). true scores 1.","type":"boolean"},"aortic_vascular":{"description":"High-risk aortic vascular surgery as assigned by the caller (Gajic 2011 Table 3). true scores 3.5. At most one of orthopedic_spine, acute_abdomen, cardiac, and aortic_vascular may be true.","type":"boolean"},"aspiration":{"description":"Aspiration as assigned by the caller (Gajic 2011 Table 3). true scores 2. magent does not examine the patient.","type":"boolean"},"cardiac":{"description":"High-risk cardiac surgery as assigned by the caller (Gajic 2011 Table 3). true scores 2.5. At most one of orthopedic_spine, acute_abdomen, cardiac, and aortic_vascular may be true.","type":"boolean"},"chemotherapy":{"description":"Chemotherapy as assigned by the caller (Gajic 2011 Table 3). true scores 1.","type":"boolean"},"diabetes_mellitus":{"description":"Diabetes mellitus as assigned by the caller (Gajic 2011 Table 3 footnote dagger). Subtracts 1 only when sepsis is true. If diabetes is true and sepsis is false, 0 points (do not subtract). magent does not diagnose diabetes.","type":"boolean"},"emergency_surgery":{"description":"Emergency surgery as assigned by the caller (Gajic 2011 Table 3 footnote *: add 1.5 points if emergency surgery). true scores 1.5 in addition to any one surgery type.","type":"boolean"},"fio2_gt_035":{"description":"FiO2 \u003e0.35 or \u003e4 L/min as assigned by the caller (Gajic 2011 Table 3). true scores 2. magent does not read the ventilator or flowmeter.","type":"boolean"},"hypoalbuminemia":{"description":"Hypoalbuminemia as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not assay albumin.","type":"boolean"},"lung_contusion":{"description":"Lung contusion as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. Trauma items may stack. magent does not read imaging.","type":"boolean"},"multiple_fractures":{"description":"Multiple fractures as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. Trauma items may stack.","type":"boolean"},"near_drowning":{"description":"Near drowning as assigned by the caller (Gajic 2011 Table 3). true scores 2. Trauma items may stack.","type":"boolean"},"obesity_bmi_gt_30":{"description":"Obesity (BMI \u003e30) as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not take height or weight.","type":"boolean"},"orthopedic_spine":{"description":"High-risk orthopedic spine surgery as assigned by the caller (Gajic 2011 Table 3). true scores 1. At most one of orthopedic_spine, acute_abdomen, cardiac, and aortic_vascular may be true.","type":"boolean"},"pneumonia":{"description":"Pneumonia as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not read imaging.","type":"boolean"},"sepsis":{"description":"Sepsis as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not diagnose sepsis.","type":"boolean"},"shock":{"description":"Shock as assigned by the caller (Gajic 2011 Table 3). true scores 2. magent does not examine the patient.","type":"boolean"},"smoke_inhalation":{"description":"Smoke inhalation as assigned by the caller (Gajic 2011 Table 3). true scores 2. Trauma items may stack.","type":"boolean"},"spo2_lt_95":{"description":"SpO2 \u003c95% as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not measure SpO2.","type":"boolean"},"tachypnea_rr_gt_30":{"description":"Tachypnea (respiratory rate \u003e30) as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not count respirations.","type":"boolean"},"traumatic_brain_injury":{"description":"Traumatic brain injury as assigned by the caller (Gajic 2011 Table 3). true scores 2. Trauma items may stack. magent does not read imaging.","type":"boolean"}},"required":["shock","aspiration","sepsis","pneumonia","orthopedic_spine","acute_abdomen","cardiac","aortic_vascular","emergency_surgery","traumatic_brain_injury","smoke_inhalation","near_drowning","lung_contusion","multiple_fractures","alcohol_abuse","obesity_bmi_gt_30","hypoalbuminemia","chemotherapy","fio2_gt_035","tachypnea_rr_gt_30","spo2_lt_95","acidosis_ph_lt_735","diabetes_mellitus"],"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"}}},"lastUpdated":"2026-10-05T13:50:39.74Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:50:39.592Z"},"resource":"https://api.magentlab.com/api/calc/lips","serviceName":"magent","tags":["lips","lung-injury","respiratory","score","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/gap_index","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Ley 2012 GAP index (points) from sex (male 1), age (≤60 → 0, 61–65 → 1, \u003e65 → 2), FVC % predicted (\u003e75 → 0, 50–75 → 1, \u003c50 → 2), and DLCO % predicted (\u003e55 → 0, 36–55 → 1, ≤35 → 2; cannot perform → 3). Returns a 0–8 total and stage 1–3 (0–3 / 4–5 / 6–8). Deterministic published points with citation. Not a transplant listing and not a continuous GAP calculator.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":55,"dlco_cannot_perform":true,"dlco_percent_predicted":60,"fvc_percent_predicted":80,"sex":"female"},{"age":55,"dlco_cannot_perform":true,"dlco_percent_predicted":60,"fvc_percent_predicted":80,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":55,"citation":{"authors":"Ley B, Ryerson CJ, Vittinghoff E, et al.","doi":"10.7326/0003-4819-156-10-201205150-00004","id":"ley-2012","pmid":"22586007","source":"Ann Intern Med. 2012;156(10):684-691","title":"A multidimensional index and staging system for idiopathic pulmonary fibrosis"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age","points":0,"present":false,"value":55},{"factor":"fvc","points":0,"present":false,"value":80},{"factor":"dlco","points":0,"present":false,"value":60}],"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.","dlco_cannot_perform":false,"dlco_percent_predicted":60,"formula":"gap_index","formula_expression":"GAP = sex_points + age_points + fvc_points + dlco_points; female 0 male 1; age \u003c=60 -\u003e 0, 61-65 -\u003e 1, \u003e65 -\u003e 2; FVC% \u003e75 -\u003e 0, 50-75 -\u003e 1, \u003c50 -\u003e 2; DLCO% \u003e55 -\u003e 0, 36-55 -\u003e 1, \u003c=35 -\u003e 2, cannot perform -\u003e 3; stages I 0-3 / II 4-5 / III 6-8; max 8","fvc_percent_predicted":80,"gap_stage":1,"max_score":8,"score":0,"sex":"female"},{"age_years":55,"citation":{"authors":"Ley B, Ryerson CJ, Vittinghoff E, et al.","doi":"10.7326/0003-4819-156-10-201205150-00004","id":"ley-2012","pmid":"22586007","source":"Ann Intern Med. 2012;156(10):684-691","title":"A multidimensional index and staging system for idiopathic pulmonary fibrosis"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age","points":0,"present":false,"value":55},{"factor":"fvc","points":0,"present":false,"value":80},{"factor":"dlco","points":0,"present":false,"value":60}],"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.","dlco_cannot_perform":false,"dlco_percent_predicted":60,"formula":"gap_index","formula_expression":"GAP = sex_points + age_points + fvc_points + dlco_points; female 0 male 1; age \u003c=60 -\u003e 0, 61-65 -\u003e 1, \u003e65 -\u003e 2; FVC% \u003e75 -\u003e 0, 50-75 -\u003e 1, \u003c50 -\u003e 2; DLCO% \u003e55 -\u003e 0, 36-55 -\u003e 1, \u003c=35 -\u003e 2, cannot perform -\u003e 3; stages I 0-3 / II 4-5 / III 6-8; max 8","fvc_percent_predicted":80,"gap_stage":1,"max_score":8,"score":0,"sex":"female"}],"path":"/api/calc/gap_index"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Ley 2012: \u003c=60 scores 0; 61-65 scores 1; \u003e65 scores 2.","type":"integer"},"dlco_cannot_perform":{"description":"true when DLCO cannot be performed (Ley 2012 scores 3). Provide this or dlco_percent_predicted, not both.","type":"boolean"},"dlco_percent_predicted":{"description":"DLCO percent predicted (1-150). Provide this or dlco_cannot_perform=true, not both. Ley 2012: \u003e55 scores 0; 36-55 scores 1; \u003c=35 scores 2.","type":"number"},"fvc_percent_predicted":{"description":"FVC percent predicted (10-150). Ley 2012: \u003e75 scores 0; 50-75 scores 1; \u003c50 scores 2. 75.0 scores 1.","type":"number"},"sex":{"description":"Sex (female or male). Ley 2012: female scores 0; male scores 1.","enum":["female","male"],"type":"string"}},"required":["sex","age","fvc_percent_predicted"],"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"}}},"lastUpdated":"2026-10-05T13:48:11.364Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:48:11.248Z"},"resource":"https://api.magentlab.com/api/calc/gap_index","serviceName":"magent","tags":["gap","ipf","fibrosis","respiratory","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/rapid","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Rahman 2014 RAPID score for pleural infection: urea (\u003c5=0, 5-8=1, \u003e8=2 mmol/L), age (\u003c50=0, 50-70=1, \u003e70=2), non-purulent fluid 1, hospital-acquired 1, albumin \u003c27 g/L 1; total 0-7 with low/medium/high bands. Deterministic published arithmetic with citation; not a drain or surgery decision and not Light's criteria.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"albumin_g_dl":3.5,"albumin_g_l":35,"bun_mg_dl":11.2,"hospital_acquired":false,"pleural_purulent":true,"urea_mmol_l":4},{"age":40,"albumin_g_dl":3.5,"albumin_g_l":35,"bun_mg_dl":11.2,"hospital_acquired":false,"pleural_purulent":true,"urea_mmol_l":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"albumin_g_l":35,"citation":{"authors":"Rahman NM, Kahan BC, Pendleton RC, et al.","doi":"10.1378/chest.13-1558","id":"rahman-2014","pmid":"24264558","source":"Chest. 2014;145(4):848-855","title":"A clinical score (RAPID) to identify those at risk for poor outcome at presentation in patients with pleural infection"},"components":[{"factor":"urea","points":0,"present":false,"value":4},{"factor":"age","points":0,"present":false,"value":40},{"factor":"nonpurulent","points":0,"present":false},{"factor":"hospital_acquired","points":0,"present":false},{"factor":"albumin","points":0,"present":false,"value":35}],"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":"rapid","formula_expression":"RAPID = urea_points + age_points + nonpurulent_points + hospital_acquired_points + albumin_points; urea \u003c5 = 0, 5.0-8.0 = 1, \u003e8 = 2; age \u003c50 = 0, 50-70 = 1, \u003e70 = 2; purulent = 0, non-purulent = 1; community = 0, hospital = 1; albumin \u003e=27 g/L = 0, \u003c27 = 1; max 7","hospital_acquired":false,"max_score":7,"pleural_purulent":true,"risk_band":"low","score":0,"urea_mmol_l":4},{"age_years":40,"albumin_g_l":35,"citation":{"authors":"Rahman NM, Kahan BC, Pendleton RC, et al.","doi":"10.1378/chest.13-1558","id":"rahman-2014","pmid":"24264558","source":"Chest. 2014;145(4):848-855","title":"A clinical score (RAPID) to identify those at risk for poor outcome at presentation in patients with pleural infection"},"components":[{"factor":"urea","points":0,"present":false,"value":4},{"factor":"age","points":0,"present":false,"value":40},{"factor":"nonpurulent","points":0,"present":false},{"factor":"hospital_acquired","points":0,"present":false},{"factor":"albumin","points":0,"present":false,"value":35}],"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":"rapid","formula_expression":"RAPID = urea_points + age_points + nonpurulent_points + hospital_acquired_points + albumin_points; urea \u003c5 = 0, 5.0-8.0 = 1, \u003e8 = 2; age \u003c50 = 0, 50-70 = 1, \u003e70 = 2; purulent = 0, non-purulent = 1; community = 0, hospital = 1; albumin \u003e=27 g/L = 0, \u003c27 = 1; max 7","hospital_acquired":false,"max_score":7,"pleural_purulent":true,"risk_band":"low","score":0,"urea_mmol_l":4}],"path":"/api/calc/rapid"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). \u003c50 scores 0; 50-70 inclusive scores 1; \u003e70 scores 2.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. ≥27 scores 0; \u003c27 scores 1.","type":"number"},"bun_mg_dl":{"description":"BUN in mg/dL (3-140). Converted as urea_mmol_l = bun_mg_dl / 2.8.","type":"number"},"hospital_acquired":{"description":"Hospital-acquired pleural infection (Rahman 2014). true scores 1; false (community) scores 0.","type":"boolean"},"pleural_purulent":{"description":"Purulent pleural fluid (Rahman 2014). true scores 0; false (non-purulent) scores 1. magent does not inspect the fluid.","type":"boolean"},"urea_mmol_l":{"description":"Serum urea in mmol/L (1-50). Provide this or bun_mg_dl, not both. \u003c5 scores 0; 5.0-8.0 inclusive scores 1; \u003e8 scores 2 (Rahman 2014).","type":"number"}},"required":["age","pleural_purulent","hospital_acquired"],"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"}}},"lastUpdated":"2026-10-05T13:46:53.654Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:46:53.524Z"},"resource":"https://api.magentlab.com/api/calc/rapid","serviceName":"magent","tags":["rapid","pleural-infection","respiratory","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/rsbi","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Rapid shallow breathing index (RSBI) as respiratory rate in breaths/min divided by tidal volume in liters (Yang and Tobin 1991). Provide tidal_volume_ml (50–2000) or tidal_volume_l (0.05–2.0), not both. Returns f/VT rounded to one decimal and whether that ratio is greater than 105 breaths/min/L. Not a wean order; magent does not perform a spontaneous breathing trial (SBT).","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"respiratory_rate":20,"tidal_volume_l":0.4,"tidal_volume_ml":400},{"respiratory_rate":20,"tidal_volume_l":0.4,"tidal_volume_ml":400}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Yang KL, Tobin MJ","doi":"10.1056/NEJM199105233242101","id":"yang-tobin-1991","source":"N Engl J Med. 1991;324(21):1445-1450","title":"A prospective study of indexes predicting the outcome of trials of weaning from mechanical ventilation"},"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":"rsbi","formula_expression":"rsbi = respiratory_rate / tidal_volume_l","respiratory_rate":20,"rsbi":50,"rsbi_gt_105":false,"tidal_volume_l":0.4},{"citation":{"authors":"Yang KL, Tobin MJ","doi":"10.1056/NEJM199105233242101","id":"yang-tobin-1991","source":"N Engl J Med. 1991;324(21):1445-1450","title":"A prospective study of indexes predicting the outcome of trials of weaning from mechanical ventilation"},"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":"rsbi","formula_expression":"rsbi = respiratory_rate / tidal_volume_l","respiratory_rate":20,"rsbi":50,"rsbi_gt_105":false,"tidal_volume_l":0.4}],"path":"/api/calc/rsbi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80).","type":"integer"},"tidal_volume_l":{"description":"Tidal volume in liters (0.05-2.0). Yang and Tobin RSBI uses VT in liters. Provide this or tidal_volume_ml, not both.","type":"number"},"tidal_volume_ml":{"description":"Tidal volume in milliliters (50-2000). Converted as tidal_volume_l = tidal_volume_ml / 1000. Provide this or tidal_volume_l, not both.","type":"number"}},"required":["respiratory_rate"],"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"}}},"lastUpdated":"2026-10-05T13:46:25.31Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:46:25.186Z"},"resource":"https://api.magentlab.com/api/calc/rsbi","serviceName":"magent","tags":["rsbi","respiratory","tidal-volume","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/hfa_icos_myeloma","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Lyon 2020 HFA-ICOS baseline CV risk before proteasome inhibitors and immunomodulatory drugs for multiple myeloma. Returns risk_level low, medium, high, or very_high plus medium_points and the paper's expert-opinion cardiotoxicity_guide. Age \u003e=75 is High; 65-74 is Medium 1. Caller assigns labs, BMI \u003e30, and high-dose dexamethasone. magent does not examine the patient or read imaging. Not a medical device or treatment order.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"cardiac_amyloidosis":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"family_history_thrombophilia":false,"heart_failure_or_cardiomyopathy":false,"high_dose_dexamethasone":false,"hyperlipidemia":false,"hypertension":false,"left_ventricular_hypertrophy":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_immunomodulatory_drug_cv_toxicity":false,"prior_proteasome_inhibitor_cardiotoxicity":false,"prior_thoracic_spine_radiotherapy":false,"venous_thrombosis":false},{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"cardiac_amyloidosis":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"family_history_thrombophilia":false,"heart_failure_or_cardiomyopathy":false,"high_dose_dexamethasone":false,"hyperlipidemia":false,"hypertension":false,"left_ventricular_hypertrophy":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_immunomodulatory_drug_cv_toxicity":false,"prior_proteasome_inhibitor_cardiotoxicity":false,"prior_thoracic_spine_radiotherapy":false,"venous_thrombosis":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"cardiotoxicity_guide":"\u003c2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"prior_proteasome_inhibitor_cardiotoxicity","points":0,"present":false,"tier":"very_high"},{"factor":"venous_thrombosis","points":0,"present":false,"tier":"very_high"},{"factor":"cardiac_amyloidosis","points":0,"present":false,"tier":"very_high"},{"factor":"arterial_vascular_disease","points":0,"present":false,"tier":"very_high"},{"factor":"prior_immunomodulatory_drug_cv_toxicity","points":0,"present":false,"tier":"high"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"high"},{"factor":"prior_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"arrhythmia","points":0,"present":false,"tier":"medium_2"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_2"},{"factor":"left_ventricular_hypertrophy","points":0,"present":false,"tier":"medium_1"},{"factor":"hypertension","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"hyperlipidemia","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"family_history_thrombophilia","points":0,"present":false,"tier":"medium_1"},{"factor":"prior_thoracic_spine_radiotherapy","points":0,"present":false,"tier":"medium_1"},{"factor":"high_dose_dexamethasone","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"},{"factor":"age_years","points":0,"present":false,"tier":"none","value":50},{"factor":"lvef_percent","points":0,"present":false,"tier":"none","value":60}],"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":"hfa_icos_myeloma","formula_expression":"very_high if any Very high factor (heart_failure_or_cardiomyopathy, prior_proteasome_inhibitor_cardiotoxicity, venous_thrombosis, cardiac_amyloidosis, arterial_vascular_disease); else high if any High factor (prior_immunomodulatory_drug_cv_toxicity, lvef_percent\u003c50, elevated_bnp, age_years\u003e=75, prior_anthracycline) OR medium_points\u003e=5; else medium if medium_points in 2..4; else low (no factors or one Medium 1). medium_points sums Medium 1 (=1: left_ventricular_hypertrophy, age_years 65-74, hypertension, diabetes, hyperlipidemia, ckd, family_history_thrombophilia, prior_thoracic_spine_radiotherapy, high_dose_dexamethasone, current_or_significant_smoker, obesity) and Medium 2 (=2: lvef_percent 50-54, arrhythmia, elevated_troponin) only. Age and LVEF use the highest matching printed band. Lyon 2020 HFA-ICOS multiple-myeloma therapy table. cardiotoxicity_guide is that paper's expert-opinion guide: low \u003c2%, medium 2-9%, high 10-19%, very high \u003e=20%","lvef_percent":60,"medium_points":0,"risk_level":"low"},{"age_years":50,"cardiotoxicity_guide":"\u003c2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"prior_proteasome_inhibitor_cardiotoxicity","points":0,"present":false,"tier":"very_high"},{"factor":"venous_thrombosis","points":0,"present":false,"tier":"very_high"},{"factor":"cardiac_amyloidosis","points":0,"present":false,"tier":"very_high"},{"factor":"arterial_vascular_disease","points":0,"present":false,"tier":"very_high"},{"factor":"prior_immunomodulatory_drug_cv_toxicity","points":0,"present":false,"tier":"high"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"high"},{"factor":"prior_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"arrhythmia","points":0,"present":false,"tier":"medium_2"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_2"},{"factor":"left_ventricular_hypertrophy","points":0,"present":false,"tier":"medium_1"},{"factor":"hypertension","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"hyperlipidemia","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"family_history_thrombophilia","points":0,"present":false,"tier":"medium_1"},{"factor":"prior_thoracic_spine_radiotherapy","points":0,"present":false,"tier":"medium_1"},{"factor":"high_dose_dexamethasone","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"},{"factor":"age_years","points":0,"present":false,"tier":"none","value":50},{"factor":"lvef_percent","points":0,"present":false,"tier":"none","value":60}],"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":"hfa_icos_myeloma","formula_expression":"very_high if any Very high factor (heart_failure_or_cardiomyopathy, prior_proteasome_inhibitor_cardiotoxicity, venous_thrombosis, cardiac_amyloidosis, arterial_vascular_disease); else high if any High factor (prior_immunomodulatory_drug_cv_toxicity, lvef_percent\u003c50, elevated_bnp, age_years\u003e=75, prior_anthracycline) OR medium_points\u003e=5; else medium if medium_points in 2..4; else low (no factors or one Medium 1). medium_points sums Medium 1 (=1: left_ventricular_hypertrophy, age_years 65-74, hypertension, diabetes, hyperlipidemia, ckd, family_history_thrombophilia, prior_thoracic_spine_radiotherapy, high_dose_dexamethasone, current_or_significant_smoker, obesity) and Medium 2 (=2: lvef_percent 50-54, arrhythmia, elevated_troponin) only. Age and LVEF use the highest matching printed band. Lyon 2020 HFA-ICOS multiple-myeloma therapy table. cardiotoxicity_guide is that paper's expert-opinion guide: low \u003c2%, medium 2-9%, high 10-19%, very high \u003e=20%","lvef_percent":60,"medium_points":0,"risk_level":"low"}],"path":"/api/calc/hfa_icos_myeloma"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (18-100, integer). Lyon 2020 myeloma-therapy table: \u003e=75 High; 65-74 Medium 1; \u003c65 no age factor. Highest matching band only.","type":"integer"},"arrhythmia":{"description":"Arrhythmia (Lyon 2020 Medium 2). true or false as assigned by the caller. magent does not read a rhythm strip.","type":"boolean"},"arterial_vascular_disease":{"description":"Arterial vascular disease (IHD, PCI, CABG, stable angina, TIA, stroke, or PVD) as one caller bool (Lyon 2020 Very high). true or false. magent does not diagnose vascular disease.","type":"boolean"},"cardiac_amyloidosis":{"description":"Cardiac amyloidosis (Lyon 2020 Very high). true or false as assigned by the caller. magent does not read imaging or biopsy.","type":"boolean"},"ckd":{"description":"Chronic kidney disease as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute eGFR.","type":"boolean"},"current_or_significant_smoker":{"description":"Current smoker or significant smoking history (Lyon 2020 Medium 1). true or false as assigned by the caller.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay HbA1c.","type":"boolean"},"elevated_bnp":{"description":"Baseline BNP or NT-proBNP above the local laboratory ULN as assigned by the caller (Lyon 2020 High). true or false. magent does not assay natriuretic peptides.","type":"boolean"},"elevated_troponin":{"description":"Baseline troponin above the local laboratory ULN as assigned by the caller (Lyon 2020 Medium 2). true or false. magent does not assay troponin.","type":"boolean"},"family_history_thrombophilia":{"description":"Family history of thrombophilia (Lyon 2020 Medium 1). true or false as assigned by the caller. magent does not take a family history.","type":"boolean"},"heart_failure_or_cardiomyopathy":{"description":"Heart failure or cardiomyopathy (Lyon 2020 Very high). true or false as assigned by the caller. magent does not examine the patient or read imaging.","type":"boolean"},"high_dose_dexamethasone":{"description":"High-dose dexamethasone (\u003e160 mg/month) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute a steroid dose.","type":"boolean"},"hyperlipidemia":{"description":"Hyperlipidemia as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay lipids.","type":"boolean"},"hypertension":{"description":"Hypertension as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not measure blood pressure.","type":"boolean"},"left_ventricular_hypertrophy":{"description":"Left-ventricular hypertrophy (Lyon 2020 Medium 1). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"lvef_percent":{"description":"LVEF percent (10-80, integer). Lyon 2020: \u003c50 High; 50-54 Medium 2; \u003e=55 no LVEF factor. Highest matching printed band only. magent does not read imaging.","type":"integer"},"obesity":{"description":"Obesity (BMI \u003e30 kg/m2) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute BMI.","type":"boolean"},"prior_anthracycline":{"description":"Prior anthracycline exposure (Lyon 2020 High). true or false as assigned by the caller.","type":"boolean"},"prior_immunomodulatory_drug_cv_toxicity":{"description":"Prior immunomodulatory-drug cardiovascular toxicity (Lyon 2020 High). true or false as assigned by the caller.","type":"boolean"},"prior_proteasome_inhibitor_cardiotoxicity":{"description":"Prior proteasome-inhibitor cardiotoxicity (Lyon 2020 Very high). true or false as assigned by the caller.","type":"boolean"},"prior_thoracic_spine_radiotherapy":{"description":"Prior thoracic-spine radiotherapy (Lyon 2020 Medium 1). true or false as assigned by the caller.","type":"boolean"},"venous_thrombosis":{"description":"Venous thrombosis (DVT or PE) (Lyon 2020 Very high). true or false as assigned by the caller. magent does not diagnose thrombosis.","type":"boolean"}},"required":["age_years","lvef_percent","heart_failure_or_cardiomyopathy","prior_proteasome_inhibitor_cardiotoxicity","venous_thrombosis","cardiac_amyloidosis","arterial_vascular_disease","prior_immunomodulatory_drug_cv_toxicity","elevated_bnp","prior_anthracycline","arrhythmia","elevated_troponin","left_ventricular_hypertrophy","hypertension","diabetes","hyperlipidemia","ckd","family_history_thrombophilia","prior_thoracic_spine_radiotherapy","high_dose_dexamethasone","current_or_significant_smoker","obesity"],"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"}}},"lastUpdated":"2026-10-05T13:45:42.995Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:45:42.811Z"},"resource":"https://api.magentlab.com/api/calc/hfa_icos_myeloma","serviceName":"magent","tags":["hfa-icos","myeloma","cardio-oncology","hemodynamics","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/hfa_icos_bcr_abl","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Lyon 2020 HFA-ICOS baseline cardiovascular risk before second- or third-generation multi-targeted kinase inhibitors for CML targeting BCR-ABL. Class is very_high, high, medium, or low from published very-high and high factors plus Medium 1/2 points (0–1 low, 2–4 medium, ≥5 high). Caller assigns the 10-year CVD \u003e20% threshold; magent does not compute that score. Not a medical device or treatment order.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abpi_le_0_9":false,"age_years":50,"arrhythmia":false,"arterial_thrombosis_with_tki":false,"arterial_vascular_disease":false,"bcr_abl_tki_mediated_lvsd":false,"ckd":false,"current_or_significant_smoker":false,"cvd_10y_risk_gt_20":false,"diabetes":false,"family_history_thrombophilia":false,"heart_failure_or_lvsd":false,"hyperlipidemia":false,"hypertension":false,"lvef_percent":60,"obesity":false,"pulmonary_arterial_hypertension":false,"qtc_ms":400,"sex":"female","venous_thromboembolism":false},{"abpi_le_0_9":false,"age_years":50,"arrhythmia":false,"arterial_thrombosis_with_tki":false,"arterial_vascular_disease":false,"bcr_abl_tki_mediated_lvsd":false,"ckd":false,"current_or_significant_smoker":false,"cvd_10y_risk_gt_20":false,"diabetes":false,"family_history_thrombophilia":false,"heart_failure_or_lvsd":false,"hyperlipidemia":false,"hypertension":false,"lvef_percent":60,"obesity":false,"pulmonary_arterial_hypertension":false,"qtc_ms":400,"sex":"female","venous_thromboembolism":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"cardiotoxicity_guide":"\u003c2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"arterial_vascular_disease","points":0,"present":false},{"factor":"arterial_thrombosis_with_tki","points":0,"present":false},{"factor":"heart_failure_or_lvsd","points":0,"present":false},{"factor":"bcr_abl_tki_mediated_lvsd","points":0,"present":false},{"factor":"abpi_le_0_9","points":0,"present":false},{"factor":"pulmonary_arterial_hypertension","points":0,"present":false},{"factor":"lvef_lt_50","points":0,"present":false},{"factor":"qtc_ge_480","points":0,"present":false},{"factor":"cvd_10y_risk_gt_20","points":0,"present":false},{"factor":"age_ge_75","points":0,"present":false},{"factor":"current_or_significant_smoker","points":0,"present":false},{"factor":"venous_thromboembolism","points":0,"present":false},{"factor":"arrhythmia","points":0,"present":false},{"factor":"borderline_qtc","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"age_65_74","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hyperlipidemia","points":0,"present":false},{"factor":"age_60_64","points":0,"present":false},{"factor":"ckd","points":0,"present":false},{"factor":"family_history_thrombophilia","points":0,"present":false},{"factor":"obesity","points":0,"present":false}],"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":"hfa_icos_bcr_abl","formula_expression":"HFA-ICOS BCR-ABL TKI (Lyon 2020) = very_high if arterial_vascular_disease or arterial_thrombosis_with_tki; else high if any high factor or medium_points\u003e=5; else medium if medium_points 2-4; else low (0 or one M1); medium_points = M2*2 + M1*1 only; High: heart_failure_or_lvsd, bcr_abl_tki_mediated_lvsd, abpi_le_0_9, pulmonary_arterial_hypertension, LVEF\u003c50, QTc\u003e=480, caller cvd_10y_risk_gt_20, age\u003e=75, current_or_significant_smoker; M2: venous_thromboembolism, arrhythmia, borderline QTc (men 450\u003c=QTc\u003c480, women 460\u003c=QTc\u003c480), hypertension, age 65-74; M1: diabetes, hyperlipidemia, age 60-64, ckd, family_history_thrombophilia, obesity; age bands mutually exclusive; no LVEF 50-54 row; magent does not compute 10-year CVD risk","lvef_percent":60,"medium_points":0,"qtc_ms":400,"risk_level":"low","sex":"female"},{"age_years":50,"cardiotoxicity_guide":"\u003c2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"arterial_vascular_disease","points":0,"present":false},{"factor":"arterial_thrombosis_with_tki","points":0,"present":false},{"factor":"heart_failure_or_lvsd","points":0,"present":false},{"factor":"bcr_abl_tki_mediated_lvsd","points":0,"present":false},{"factor":"abpi_le_0_9","points":0,"present":false},{"factor":"pulmonary_arterial_hypertension","points":0,"present":false},{"factor":"lvef_lt_50","points":0,"present":false},{"factor":"qtc_ge_480","points":0,"present":false},{"factor":"cvd_10y_risk_gt_20","points":0,"present":false},{"factor":"age_ge_75","points":0,"present":false},{"factor":"current_or_significant_smoker","points":0,"present":false},{"factor":"venous_thromboembolism","points":0,"present":false},{"factor":"arrhythmia","points":0,"present":false},{"factor":"borderline_qtc","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"age_65_74","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hyperlipidemia","points":0,"present":false},{"factor":"age_60_64","points":0,"present":false},{"factor":"ckd","points":0,"present":false},{"factor":"family_history_thrombophilia","points":0,"present":false},{"factor":"obesity","points":0,"present":false}],"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":"hfa_icos_bcr_abl","formula_expression":"HFA-ICOS BCR-ABL TKI (Lyon 2020) = very_high if arterial_vascular_disease or arterial_thrombosis_with_tki; else high if any high factor or medium_points\u003e=5; else medium if medium_points 2-4; else low (0 or one M1); medium_points = M2*2 + M1*1 only; High: heart_failure_or_lvsd, bcr_abl_tki_mediated_lvsd, abpi_le_0_9, pulmonary_arterial_hypertension, LVEF\u003c50, QTc\u003e=480, caller cvd_10y_risk_gt_20, age\u003e=75, current_or_significant_smoker; M2: venous_thromboembolism, arrhythmia, borderline QTc (men 450\u003c=QTc\u003c480, women 460\u003c=QTc\u003c480), hypertension, age 65-74; M1: diabetes, hyperlipidemia, age 60-64, ckd, family_history_thrombophilia, obesity; age bands mutually exclusive; no LVEF 50-54 row; magent does not compute 10-year CVD risk","lvef_percent":60,"medium_points":0,"qtc_ms":400,"risk_level":"low","sex":"female"}],"path":"/api/calc/hfa_icos_bcr_abl"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abpi_le_0_9":{"description":"Caller-assigned abnormal ankle-brachial pressure index (paper: ABPI ≤0.9). High. magent does not measure ABPI.","type":"boolean"},"age_years":{"description":"Age in years (integer 18-100). Lyon 2020 BCR-ABL table: ≥75 High; 65-74 Medium 2; 60-64 Medium 1 (paper row Age ≥60 years under the higher bands); \u003c60 none. Bands do not stack. magent does not examine the patient.","type":"integer"},"arrhythmia":{"description":"Caller-assigned arrhythmia (paper: atrial fibrillation, atrial flutter, ventricular tachycardia, or ventricular fibrillation). Medium 2. magent does not read a rhythm strip.","type":"boolean"},"arterial_thrombosis_with_tki":{"description":"Caller-assigned arterial thrombosis associated with a BCR-ABL TKI. Very high. magent does not diagnose thrombosis.","type":"boolean"},"arterial_vascular_disease":{"description":"Caller-assigned arterial vascular disease (IHD, PCI, CABG, stable angina, TIA, stroke, or PVD). Very high. magent does not diagnose vascular disease.","type":"boolean"},"bcr_abl_tki_mediated_lvsd":{"description":"Caller-assigned BCR-ABL TKI-mediated LVSD. High. magent does not attribute LVSD to a TKI.","type":"boolean"},"ckd":{"description":"Caller-assigned chronic kidney disease (paper: eGFR \u003c60 mL/min/1.73 m²). Medium 1. magent does not compute eGFR.","type":"boolean"},"current_or_significant_smoker":{"description":"Caller-assigned current smoker or significant smoking history. High on this BCR-ABL table (not Medium 1). magent does not take a smoking history.","type":"boolean"},"cvd_10y_risk_gt_20":{"description":"Caller-assigned paper row Cardiovascular disease 10-year risk score \u003e20%. High. magent does not compute SCORE2, PCE, or any other 10-year CVD equation.","type":"boolean"},"diabetes":{"description":"Caller-assigned diabetes (paper: HbA1c \u003e7.0% or \u003e53 mmol/mol, or on treatment). Medium 1. magent does not diagnose diabetes.","type":"boolean"},"family_history_thrombophilia":{"description":"Caller-assigned family history of thrombophilia. Medium 1. magent does not take a family history.","type":"boolean"},"heart_failure_or_lvsd":{"description":"Caller-assigned heart failure or left-ventricular systolic dysfunction. High. magent does not diagnose heart failure.","type":"boolean"},"hyperlipidemia":{"description":"Caller-assigned hyperlipidemia (paper: non-HDL cholesterol \u003e3.8 mmol/L or \u003e145 mg/dL). Medium 1. magent does not assay lipids.","type":"boolean"},"hypertension":{"description":"Caller-assigned hypertension (paper: SBP \u003e140 mmHg or DBP \u003e90 mmHg, or on treatment). Medium 2. magent does not measure blood pressure.","type":"boolean"},"lvef_percent":{"description":"Left-ventricular ejection fraction in percent (10-80). \u003c50 is High. This table has no 50-54 Medium 2 LVEF row; ≥50 adds no LVEF points. magent does not read an echocardiogram.","type":"number"},"obesity":{"description":"Caller-assigned obesity (paper: BMI \u003e30 kg/m²). Medium 1. magent does not compute BMI.","type":"boolean"},"pulmonary_arterial_hypertension":{"description":"Caller-assigned pulmonary arterial hypertension (paper: peak systolic PAP ≥35 mmHg when estimated on echocardiography). High. magent does not estimate pulmonary pressure.","type":"boolean"},"qtc_ms":{"description":"QTc in milliseconds (300-700). ≥480 is High. Borderline Medium 2 is men 450≤QTc\u003c480 and women 460≤QTc\u003c480. magent does not measure QTc.","type":"number"},"sex":{"description":"Sex male or female. Selects the borderline QTc Medium 2 window (men 450≤QTc\u003c480; women 460≤QTc\u003c480). magent does not read an ECG.","type":"string"},"venous_thromboembolism":{"description":"Caller-assigned venous thromboembolism (DVT or PE). Medium 2. magent does not diagnose VTE.","type":"boolean"}},"required":["age_years","sex","lvef_percent","qtc_ms","arterial_vascular_disease","arterial_thrombosis_with_tki","heart_failure_or_lvsd","bcr_abl_tki_mediated_lvsd","abpi_le_0_9","pulmonary_arterial_hypertension","cvd_10y_risk_gt_20","current_or_significant_smoker","venous_thromboembolism","arrhythmia","hypertension","diabetes","hyperlipidemia","ckd","family_history_thrombophilia","obesity"],"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"}}},"lastUpdated":"2026-10-05T13:45:35.936Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:45:35.799Z"},"resource":"https://api.magentlab.com/api/calc/hfa_icos_bcr_abl","serviceName":"magent","tags":["hfa-icos-bcr-abl","cardio-oncology","bcr-abl","hemodynamics","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/hfa_icos_vegf","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Lyon 2020 HFA-ICOS baseline CV risk before VEGF inhibitors or VEGF TKIs. Very high if heart failure/cardiomyopathy or arterial vascular disease. High if venous thrombosis, LVEF \u003c50%, QTc \u003e=480 ms, age \u003e=75, hypertension, prior anthracycline, or \u003e=5 medium points. Medium if 2-4 medium points. Guide \u003c2% / 2-9% / 10-19% / \u003e=20%. Not a device or treatment order.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hyperlipidemia":false,"hypertension":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_left_chest_or_mediastinal_rt":false,"proteinuria":false,"qtc_ms":400,"sex":"female","venous_thrombosis":false},{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hyperlipidemia":false,"hypertension":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_left_chest_or_mediastinal_rt":false,"proteinuria":false,"qtc_ms":400,"sex":"female","venous_thrombosis":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"cardiotoxicity_guide":"\u003c2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"arterial_vascular_disease","points":0,"present":false,"tier":"very_high"},{"factor":"venous_thrombosis","points":0,"present":false,"tier":"high"},{"factor":"lvef_lt_50","points":0,"present":false,"tier":"high"},{"factor":"qtc_ge_480","points":0,"present":false,"tier":"high"},{"factor":"age_ge_75","points":0,"present":false,"tier":"high"},{"factor":"hypertension","points":0,"present":false,"tier":"high"},{"factor":"prior_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"lvef_50_to_54","points":0,"present":false,"tier":"medium_2"},{"factor":"borderline_qtc","points":0,"present":false,"tier":"medium_2"},{"factor":"arrhythmia","points":0,"present":false,"tier":"medium_2"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_1"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"medium_1"},{"factor":"age_65_to_74","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"hyperlipidemia","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"proteinuria","points":0,"present":false,"tier":"medium_1"},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"}],"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":"hfa_icos_vegf","formula_expression":"HFA-ICOS VEGF-inhibitor class (Lyon 2020): very_high if any very-high factor; else high if any high factor or medium_points\u003e=5; else medium if medium_points 2-4; else low. medium_points = Medium 2 + Medium 1 only. Very high: heart_failure_or_cardiomyopathy, arterial_vascular_disease (IHD, PCI, CABG, stable angina, TIA, stroke, or PVD). High: venous_thrombosis, lvef_percent\u003c50, qtc_ms\u003e=480, age_years\u003e=75, hypertension, prior_anthracycline. Medium 2: lvef 50-54, male 450\u003c=qtc\u003c480, female 460\u003c=qtc\u003c480, arrhythmia (AF/flutter/VT/VF). Medium 1: elevated_troponin, elevated_bnp, age 65-74, diabetes, hyperlipidemia, ckd, proteinuria, prior_left_chest_or_mediastinal_rt, current_or_significant_smoker, obesity. Age exclusive (\u003e=75 High; 65-74 Medium 1; \u003c65 none). LVEF exclusive (\u003c50 High; 50-54 Medium 2; \u003e=55 none). QTc exclusive (\u003e=480 High; else sex-specific Medium 2). cardiotoxicity_guide low \u003c2%, medium 2-9%, high 10-19%, very_high \u003e=20%","high_factor":false,"lvef_percent":60,"medium_points":0,"qtc_ms":400,"risk_level":"low","sex":"female","very_high_factor":false},{"age_years":50,"cardiotoxicity_guide":"\u003c2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"arterial_vascular_disease","points":0,"present":false,"tier":"very_high"},{"factor":"venous_thrombosis","points":0,"present":false,"tier":"high"},{"factor":"lvef_lt_50","points":0,"present":false,"tier":"high"},{"factor":"qtc_ge_480","points":0,"present":false,"tier":"high"},{"factor":"age_ge_75","points":0,"present":false,"tier":"high"},{"factor":"hypertension","points":0,"present":false,"tier":"high"},{"factor":"prior_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"lvef_50_to_54","points":0,"present":false,"tier":"medium_2"},{"factor":"borderline_qtc","points":0,"present":false,"tier":"medium_2"},{"factor":"arrhythmia","points":0,"present":false,"tier":"medium_2"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_1"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"medium_1"},{"factor":"age_65_to_74","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"hyperlipidemia","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"proteinuria","points":0,"present":false,"tier":"medium_1"},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"}],"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":"hfa_icos_vegf","formula_expression":"HFA-ICOS VEGF-inhibitor class (Lyon 2020): very_high if any very-high factor; else high if any high factor or medium_points\u003e=5; else medium if medium_points 2-4; else low. medium_points = Medium 2 + Medium 1 only. Very high: heart_failure_or_cardiomyopathy, arterial_vascular_disease (IHD, PCI, CABG, stable angina, TIA, stroke, or PVD). High: venous_thrombosis, lvef_percent\u003c50, qtc_ms\u003e=480, age_years\u003e=75, hypertension, prior_anthracycline. Medium 2: lvef 50-54, male 450\u003c=qtc\u003c480, female 460\u003c=qtc\u003c480, arrhythmia (AF/flutter/VT/VF). Medium 1: elevated_troponin, elevated_bnp, age 65-74, diabetes, hyperlipidemia, ckd, proteinuria, prior_left_chest_or_mediastinal_rt, current_or_significant_smoker, obesity. Age exclusive (\u003e=75 High; 65-74 Medium 1; \u003c65 none). LVEF exclusive (\u003c50 High; 50-54 Medium 2; \u003e=55 none). QTc exclusive (\u003e=480 High; else sex-specific Medium 2). cardiotoxicity_guide low \u003c2%, medium 2-9%, high 10-19%, very_high \u003e=20%","high_factor":false,"lvef_percent":60,"medium_points":0,"qtc_ms":400,"risk_level":"low","sex":"female","very_high_factor":false}],"path":"/api/calc/hfa_icos_vegf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Integer age in years (18-100) as assigned by the caller. Lyon 2020 VEGF-inhibitor table: \u003e=75 High; 65-74 Medium 1; \u003c65 no age points. Bands are exclusive. magent does not read an identity document.","type":"integer"},"arrhythmia":{"description":"Arrhythmia (atrial fibrillation, atrial flutter, ventricular tachycardia, or ventricular fibrillation) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 2). true or false.","type":"boolean"},"arterial_vascular_disease":{"description":"Arterial vascular disease: IHD, PCI, CABG, stable angina, TIA, stroke, or PVD as one caller bool (Lyon 2020 VEGF-inhibitor table, very high). true or false. magent does not diagnose vascular disease.","type":"boolean"},"ckd":{"description":"Chronic kidney disease (eGFR \u003c60 mL/min/1.73 m2) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false. magent does not compute eGFR.","type":"boolean"},"current_or_significant_smoker":{"description":"Current smoker or significant smoking history as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus (glycated haemoglobin \u003e7.0% or \u003e53 mmol/mol, or on treatment) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false.","type":"boolean"},"elevated_bnp":{"description":"Elevated baseline BNP or NT-proBNP above the local laboratory upper limit of normal as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false. magent does not assay BNP.","type":"boolean"},"elevated_troponin":{"description":"Elevated baseline troponin above the local laboratory upper limit of normal as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false. magent does not assay troponin.","type":"boolean"},"heart_failure_or_cardiomyopathy":{"description":"Heart failure or cardiomyopathy (Lyon 2020 VEGF-inhibitor table, very high). Caller-assigned. true or false.","type":"boolean"},"hyperlipidemia":{"description":"Hyperlipidemia (non-HDL cholesterol \u003e3.8 mmol/L or \u003e145 mg/dL) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false. magent does not convert lipid units.","type":"boolean"},"hypertension":{"description":"Hypertension (SBP \u003e140 mmHg or DBP \u003e90 mmHg, or on treatment) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, High). true or false. magent does not read a blood-pressure cuff.","type":"boolean"},"lvef_percent":{"description":"Baseline left-ventricular ejection fraction, integer percent 10-80, as assigned by the caller. \u003c50 High; 50-54 Medium 2; \u003e=55 no LVEF points. magent does not read an echocardiogram.","type":"integer"},"obesity":{"description":"Obesity (BMI \u003e30 kg/m2) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false. magent does not compute BMI.","type":"boolean"},"prior_anthracycline":{"description":"Prior anthracycline exposure as assigned by the caller (Lyon 2020 VEGF-inhibitor table, High). true or false.","type":"boolean"},"prior_left_chest_or_mediastinal_rt":{"description":"Prior radiotherapy to the left chest or mediastinum as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false.","type":"boolean"},"proteinuria":{"description":"Proteinuria as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false.","type":"boolean"},"qtc_ms":{"description":"Baseline QTc in milliseconds, integer 300-700, as assigned by the caller. \u003e=480 High; men 450-479 Medium 2; women 460-479 Medium 2. magent does not measure QTc.","type":"integer"},"sex":{"description":"male or female as assigned by the caller. Used only for the sex-specific borderline QTc Medium 2 band (men 450-479 ms; women 460-479 ms).","type":"string"},"venous_thrombosis":{"description":"Venous thrombosis (DVT or PE) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, High). true or false.","type":"boolean"}},"required":["age_years","sex","lvef_percent","qtc_ms","heart_failure_or_cardiomyopathy","arterial_vascular_disease","venous_thrombosis","hypertension","prior_anthracycline","arrhythmia","elevated_troponin","elevated_bnp","diabetes","hyperlipidemia","ckd","proteinuria","prior_left_chest_or_mediastinal_rt","current_or_significant_smoker","obesity"],"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"}}},"lastUpdated":"2026-10-05T13:45:22.207Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:45:22.063Z"},"resource":"https://api.magentlab.com/api/calc/hfa_icos_vegf","serviceName":"magent","tags":["hfa-icos","vegf-inhibitor","cardio-oncology","lyon-2020","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/hfa_icos_her2","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Lyon 2020 HFA-ICOS baseline cardiovascular risk before HER2-targeted therapy (trastuzumab and related agents). Very high, high, medium, or low from published factors plus Medium 1/2 points; expert-opinion cardiotoxicity guide \u003c2% / 2-9% / 10-19% / \u003e=20%. Concurrent anthracycline is High; sequential anthracycline before HER2 is Medium 1. Deterministic published classification with citation; not a treatment order. magent does not measure LVEF or biomarkers.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":50,"anthracycline_before_her2":false,"arrhythmia":false,"ckd":false,"concurrent_anthracycline_and_her2":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hypertension":false,"lvef_percent":60,"mi_or_cabg":false,"obesity":false,"prior_left_chest_or_mediastinal_rt":false,"prior_remote_anthracycline":false,"prior_trastuzumab_cardiotoxicity":false,"severe_valvular_heart_disease":false,"stable_angina":false},{"age_years":50,"anthracycline_before_her2":false,"arrhythmia":false,"ckd":false,"concurrent_anthracycline_and_her2":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hypertension":false,"lvef_percent":60,"mi_or_cabg":false,"obesity":false,"prior_left_chest_or_mediastinal_rt":false,"prior_remote_anthracycline":false,"prior_trastuzumab_cardiotoxicity":false,"severe_valvular_heart_disease":false,"stable_angina":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"anthracycline_before_her2":false,"cardiotoxicity_guide":"\u003c2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false},{"factor":"prior_trastuzumab_cardiotoxicity","points":0,"present":false},{"factor":"mi_or_cabg","points":0,"present":false},{"factor":"stable_angina","points":0,"present":false},{"factor":"severe_valvular_heart_disease","points":0,"present":false},{"factor":"lvef_lt_50","points":0,"present":false,"value":60},{"factor":"age_ge_80","points":0,"present":false,"value":50},{"factor":"concurrent_anthracycline_and_her2","points":0,"present":false},{"factor":"lvef_50_54","points":0,"present":false,"value":60},{"factor":"arrhythmia","points":0,"present":false},{"factor":"elevated_troponin","points":0,"present":false},{"factor":"elevated_bnp","points":0,"present":false},{"factor":"age_65_79","points":0,"present":false,"value":50},{"factor":"prior_remote_anthracycline","points":0,"present":false},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"ckd","points":0,"present":false},{"factor":"anthracycline_before_her2","points":0,"present":false},{"factor":"current_or_significant_smoker","points":0,"present":false},{"factor":"obesity","points":0,"present":false}],"concurrent_anthracycline_and_her2":false,"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":"hfa_icos_her2","formula_expression":"HFA-ICOS HER2 (Lyon 2020): very_high if heart_failure_or_cardiomyopathy or prior_trastuzumab_cardiotoxicity; else high if mi_or_cabg or stable_angina or severe_valvular_heart_disease or lvef_percent\u003c50 or age_years\u003e=80 or concurrent_anthracycline_and_her2 or medium_points\u003e=5; else medium if medium_points 2-4; else low; medium_points = Medium 2 (2) + Medium 1 (1); Medium 2 = lvef 50-54, arrhythmia, elevated_troponin, elevated_bnp, age 65-79, prior_remote_anthracycline, prior_left_chest_or_mediastinal_rt; Medium 1 = hypertension, diabetes, ckd, anthracycline_before_her2 (if not concurrent), current_or_significant_smoker, obesity; cardiotoxicity_guide low \u003c2%, medium 2-9%, high 10-19%, very_high \u003e=20%","high_present":false,"lvef_percent":60,"max_score":20,"medium_points":0,"risk_level":"low","score":0,"very_high_present":false},{"age_years":50,"anthracycline_before_her2":false,"cardiotoxicity_guide":"\u003c2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false},{"factor":"prior_trastuzumab_cardiotoxicity","points":0,"present":false},{"factor":"mi_or_cabg","points":0,"present":false},{"factor":"stable_angina","points":0,"present":false},{"factor":"severe_valvular_heart_disease","points":0,"present":false},{"factor":"lvef_lt_50","points":0,"present":false,"value":60},{"factor":"age_ge_80","points":0,"present":false,"value":50},{"factor":"concurrent_anthracycline_and_her2","points":0,"present":false},{"factor":"lvef_50_54","points":0,"present":false,"value":60},{"factor":"arrhythmia","points":0,"present":false},{"factor":"elevated_troponin","points":0,"present":false},{"factor":"elevated_bnp","points":0,"present":false},{"factor":"age_65_79","points":0,"present":false,"value":50},{"factor":"prior_remote_anthracycline","points":0,"present":false},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"ckd","points":0,"present":false},{"factor":"anthracycline_before_her2","points":0,"present":false},{"factor":"current_or_significant_smoker","points":0,"present":false},{"factor":"obesity","points":0,"present":false}],"concurrent_anthracycline_and_her2":false,"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":"hfa_icos_her2","formula_expression":"HFA-ICOS HER2 (Lyon 2020): very_high if heart_failure_or_cardiomyopathy or prior_trastuzumab_cardiotoxicity; else high if mi_or_cabg or stable_angina or severe_valvular_heart_disease or lvef_percent\u003c50 or age_years\u003e=80 or concurrent_anthracycline_and_her2 or medium_points\u003e=5; else medium if medium_points 2-4; else low; medium_points = Medium 2 (2) + Medium 1 (1); Medium 2 = lvef 50-54, arrhythmia, elevated_troponin, elevated_bnp, age 65-79, prior_remote_anthracycline, prior_left_chest_or_mediastinal_rt; Medium 1 = hypertension, diabetes, ckd, anthracycline_before_her2 (if not concurrent), current_or_significant_smoker, obesity; cardiotoxicity_guide low \u003c2%, medium 2-9%, high 10-19%, very_high \u003e=20%","high_present":false,"lvef_percent":60,"max_score":20,"medium_points":0,"risk_level":"low","score":0,"very_high_present":false}],"path":"/api/calc/hfa_icos_her2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (integer 18-100). Lyon 2020 exclusive bands: ≥80 is High; 65-79 is Medium 2 (2 points); younger than 65 does not score. Age 80 is High, not Medium 2.","type":"integer"},"anthracycline_before_her2":{"description":"Current regimen includes anthracycline before HER2-targeted therapy, sequential not concurrent (Lyon 2020 HER2 table Medium 1). true or false. Ignored for points when concurrent_anthracycline_and_her2 is true.","type":"boolean"},"arrhythmia":{"description":"Atrial fibrillation, atrial flutter, VT, or VF as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false. magent does not interpret the ECG.","type":"boolean"},"ckd":{"description":"Chronic kidney disease as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.","type":"boolean"},"concurrent_anthracycline_and_her2":{"description":"Anthracycline and trastuzumab delivered concurrently on the current protocol (Lyon 2020 HER2 table footnote f; High). true or false. When true, anthracycline_before_her2 does not add Medium 1 points.","type":"boolean"},"current_or_significant_smoker":{"description":"Current or significant smoking history as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.","type":"boolean"},"elevated_bnp":{"description":"Elevated BNP or NT-proBNP as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false. magent does not assay natriuretic peptides.","type":"boolean"},"elevated_troponin":{"description":"Elevated troponin as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false. magent does not assay troponin.","type":"boolean"},"heart_failure_or_cardiomyopathy":{"description":"Heart failure or cardiomyopathy as assigned by the caller (Lyon 2020 HER2 table Very high). true or false.","type":"boolean"},"hypertension":{"description":"Hypertension as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.","type":"boolean"},"lvef_percent":{"description":"Left-ventricular ejection fraction percent (integer 10-80) as assigned by the caller. \u003c50 is High; 50-54 is Medium 2 (2 points); ≥55 does not score. magent does not measure LVEF.","type":"integer"},"mi_or_cabg":{"description":"Prior myocardial infarction or CABG as assigned by the caller (Lyon 2020 HER2 table High). true or false.","type":"boolean"},"obesity":{"description":"Obesity as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false. magent does not compute BMI.","type":"boolean"},"prior_left_chest_or_mediastinal_rt":{"description":"Prior left-chest or mediastinal radiotherapy as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false.","type":"boolean"},"prior_remote_anthracycline":{"description":"Prior remote anthracycline for a previous malignancy, not the current protocol (Lyon 2020 HER2 table footnote g; Medium 2). true or false.","type":"boolean"},"prior_trastuzumab_cardiotoxicity":{"description":"Prior trastuzumab cardiotoxicity as assigned by the caller (Lyon 2020 HER2 table Very high). true or false. magent does not review prior exposure.","type":"boolean"},"severe_valvular_heart_disease":{"description":"Severe valvular heart disease as assigned by the caller (Lyon 2020 HER2 table High). true or false.","type":"boolean"},"stable_angina":{"description":"Stable angina as assigned by the caller (Lyon 2020 HER2 table High). true or false.","type":"boolean"}},"required":["age_years","lvef_percent","heart_failure_or_cardiomyopathy","prior_trastuzumab_cardiotoxicity","mi_or_cabg","stable_angina","severe_valvular_heart_disease","concurrent_anthracycline_and_her2","arrhythmia","elevated_troponin","elevated_bnp","prior_remote_anthracycline","prior_left_chest_or_mediastinal_rt","hypertension","diabetes","ckd","anthracycline_before_her2","current_or_significant_smoker","obesity"],"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"}}},"lastUpdated":"2026-10-05T13:45:14.853Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:45:14.696Z"},"resource":"https://api.magentlab.com/api/calc/hfa_icos_her2","serviceName":"magent","tags":["hfa-icos","her2","cardio-oncology","trastuzumab","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/hfa_icos_anthracycline","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Lyon 2020 HFA-ICOS baseline cardiovascular risk before anthracycline chemotherapy. Returns risk_level low, medium, high, or very_high from published Very high, High, Medium 2, and Medium 1 factors, plus medium_points and the paper's expert-opinion cardiotoxicity_guide. Age and LVEF use the highest matching printed band only. Caller assigns labs and BMI \u003e30. magent does not examine the patient or read imaging. Not a medical device or treatment order.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":50,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hypertension":false,"lvef_percent":60,"mi_or_coronary_revascularization":false,"obesity":false,"previous_anthracycline":false,"previous_non_anthracycline_chemo":false,"prior_left_chest_or_mediastinal_rt":false,"severe_valvular_heart_disease":false,"stable_angina":false},{"age_years":50,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hypertension":false,"lvef_percent":60,"mi_or_coronary_revascularization":false,"obesity":false,"previous_anthracycline":false,"previous_non_anthracycline_chemo":false,"prior_left_chest_or_mediastinal_rt":false,"severe_valvular_heart_disease":false,"stable_angina":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"cardiotoxicity_guide":"\u003c2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"severe_valvular_heart_disease","points":0,"present":false,"tier":"high"},{"factor":"mi_or_coronary_revascularization","points":0,"present":false,"tier":"high"},{"factor":"stable_angina","points":0,"present":false,"tier":"high"},{"factor":"previous_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false,"tier":"high"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_1"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"medium_1"},{"factor":"hypertension","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"previous_non_anthracycline_chemo","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"},{"factor":"age_years","points":0,"present":false,"tier":"none","value":50},{"factor":"lvef_percent","points":0,"present":false,"tier":"none","value":60}],"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":"hfa_icos_anthracycline","formula_expression":"very_high if heart_failure_or_cardiomyopathy; else high if any High factor (severe_valvular_heart_disease, mi_or_coronary_revascularization, stable_angina, lvef_percent\u003c50, age_years\u003e=80, previous_anthracycline, prior_left_chest_or_mediastinal_rt) OR medium_points\u003e=5; else medium if medium_points in 2..4; else low (no factors or one Medium 1). medium_points sums Medium 1 (=1: elevated_troponin, elevated_bnp, hypertension, diabetes, ckd, previous_non_anthracycline_chemo, current_or_significant_smoker, obesity) and Medium 2 (=2: lvef_percent 50-54, age_years 65-79) only. Age and LVEF use the highest matching printed band. Lyon 2020 HFA-ICOS anthracycline table. cardiotoxicity_guide is that paper's expert-opinion guide: low \u003c2%, medium 2-9%, high 10-19%, very high \u003e=20%","lvef_percent":60,"medium_points":0,"risk_level":"low"},{"age_years":50,"cardiotoxicity_guide":"\u003c2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"severe_valvular_heart_disease","points":0,"present":false,"tier":"high"},{"factor":"mi_or_coronary_revascularization","points":0,"present":false,"tier":"high"},{"factor":"stable_angina","points":0,"present":false,"tier":"high"},{"factor":"previous_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false,"tier":"high"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_1"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"medium_1"},{"factor":"hypertension","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"previous_non_anthracycline_chemo","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"},{"factor":"age_years","points":0,"present":false,"tier":"none","value":50},{"factor":"lvef_percent","points":0,"present":false,"tier":"none","value":60}],"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":"hfa_icos_anthracycline","formula_expression":"very_high if heart_failure_or_cardiomyopathy; else high if any High factor (severe_valvular_heart_disease, mi_or_coronary_revascularization, stable_angina, lvef_percent\u003c50, age_years\u003e=80, previous_anthracycline, prior_left_chest_or_mediastinal_rt) OR medium_points\u003e=5; else medium if medium_points in 2..4; else low (no factors or one Medium 1). medium_points sums Medium 1 (=1: elevated_troponin, elevated_bnp, hypertension, diabetes, ckd, previous_non_anthracycline_chemo, current_or_significant_smoker, obesity) and Medium 2 (=2: lvef_percent 50-54, age_years 65-79) only. Age and LVEF use the highest matching printed band. Lyon 2020 HFA-ICOS anthracycline table. cardiotoxicity_guide is that paper's expert-opinion guide: low \u003c2%, medium 2-9%, high 10-19%, very high \u003e=20%","lvef_percent":60,"medium_points":0,"risk_level":"low"}],"path":"/api/calc/hfa_icos_anthracycline"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (18-100, integer). Lyon 2020: \u003e=80 High; 65-79 Medium 2; \u003c65 no age factor. Highest matching band only.","type":"integer"},"ckd":{"description":"Chronic kidney disease (eGFR \u003c60 mL/min/1.73 m2) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute eGFR.","type":"boolean"},"current_or_significant_smoker":{"description":"Current smoker or significant smoking history (Lyon 2020 Medium 1). true or false as assigned by the caller.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus (HbA1c \u003e7.0% or \u003e53 mmol/mol or on treatment) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay HbA1c.","type":"boolean"},"elevated_bnp":{"description":"Baseline BNP or NT-proBNP above the local laboratory ULN as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay natriuretic peptides.","type":"boolean"},"elevated_troponin":{"description":"Baseline troponin above the local laboratory ULN as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay troponin.","type":"boolean"},"heart_failure_or_cardiomyopathy":{"description":"Heart failure or cardiomyopathy (Lyon 2020 Very high). true or false as assigned by the caller. magent does not examine the patient or read imaging.","type":"boolean"},"hypertension":{"description":"Hypertension (SBP \u003e140 mmHg or DBP \u003e90 mmHg or on treatment) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not measure blood pressure.","type":"boolean"},"lvef_percent":{"description":"LVEF percent (10-80, integer). Lyon 2020: \u003c50 High; 50-54 Medium 2; \u003e=55 no LVEF factor. Highest matching printed band only. magent does not read imaging.","type":"integer"},"mi_or_coronary_revascularization":{"description":"Myocardial infarction or previous coronary revascularization (PCI or CABG) (Lyon 2020 High). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"obesity":{"description":"Obesity (BMI \u003e30 kg/m2) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute BMI.","type":"boolean"},"previous_anthracycline":{"description":"Previous anthracycline exposure (Lyon 2020 High). true or false as assigned by the caller.","type":"boolean"},"previous_non_anthracycline_chemo":{"description":"Previous non-anthracycline-based chemotherapy (Lyon 2020 Medium 1). true or false as assigned by the caller.","type":"boolean"},"prior_left_chest_or_mediastinal_rt":{"description":"Prior radiotherapy to the left chest or mediastinum (Lyon 2020 High). true or false as assigned by the caller.","type":"boolean"},"severe_valvular_heart_disease":{"description":"Severe valvular heart disease (Lyon 2020 High). true or false as assigned by the caller. magent does not examine the patient or read imaging.","type":"boolean"},"stable_angina":{"description":"Stable angina (Lyon 2020 High). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["age_years","lvef_percent","heart_failure_or_cardiomyopathy","severe_valvular_heart_disease","mi_or_coronary_revascularization","stable_angina","previous_anthracycline","prior_left_chest_or_mediastinal_rt","elevated_troponin","elevated_bnp","hypertension","diabetes","ckd","previous_non_anthracycline_chemo","current_or_significant_smoker","obesity"],"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"}}},"lastUpdated":"2026-10-05T13:45:07.75Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:45:07.593Z"},"resource":"https://api.magentlab.com/api/calc/hfa_icos_anthracycline","serviceName":"magent","tags":["hfa-icos","anthracycline","cardio-oncology","hemodynamics","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/aap_pediatric_bp","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"AAP 2017 Flynn Table 3 pediatric BP category (normal, elevated, stage_1, stage_2) from age 1-17 and cuff mm Hg. Age ≥13 uses adult-aligned 120/80, 130/80, and 140/90 cutoffs. Age 1-12 needs caller 90th/95th mm Hg (magent does not interpolate height/sex tables). Category is the more severe limb. magent does not measure BP. Not a device, not a hypertension diagnosis, not the 2004 Fourth Report, and not ACC/AHA 2017 for age \u003c13.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":15,"dbp_p90_mm_hg":66,"dbp_p95_mm_hg":74,"diastolic_mm_hg":72,"sbp_p90_mm_hg":108,"sbp_p95_mm_hg":115,"systolic_mm_hg":118},{"age_years":15,"dbp_p90_mm_hg":66,"dbp_p95_mm_hg":74,"diastolic_mm_hg":72,"sbp_p90_mm_hg":108,"sbp_p95_mm_hg":115,"systolic_mm_hg":118}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":15,"category":"normal","citation":{"authors":"Flynn JT, Kaelber DC, Baker-Smith CM, et al; Subcommittee on Screening and Management of High Blood Pressure in Children","doi":"10.1542/peds.2017-1904","id":"flynn-2017","pmid":"29192011","source":"Pediatrics. 2017;140(3):e20171904","title":"Clinical Practice Guideline for Screening and Management of High Blood Pressure in Children and Adolescents"},"components":[{"factor":"systolic_stage_2","met":false,"value":140},{"factor":"diastolic_stage_2","met":false,"value":90},{"factor":"systolic_stage_1","met":false,"value":130},{"factor":"diastolic_stage_1","met":false,"value":80},{"factor":"systolic_elevated","met":false,"value":120},{"factor":"diastolic_elevated","met":false,"value":80}],"diastolic_mm_hg":72,"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":"aap_pediatric_bp","formula_expression":"AAP 2017 Flynn Table 3 category is the more severe of the systolic and diastolic limbs (normal | elevated | stage_1 | stage_2). Age ≥13 (adult-aligned): normal if SBP \u003c120 and DBP \u003c80; elevated if SBP 120–129 and DBP \u003c80; stage_1 if SBP 130–139 or DBP 80–89 and not stage_2; stage_2 if SBP ≥140 or DBP ≥90. Age 1–12 (caller-assigned AAP-table 90th and 95th mm Hg; magent does not interpolate Tables 4/5): stage_2 if SBP ≥ min(sbp_p95+12, 140) or DBP ≥ min(dbp_p95+12, 90); else stage_1 if SBP ≥ min(sbp_p95, 130) or DBP ≥ min(dbp_p95, 80); else elevated if SBP ≥ min(sbp_p90, 120) or DBP ≥ min(dbp_p90, 80); else normal. Percentile fields are required for age 1–12 and must be omitted for age ≥13. magent does not measure BP","systolic_mm_hg":118},{"age_years":15,"category":"normal","citation":{"authors":"Flynn JT, Kaelber DC, Baker-Smith CM, et al; Subcommittee on Screening and Management of High Blood Pressure in Children","doi":"10.1542/peds.2017-1904","id":"flynn-2017","pmid":"29192011","source":"Pediatrics. 2017;140(3):e20171904","title":"Clinical Practice Guideline for Screening and Management of High Blood Pressure in Children and Adolescents"},"components":[{"factor":"systolic_stage_2","met":false,"value":140},{"factor":"diastolic_stage_2","met":false,"value":90},{"factor":"systolic_stage_1","met":false,"value":130},{"factor":"diastolic_stage_1","met":false,"value":80},{"factor":"systolic_elevated","met":false,"value":120},{"factor":"diastolic_elevated","met":false,"value":80}],"diastolic_mm_hg":72,"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":"aap_pediatric_bp","formula_expression":"AAP 2017 Flynn Table 3 category is the more severe of the systolic and diastolic limbs (normal | elevated | stage_1 | stage_2). Age ≥13 (adult-aligned): normal if SBP \u003c120 and DBP \u003c80; elevated if SBP 120–129 and DBP \u003c80; stage_1 if SBP 130–139 or DBP 80–89 and not stage_2; stage_2 if SBP ≥140 or DBP ≥90. Age 1–12 (caller-assigned AAP-table 90th and 95th mm Hg; magent does not interpolate Tables 4/5): stage_2 if SBP ≥ min(sbp_p95+12, 140) or DBP ≥ min(dbp_p95+12, 90); else stage_1 if SBP ≥ min(sbp_p95, 130) or DBP ≥ min(dbp_p95, 80); else elevated if SBP ≥ min(sbp_p90, 120) or DBP ≥ min(dbp_p90, 80); else normal. Percentile fields are required for age 1–12 and must be omitted for age ≥13. magent does not measure BP","systolic_mm_hg":118}],"path":"/api/calc/aap_pediatric_bp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Completed age in years, integer 1-17 (Flynn 2017 Table 3). Age 1-12 uses the left-column percentile rule and requires caller 90th/95th mm Hg. Age 13-17 uses the right-column adult-aligned cutoffs and must omit percentile fields. Age 0 and age ≥18 are rejected.","type":"integer"},"dbp_p90_mm_hg":{"description":"Caller-assigned AAP Table 4/5 diastolic 90th percentile in mm Hg for that child (40-180, and must be \u003c dbp_p95_mm_hg). Required for age 1-12. Must be omitted for age ≥13. magent does not interpolate height or sex tables.","type":"number"},"dbp_p95_mm_hg":{"description":"Caller-assigned AAP Table 4/5 diastolic 95th percentile in mm Hg for that child (40-180, and must be \u003e dbp_p90_mm_hg). Required for age 1-12. Must be omitted for age ≥13. magent does not interpolate height or sex tables.","type":"number"},"diastolic_mm_hg":{"description":"Caller-assigned cuff diastolic blood pressure in mm Hg (20-160). Must be less than systolic. magent does not measure blood pressure.","type":"number"},"sbp_p90_mm_hg":{"description":"Caller-assigned AAP Table 4/5 systolic 90th percentile in mm Hg for that child (40-180, and must be \u003c sbp_p95_mm_hg). Required for age 1-12. Must be omitted for age ≥13. magent does not interpolate height or sex tables.","type":"number"},"sbp_p95_mm_hg":{"description":"Caller-assigned AAP Table 4/5 systolic 95th percentile in mm Hg for that child (40-180, and must be \u003e sbp_p90_mm_hg). Required for age 1-12. Must be omitted for age ≥13. magent does not interpolate height or sex tables.","type":"number"},"systolic_mm_hg":{"description":"Caller-assigned cuff systolic blood pressure in mm Hg (50-250). magent does not measure blood pressure.","type":"number"}},"required":["age_years","systolic_mm_hg","diastolic_mm_hg"],"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"}}},"lastUpdated":"2026-10-05T13:45:00.648Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:45:00.399Z"},"resource":"https://api.magentlab.com/api/calc/aap_pediatric_bp","serviceName":"magent","tags":["aap-2017","pediatric-bp","hemodynamics","hypertension","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/maggic","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Pocock 2013 MAGGIC integer score from 13 heart-failure predictors (age, EF, NYHA, creatinine, diabetes, not prescribed beta-blocker, SBP, BMI, HF duration \u003e18 months, current smoker, COPD, male sex, not prescribed ACEI/ARB), including the published age×EF and SBP×EF extras. Returns integer score and Table 4 1-year and 3-year death probabilities for scores 0-50. Not a diagnosis, not a treatment order, not a reason to withhold therapy. magent does not examine the patient.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acei_arb":true,"age":50,"beta_blocker":true,"bmi_kg_m2":30,"copd":false,"creatinine_mg_dl":0.9,"creatinine_umol_l":80,"current_smoker":false,"diabetes":false,"ef_percent":55,"hf_duration_gt_18_months":false,"nyha_class":1,"sex":"female","systolic_mm_hg":150},{"acei_arb":true,"age":50,"beta_blocker":true,"bmi_kg_m2":30,"copd":false,"creatinine_mg_dl":0.9,"creatinine_umol_l":80,"current_smoker":false,"diabetes":false,"ef_percent":55,"hf_duration_gt_18_months":false,"nyha_class":1,"sex":"female","systolic_mm_hg":150}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acei_arb":true,"age_years":50,"beta_blocker":true,"bmi_kg_m2":30,"citation":{"authors":"Pocock SJ, Ariti CA, McMurray JJV, Maggioni A, Køber L, Squire IB, Swedberg K, Dobson J, Poppe KK, Whalley GA, Doughty RN","doi":"10.1093/eurheartj/ehs337","id":"pocock-2013","pmid":"23186806","source":"Eur Heart J. 2013;34(19):1404-1413","title":"Predicting survival in heart failure: a risk score based on 39 372 patients from 30 studies"},"components":[{"factor":"ef","points":0,"present":false,"value":55},{"factor":"age","points":0,"present":false,"value":50},{"factor":"systolic_mm_hg","points":0,"present":false,"value":150},{"factor":"bmi","points":0,"present":false,"value":30},{"factor":"creatinine","points":0,"present":false,"value":80},{"factor":"nyha_class","points":0,"present":false,"value":1},{"factor":"diabetes","points":0,"present":false},{"factor":"not_prescribed_beta_blocker","points":0,"present":false},{"factor":"hf_duration_gt_18_months","points":0,"present":false},{"factor":"current_smoker","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"male_sex","points":0,"present":false},{"factor":"not_prescribed_acei_arb","points":0,"present":false}],"copd":false,"creatinine_umol_l":80,"current_smoker":false,"death_probability_1y":0.015,"death_probability_3y":0.039,"diabetes":false,"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.","ef_percent":55,"formula":"maggic","formula_expression":"MAGGIC integer score (Pocock 2013 Figure 2): EF \u003c20 7, 20-24 6, 25-29 5, 30-34 3, 35-39 2, \u003e=40 0; age extra by EF (\u003c30 / 30-39 / \u003e=40): \u003c55 0/0/0, 55-59 1/2/3, 60-64 2/4/5, 65-69 4/6/7, 70-74 6/8/9, 75-79 8/10/12, \u003e=80 10/13/15; SBP extra by EF: \u003c110 5/3/2, 110-119 4/2/1, 120-129 3/1/1, 130-139 2/1/0, 140-149 1/0/0, \u003e=150 0/0/0; BMI \u003c15 6, 15-19 5, 20-24 3, 25-29 2, \u003e=30 0; creatinine umol/L \u003c90 0, 90-109 1, 110-129 2, 130-149 3, 150-169 4, 170-209 5, 210-249 6, \u003e=250 8; NYHA I 0, II 2, III 6, IV 8; male 1; current smoker 1; diabetes 3; COPD 2; HF duration \u003e18 months 2; not prescribed beta-blocker 3; not prescribed ACEI/ARB 1; Table 4 1-year and 3-year death probabilities for scores 0-50","hf_duration_gt_18_months":false,"nyha_class":1,"score":0,"sex":"female","systolic_mm_hg":150},{"acei_arb":true,"age_years":50,"beta_blocker":true,"bmi_kg_m2":30,"citation":{"authors":"Pocock SJ, Ariti CA, McMurray JJV, Maggioni A, Køber L, Squire IB, Swedberg K, Dobson J, Poppe KK, Whalley GA, Doughty RN","doi":"10.1093/eurheartj/ehs337","id":"pocock-2013","pmid":"23186806","source":"Eur Heart J. 2013;34(19):1404-1413","title":"Predicting survival in heart failure: a risk score based on 39 372 patients from 30 studies"},"components":[{"factor":"ef","points":0,"present":false,"value":55},{"factor":"age","points":0,"present":false,"value":50},{"factor":"systolic_mm_hg","points":0,"present":false,"value":150},{"factor":"bmi","points":0,"present":false,"value":30},{"factor":"creatinine","points":0,"present":false,"value":80},{"factor":"nyha_class","points":0,"present":false,"value":1},{"factor":"diabetes","points":0,"present":false},{"factor":"not_prescribed_beta_blocker","points":0,"present":false},{"factor":"hf_duration_gt_18_months","points":0,"present":false},{"factor":"current_smoker","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"male_sex","points":0,"present":false},{"factor":"not_prescribed_acei_arb","points":0,"present":false}],"copd":false,"creatinine_umol_l":80,"current_smoker":false,"death_probability_1y":0.015,"death_probability_3y":0.039,"diabetes":false,"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.","ef_percent":55,"formula":"maggic","formula_expression":"MAGGIC integer score (Pocock 2013 Figure 2): EF \u003c20 7, 20-24 6, 25-29 5, 30-34 3, 35-39 2, \u003e=40 0; age extra by EF (\u003c30 / 30-39 / \u003e=40): \u003c55 0/0/0, 55-59 1/2/3, 60-64 2/4/5, 65-69 4/6/7, 70-74 6/8/9, 75-79 8/10/12, \u003e=80 10/13/15; SBP extra by EF: \u003c110 5/3/2, 110-119 4/2/1, 120-129 3/1/1, 130-139 2/1/0, 140-149 1/0/0, \u003e=150 0/0/0; BMI \u003c15 6, 15-19 5, 20-24 3, 25-29 2, \u003e=30 0; creatinine umol/L \u003c90 0, 90-109 1, 110-129 2, 130-149 3, 150-169 4, 170-209 5, 210-249 6, \u003e=250 8; NYHA I 0, II 2, III 6, IV 8; male 1; current smoker 1; diabetes 3; COPD 2; HF duration \u003e18 months 2; not prescribed beta-blocker 3; not prescribed ACEI/ARB 1; Table 4 1-year and 3-year death probabilities for scores 0-50","hf_duration_gt_18_months":false,"nyha_class":1,"score":0,"sex":"female","systolic_mm_hg":150}],"path":"/api/calc/maggic"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acei_arb":{"description":"Prescribed an ACE inhibitor or ARB as assigned by the caller. true scores 0; false (not prescribed) scores 1. magent does not prescribe therapy.","type":"boolean"},"age":{"description":"Age in years (integer 18-120). Pocock 2013 integer extra depends on EF: \u003c55 scores 0; then 55-59, 60-64, 65-69, 70-74, 75-79, \u003e=80. magent does not examine the patient.","type":"integer"},"beta_blocker":{"description":"Prescribed a beta-blocker as assigned by the caller. true scores 0; false (not prescribed) scores 3. magent does not prescribe therapy.","type":"boolean"},"bmi_kg_m2":{"description":"Caller-supplied body-mass index in kg/m² (10-80). Figure 2: \u003c15 6; 15-19 5; 20-24 3; 25-29 2; \u003e=30 0. magent does not compute BMI from height and weight.","type":"number"},"copd":{"description":"COPD as assigned by the caller. true scores 2. magent does not diagnose COPD.","type":"boolean"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Converted as µmol/L = mg/dL × 88.42, then Figure 2 µmol/L bins. Provide this or creatinine_umol_l, not both.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768), the Figure 2 unit. Provide this or creatinine_mg_dl, not both. Bins: \u003c90 0; 90-109 1; 110-129 2; 130-149 3; 150-169 4; 170-209 5; 210-249 6; \u003e=250 8. magent does not assay creatinine.","type":"number"},"current_smoker":{"description":"Current smoker as assigned by the caller. true scores 1. magent does not take a smoking history.","type":"boolean"},"diabetes":{"description":"Diabetes as assigned by the caller. true scores 3 (Figure 2). magent does not diagnose diabetes.","type":"boolean"},"ef_percent":{"description":"Left-ventricular ejection fraction in percent (1-90). Figure 2: \u003c20 scores 7; 20-24 6; 25-29 5; 30-34 3; 35-39 2; \u003e=40 0. Also selects the age and SBP extra rows. magent does not read an echocardiogram.","type":"number"},"hf_duration_gt_18_months":{"description":"Heart-failure duration greater than 18 months as assigned by the caller (Table 2 HF duration \u003e18 months). true scores 2. magent does not date the diagnosis.","type":"boolean"},"nyha_class":{"description":"NYHA class 1-4 as assigned by the caller (Figure 2: I 0, II 2, III 6, IV 8). magent does not assign NYHA class.","type":"integer"},"sex":{"description":"Sex (female or male). Male scores 1 (Figure 2).","enum":["female","male"],"type":"string"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Figure 2 extra depends on EF: \u003c110, 110-119, 120-129, 130-139, 140-149, \u003e=150. magent does not measure blood pressure.","type":"number"}},"required":["age","ef_percent","nyha_class","diabetes","beta_blocker","systolic_mm_hg","bmi_kg_m2","hf_duration_gt_18_months","current_smoker","copd","sex","acei_arb"],"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"}}},"lastUpdated":"2026-10-05T13:44:18.428Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:44:18.298Z"},"resource":"https://api.magentlab.com/api/calc/maggic","serviceName":"magent","tags":["maggic","heart-failure","pocock","hemodynamics","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/adhere","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Fonarow 2005 ADHERE CART bedside tree from admission BUN, systolic BP, and serum creatinine. high: BUN\u003e=43, SBP\u003c115, Cr\u003e=2.75; intermediate_1: BUN\u003e=43, SBP\u003c115, Cr\u003c2.75; intermediate_2: BUN\u003e=43, SBP\u003e=115; intermediate_3: BUN\u003c43, SBP\u003c115; low: BUN\u003c43, SBP\u003e=115. Creatinine consulted only when BUN\u003e=43 and SBP\u003c115. CART tree only, not the logistic model or GWTG-HF. Not a heart-failure diagnosis or treatment/ICU order.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bun_mg_dl":20,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"systolic_bp_mm_hg":140},{"bun_mg_dl":20,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"systolic_bp_mm_hg":140}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"adhere_risk":"low","bun_mg_dl":20,"citation":{"authors":"Fonarow GC, Adams KF Jr, Abraham WT, Yancy CW, Boscardin WJ; ADHERE Scientific Advisory Committee, Study Group, and Investigators","doi":"10.1001/jama.293.5.572","id":"fonarow-2005","pmid":"15687312","source":"JAMA. 2005;293(5):572-580","title":"Risk stratification for in-hospital mortality in acutely decompensated heart failure: classification and regression tree analysis"},"creatinine_mg_dl":1,"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":"adhere","formula_expression":"high: bun_mg_dl \u003e= 43 AND systolic_bp_mm_hg \u003c 115 AND creatinine_mg_dl \u003e= 2.75; intermediate_1: bun_mg_dl \u003e= 43 AND systolic_bp_mm_hg \u003c 115 AND creatinine_mg_dl \u003c 2.75; intermediate_2: bun_mg_dl \u003e= 43 AND systolic_bp_mm_hg \u003e= 115; intermediate_3: bun_mg_dl \u003c 43 AND systolic_bp_mm_hg \u003c 115; low: bun_mg_dl \u003c 43 AND systolic_bp_mm_hg \u003e= 115 (Fonarow 2005 CART)","systolic_bp_mm_hg":140},{"adhere_risk":"low","bun_mg_dl":20,"citation":{"authors":"Fonarow GC, Adams KF Jr, Abraham WT, Yancy CW, Boscardin WJ; ADHERE Scientific Advisory Committee, Study Group, and Investigators","doi":"10.1001/jama.293.5.572","id":"fonarow-2005","pmid":"15687312","source":"JAMA. 2005;293(5):572-580","title":"Risk stratification for in-hospital mortality in acutely decompensated heart failure: classification and regression tree analysis"},"creatinine_mg_dl":1,"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":"adhere","formula_expression":"high: bun_mg_dl \u003e= 43 AND systolic_bp_mm_hg \u003c 115 AND creatinine_mg_dl \u003e= 2.75; intermediate_1: bun_mg_dl \u003e= 43 AND systolic_bp_mm_hg \u003c 115 AND creatinine_mg_dl \u003c 2.75; intermediate_2: bun_mg_dl \u003e= 43 AND systolic_bp_mm_hg \u003e= 115; intermediate_3: bun_mg_dl \u003c 43 AND systolic_bp_mm_hg \u003c 115; low: bun_mg_dl \u003c 43 AND systolic_bp_mm_hg \u003e= 115 (Fonarow 2005 CART)","systolic_bp_mm_hg":140}],"path":"/api/calc/adhere"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bun_mg_dl":{"description":"Admission blood urea nitrogen in mg/dL (1-200). Fonarow 2005 CART first split is BUN \u003e= 43. magent does not measure BUN.","type":"number"},"creatinine_mg_dl":{"description":"Admission serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Fonarow 2005 CART consults creatinine only when BUN \u003e= 43 and SBP \u003c 115; the split is creatinine \u003e= 2.75. magent does not measure creatinine.","type":"number"},"creatinine_umol_l":{"description":"Admission serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Provide this or creatinine_mg_dl, not both.","type":"number"},"systolic_bp_mm_hg":{"description":"Admission systolic blood pressure in mm Hg (integer 50-250). Fonarow 2005 CART second split is SBP \u003c 115. magent does not measure blood pressure.","type":"integer"}},"required":["bun_mg_dl","systolic_bp_mm_hg"],"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"}}},"lastUpdated":"2026-10-05T13:43:00.55Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:43:00.432Z"},"resource":"https://api.magentlab.com/api/calc/adhere","serviceName":"magent","tags":["adhere","heart-failure","hemodynamics","cart","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/fick","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"description":"Fick 1870 cardiac output: CO (L/min) = VO2 (ml/min) / (CaO2 - CvO2) with contents in ml/L (ml/dL x10). Caller supplies the three measured terms. Does not estimate VO2 from BSA or apply Hufner Hb factors. Rejects CaO2 \u003c= CvO2. Not a catheter order, shock diagnosis, or medical device. magent does not sample blood.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cao2_ml_dl":20,"cao2_ml_l":200,"cvo2_ml_dl":15,"cvo2_ml_l":150,"vo2_ml_min":250},{"cao2_ml_dl":20,"cao2_ml_l":200,"cvo2_ml_dl":15,"cvo2_ml_l":150,"vo2_ml_min":250}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"avo2_difference_ml_l":50,"cao2_ml_l":200,"cardiac_output_l_min":5,"citation":{"authors":"Fick A","id":"fick-1870","source":"Sitzungsberichte der Physikalisch-Medizinischen Gesellschaft zu Würzburg. 1870;XVI-XVII","title":"Ueber die Messung des Blutquantums in den Herzventrikeln"},"cvo2_ml_l":150,"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":"fick","formula_expression":"cardiac_output_l_min = vo2_ml_min / (cao2_ml_l - cvo2_ml_l)","vo2_ml_min":250},{"avo2_difference_ml_l":50,"cao2_ml_l":200,"cardiac_output_l_min":5,"citation":{"authors":"Fick A","id":"fick-1870","source":"Sitzungsberichte der Physikalisch-Medizinischen Gesellschaft zu Würzburg. 1870;XVI-XVII","title":"Ueber die Messung des Blutquantums in den Herzventrikeln"},"cvo2_ml_l":150,"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":"fick","formula_expression":"cardiac_output_l_min = vo2_ml_min / (cao2_ml_l - cvo2_ml_l)","vo2_ml_min":250}],"path":"/api/calc/fick"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cao2_ml_dl":{"description":"Arterial oxygen content in ml/dL (5-40, magent clamp). Converted as ml/L = ml/dL × 10. Provide this or cao2_ml_l, not both.","type":"number"},"cao2_ml_l":{"description":"Arterial oxygen content in ml/L (50-400, magent clamp). Provide this or cao2_ml_dl, not both. magent does not compute content from hemoglobin or Hüfner factors.","type":"number"},"cvo2_ml_dl":{"description":"Mixed-venous oxygen content in ml/dL (2-35, magent clamp). Converted as ml/L = ml/dL × 10. Provide this or cvo2_ml_l, not both. Must be less than CaO2 after conversion.","type":"number"},"cvo2_ml_l":{"description":"Mixed-venous oxygen content in ml/L (20-350, magent clamp). Provide this or cvo2_ml_dl, not both. Must be less than CaO2. magent does not sample mixed-venous blood.","type":"number"},"vo2_ml_min":{"description":"Measured oxygen consumption in ml/min (50-2000, magent clamp; Fick 1870 does not publish an input band). Caller supplies the measured term. magent does not estimate VO2 from BSA or assume 125 ml/min/m².","type":"number"}},"required":["vo2_ml_min"],"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"}}},"lastUpdated":"2026-10-05T13:42:39.485Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T13:42:39.359Z"},"resource":"https://api.magentlab.com/api/calc/fick","serviceName":"magent","tags":["fick","cardiac-output","hemodynamics","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/prevent","version":"2"},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"},{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","receiverAuthorizer":"0x3721824a31197dcDD2984cF43b92B6cc8A87c0Fb","version":"2","withdrawDelay":86400},"maxTimeoutSeconds":600,"network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"batch-settlement"}],"description":"Khan 2024 AHA PREVENT base 10-year total CVD percent (ASCVD plus heart failure) for age 30-79 from sex, lipids, treated systolic BP, diabetes, smoking, eGFR, BMI, antihypertensive, and statin. Sex-specific, race-free Table S12 coefficients. Not 30-year, not ASCVD-only, not HF-only, not 2013 PCE, not SCORE2, not a diagnosis or statin order. magent does not assay lipids.","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"method":"GET","queryParams":{"age":50,"antihypertensive":true,"bmi_kg_m2":35,"diabetes":false,"egfr_ml_min_1_73m2":90,"hdl_mg_dl":55,"sbp_mm_hg":160,"sex":"female","smoker":false,"statin":false,"total_cholesterol_mg_dl":240},"type":"http"},"output":{"example":{"age":50,"antihypertensive":true,"bmi_kg_m2":35,"citation":{"authors":"Khan SS, Matsushita K, Sang Y, Ballew SH, Grams ME, Surapaneni A, et al.; Chronic Kidney Disease Prognosis Consortium and the AHA Cardiovascular-Kidney-Metabolic Science Advisory Group","doi":"10.1161/CIRCULATIONAHA.123.067626","id":"khan-2024-prevent","pmid":"37947085","source":"Circulation. 2024;149(6):430-449","title":"Development and Validation of the American Heart Association’s PREVENT Equations"},"diabetes":false,"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.","egfr_ml_min_1_73m2":90,"formula":"prevent","formula_expression":"10-year total CVD % = 100*exp(lp)/(1+exp(lp)); Khan 2024 Supplement Table S12 base 10-year total CVD (ASCVD+HF) only; sex-specific race-free; age 30-79; cage=(age-55)/10; mg/dL*0.02586 to mmol/L; cnhdl=(TC-HDL)*0.02586-3.5; chdl=(HDL*0.02586-1.3)/0.3; sbp_lt110=(min(SBP,110)-110)/20; sbp_ge110=(max(SBP,110)-130)/20; egfr_lt60=(min(eGFR,60)-60)/-15; egfr_ge60=(max(eGFR,60)-90)/-15; BMI spline printed at 30 with S12 total-CVD betas 0; women lp=-3.307728+0.7939329*cage+0.0305239*cnhdl-0.1606857*chdl-0.2394003*sbp_lt110+0.3600781*sbp_ge110+0.8667604*dm+0.5360739*smoke+0.6045917*egfr_lt60+0.0433769*egfr_ge60+0.3151672*antihtn-0.1477655*statin-0.0663612*sbp_ge110*antihtn+0.1197879*cnhdl*statin-0.0819715*cage*cnhdl+0.0306769*cage*chdl-0.0946348*cage*sbp_ge110-0.27057*cage*dm-0.078715*cage*smoke-0.1637806*cage*egfr_lt60; men lp=-3.031168+0.7688528*cage+0.0736174*cnhdl-0.0954431*chdl-0.4347345*sbp_lt110+0.3362658*sbp_ge110+0.7692857*dm+0.4386871*smoke+0.5378979*egfr_lt60+0.0164827*egfr_ge60+0.288879*antihtn-0.1337349*statin-0.0475924*sbp_ge110*antihtn+0.150273*cnhdl*statin-0.0517874*cage*cnhdl+0.0191169*cage*chdl-0.1049477*cage*sbp_ge110-0.2251948*cage*dm-0.0895067*cage*smoke-0.1543702*cage*egfr_lt60; not 30-year; not ASCVD-only; not HF-only; not HbA1c/UACR/SDI add-ons; not 2013 PCE; not SCORE2","hdl_mg_dl":55,"linear_predictor":-2.8579,"sbp_mm_hg":160,"sex":"female","smoker":false,"statin":false,"ten_year_cvd_percent":5.4,"total_cholesterol_mg_dl":240},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"headers":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"properties":{"age":{"description":"Age in years (integer 30-79). Khan 2024 PREVENT base 10-year total CVD is for ages 30-79. Not 30-year PREVENT (that horizon is not returned).","type":"integer"},"antihypertensive":{"description":"Current antihypertensive treatment as assigned by the caller (true or false). Adds the Table S12 antihypertensive term and the treated SBP interaction.","type":"boolean"},"bmi_kg_m2":{"description":"Body-mass index in kg/m2 (10-80). Required Khan 2024 predictor. Table S12 base 10-year total-CVD BMI coefficients are 0 (BMI enters the HF-only equations, which this tool does not return).","type":"number"},"diabetes":{"description":"Diabetes as assigned by the caller (true or false). Adds the Table S12 diabetes term and the age × diabetes interaction. Not the optional HbA1c add-on equation.","type":"boolean"},"egfr_ml_min_1_73m2":{"description":"Caller-assigned eGFR in mL/min/1.73m2 (5-200). Piecewise around 60. magent does not compute MDRD or CKD-EPI.","type":"number"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Converted as mg/dL*0.02586 to mmol/L. Enters as (HDL-1.3)/0.3. magent does not assay lipids.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Piecewise around 110 mm Hg, with a treated-SBP interaction when antihypertensive is true. magent does not measure blood pressure.","type":"number"},"sex":{"description":"Sex used by the sex-specific Table S12 base 10-year total-CVD coefficients (female or male). Not race. PREVENT is race-free.","enum":["female","male"],"type":"string"},"smoker":{"description":"Current cigarette smoking as assigned by the caller (true or false). magent does not take a smoking history.","type":"boolean"},"statin":{"description":"Current statin use as assigned by the caller (true or false). Adds the Table S12 statin term and the statin × non-HDL interaction.","type":"boolean"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Converted as mg/dL*0.02586 to mmol/L. Enters as non-HDL (TC-HDL) centered at 3.5 mmol/L. magent does not assay lipids.","type":"number"}},"required":["age","sex","total_cholesterol_mg_dl","hdl_mg_dl","sbp_mm_hg","antihypertensive","statin","diabetes","smoker","egfr_ml_min_1_73m2","bmi_kg_m2"],"type":"object"},"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"}}},"lastUpdated":"2026-10-05T12:42:24.926Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-05T12:42:24.796Z"},"resource":"https://api.magentlab.com/api/calc/prevent","serviceName":"magent","tags":["prevent","cvd-risk","lipids","aha-2024","calculator"],"type":"http","x402Version":2},{"accepts":[{"amount":"13000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27","scheme":"exact"},{"amount":"13000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88"},"maxTimeoutSeconds":300,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg","scheme":"exact"},{"amount":"13000","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:137","payTo":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27","scheme":"exact"},{"amount":"13000","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:42161","payTo":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27","scheme":"exact"}],"description":"Before/after satellite comparison of the same area on two dates from NASA GIBS true-color imagery (MODIS or VIIRS, about 250 m per pixel): one side-by-side JPEG with date labels plus pixel-based change metrics (share of changed pixels, brightness change) and a cloud, haze and snow estimate for each date, with a plain-language reading that says whether the change is likely real or just weather.","extensions":{"bazaar":{"category":"visual","info":{"input":{"body":{"date_after":"2016-05-10","date_before":"2014-05-10","lat":-18.75,"lon":-67.1,"radius_km":50,"width":256},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"attribution":"NASA EOSDIS GIBS / Worldview","bbox":{"max_lat":-18.2995,"max_lon":-66.6243,"min_lat":-19.2005,"min_lon":-67.5757},"change":{"after":{"cloud_haze_or_snow_pct":18.3,"cloud_or_snow_pct":6.4,"mean_brightness":49.8,"no_data_pct":0},"before":{"cloud_haze_or_snow_pct":8.6,"cloud_or_snow_pct":0.5,"mean_brightness":42.6,"no_data_pct":13},"changed_pixels_pct":20.1,"mean_brightness_change_pct":7.3,"reading":"Visible change in part of the area (for example water level, burn scars, flooding, snow or fields). Check the image.","reliable":true},"date_after":"2016-05-10","date_before":"2014-05-10","height":264,"image_base64":"/9j/2wBDAAYEBAUEBAYFBQUG…","layer":"modis_terra","layer_id":"MODIS_Terra_CorrectedReflectance_TrueColor","layout":"side_by_side: left = date_before, right = date_after, date labels on top","mime_type":"image/jpeg","note":"Daily true-color mosaics at about 250 m per pixel. Change metrics are computed from pixels and are indicative only; seasons, sun angle, clouds and smoke all count as change.","size_bytes":22150,"width":520},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"bbox":{"items":{"type":"number"},"maxItems":4,"minItems":4,"type":"array"},"date_after":{"description":"YYYY-MM-DD, default yesterday","type":"string"},"date_before":{"description":"YYYY-MM-DD, default 365 days before date_after","type":"string"},"include_separate":{"default":false,"description":"Also return both images separately as base64","type":"boolean"},"lat":{"type":"number"},"layer":{"default":"modis_terra","enum":["modis_terra","modis_aqua","viirs_snpp","viirs_noaa20"],"type":"string"},"lon":{"type":"number"},"place":{"description":"Place name instead of coordinates, e.g. \"Valencia, Spain\" (GeoNames, cities and towns)","type":"string"},"radius_km":{"default":50,"maximum":500,"minimum":5,"type":"number"},"width":{"default":384,"description":"Width of each of the two images; the composite is 2 x width + 8 px","maximum":768,"minimum":64,"type":"integer"}},"required":[]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"attribution":{"type":"string"},"bbox":{"properties":{"max_lat":{"type":"number"},"max_lon":{"type":"number"},"min_lat":{"type":"number"},"min_lon":{"type":"number"}},"type":"object"},"change":{"properties":{"after":{"properties":{"cloud_haze_or_snow_pct":{"type":"number"},"cloud_or_snow_pct":{"type":"number"},"mean_brightness":{"type":"number"},"no_data_pct":{"type":"integer"}},"type":"object"},"before":{"properties":{"cloud_haze_or_snow_pct":{"type":"number"},"cloud_or_snow_pct":{"type":"number"},"mean_brightness":{"type":"number"},"no_data_pct":{"type":"integer"}},"type":"object"},"changed_pixels_pct":{"type":"number"},"mean_brightness_change_pct":{"type":"number"},"reading":{"type":"string"},"reliable":{"type":"boolean"}},"type":"object"},"date_after":{"type":"string"},"date_before":{"type":"string"},"height":{"type":"integer"},"image_base64":{"type":"string"},"layer":{"type":"string"},"layer_id":{"type":"string"},"layout":{"type":"string"},"mime_type":{"type":"string"},"note":{"type":"string"},"size_bytes":{"type":"integer"},"width":{"type":"integer"}},"required":["image_base64","date_before","date_after","change"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"tags":["satellite-image","change-detection","before-and-after","satellite","flood-mapping","before-after","nasa","earth-observation","flood","wildfire"]}},"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791462963/bazaar-icons/243ff0b79dbee242.png","lastUpdated":"2026-10-08T15:03:23.845Z","quality":{"l30DaysTotalCalls":3,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-08T15:03:23.629Z"},"resource":"https://agentsvc.io/api/v1/proxy/satellite-compare","tags":["satellite-image","change-detection","before-and-after","satellite","flood-mapping"],"type":"http","x402Version":2},{"accepts":[{"amount":"2000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Search every tracked DeFi yield pool with TVL over $50k: filter by chain, project, token symbol, stablecoin-only and minimum TVL, ranked by APY with base/reward split and IL risk. Open DefiLlama data, refreshed server-side every 15 minutes. $0.002 per query — the yield screener as a pay-per-call primitive.","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"mimeType":"application/json","network":"eip155:8453","payTo":"0x4395C7e383b7e05665aad7f36ed77c01923Dd965","resource":"https://agentbit.app/v1/defi/yields","scheme":"exact"},{"amount":"2000","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","description":"Search every tracked DeFi yield pool with TVL over $50k: filter by chain, project, token symbol, stablecoin-only and minimum TVL, ranked by APY with base/reward split and IL risk. Open DefiLlama data, refreshed server-side every 15 minutes. $0.002 per query — the yield screener as a pay-per-call primitive.","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"mimeType":"application/json","network":"eip155:137","payTo":"0x4395C7e383b7e05665aad7f36ed77c01923Dd965","resource":"https://agentbit.app/v1/defi/yields","scheme":"exact"},{"amount":"2000","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","description":"Search every tracked DeFi yield pool with TVL over $50k: filter by chain, project, token symbol, stablecoin-only and minimum TVL, ranked by APY with base/reward split and IL risk. Open DefiLlama data, refreshed server-side every 15 minutes. $0.002 per query — the yield screener as a pay-per-call primitive.","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"mimeType":"application/json","network":"eip155:42161","payTo":"0x4395C7e383b7e05665aad7f36ed77c01923Dd965","resource":"https://agentbit.app/v1/defi/yields","scheme":"exact"},{"amount":"2000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","description":"Search every tracked DeFi yield pool with TVL over $50k: filter by chain, project, token symbol, stablecoin-only and minimum TVL, ranked by APY with base/reward split and IL risk. Open DefiLlama data, refreshed server-side every 15 minutes. $0.002 per query — the yield screener as a pay-per-call primitive.","extra":{"feePayer":"D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM"},"maxTimeoutSeconds":300,"mimeType":"application/json","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"566SN4N4q1dAjSXTf6Ru9FGY7iD1Sj6n3QmGCEigBfYd","resource":"https://agentbit.app/v1/defi/yields","scheme":"exact"},{"amount":"2000","asset":"0x79A02482A880bCE3F13e09Da970dC34db4CD24d1","description":"Search every tracked DeFi yield pool with TVL over $50k: filter by chain, project, token symbol, stablecoin-only and minimum TVL, ranked by APY with base/reward split and IL risk. Open DefiLlama data, refreshed server-side every 15 minutes. $0.002 per query — the yield screener as a pay-per-call primitive.","extra":{"name":"USDC","version":"2"},"maxTimeoutSeconds":300,"mimeType":"application/json","network":"eip155:480","payTo":"0x4395C7e383b7e05665aad7f36ed77c01923Dd965","resource":"https://agentbit.app/v1/defi/yields","scheme":"exact"}],"description":"Search every tracked DeFi yield pool with TVL over $50k: filter by chain, project, token symbol, stablecoin-only and minimum TVL, ranked by APY with base/reward split and IL risk. Open DefiLlama data, refreshed server-side every 15 minutes. $0.002 per query — the yield screener as a pay-per-call primitive.","extensions":{"bazaar":{"info":{"description":"DeFi yield screening for agents that allocate capital. One call searches the full DefiLlama yield universe (thousands of pools across every major chain, pre-filtered to TVL ≥ $50k so answers stay meaningful) with the filters that matter: chain (base, ethereum, arbitrum...), project (aave, morpho, aerodrome...), token symbol (USDC, ETH...), stablecoins_only for the risk-averse, and min_tvl_usd (default $100k) to skip ghost pools. Results rank by APY and carry the decomposition an allocator needs: total APY, base vs reward split (reward-heavy APY = emissions that can vanish), TVL and impermanent-loss risk flag. The pool set is cached server-side and refreshed every 15 minutes, so queries are fast. Includes the honest disclaimer: high APY usually means high risk, figures change constantly, not financial advice. Pairs with stablecoin-stats (peg check before entering a stable pool) and protocol-tvl (how big is the protocol behind the pool).","errors":[{"code":"PAYMENT_REQUIRED","description":"Missing or invalid payment — retry with a valid PAYMENT-SIGNATURE header","retryable":true,"status":402},{"code":"VALIDATION_ERROR","description":"Request body does not match the input schema","retryable":false,"status":422},{"code":"RATE_LIMITED","description":"Too many requests from this client","retryable":true,"status":429},{"code":"UPSTREAM_TIMEOUT","description":"Upstream data source unavailable — safe to retry","retryable":true,"status":502}],"input":{"body":{"chain":"base","limit":5,"stablecoins_only":true,"symbol":"USDC"},"bodyType":"json","method":"POST","type":"http"},"networks":["eip155:8453","eip155:137","eip155:42161","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","eip155:480"],"output":{"example":{"disclaimer":"APY figures are as reported and change constantly; high APY usually means high risk. Not financial advice.","pools":[{"apy":4.21,"apy_base":4.21,"apy_reward":null,"chain":"Base","il_risk":"no","pool_id":"aa70268e-4b52-42bf-a116-608b370f9501","project":"aave-v3","stablecoin":true,"symbol":"USDC","tvl_usd":182000000}],"result_count":1,"universe_size":6200},"type":"json"},"pricing":{"amount":0.002,"currency":"USDC","firstCallFree":true,"model":"per-call","quoteHint":"Send your wallet address in an X-BUYER-WALLET header on the unpaid request to receive your personalized (volume-discounted) quote.","volumeDiscounts":[{"minCalls30d":100,"percent":10},{"minCalls30d":1000,"percent":20}]},"provider":{"category":"FINANCIAL_ANALYSIS","description":"Search every tracked DeFi yield pool with TVL over $50k: filter by chain, project, token symbol, stablecoin-only and minimum TVL, ranked by APY with base/reward split and IL risk. Open DefiLlama data, refreshed server-side every 15 minutes. $0.002 per query — the yield screener as a pay-per-call primitive.","docsUrl":"https://agentbit.app/llms.txt","name":"AgentBIT","tags":["x402","agentbit","finance","payments","fx","currency","pricing","defi","yields"],"website":"https://agentbit.app"},"reliability":{"measuredAt":"2026-10-06T09:24:50+00:00","p50LatencyMs":304,"p95LatencyMs":394,"sampleSize":15,"successRatePercent":100,"windowDays":30}},"resource":"https://agentbit.app/v1/defi/yields","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"description":{"type":"string"},"errors":{"items":{"properties":{"code":{"type":"string"},"description":{"type":"string"},"retryable":{"type":"boolean"},"status":{"type":"integer"}},"required":["status","code"],"type":"object"},"type":"array"},"input":{"additionalProperties":false,"properties":{"body":{"description":"DeFi Yield Search input. Search every tracked DeFi yield pool with TVL over $50k: filter by chain, project, token symbol, stablecoin-only and minimum TVL, ranked by APY with base/reward split and IL risk. Open DefiLlama data, refreshed server-side every 15 minutes. $0.002 per query — the yield screener as a pay-per-call primitive.","properties":{"chain":{"description":"Filter by chain, e.g. base, ethereum, arbitrum","type":"string"},"limit":{"description":"Max pools returned (1-50, default 15)","type":"integer"},"min_tvl_usd":{"description":"Minimum pool TVL (default 100000)","type":"number"},"project":{"description":"Filter by protocol, e.g. aave-v3, morpho","type":"string"},"stablecoins_only":{"description":"Only stablecoin pools","type":"boolean"},"symbol":{"description":"Filter by token symbol substring, e.g. USDC","type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"headers":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"queryParams":{"additionalProperties":{"type":"string"},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"networks":{"items":{"type":"string"},"type":"array"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"},"pricing":{"properties":{"amount":{"type":["number","null"]},"currency":{"type":"string"},"firstCallFree":{"type":"boolean"},"maxAmount":{"type":"number"},"model":{"type":"string"},"quoteHint":{"type":"string"},"volumeDiscounts":{"items":{"properties":{"minCalls30d":{"type":"integer"},"percent":{"type":"number"}},"required":["minCalls30d","percent"],"type":"object"},"type":"array"}},"type":"object"},"provider":{"properties":{"category":{"enum":["FINANCIAL_ANALYSIS","DATA_ENRICHMENT","INFRASTRUCTURE","WEB_SEARCH_RESEARCH","SOCIAL_INTELLIGENCE","PREDICTION_MARKETS","CREATIVE"],"type":"string"},"description":{"type":"string"},"docsUrl":{"type":"string"},"name":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"website":{"type":"string"}},"required":["name","category"],"type":"object"},"reliability":{"properties":{"measuredAt":{"type":"string"},"p50LatencyMs":{"type":["integer","null"]},"p95LatencyMs":{"type":["integer","null"]},"sampleSize":{"type":"integer"},"successRatePercent":{"type":"number"},"windowDays":{"type":"integer"}},"required":["successRatePercent","sampleSize","windowDays"],"type":"object"}},"required":["input"],"type":"object"}}},"lastUpdated":"2026-10-06T09:32:39.666Z","quality":{"l30DaysTotalCalls":7,"l30DaysUniquePayers":4,"lastCalledAt":"2026-10-06T09:32:39.31Z"},"resource":"https://agentbit.app/v1/defi/yields","type":"http","x402Version":2},{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Fetch any RSS or Atom feed and get normalized JSON items — title, link, ISO-8601 date, plain-text summary, author, categories. Point it at a regular HTML page and it auto-discovers the feed. RSS 2.0, RSS 1.0/RDF and Atom, messy real-world feeds included. The monitoring primitive for agents that watch sources.","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"mimeType":"application/json","network":"eip155:8453","payTo":"0x4395C7e383b7e05665aad7f36ed77c01923Dd965","resource":"https://agentbit.app/v1/web/feed","scheme":"exact"},{"amount":"5000","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","description":"Fetch any RSS or Atom feed and get normalized JSON items — title, link, ISO-8601 date, plain-text summary, author, categories. Point it at a regular HTML page and it auto-discovers the feed. RSS 2.0, RSS 1.0/RDF and Atom, messy real-world feeds included. The monitoring primitive for agents that watch sources.","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"mimeType":"application/json","network":"eip155:137","payTo":"0x4395C7e383b7e05665aad7f36ed77c01923Dd965","resource":"https://agentbit.app/v1/web/feed","scheme":"exact"},{"amount":"5000","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","description":"Fetch any RSS or Atom feed and get normalized JSON items — title, link, ISO-8601 date, plain-text summary, author, categories. Point it at a regular HTML page and it auto-discovers the feed. RSS 2.0, RSS 1.0/RDF and Atom, messy real-world feeds included. The monitoring primitive for agents that watch sources.","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"mimeType":"application/json","network":"eip155:42161","payTo":"0x4395C7e383b7e05665aad7f36ed77c01923Dd965","resource":"https://agentbit.app/v1/web/feed","scheme":"exact"},{"amount":"5000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","description":"Fetch any RSS or Atom feed and get normalized JSON items — title, link, ISO-8601 date, plain-text summary, author, categories. Point it at a regular HTML page and it auto-discovers the feed. RSS 2.0, RSS 1.0/RDF and Atom, messy real-world feeds included. The monitoring primitive for agents that watch sources.","extra":{"feePayer":"D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM"},"maxTimeoutSeconds":300,"mimeType":"application/json","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"566SN4N4q1dAjSXTf6Ru9FGY7iD1Sj6n3QmGCEigBfYd","resource":"https://agentbit.app/v1/web/feed","scheme":"exact"},{"amount":"5000","asset":"0x79A02482A880bCE3F13e09Da970dC34db4CD24d1","description":"Fetch any RSS or Atom feed and get normalized JSON items — title, link, ISO-8601 date, plain-text summary, author, categories. Point it at a regular HTML page and it auto-discovers the feed. RSS 2.0, RSS 1.0/RDF and Atom, messy real-world feeds included. The monitoring primitive for agents that watch sources.","extra":{"name":"USDC","version":"2"},"maxTimeoutSeconds":300,"mimeType":"application/json","network":"eip155:480","payTo":"0x4395C7e383b7e05665aad7f36ed77c01923Dd965","resource":"https://agentbit.app/v1/web/feed","scheme":"exact"}],"description":"Fetch any RSS or Atom feed and get normalized JSON items — title, link, ISO-8601 date, plain-text summary, author, categories. Point it at a regular HTML page and it auto-discovers the feed. RSS 2.0, RSS 1.0/RDF and Atom, messy real-world feeds included. The monitoring primitive for agents that watch sources.","extensions":{"bazaar":{"info":{"description":"Feed reading for monitoring agents. RSS and Atom remain the web's most reliable change-notification layer — blogs, news sites, release pages, status pages, podcasts and forums all publish them — but real-world feeds are a mess of formats, encodings and broken dates. This tool fetches a feed URL (SSRF-guarded), parses RSS 2.0, RSS 1.0/RDF and Atom including Dublin Core extensions, and returns uniform JSON items: whitespace-normalized title, resolved link, publication date converted to ISO-8601, summary stripped to plain text and capped at 1000 characters, author and categories. Given an HTML page instead of a feed, it reads the page's advertised alternate links and follows the first RSS/Atom one automatically — so agents can monitor 'that blog' without knowing its feed URL. Up to 50 items per call. Pair with structured-extract to find all of a site's feeds, and call on a schedule to turn any site into an event source.","errors":[{"code":"PAYMENT_REQUIRED","description":"Missing or invalid payment — retry with a valid PAYMENT-SIGNATURE header","retryable":true,"status":402},{"code":"VALIDATION_ERROR","description":"Request body does not match the input schema","retryable":false,"status":422},{"code":"RATE_LIMITED","description":"Too many requests from this client","retryable":true,"status":429},{"code":"UPSTREAM_TIMEOUT","description":"Upstream data source unavailable — safe to retry","retryable":true,"status":502}],"input":{"body":{"limit":5,"url":"https://blog.cloudflare.com/rss/"},"bodyType":"json","method":"POST","type":"http"},"networks":["eip155:8453","eip155:137","eip155:42161","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","eip155:480"],"output":{"example":{"discovered_from":null,"feed_title":"The Cloudflare Blog","feed_url":"https://blog.cloudflare.com/rss/","format":"rss","item_count":5,"items":[{"author":"Jane Doe","categories":["engineering"],"link":"https://blog.cloudflare.com/example","published":"2026-09-05T14:00:00+00:00","summary":"Post summary text.","title":"Example post"}]},"type":"json"},"pricing":{"amount":0.005,"currency":"USDC","firstCallFree":true,"model":"per-call","quoteHint":"Send your wallet address in an X-BUYER-WALLET header on the unpaid request to receive your personalized (volume-discounted) quote.","volumeDiscounts":[{"minCalls30d":100,"percent":10},{"minCalls30d":1000,"percent":20}]},"provider":{"category":"WEB_SEARCH_RESEARCH","description":"Fetch any RSS or Atom feed and get normalized JSON items — title, link, ISO-8601 date, plain-text summary, author, categories. Point it at a regular HTML page and it auto-discovers the feed. RSS 2.0, RSS 1.0/RDF and Atom, messy real-world feeds included. The monitoring primitive for agents that watch sources.","docsUrl":"https://agentbit.app/llms.txt","name":"AgentBIT","tags":["x402","agentbit","web","search","scraping","content","extraction","feed","read"],"website":"https://agentbit.app"},"reliability":{"measuredAt":"2026-10-06T09:20:11+00:00","p50LatencyMs":40,"p95LatencyMs":84,"sampleSize":9,"successRatePercent":100,"windowDays":30}},"resource":"https://agentbit.app/v1/web/feed","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"description":{"type":"string"},"errors":{"items":{"properties":{"code":{"type":"string"},"description":{"type":"string"},"retryable":{"type":"boolean"},"status":{"type":"integer"}},"required":["status","code"],"type":"object"},"type":"array"},"input":{"additionalProperties":false,"properties":{"body":{"description":"Feed Reader input. Fetch any RSS or Atom feed and get normalized JSON items — title, link, ISO-8601 date, plain-text summary, author, categories. Point it at a regular HTML page and it auto-discovers the feed. RSS 2.0, RSS 1.0/RDF and Atom, messy real-world feeds included. The monitoring primitive for agents that watch sources.","properties":{"limit":{"description":"Max items to return (1-50, default 20)","type":"integer"},"url":{"description":"Feed URL, or an HTML page URL to auto-discover the feed from","type":"string"}},"required":["url"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"headers":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"queryParams":{"additionalProperties":{"type":"string"},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"networks":{"items":{"type":"string"},"type":"array"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"},"pricing":{"properties":{"amount":{"type":["number","null"]},"currency":{"type":"string"},"firstCallFree":{"type":"boolean"},"maxAmount":{"type":"number"},"model":{"type":"string"},"quoteHint":{"type":"string"},"volumeDiscounts":{"items":{"properties":{"minCalls30d":{"type":"integer"},"percent":{"type":"number"}},"required":["minCalls30d","percent"],"type":"object"},"type":"array"}},"type":"object"},"provider":{"properties":{"category":{"enum":["FINANCIAL_ANALYSIS","DATA_ENRICHMENT","INFRASTRUCTURE","WEB_SEARCH_RESEARCH","SOCIAL_INTELLIGENCE","PREDICTION_MARKETS","CREATIVE"],"type":"string"},"description":{"type":"string"},"docsUrl":{"type":"string"},"name":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"website":{"type":"string"}},"required":["name","category"],"type":"object"},"reliability":{"properties":{"measuredAt":{"type":"string"},"p50LatencyMs":{"type":["integer","null"]},"p95LatencyMs":{"type":["integer","null"]},"sampleSize":{"type":"integer"},"successRatePercent":{"type":"number"},"windowDays":{"type":"integer"}},"required":["successRatePercent","sampleSize","windowDays"],"type":"object"}},"required":["input"],"type":"object"}}},"lastUpdated":"2026-10-06T09:24:09.904Z","quality":{"l30DaysTotalCalls":7,"l30DaysUniquePayers":4,"lastCalledAt":"2026-10-06T09:24:09.542Z"},"resource":"https://agentbit.app/v1/web/feed","type":"http","x402Version":2},{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"eip155:8453","payTo":"0x4ff893dF9aB8603d5460FbbAeE0D9B8c0fa4D5e9","scheme":"exact"},{"amount":"10000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM","name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"solana:mainnet","payTo":"Aq6J1zBhga9n6LSAWkosHbYUy3Bp1vC4Z42zZq4iFfed","scheme":"exact"},{"amount":"10000","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"eip155:137","payTo":"0x3E39934989D579F5821eED7Ba6A84B72f682F2C6","scheme":"exact"}],"description":"Xynaptic US News v2 — structured events from the United States (last 3h): importance, lifecycle, entities, sectors, multi-source verification, agent-ready actions. Refreshed every 2 hours.","extensions":{"bazaar":{"info":{"description":"Xynaptic US News v2 — structured events from the United States (last 3h): importance, lifecycle, entities, sectors, multi-source verification, agent-ready actions. Refreshed every 2 hours.","input":{"method":"GET","queryParams":{},"type":"http"},"name":"Xynaptic news-us","output":{"example":{"generated_at":"...","items":[{"headline":"...","source":"...","topic":"US"}],"refresh":"every 2 hours","service":"news-us"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"additionalProperties":{"type":"string"},"type":"object"},"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"}}},"lastUpdated":"2026-10-08T06:15:02.631Z","quality":{"l30DaysTotalCalls":6,"l30DaysUniquePayers":5,"lastCalledAt":"2026-10-08T06:15:02.538Z"},"resource":"https://api.xynaptic.io/v1/news-us","type":"http","x402Version":2},{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"eip155:8453","payTo":"0x4ff893dF9aB8603d5460FbbAeE0D9B8c0fa4D5e9","scheme":"exact"},{"amount":"10000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM","name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"solana:mainnet","payTo":"Aq6J1zBhga9n6LSAWkosHbYUy3Bp1vC4Z42zZq4iFfed","scheme":"exact"},{"amount":"10000","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"eip155:137","payTo":"0x3E39934989D579F5821eED7Ba6A84B72f682F2C6","scheme":"exact"}],"description":"Xynaptic Asia News v2 — structured events across Asia (China, Japan, India, Korea, ASEAN, last 3h): importance, lifecycle, entities, sectors, multi-source verification, agent-ready actions. Refreshed every 2 hours.","extensions":{"bazaar":{"info":{"description":"Xynaptic Asia News v2 — structured events across Asia (China, Japan, India, Korea, ASEAN, last 3h): importance, lifecycle, entities, sectors, multi-source verification, agent-ready actions. Refreshed every 2 hours.","input":{"method":"GET","queryParams":{},"type":"http"},"name":"Xynaptic news-asia","output":{"example":{"generated_at":"...","items":[{"headline":"...","source":"...","topic":"Asia"}],"refresh":"every 2 hours","service":"news-asia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"additionalProperties":{"type":"string"},"type":"object"},"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"}}},"lastUpdated":"2026-10-08T06:15:00.66Z","quality":{"l30DaysTotalCalls":6,"l30DaysUniquePayers":5,"lastCalledAt":"2026-10-08T06:15:00.556Z"},"resource":"https://api.xynaptic.io/v1/news-asia","type":"http","x402Version":2},{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"eip155:8453","payTo":"0x4ff893dF9aB8603d5460FbbAeE0D9B8c0fa4D5e9","scheme":"exact"},{"amount":"10000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM","name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"solana:mainnet","payTo":"Aq6J1zBhga9n6LSAWkosHbYUy3Bp1vC4Z42zZq4iFfed","scheme":"exact"},{"amount":"10000","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"eip155:137","payTo":"0x3E39934989D579F5821eED7Ba6A84B72f682F2C6","scheme":"exact"}],"description":"Xynaptic Russia News v2 — structured events (politics, economy, Ukraine war, last 3h): importance, lifecycle, entities, sectors, multi-source verification, agent-ready actions. Refreshed every 2 hours.","extensions":{"bazaar":{"info":{"description":"Xynaptic Russia News v2 — structured events (politics, economy, Ukraine war, last 3h): importance, lifecycle, entities, sectors, multi-source verification, agent-ready actions. Refreshed every 2 hours.","input":{"method":"GET","queryParams":{},"type":"http"},"name":"Xynaptic news-russia","output":{"example":{"generated_at":"...","items":[{"headline":"...","source":"...","topic":"Russia"}],"refresh":"every 2 hours","service":"news-russia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"additionalProperties":{"type":"string"},"type":"object"},"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"}}},"lastUpdated":"2026-10-08T06:15:00.47Z","quality":{"l30DaysTotalCalls":6,"l30DaysUniquePayers":5,"lastCalledAt":"2026-10-08T06:15:00.37Z"},"resource":"https://api.xynaptic.io/v1/news-russia","type":"http","x402Version":2},{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"eip155:8453","payTo":"0x4ff893dF9aB8603d5460FbbAeE0D9B8c0fa4D5e9","scheme":"exact"},{"amount":"10000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM","name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"solana:mainnet","payTo":"Aq6J1zBhga9n6LSAWkosHbYUy3Bp1vC4Z42zZq4iFfed","scheme":"exact"},{"amount":"10000","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"eip155:137","payTo":"0x3E39934989D579F5821eED7Ba6A84B72f682F2C6","scheme":"exact"}],"description":"Xynaptic Middle East News v2 — structured events (geopolitics, energy, conflicts, last 3h): importance, lifecycle, entities, sectors, multi-source verification, agent-ready actions. Refreshed every 2 hours.","extensions":{"bazaar":{"info":{"description":"Xynaptic Middle East News v2 — structured events (geopolitics, energy, conflicts, last 3h): importance, lifecycle, entities, sectors, multi-source verification, agent-ready actions. Refreshed every 2 hours.","input":{"method":"GET","queryParams":{},"type":"http"},"name":"Xynaptic news-mideast","output":{"example":{"generated_at":"...","items":[{"headline":"...","source":"...","topic":"Middle East"}],"refresh":"every 2 hours","service":"news-mideast"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"additionalProperties":{"type":"string"},"type":"object"},"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"}}},"lastUpdated":"2026-10-08T06:14:58.755Z","quality":{"l30DaysTotalCalls":6,"l30DaysUniquePayers":5,"lastCalledAt":"2026-10-08T06:14:58.645Z"},"resource":"https://api.xynaptic.io/v1/news-mideast","type":"http","x402Version":2},{"accepts":[{"amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x8a0F2b0a6C82D1c54B16E2e4DEcd18fF0802b0f6","scheme":"exact"}],"description":"Generate cryptographically secure randomness: passwords with charset rules, hex keys of any byte length, and uniform random integers (rejection sampling, no modulo bias). Never use Math.random for secrets. Use this when an agent needs to cSPRNG passwords, hex keys and uniform integers.","extensions":{"analytics":{},"bazaar":{"info":{"input":{"method":"GET","queryParams":{"length":24,"mode":"password"},"type":"http"},"output":{"example":{"result":{"answer":"gpqlujkfvzeeivyfayzzwakv","answerLabel":"24-char password (≈112 bits of entropy)","details":[{"label":"Charset size","value":"26 symbols"},{"label":"Entropy","value":"≈112 bits"},{"label":"Strength","value":"excellent"}],"steps":["Charset: 26 symbols","24 uniform draws via rejection sampling","Entropy ≈ 112 bits"],"value":null},"tool":"random-generator"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"digits":{"description":"Include 0–9","enum":["true","false"],"type":"string"},"length":{"description":"Length (password/hex)","type":"number"},"max":{"description":"Int maximum","type":"number"},"min":{"description":"Int minimum","type":"number"},"mode":{"description":"Mode","enum":["password","hex","int"],"type":"string"},"symbols":{"description":"Include symbols","enum":["true","false"],"type":"string"},"upper":{"description":"Include A–Z","enum":["true","false"],"type":"string"}},"required":[],"type":"object"},"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"}}},"lastUpdated":"2026-10-07T13:05:19.858Z","quality":{"l30DaysTotalCalls":4,"l30DaysUniquePayers":2,"lastCalledAt":"2026-10-07T13:05:19.649Z"},"resource":"https://agenttools-hub.vercel.app/api/v1/crypto/random-generator","serviceName":"AgentTools","tags":["crypto","crypto-dev"],"type":"http","x402Version":2},{"accepts":[{"amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x8a0F2b0a6C82D1c54B16E2e4DEcd18fF0802b0f6","scheme":"exact"}],"description":"Convert between Celsius, Fahrenheit and Kelvin with exact formulas, reference points (freezing and boiling water) and step-by-step working. Use this when an agent needs to celsius, Fahrenheit and Kelvin, both ways.","extensions":{"analytics":{},"bazaar":{"info":{"input":{"method":"GET","queryParams":{"from":"c","to":"f","value":20},"type":"http"},"output":{"example":{"result":{"answer":"68 °F","answerLabel":"20 °C = ? °F","details":[{"label":"Formula","value":"°F = °C × 1.8 + 32"},{"label":"Water freezes at","value":"0 °C · 32 °F · 273.15 K"},{"label":"Water boils at","value":"100 °C · 212 °F · 373.15 K"}],"steps":["Convert 20 °C to Celsius: 20 °C","Convert to Fahrenheit: 68 °F"],"value":68},"tool":"temperature-converter"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"from":{"description":"From","enum":["c","f","k"],"type":"string"},"to":{"description":"To","enum":["f","c","k"],"type":"string"},"value":{"description":"Temperature","type":"number"}},"required":["value"],"type":"object"},"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"}}},"lastUpdated":"2026-10-07T13:00:13.319Z","quality":{"l30DaysTotalCalls":4,"l30DaysUniquePayers":2,"lastCalledAt":"2026-10-07T13:00:13.184Z"},"resource":"https://agenttools-hub.vercel.app/api/v1/converters/temperature-converter","serviceName":"AgentTools","tags":["converters","general"],"type":"http","x402Version":2},{"accepts":[{"amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x8a0F2b0a6C82D1c54B16E2e4DEcd18fF0802b0f6","scheme":"exact"}],"description":"Convert numbers to Roman numerals (1–3999) and Roman numerals back to numbers, with strict validation that rejects non-standard forms like IIIM or VX. Use this when an agent needs to numbers ↔ Roman numerals, with validation.","extensions":{"analytics":{},"bazaar":{"info":{"input":{"method":"GET","queryParams":{"op":"to_roman","value":"2026"},"type":"http"},"output":{"example":{"result":{"answer":"MMXXVI","answerLabel":"2026 in Roman numerals","details":[{"label":"System","value":"Standard subtractive notation (IV, IX, XL, XC, CD, CM)"}],"steps":["Greedy match from M (1000) down to I (1)","2026 → MMXXVI"],"value":2026},"tool":"roman-numeral-converter"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"op":{"description":"Direction","enum":["to_roman","from_roman"],"type":"string"},"value":{"description":"Number or numeral","type":"string"}},"required":["value"],"type":"object"},"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"}}},"lastUpdated":"2026-10-07T12:49:53.687Z","quality":{"l30DaysTotalCalls":4,"l30DaysUniquePayers":2,"lastCalledAt":"2026-10-07T12:49:53.537Z"},"resource":"https://agenttools-hub.vercel.app/api/v1/converters/roman-numeral-converter","serviceName":"AgentTools","tags":["converters","general"],"type":"http","x402Version":2},{"accepts":[{"amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x8a0F2b0a6C82D1c54B16E2e4DEcd18fF0802b0f6","scheme":"exact"}],"description":"Calculate the tip for any bill, the grand total, and how much each person pays when splitting. Defaults to a 15% tip. Use this when an agent needs to tip amount, total and per-person split.","extensions":{"analytics":{},"bazaar":{"info":{"input":{"method":"GET","queryParams":{"bill":64.5,"people":1,"tipPercent":15},"type":"http"},"output":{"example":{"result":{"answer":"74.18","answerLabel":"Total with 15% tip","details":[{"label":"Tip amount","value":"9.68"},{"label":"Bill","value":"64.5"}],"steps":["Tip = 64.5 × 15 ÷ 100 = 9.68","Total = 64.5 + 9.68 = 74.18"],"value":74.175},"tool":"tip-calculator"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"bill":{"description":"Bill amount","type":"number"},"people":{"description":"Split between","type":"number"},"tipPercent":{"description":"Tip %","type":"number"}},"required":["bill"],"type":"object"},"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"}}},"lastUpdated":"2026-10-07T12:40:17.307Z","quality":{"l30DaysTotalCalls":4,"l30DaysUniquePayers":2,"lastCalledAt":"2026-10-07T12:40:17.162Z"},"resource":"https://agenttools-hub.vercel.app/api/v1/calculators/tip-calculator","serviceName":"AgentTools","tags":["calculators","general"],"type":"http","x402Version":2},{"accepts":[{"amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x8a0F2b0a6C82D1c54B16E2e4DEcd18fF0802b0f6","scheme":"exact"}],"description":"Estimate reading time from a word count at any reading speed. Defaults to 200 words per minute — the typical silent-reading speed for adults. Use this when an agent needs to how long a text takes to read, by word count.","extensions":{"analytics":{},"bazaar":{"info":{"input":{"method":"GET","queryParams":{"words":1500,"wpm":200},"type":"http"},"output":{"example":{"result":{"answer":"7 min 30s","answerLabel":"1,500 words at 200 wpm","details":[{"label":"Total seconds","value":"450"},{"label":"Total minutes","value":"7.5"}],"steps":["1,500 ÷ 200 = 7.5 minutes"],"value":7.5},"tool":"reading-time-calculator"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"words":{"description":"Word count","type":"number"},"wpm":{"description":"200 = silent reading · 130 = read aloud","type":"number"}},"required":["words"],"type":"object"},"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"}}},"lastUpdated":"2026-10-07T12:40:15.855Z","quality":{"l30DaysTotalCalls":4,"l30DaysUniquePayers":2,"lastCalledAt":"2026-10-07T12:40:15.721Z"},"resource":"https://agenttools-hub.vercel.app/api/v1/calculators/reading-time-calculator","serviceName":"AgentTools","tags":["calculators","general"],"type":"http","x402Version":2},{"accepts":[{"amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x8a0F2b0a6C82D1c54B16E2e4DEcd18fF0802b0f6","scheme":"exact"}],"description":"Calculate the liters of fuel a trip needs and its total cost from distance, consumption (L/100 km) and price per liter — with optional cost splitting between passengers. Use this when an agent needs to trip fuel and cost, splitable between people.","extensions":{"analytics":{},"bazaar":{"info":{"input":{"method":"GET","queryParams":{"consumption":6.5,"distance":450,"people":1,"pricePerLiter":1.75},"type":"http"},"output":{"example":{"result":{"answer":"51.19","answerLabel":"Fuel cost for 450 km","details":[{"label":"Fuel needed","value":"29.25 L"},{"label":"Distance","value":"450 km"}],"steps":["Liters = 450 × 6.5 ÷ 100 = 29.25 L","Cost = 29.25 L × 1.75 = 51.19"],"value":51.1875},"tool":"fuel-cost-calculator"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"consumption":{"description":"Consumption (L/100km)","type":"number"},"distance":{"description":"Distance (km)","type":"number"},"people":{"description":"Split between","type":"number"},"pricePerLiter":{"description":"Price per liter","type":"number"}},"required":["distance","consumption","pricePerLiter"],"type":"object"},"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"}}},"lastUpdated":"2026-10-07T12:34:35.731Z","quality":{"l30DaysTotalCalls":4,"l30DaysUniquePayers":2,"lastCalledAt":"2026-10-07T12:34:35.593Z"},"resource":"https://agenttools-hub.vercel.app/api/v1/calculators/fuel-cost-calculator","serviceName":"AgentTools","tags":["calculators","general"],"type":"http","x402Version":2},{"accepts":[{"amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x8a0F2b0a6C82D1c54B16E2e4DEcd18fF0802b0f6","scheme":"exact"}],"description":"Count the total days between two dates, plus the breakdown in weeks and days and in calendar years, months and days. Use this when an agent needs to days, weeks and calendar time between two dates.","extensions":{"analytics":{},"bazaar":{"info":{"input":{"method":"GET","queryParams":{"end":"2024-12-31","start":"2024-01-01"},"type":"http"},"output":{"example":{"result":{"answer":"365 days","answerLabel":"2024-01-01 → 2024-12-31","details":[{"label":"Weeks + days","value":"52 weeks, 1 days"},{"label":"Calendar breakdown","value":"11 months, 30 days"},{"label":"Total hours","value":"8,760"}],"steps":["Both dates converted to UTC timestamps","(2024-12-31 − 2024-01-01) ÷ 86,400 = 365 days"],"value":365},"tool":"date-difference-calculator"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"end":{"description":"ISO format YYYY-MM-DD","type":"string"},"start":{"description":"ISO format YYYY-MM-DD","type":"string"}},"required":["start","end"],"type":"object"},"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"}}},"lastUpdated":"2026-10-07T12:34:34.013Z","quality":{"l30DaysTotalCalls":4,"l30DaysUniquePayers":2,"lastCalledAt":"2026-10-07T12:34:33.843Z"},"resource":"https://agenttools-hub.vercel.app/api/v1/calculators/date-difference-calculator","serviceName":"AgentTools","tags":["calculators","general"],"type":"http","x402Version":2},{"accepts":[{"amount":"2000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x8a0F2b0a6C82D1c54B16E2e4DEcd18fF0802b0f6","scheme":"exact"}],"description":"Project the future value of a deposit with compound interest: choose annual, semi-annual, quarterly, monthly, weekly or daily compounding and see total interest earned. Use this when an agent needs to future value with any compounding frequency.","extensions":{"analytics":{},"bazaar":{"info":{"input":{"method":"GET","queryParams":{"annualRate":5,"principal":10000,"timesPerYear":12,"years":10},"type":"http"},"output":{"example":{"result":{"answer":"16,470.09","answerLabel":"Future value after 10 years","details":[{"label":"Interest earned","value":"6,470.09"},{"label":"Principal","value":"10,000"},{"label":"vs simple interest","value":"+1,470.09"}],"steps":["r/n = 5% ÷ 12 = 41.67% per period","periods = 12 × 10 = 120","A = P × (1 + r/n)^120 = 16,470.09"],"value":16470.094977},"tool":"compound-interest-calculator"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"annualRate":{"description":"Annual rate %","type":"number"},"principal":{"description":"Principal","type":"number"},"timesPerYear":{"description":"Compounding","enum":[1,2,4,12,52,365],"type":"number"},"years":{"description":"Years","type":"number"}},"required":["principal","annualRate","years"],"type":"object"},"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"}}},"lastUpdated":"2026-10-07T11:45:00.888Z","quality":{"l30DaysTotalCalls":4,"l30DaysUniquePayers":2,"lastCalledAt":"2026-10-07T11:45:00.717Z"},"resource":"https://agenttools-hub.vercel.app/api/v1/calculators/compound-interest-calculator","serviceName":"AgentTools","tags":["calculators","finance"],"type":"http","x402Version":2},{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"eip155:8453","payTo":"0x4ff893dF9aB8603d5460FbbAeE0D9B8c0fa4D5e9","scheme":"exact"},{"amount":"10000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM","name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"solana:mainnet","payTo":"Aq6J1zBhga9n6LSAWkosHbYUy3Bp1vC4Z42zZq4iFfed","scheme":"exact"},{"amount":"10000","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"eip155:137","payTo":"0x3E39934989D579F5821eED7Ba6A84B72f682F2C6","scheme":"exact"}],"description":"Xynaptic Crypto Price — real-time snapshot of 6 major crypto assets (BTC, ETH, SOL, ADA, LINK, DOT) with 24h changes, breadth and top movers. USD only, agent-ready.","extensions":{"bazaar":{"info":{"description":"Xynaptic Crypto Price — real-time snapshot of 6 major crypto assets (BTC, ETH, SOL, ADA, LINK, DOT) with 24h changes, breadth and top movers. USD only, agent-ready.","input":{"method":"GET","queryParams":{},"type":"http"},"name":"Xynaptic crypto-price","output":{"example":{"generated_at":"2026-09-23T10:00:00Z","market":{"breadth":"3/6 up"},"prices":{"BTC":{"chg_24h_pct":-0.4,"usd":86000}},"service":"crypto-price","summary":"BTC $86,000 (-0.4% 24h) — neutral tone."},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"additionalProperties":{"type":"string"},"type":"object"},"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"}}},"lastUpdated":"2026-10-08T06:15:02.685Z","quality":{"l30DaysTotalCalls":20,"l30DaysUniquePayers":4,"lastCalledAt":"2026-10-08T06:15:02.587Z"},"resource":"https://api.xynaptic.io/v1/crypto-price","type":"http","x402Version":2},{"accepts":[{"amount":"290000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","version":"2"},"maxTimeoutSeconds":180,"network":"eip155:8453","payTo":"0xF121fbeceC43e1B616D47285851c20d5fC64431b","scheme":"exact"}],"description":"Hedged prose from cited property records for one place. Each reading names the confirming record; an optional question sets the audience and focus. No value, person motive, or buildability finding. Allow at least 60 seconds (90 recommended). If disconnected, retry the same request for the same payer with fresh valid payment within 15 minutes; no charge occurs for the disconnected run. npx @velinussage/locus-agent-skill add.","extensions":{"bazaar":{"info":{"input":{"body":{"address":"1 E Edenton St, Raleigh, NC 27601"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"address":"1 E Edenton St, Raleigh, NC 27601","catalogue":{"evaluated":0,"gated":0},"catalogueVersion":"example","caveats":["example"],"charged":true,"focus":{"source":"inferred"},"generatedAt":"2026-01-15T00:00:00.000Z","kind":"practitioner_read","permitMix":{"available":false,"coverage":"covered"},"persona":{"source":"caller"},"prose":"example","questionUse":{"focusGroup":"records","personaFrom":"question"},"readings":[{"checkNext":"example","id":"example","readingText":"example","recordRefs":["example"],"status":"matched","title":"example"}],"readingsNotEvaluated":[{"id":"example","reason":"example"}],"recordRefs":["example"],"timing":{"recordsCached":false,"stages":{},"totalMs":1},"verifyNext":[{"label":"example","url":"https://example.gov/record"}],"waterContext":{"citations":["example"],"nonInference":"example","pfasDetectionCount":1,"violationCount12mo":1,"violations":[{}]}},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"address":{"maxLength":200,"minLength":5,"type":"string"},"persona":{"enum":["buyer","owner","seller","investor","renter","lender","developer","commercial_tenant"],"type":"string"},"question":{"maxLength":300,"type":"string"},"radiusMeters":{"maximum":1500,"minimum":100,"type":"integer"}},"required":["address"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}},"builder-code":{"info":{"a":"bc_vz5zyuko"},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"a":{"description":"App builder code","pattern":"^[a-z0-9_]{1,32}$","type":"string"},"s":{"description":"Service builder codes","items":{"pattern":"^[a-z0-9_]{1,32}$","type":"string"},"maxItems":11,"type":"array"},"w":{"description":"Wallet builder code","pattern":"^[a-z0-9_]{1,32}$","type":"string"}},"type":"object"}},"locus.freePreflight":{"coverageBeforeCharge":true,"laneTool":"locus_lane_availability","mcpUrl":"https://mcp.locus.report/mcp","recommendedTool":"locus_coverage_check","skillInstall":"npx @velinussage/locus-agent-skill add","skillUrl":"https://api.locus.report/.well-known/skill.md","toolsCallUrl":"https://api.locus.report/tools/call","toolsListUrl":"https://api.locus.report/tools/list","unsupportedReturnsFreeDiagnostic":true,"version":2},"offer-receipt":{"info":{"offers":[{"acceptIndex":0,"format":"eip712","payload":{"amount":"290000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0xF121fbeceC43e1B616D47285851c20d5fC64431b","resourceUrl":"https://api.locus.report/api/locus-practitioner-read","scheme":"exact","validUntil":1790475144,"version":1},"signature":"0xc622a8662b1ef73fc617cedf0e43fd2306fbdd500e241adf2e16058f757ee2414aa41bb3e5a66b43a4d5a49e3da3038c6d826c4cc35bc0b1a27dda049bee5c141b"}]},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"offers":{"items":{"properties":{"acceptIndex":{"type":"integer"},"format":{"type":"string"},"payload":{"properties":{"amount":{"type":"string"},"asset":{"type":"string"},"network":{"type":"string"},"payTo":{"type":"string"},"resourceUrl":{"type":"string"},"scheme":{"type":"string"},"validUntil":{"type":"integer"},"version":{"type":"integer"}},"required":["version","resourceUrl","scheme","network","asset","payTo","amount"],"type":"object"},"signature":{"type":"string"}},"required":["format","signature"],"type":"object"},"type":"array"}},"required":["offers"],"type":"object"}}},"lastUpdated":"2026-09-27T02:09:24.189Z","quality":{"l30DaysTotalCalls":35,"l30DaysUniquePayers":3,"lastCalledAt":"2026-09-27T02:09:22.58Z"},"resource":"https://api.locus.report/api/locus-practitioner-read","type":"http","x402Version":2},{"accepts":[{"amount":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:8453","payTo":"0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3","scheme":"exact"},{"amount":"10000","asset":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","extra":{"name":"USDC","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:84532","payTo":"0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3","scheme":"exact"}],"description":"Satellite images of any place on Earth for a given day since 2000: true color (MODIS Terra/Aqua, VIIRS), false color for burn scars and floods, and night lights, as ready JPEG URLs plus a Worldview link. Send \"lat,lon\" and optionally a date (YYYY-MM-DD) and area (e.g. 100km). $0.02 per call.","extensions":{"bazaar":{"info":{"input":{"method":"GET","queryParams":{"location":"43.65,-79.38"},"type":"http"},"output":{"example":{"note":"see /docs/satellite-imagery"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{},"type":"object"},"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"}}},"lastUpdated":"2026-10-01T04:32:10.288Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-01T04:32:10.148Z"},"resource":"https://intel.rallylive.ca/satellite/image","serviceName":"satellite-imagery","tags":["satellite","earth-observation","imagery","geospatial","nasa"],"type":"http","x402Version":2},{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:8453","payTo":"0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3","scheme":"exact"},{"amount":"10000","asset":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","extra":{"name":"USDC","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:84532","payTo":"0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3","scheme":"exact"}],"description":"Look up a DOI: full paper metadata (title, authors, journal, volume, issue, pages, year, publisher, funders, subjects), citation and reference counts, abstract, links and a ready APA citation. $0.01 per lookup.","extensions":{"bazaar":{"info":{"input":{"method":"GET","queryParams":{"doi":"10.1038/nature14539"},"type":"http"},"output":{"example":{"note":"see /docs/doi-lookup"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{},"type":"object"},"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"}}},"lastUpdated":"2026-10-01T04:32:06.452Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-01T04:32:06.34Z"},"resource":"https://intel.rallylive.ca/papers/doi","serviceName":"doi-lookup","tags":["doi","citation","papers","metadata","reference"],"type":"http","x402Version":2},{"accepts":[{"amount":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:8453","payTo":"0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3","scheme":"exact"},{"amount":"10000","asset":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","extra":{"name":"USDC","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:84532","payTo":"0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3","scheme":"exact"}],"description":"The most-cited papers on a topic (Crossref citation counts), for literature reviews and finding the foundational work: title, authors, year, venue, DOI, citations, abstract. $0.02 per search.","extensions":{"bazaar":{"info":{"input":{"method":"GET","queryParams":{"q":"transformer neural network"},"type":"http"},"output":{"example":{"note":"see /docs/most-cited-papers"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{},"type":"object"},"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"}}},"lastUpdated":"2026-10-01T04:32:02.722Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-01T04:32:02.123Z"},"resource":"https://intel.rallylive.ca/papers/most-cited","serviceName":"most-cited-papers","tags":["papers","citations","research","literature-review","academic"],"type":"http","x402Version":2},{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:8453","payTo":"0x91D568599fB802Cb3f03F067D2063785dBAF0abd","scheme":"exact"},{"amount":"10000","asset":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","extra":{"name":"USDC","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:84532","payTo":"0x91D568599fB802Cb3f03F067D2063785dBAF0abd","scheme":"exact"}],"description":"Extract the readable main text of a web page as plain text (no HTML, no navigation, ads or scripts) with title, meta description and word count. Clean article and content extraction for summarization, embeddings, RAG and LLM input. $0.01 per page.","extensions":{"bazaar":{"info":{"input":{"body":{"url":"https://example.com/"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"text":"Example Domain\n\nThis domain is for use in illustrative examples in documents...","title":"Example Domain","url":"https://example.com/","word_count":31},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"lastUpdated":"2026-09-11T10:00:18.777Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-09-11T10:00:18.234Z"},"resource":"https://intel.rallylive.ca/page-text","serviceName":"webpage-text-extractor","tags":["rag","llm","text","extract","summarize"],"type":"http","x402Version":2}],"pagination":{"limit":100,"offset":13200,"total":34062},"x402Version":2}
