{"slug":"api-magentlab-com-api-calc-vocal-penn-108186","title":"Mahmud 2021 VOCAL-Penn 30-day postoperative mortality logistic for cirrhosis","host":"api.magentlab.com","method":"POST","resource":"https://api.magentlab.com/api/calc/vocal_penn","category":"other","description":"Mahmud 2021 VOCAL-Penn 30-day postoperative mortality logistic for cirrhosis. log_odds = -5.472096 + 1.061725*ASA + 0.927904*emergency + surgery dummies (laparoscopic abdominal reference) + Stata 3-knot RCS albumin (2.7, 3.7, 4.4) and platelets (75, 152, 271) + 0.1448936*bilirubin - 0.7541669*obesit","price_listed":0.005,"price_asked":0.007,"state":"overcharges","state_label":"Asked 1.4x its listed price for its own example","checks_7d":1,"answered_7d":1,"latency_ms_median":304,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"items":[{"age":60,"albumin_g_dl":3.5,"albumin_g_l":35,"asa_class":3,"bilirubin_mg_dl":1.2,"bilirubin_umol_l":20.52,"emergency":false,"fatty_liver_disease":false,"obesity":false,"platelets_10e9_l":150,"surgery_category":"abdominal_wall"},{"age":60,"albumin_g_dl":3.5,"albumin_g_l":35,"asa_class":3,"bilirubin_mg_dl":1.2,"bilirubin_umol_l":20.52,"emergency":false,"fatty_liver_disease":false,"obesity":false,"platelets_10e9_l":150,"surgery_category":"abdominal_wall"}]},"method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). The Mahmud 2021 Supplement Appendix 30-day linear predictor does not retain age (age is in the 90- and 180-day models). Required because the published tool asks for it.","type":"integer"},"albumin_g_dl":{"description":"Preoperative albumin in g/dL (1.0-6.0). Provide this or albumin_g_l. Restricted cubic spline knots 2.7, 3.7, 4.4 (Supplemental Table 2). magent does not read the laboratory.","type":"number"},"albumin_g_l":{"description":"Preoperative albumin in g/L (10-60). Converted as g/dL = g/L / 10.","type":"number"},"asa_class":{"description":"Caller-assigned ASA physical status 2, 3, or 4 (ordinal in the Appendix). The derivation cohort had no ASA 1 and excluded ASA 5. magent does not assign ASA class.","enum":[2,3,4],"type":"integer"},"bilirubin_mg_dl":{"description":"Preoperative total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. Linear in the 30-day Appendix model. magent does not read the laboratory.","type":"number"},"bilirubin_umol_l":{"description":"Preoperative total bilirubin in µmol/L (2-684). Converted as mg/dL = µmol/L / 17.1.","type":"number"},"emergency":{"description":"Caller-assigned emergency indication (true/false). magent does not classify urgency.","type":"boolean"},"fatty_liver_disease":{"description":"Caller-assigned NAFLD as the etiology of cirrhosis (true/false). magent does not assign etiology.","type":"boolean"},"obesity":{"description":"Caller-assigned BMI ≥30 kg/m² (true/false). Protective in the 30-day model. magent does not compute BMI.","type":"boolean"},"platelets_10e9_l":{"description":"Preoperative platelet count in 10^9/L (10-800), equal to 1,000/µL. Spline knots 75, 152, 271 (Supplemental Table 2). magent does not read the laboratory.","type":"number"},"surgery_category":{"description":"Mahmud 2021 Appendix surgery dummy as assigned by the caller. abdominal_laparoscopic is the reference (0). abdominal is open abdominal. chest and cardiac share the printed chest/cardiac coefficient. magent does not classify a CPT code.","enum":["abdominal_laparoscopic","abdominal","abdominal_wall","vascular","orthopedic","chest","cardiac"],"type":"string"}},"required":["age","platelets_10e9_l","obesity","fatty_liver_disease","asa_class","emergency","surgery_category"],"type":"object"},"maxItems":25,"minItems":1,"type":"array"}},"required":["items"],"type":"object"},"headers":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"const":"POST","type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":false,"latency_ms":304,"error":null}],"description_full":"Mahmud 2021 VOCAL-Penn 30-day postoperative mortality logistic for cirrhosis. log_odds = -5.472096 + 1.061725*ASA + 0.927904*emergency + surgery dummies (laparoscopic abdominal reference) + Stata 3-knot RCS albumin (2.7, 3.7, 4.4) and platelets (75, 152, 271) + 0.1448936*bilirubin - 0.7541669*obesity + 0.8268748*NAFLD. Percent to 1 decimal. Not a surgical order. magent does not assign ASA or read labs.","last_updated":"2026-09-28T14:02:27.608Z","schemes":["exact"]}