Infection / VTE · LIVE
Phoenix Sepsis Score
Sum four caller-assigned Schlapbach 2024 Phoenix Sepsis Score organ integers and return sepsis (suspected infection and score ≥2) and septic shock (sepsis with cardiovascular ≥1).
Markdown: /docs/phoenix-sepsis.md · Canonical: https://magentlab.com/docs/phoenix-sepsis
Not a medical device. Not a diagnosis, dose, or listing recommendation.
What it computes
Sum four caller-assigned Schlapbach 2024 Phoenix Sepsis Score organ integers and return sepsis (suspected infection and score ≥2) and septic shock (sepsis with cardiovascular ≥1).
When to use
When an agent has already assigned Schlapbach 2024 Phoenix table organ integers (not raw labs, P/F, MAP-for-age, or GCS) and needs the published four-organ total with sepsis and septic-shock flags, not adult SOFA and not 2005 Goldstein SIRS sepsis.
When not to use
- Not a medical device. Not a diagnosis of sepsis or septic shock and not an antimicrobial or ICU-admission order.
- Schlapbach 2024 Phoenix Sepsis Score (four organs) only. Not Phoenix-8 (endocrine, immunologic, renal, hepatic). Not adult SOFA. Not 2005 Goldstein IPSCC SIRS sepsis. The former term severe sepsis is not used.
- Criteria apply to children <18 years with suspected infection. They do not apply to birth hospitalizations, children with post-conceptional age <37 weeks, or age ≥18 years. magent does not take age.
- magent does not interpret raw labs, P/F, S/F, MAP-for-age, vasoactive counts, or GCS; the caller assigns the four published organ integers. Unmeasured variables contribute 0 in the paper; this tool still requires all four integers.
Formula
Phoenix Sepsis Score = respiratory (0-3) + cardiovascular (0-6) + coagulation (0-2) + neurologic (0-2); caller-assigned Schlapbach 2024 table integers; max 13; sepsis iff suspected_infection and score >= 2; septic_shock iff sepsis and cardiovascular >= 1
Citation
- Authors
- Schlapbach LJ, Watson RS, Sorce LR, et al.
- Source
- JAMA. 2024;331(8):665-674
Worked example
All organs 0 with suspected infection
Given:
cardiovascular=0coagulation=0neurologic=0respiratory=0suspected_infection=true
- respiratory 0 + cardiovascular 0 + coagulation 0 + neurologic 0
- Score = 0 (max 13); suspected_infection true; sepsis false (score < 2); category not_sepsis
Respiratory 2, other organs 0, suspected infection
Given:
cardiovascular=0coagulation=0neurologic=0respiratory=2suspected_infection=true
- Score = 2; cardiovascular 0; suspected_infection true
- sepsis true (infection and score ≥2); septic_shock false; category sepsis
Cardiovascular 2, other organs 0, suspected infection
Given:
cardiovascular=2coagulation=0neurologic=0respiratory=0suspected_infection=true
- Score = 2; cardiovascular 2; suspected_infection true
- sepsis true; septic_shock true (sepsis and cardiovascular ≥1); category septic_shock
Also searched as
- Phoenix Sepsis Score
- pediatric sepsis criteria
- SCCM Phoenix sepsis
- Phoenix septic shock
- Schlapbach 2024 Phoenix
- Phoenix-4 organ score
- pediatric Sepsis-3 Phoenix
Try
Opens the live endpoint. Unpaid browser requests show the paywall; agents should send Accept: application/json.
Full URL: https://api.magentlab.com/api/calc/phoenix_sepsis?respiratory=0&cardiovascular=0&coagulation=0&neurologic=0&suspected_infection=true
Call
Expect HTTP 402 until you retry with PAYMENT-SIGNATURE. Incomplete query params
return HTTP 400 before any quote or charge.
curl -i -H "Accept: application/json" "https://api.magentlab.com/api/calc/phoenix_sepsis?respiratory=0&cardiovascular=0&coagulation=0&neurologic=0&suspected_infection=true"
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
respiratory |
integer | required | Caller-assigned Schlapbach 2024 Phoenix table respiratory integer 0-3. 0: PaO2/FiO2 ≥400 or SpO2/FiO2 ≥292. 1: PaO2/FiO2 <400 or SpO2/FiO2 <292 on any respiratory support. 2: PaO2/FiO2 100-200 and IMV, or SpO2/FiO2 148-220 and IMV. 3: PaO2/FiO2 <100 and IMV, or SpO2/FiO2 <148 and IMV. magent does not take PaO2, SpO2, FiO2, or ventilation. |
cardiovascular |
integer | required | Caller-assigned Schlapbach 2024 Phoenix table cardiovascular integer 0-6: sum of vasoactives 0-2 (none / 1 / ≥2 of epinephrine, norepinephrine, dopamine, dobutamine, milrinone, vasopressin) + lactate 0-2 (<5 / 5-10.9 / ≥11 mmol/L) + age-adjusted MAP 0-2. magent does not take vasoactive counts, lactate, MAP, or age. |
coagulation |
integer | required | Caller-assigned Schlapbach 2024 Phoenix table coagulation integer 0-2. 1 each for platelets <100 K/μL, INR >1.3, D-dimer >2 mg/L FEU, fibrinogen <100 mg/dL, capped at 2. magent does not take those labs. |
neurologic |
integer | required | Caller-assigned Schlapbach 2024 Phoenix table neurologic integer 0-2. GCS ≤10 scores 1; bilaterally fixed pupils scores 2. magent does not take GCS or pupil exam. |
suspected_infection |
boolean | required | Suspected or confirmed infection as assigned by the caller (Schlapbach 2024). Sepsis requires this true and Phoenix Sepsis Score ≥2. true or false. |
Bulk (POST)
POST the same path with a JSON items array. The first item is the GET unit; each additional item is $0.002. Invalid items return HTTP 400 before settlement.
- 1 to 25 items. Each item uses the same keys as the GET query parameters.
- POST of 1 item costs the same as GET. Lists longer than 25: chunk into multiple POSTs. Extra items still execute; do not pad dummy rows.
- The first invalid item fails the whole request (index in the 400 JSON). You are not charged.
- HTTP 200 is {count, path, items}. Each items[i] is the GET 200 body for that row.
- Catalog misses (empty matches, found=false) stay paid 200s inside that slot.
- x402 resource URL is this path plus n and body_sha256. Browsers that prefer text/html get the same paywall as GET; Pay retries POST with the same items.
Example request (fixture)
{
"items": [
{
"cardiovascular": "0",
"coagulation": "0",
"neurologic": "0",
"respiratory": "0",
"suspected_infection": "true"
},
{
"cardiovascular": "0",
"coagulation": "0",
"neurologic": "0",
"respiratory": "0",
"suspected_infection": "true"
}
]
}
Opens a two-item fixture on the API host. Unpaid browsers get the same MetaMask paywall as GET; Pay retries POST with those items.
Example 200 (fixture)
{
"count": 2,
"path": "/api/calc/phoenix_sepsis",
"items": [
{
"components": [
{
"value": 0,
"factor": "respiratory",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "cardiovascular",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "coagulation",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "neurologic",
"points": 0,
"present": false
}
],
"category": "not_sepsis",
"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.",
"citation": {
"authors": "Schlapbach LJ, Watson RS, Sorce LR, et al.",
"doi": "10.1001/jama.2024.0179",
"id": "schlapbach-2024",
"pmid": "38245889",
"source": "JAMA. 2024;331(8):665-674",
"title": "International Consensus Criteria for Pediatric Sepsis and Septic Shock"
},
"formula": "phoenix_sepsis",
"formula_expression": "Phoenix Sepsis Score = respiratory (0-3) + cardiovascular (0-6) + coagulation (0-2) + neurologic (0-2); caller-assigned Schlapbach 2024 table integers; max 13; sepsis iff suspected_infection and score >= 2; septic_shock iff sepsis and cardiovascular >= 1",
"max_score": 13,
"score": 0,
"respiratory": 0,
"cardiovascular": 0,
"coagulation": 0,
"neurologic": 0,
"phoenix_sepsis_score": 0,
"sepsis": false,
"septic_shock": false,
"suspected_infection": true
},
{
"components": [
{
"value": 0,
"factor": "respiratory",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "cardiovascular",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "coagulation",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "neurologic",
"points": 0,
"present": false
}
],
"category": "not_sepsis",
"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.",
"citation": {
"authors": "Schlapbach LJ, Watson RS, Sorce LR, et al.",
"doi": "10.1001/jama.2024.0179",
"id": "schlapbach-2024",
"pmid": "38245889",
"source": "JAMA. 2024;331(8):665-674",
"title": "International Consensus Criteria for Pediatric Sepsis and Septic Shock"
},
"formula": "phoenix_sepsis",
"formula_expression": "Phoenix Sepsis Score = respiratory (0-3) + cardiovascular (0-6) + coagulation (0-2) + neurologic (0-2); caller-assigned Schlapbach 2024 table integers; max 13; sepsis iff suspected_infection and score >= 2; septic_shock iff sepsis and cardiovascular >= 1",
"max_score": 13,
"score": 0,
"respiratory": 0,
"cardiovascular": 0,
"coagulation": 0,
"neurologic": 0,
"phoenix_sepsis_score": 0,
"sepsis": false,
"septic_shock": false,
"suspected_infection": true
}
]
}
Response
| Field | Type | Description |
|---|---|---|
formula |
string | phoenix_sepsis |
formula_expression |
string | Exact expression used |
score |
integer | Phoenix Sepsis Score 0-13 |
max_score |
integer | 13 |
phoenix_sepsis_score |
integer | Same integer as score (Schlapbach 2024 four-organ total, max 13) |
sepsis |
boolean | true iff suspected_infection and score ≥2 (Schlapbach 2024 Phoenix Pediatric Sepsis Criteria). Not a diagnosis. |
septic_shock |
boolean | true iff sepsis and cardiovascular ≥1 (Schlapbach 2024). Not a diagnosis. |
category |
string | not_sepsis, sepsis (sepsis true and cardiovascular 0), or septic_shock |
suspected_infection |
boolean | Caller-assigned suspected or confirmed infection |
respiratory |
integer | Caller-assigned respiratory 0-3 |
cardiovascular |
integer | Caller-assigned cardiovascular 0-6 |
coagulation |
integer | Caller-assigned coagulation 0-2 |
neurologic |
integer | Caller-assigned neurologic 0-2 |
components |
array | Per-organ Phoenix table points |
citation |
object | Schlapbach et al. JAMA 2024 citation |
disclaimer |
string | Not-a-device notice |
Example JSON
Machine form of the same example. Frozen fixture. Not a live lookup.
{
"components": [
{
"value": 0,
"factor": "respiratory",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "cardiovascular",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "coagulation",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "neurologic",
"points": 0,
"present": false
}
],
"category": "not_sepsis",
"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.",
"citation": {
"authors": "Schlapbach LJ, Watson RS, Sorce LR, et al.",
"doi": "10.1001/jama.2024.0179",
"id": "schlapbach-2024",
"pmid": "38245889",
"source": "JAMA. 2024;331(8):665-674",
"title": "International Consensus Criteria for Pediatric Sepsis and Septic Shock"
},
"formula": "phoenix_sepsis",
"formula_expression": "Phoenix Sepsis Score = respiratory (0-3) + cardiovascular (0-6) + coagulation (0-2) + neurologic (0-2); caller-assigned Schlapbach 2024 table integers; max 13; sepsis iff suspected_infection and score >= 2; septic_shock iff sepsis and cardiovascular >= 1",
"max_score": 13,
"score": 0,
"respiratory": 0,
"cardiovascular": 0,
"coagulation": 0,
"neurologic": 0,
"phoenix_sepsis_score": 0,
"sepsis": false,
"septic_shock": false,
"suspected_infection": true
}
Client errors (HTTP 400)
Invalid params return 400 without charge. Shared HTTP 402 and 503 meanings: Payments.
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_phoenix_organ |
respiratory must be 0-3, cardiovascular 0-6, coagulation 0-2, and neurologic 0-2 (Schlapbach 2024 Phoenix table). Returned before settlement; you are not charged. |
| 400 | invalid_flag |
boolean clinical flags must be true or false Returned before settlement; you are not charged. |
| 400 | invalid_items |
POST body must be a JSON object with only an items array Returned before settlement; you are not charged. |
| 400 | invalid_item_count |
items must be an array of 1 to 25 objects Returned before settlement; you are not charged. |
| 400 | invalid_item |
each items entry must be a JSON object Returned before settlement; you are not charged. |
Related tools
- SOFA — Compute the Vincent 1996 SOFA score from PaO2/FiO2, platelets, bilirubin, MAP and adrenergic agents, GCS, and creatinine or urine output.
- qSOFA — Compute the Sepsis-3 qSOFA score from respiratory rate, caller-assigned altered mentation, and systolic blood pressure.
- SIRS — Compute the Bone 1992 ACCP/SCCM SIRS criteria from temperature, heart rate, respiratory rate, and WBC, with optional PaCO2 and band percent.
- NEWS2 — Compute the RCP 2017 National Early Warning Score 2 from respiratory rate, SpO2 (Scale 1 or Scale 2), supplemental oxygen, temperature, systolic BP, heart rate, and caller-assigned ACVPU.
Payment
Unpaid requests return HTTP 402 even if query parameters or POST items are missing or invalid, so CDP and agents can index the path. After a PAYMENT-SIGNATURE, invalid params return HTTP 400 JSON before settlement. magent does not charge. Fix the params, then request a new 402 quote for that complete URL. Catalog misses (empty matches, found=false) are valid paid 200s. Unpaid valid requests return HTTP 402 with a base64
PAYMENT-REQUIRED
header. HTTP 503 is not a new quote: retry the same PAYMENT-SIGNATURE. Full handshake
and shared payment errors: Payments.
Stdio MCP: /docs/mcp.
Guarantees
- HTTP 402 is unpaid, including a missing query. After PAYMENT-SIGNATURE, invalid parameters return HTTP 400 before settlement. You are not charged. HTTP 402 never includes the tool JSON.
- exact: settlement finishes before the tool (paymentFlow upfront). batch-settlement: verify/deposit before the tool; chargedCumulativeAmount commits after HTTP 2xx. Uncertain or failed settlement fails closed (HTTP 503). Retry the same PAYMENT-SIGNATURE.
- HTTP 402 is unpaid only. Do not sign a second authorization because of a 503.
- Execution is timeout-bounded and concurrency-capped.
- Calculator inputs are stored encrypted for allowlisted operators (Magent Console). They are not in public logs, SSH lookups, catalog, or rollups. Request logs store path without query.