{"uid":"cap_WjbNBQCZ6dKTz1OkEwbKA","slug":"sofa-score-calculator-vincent-1996-1d89f560","name":"SOFA Score Calculator (Vincent 1996)","description":"Deterministic published-formula arithmetic plus ICD-10-CM, RxNorm, and LOINC. Pay in USDC on Base via x402.","url":"https://api.magentlab.com/api/calc/sofa?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["pao2_mm_hg","fio2","ventilated","platelets_10e9_l","map_mm_hg","gcs"],"properties":{"gcs":{"type":"integer","description":"Glasgow Coma Scale total as assigned by the caller (integer 3-15). 15 scores 0; 13-14 scores 1; 10-12 scores 2; 6-9 scores 3; <6 scores 4."},"fio2":{"type":"number","description":"Inspired oxygen as a fraction (0.21-1.0), not a percent."},"map_mm_hg":{"type":"number","description":"Mean arterial pressure in mm Hg (30-180). MAP <70 scores 1 unless a higher cardiovascular band applies."},"dobutamine":{"type":"boolean","description":"Any dobutamine. true or false when provided; absent is false. true scores cardiovascular 2 unless a higher band applies."},"pao2_mm_hg":{"type":"number","description":"Arterial PaO2 in mm Hg (20-700). Respiration uses PaO2/FiO2: ≥400 scores 0; <400 scores 1; <300 scores 2; <200 with ventilation scores 3; <100 with ventilation scores 4."},"ventilated":{"type":"boolean","description":"Respiratory support (Vincent 1996). true or false. Scores 3 and 4 require ventilation; unventilated PaO2/FiO2 <200 is capped at 2."},"bilirubin_mg_dl":{"type":"number","description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. <1.2 scores 0; 1.2-1.9 scores 1; 2.0-5.9 scores 2; 6.0-11.9 scores 3; >12.0 scores 4."},"bilirubin_umol_l":{"type":"number","description":"Total bilirubin in µmol/L. Converted as mg/dL = µmol/L / 17.1."},"creatinine_mg_dl":{"type":"number","description":"Creatinine in mg/dL (0.1-20). Provide this, creatinine_umol_l, or urine_output_ml_day. <1.2 scores 0; 1.2-1.9 scores 1; 2.0-3.4 scores 2; 3.5-4.9 scores 3; ≥5.0 scores 4."},"platelets_10e9_l":{"type":"number","description":"Platelets ×10^9/L, same as ×10^3/mm^3 (1-2000). ≥150 scores 0; <150 scores 1; <100 scores 2; <50 scores 3; <20 scores 4."},"creatinine_umol_l":{"type":"number","description":"Creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42."},"dopamine_ug_kg_min":{"type":"number","description":"Dopamine in µg/kg·min (0-50) when provided. Absent is 0. 0 < dose ≤5 scores 2; >5 scores 3; >15 scores 4."},"urine_output_ml_day":{"type":"number","description":"Urine output in mL/day (0-20000) when provided. <200 scores 4; <500 scores 3; otherwise urine does not add 1-2. Renal is the max of creatinine and urine when both are given."},"epinephrine_ug_kg_min":{"type":"number","description":"Epinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4."},"norepinephrine_ug_kg_min":{"type":"number","description":"Norepinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/sofa","count":2,"items":[{"score":0,"formula":"sofa","citation":{"id":"vincent-1996","doi":"10.1007/BF01709751","title":"The SOFA (Sepsis-related Organ Failure Assessment) score to describe organ dysfunction/failure","source":"Intensive Care Med. 1996;22(7):707-710","authors":"Vincent JL, Moreno R, Takala J, Willatts S, De Mendonça A, Bruining H, Reinhart CK, Suter PM, Thijs LG"},"max_score":24,"components":[{"value":457.1428571428572,"factor":"respiration","points":0,"present":false},{"value":200,"factor":"coagulation","points":0,"present":false},{"value":0.8,"factor":"liver","points":0,"present":false},{"value":80,"factor":"cardiovascular","points":0,"present":false},{"value":15,"factor":"cns","points":0,"present":false},{"value":1,"factor":"renal","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_expression":"SOFA = respiration + coagulation + liver + cardiovascular + cns + renal; each 0-4; max 24"},{"score":0,"formula":"sofa","citation":{"id":"vincent-1996","doi":"10.1007/BF01709751","title":"The SOFA (Sepsis-related Organ Failure Assessment) score to describe organ dysfunction/failure","source":"Intensive Care Med. 1996;22(7):707-710","authors":"Vincent JL, Moreno R, Takala J, Willatts S, De Mendonça A, Bruining H, Reinhart CK, Suter PM, Thijs LG"},"max_score":24,"components":[{"value":457.1428571428572,"factor":"respiration","points":0,"present":false},{"value":200,"factor":"coagulation","points":0,"present":false},{"value":0.8,"factor":"liver","points":0,"present":false},{"value":80,"factor":"cardiovascular","points":0,"present":false},{"value":15,"factor":"cns","points":0,"present":false},{"value":1,"factor":"renal","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_expression":"SOFA = respiration + coagulation + liver + cardiovascular + cns + renal; each 0-4; max 24"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ayj_gX4tB4YkXO7vTpSvb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the SOFA (Sepsis-related Organ Failure Assessment) score across six organ systems using PaO2/FiO2, platelets, bilirubin, MAP/vasopressors, GCS, and creatinine or urine output.","exampleAgentPrompt":"Calculate the SOFA score for my ICU patient: PaO2 is 85 mm Hg, FiO2 is 0.5, the patient is ventilated, platelets are 90 (10^9/L), bilirubin is 2.5 mg/dL, MAP is 65 mm Hg, dopamine at 8 mcg/kg/min, GCS is 11, and creatinine is 2.1 mg/dL.","exampleUseCases":[{"title":"ICU sepsis severity triage","prompt":"My patient in the ICU has PaO2 68 mm Hg, FiO2 0.6, is on mechanical ventilation, platelets 55 (10^9/L), bilirubin 7 mg/dL, MAP 58 mm Hg with norepinephrine at 0.15 mcg/kg/min, GCS 8, and creatinine 3.8 mg/dL — what's the full SOFA score with each organ subscore?"},{"title":"Monitoring organ failure trend in critically ill patient","prompt":"Run the SOFA score for today's labs: PaO2 220 mm Hg, FiO2 0.35, not ventilated, platelets 140 (10^9/L), bilirubin 1.5 mg/dL, MAP 72 mm Hg, no vasopressors, GCS 14, creatinine 1.4 mg/dL — I want to compare it to yesterday's score."},{"title":"Vasopressor-driven cardiovascular SOFA subcomponent","prompt":"Calculate the SOFA score for a patient on dobutamine plus epinephrine at 0.2 mcg/kg/min: PaO2 310 mm Hg, FiO2 0.4, ventilated, platelets 200 (10^9/L), bilirubin 0.9 mg/dL, MAP 66 mm Hg, GCS 15, urine output 400 mL/day."}],"resultDescription":"Returns the total SOFA score (0–24) and individual subscores for each of the six organ systems: respiration (PaO2/FiO2 ± ventilation), coagulation (platelets), liver (bilirubin), cardiovascular (MAP and adrenergic agents), neurological (GCS), and renal (creatinine or urine output), along with the Vincent 1996 citation. This is a deterministic rule-based calculation, not a Sepsis-3 diagnosis.","failureModes":["Missing required parameters (pao2_mm_hg, fio2, ventilated, platelets, map_mm_hg, gcs) returns a validation error","Out-of-range values (e.g. FiO2 outside 0.21–1.0, GCS outside 3–15) may be rejected or produce undefined results","Neither bilirubin nor creatinine/urine output provided may return an incomplete or error response","PaO2/FiO2 <200 without ventilation=true is capped at respiratory subscore 2 by design, not an error","Vasopressor doses with incorrect units (e.g. providing mg instead of mcg/kg/min) will silently produce wrong subscores"],"whenToPreferThis":"Use this endpoint when you need a deterministic, citation-backed SOFA score per the original Vincent 1996 methodology for ICU or critical care clinical decision support, documentation, or research. Prefer this over manual computation or generic LLM estimation when accuracy, reproducibility, and auditability matter. This is not a Sepsis-3 qSOFA calculator — use it specifically when the full six-organ SOFA with adrenergic dosing bands is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:41:43.819Z","isFirstParty":false,"canonicalSlug":"sofa-score-calculator-vincent-1996-1d89f560"}