{"uid":"cap_NAKj5GF7LGec2I2cEVsTt","slug":"ranzani-2025-sofa-2-score-calculator-945e6fa6","name":"Ranzani 2025 SOFA-2 Score Calculator","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.","url":"https://api.magentlab.com/api/calc/sofa_2","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":["fio2","advanced_ventilatory_support","platelets_10e9_l","map_mm_hg","gcs"],"properties":{"gcs":{"type":"integer","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."},"rrt":{"type":"boolean","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."},"ecmo":{"type":"boolean","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."},"fio2":{"type":"number","description":"Inspired oxygen as a fraction (0.21-1.0), not a percent."},"spo2":{"type":"number","description":"Pulse-oximetry SpO2 as a percent (50-97.9). Used with fio2 only when pao2_mm_hg is absent and SpO2 is <98 (Ranzani 2025). SpO2/FiO2 >300 scores 0; ≤300 scores 1; ≤250 scores 2; ≤200 with advanced ventilatory support scores 3; ≤120 with advanced ventilatory support or ECMO scores 4."},"map_mm_hg":{"type":"number","description":"Mean arterial pressure in mm Hg (20-180). MAP <70 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; <40 scores 4."},"pao2_mm_hg":{"type":"number","description":"Arterial PaO2 in mm Hg (20-700). Provide this with fio2, or spo2 with fio2 when PaO2 is unavailable. PaO2/FiO2 >300 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."},"delirium_drugs":{"type":"boolean","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."},"oliguria_hours":{"type":"number","description":"Hours at the reported urine_output_ml_kg_h (0-72). Required when urine_output_ml_kg_h is provided."},"bilirubin_mg_dl":{"type":"number","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; >12.0 scores 4."},"bilirubin_umol_l":{"type":"number","description":"Total bilirubin in µmol/L (2-684). ≤20.6 scores 0; ≤51.3 scores 1; ≤102.6 scores 2; ≤205 scores 3; >205 scores 4."},"creatinine_mg_dl":{"type":"number","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; >3.50 scores 3. Kidney is the max of creatinine, urine, and RRT."},"platelets_10e9_l":{"type":"number","description":"Platelets ×10^9/L, same as ×10^3/μL (1-2000). >150 scores 0; ≤150 scores 1; ≤100 scores 2; ≤80 scores 3; ≤50 scores 4."},"creatinine_umol_l":{"type":"number","description":"Creatinine in µmol/L (9-1768). ≤110 scores 0; ≤170 scores 1; ≤300 scores 2; >300 scores 3."},"dopamine_ug_kg_min":{"type":"number","description":"Dopamine in µg/kg·min (0-80) when provided. Absent is 0. As a single vasopressor: ≤20 scores 2; >20 to 40 scores 3; >40 scores 4. With norepinephrine, epinephrine, or another agent it counts as an other vasopressor or inotrope."},"urine_output_ml_kg_h":{"type":"number","description":"Urine output in mL/kg/h (0-20) when provided. Provide oliguria_hours with this. <0.5 for 6-12 h scores 1; <0.5 for ≥12 h scores 2; <0.3 for ≥24 h or anuria (0 mL) for ≥12 h scores 3."},"epinephrine_ug_kg_min":{"type":"number","description":"Epinephrine in µg/kg·min (0-10) when provided. Absent is 0. Added to norepinephrine for the published dose bands."},"vasoactive_unavailable":{"type":"boolean","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."},"norepinephrine_ug_kg_min":{"type":"number","description":"Norepinephrine as the base in µg/kg·min (0-10) when provided. Absent is 0. Summed with epinephrine: >0 to ≤0.2 scores 2; >0.2 to ≤0.4 scores 3; >0.4 scores 4. Low-dose plus any other vasopressor or inotrope scores 3; medium-dose plus any other, or mechanical circulatory support, scores 4."},"advanced_ventilatory_support":{"type":"boolean","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."},"other_vasopressor_or_inotrope":{"type":"boolean","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."},"mechanical_circulatory_support":{"type":"boolean","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."},"ventilatory_support_unavailable":{"type":"boolean","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."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_875eGJ4xpQkNLxfRzg0ln","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 Ranzani 2025 SOFA-2 score (0–24) across six organ systems using updated ventilatory, cardiovascular, and renal criteria including NIV/ECMO, vasopressor dose bands, and SpO2/FiO2 fallback.","exampleAgentPrompt":"Calculate the Ranzani 2025 SOFA-2 score for my ICU patient: FiO2 0.5, SpO2 88%, on advanced ventilatory support but not ECMO, MAP 62 mmHg with no vasopressors, GCS 10, bilirubin 3.2 mg/dL, platelets 85 × 10⁹/L, creatinine 2.4 mg/dL, and not on RRT.","exampleUseCases":[{"title":"ICU sepsis organ dysfunction triage","prompt":"My septic ICU patient has FiO2 0.6, PaO2 72 mmHg, is on NIV, MAP is 58 mmHg with norepinephrine at 0.12 mcg/kg/min, GCS 9, bilirubin 4.1 mg/dL, platelets 62 × 10⁹/L, creatinine 3.0 mg/dL, and not on RRT — what's their Ranzani 2025 SOFA-2 score and organ sub-scores?"},{"title":"ECMO patient daily organ score","prompt":"Calculate the SOFA-2 score for my patient who is on VV-ECMO: FiO2 0.8, MAP 72 mmHg on vasopressin 0.03 units/min, GCS 7 (last pre-sedation), bilirubin 2.0 mg/dL, platelets 110 × 10⁹/L, creatinine 1.8 mg/dL, not on RRT."},{"title":"Weaning readiness organ failure check","prompt":"Patient is being considered for ICU step-down — can you compute their Ranzani 2025 SOFA-2 score? FiO2 0.28, SpO2 96%, no ventilatory support, MAP 74 mmHg off vasopressors, GCS 15, bilirubin 1.0 mg/dL, platelets 210 × 10⁹/L, creatinine 1.1 mg/dL, no RRT."}],"resultDescription":"Returns the total SOFA-2 score (0–24) and individual organ sub-scores (0–4 each) for brain/neurological, respiratory, cardiovascular, liver, kidney, and hemostasis domains, calculated per Ranzani 2025 criteria — not the original Vincent 1996 SOFA.","failureModes":["Missing required parameters (fio2, advanced_ventilatory_support, platelets, map_mm_hg, gcs) returns 400/validation error","FiO2 provided as percent instead of fraction (e.g. 50 instead of 0.5) causes scoring band misclassification","SpO2 ≥98 with no PaO2 provided — SpO2/FiO2 pathway not applicable per Ranzani 2025, may return error or default to 0","GCS outside 3–15 integer range returns validation error","MAP outside 20–180 range rejected","Conflicting ECMO and respiratory values may cause unexpected scoring if ECMO flag not set correctly"],"whenToPreferThis":"Use this endpoint when you need the updated Ranzani 2025 SOFA-2 formulation specifically — which differs from the original Vincent 1996 SOFA in its ventilatory support bands, SpO2/FiO2 fallback, and vasopressor dose thresholds. Prefer this over generic SOFA calculators when NIV/ECMO status, contemporary vasopressor banding, or SpO2-based respiratory scoring is clinically relevant.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:41:31.156Z","isFirstParty":false}