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 o…
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 exa…
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 co…
Nathan/ADAG A1C to estimated average glucose conversion, or the reverse. Provide exactly one of a1c_percent or eAG. Deterministic published equation with citation.
Ho 2004 day-3 IV-steroid score for severe UC (0–9): mean stools (<4 → 0; 4 ≤ x < 6 → 1; 6 ≤ x ≤ 9 → 2; x > 9 → 4), caller-assigned colonic dilatation (+4), albumin <30 g…
Daperno 2004 simplified endoscopic activity score for Crohn's disease (SES-CD): caller-assigned integers 0-3 for ulcers, ulcerated_surface, affected_surface, and narrowi…
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…
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…
Saltzman 2011 AIMS65 for in-hospital mortality in acute upper GI bleeding: albumin <3.0 g/dL, INR >1.5, caller-assigned altered mental status, systolic BP <=90 mm Hg, an…
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 be…
Glasgow-Blatchford score (Blatchford 2000) for need for treatment after upper-gastrointestinal haemorrhage. Points from urea, haemoglobin (sex-specific), systolic BP, he…
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). H…
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_um…
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 <6.71, in…
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…
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…
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…
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 w…
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…
McDiarmid 2002 PELD from bilirubin, INR, albumin, age under 1 year, and growth failure. Deterministic published listing arithmetic with citation; not a transplant listin…
Runyon 1992 SAAG as serum albumin minus ascites albumin in g/dL, rounded to one decimal. portal_hypertension_physiology is true when SAAG >= 1.1 g/dL. Gradient only; not…
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, d…
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 <= -2.60, grade 2 i…
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 o…