{"slug":"api-magentlab-com-api-calc-saps-ii-fb97f5","title":"Le Gall 1993 Simplified Acute Physiology Score II from 12 physiology variables (","host":"api.magentlab.com","method":"POST","resource":"https://api.magentlab.com/api/calc/saps_ii","category":"other","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 pro","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":373,"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":[{"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_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). <40 → 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). <15 → 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. <4.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. <68.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. <28 → 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). <6 → 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. <40 → 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. <100 → 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). <3.0 → 3; 3.0-4.9 → 0; ≥5.0 → 3.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (90-200). <125 → 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. <70 → 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). <39 → 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. <10.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. <0.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). <1.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"},"history":[{"day":"2026-09-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":false,"latency_ms":373,"error":null}],"description_full":"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.","last_updated":"2026-09-28T14:39:41.611Z","schemes":["exact"]}