Respiratory · LIVE
ARISCAT postoperative pulmonary risk
ARISCAT
Sum Canet 2010 Table 6 simplified ARISCAT points (β×10 rounded) from age, preoperative SpO2, respiratory infection, anemia flag, incision, duration of surgery, and emergency, and return the published low / intermediate / high band.
Markdown: /docs/ariscat.md · Canonical: https://magentlab.com/docs/ariscat
Not a medical device. Not a diagnosis, dose, or listing recommendation.
What it computes
Sum Canet 2010 Table 6 simplified ARISCAT points (β×10 rounded) from age, preoperative SpO2, respiratory infection, anemia flag, incision, duration of surgery, and emergency, and return the published low / intermediate / high band.
When to use
When an agent needs the published Canet 2010 ARISCAT point total and must not invent a diagnosis, a cancel-surgery order, or a measured PPC percent.
When not to use
- Not a medical device. Not a diagnosis and not a cancel-surgery order.
- Canet 2010 Table 6 simplified risk score (β×10 rounded) only. Mazo 2014 reprints the same points. magent does not return observed PPC percents (Canet 2010 validation subsample: 1.6% / 13.3% / 42.1% for low / intermediate / high).
- magent does not measure SpO2; spo2_percent is caller-assigned. Preoperative anemia is a caller-assigned Hb <=10 g/dL flag; magent does not collect a hemoglobin number.
- Surgical incision is the published category peripheral, upper_abdominal, or intrathoracic as assigned by the caller. magent does not classify the procedure from an op note.
- Bands follow Canet 2010 risk-score intervals: low <26, intermediate 26-44, high >=45.
Formula
ARISCAT = age (<=50: 0, 51-80: 3, >80: 16) + spo2 (>=96: 0, 91-95: 8, <=90: 24) + respiratory_infection(17) + anemia(11) + incision (peripheral 0, upper_abdominal 15, intrathoracic 24) + duration_hours (<=2: 0, >2 to 3: 16, >3: 23) + emergency(8); max 123; low <26, intermediate 26-44, high >=45
Citation
- Authors
- Canet J, Gallart L, Gomar C, et al
- Source
- Anesthesiology. 2010;113(6):1338-1350
Worked example
Age 50, SpO2 97, peripheral, 2.0 h, no other factors
Given:
age=50anemia=falseduration_hours=2.0emergency=falseincision=peripheralrespiratory_infection=falsespo2_percent=97
- Age 50 is <=50 → 0; SpO2 97 is >=96 → 0; respiratory_infection false → 0; anemia false → 0
- incision peripheral → 0; duration_hours 2.0 is <=2 → 0; emergency false → 0
- Score = 0 (max 123); risk_band low
Age 51, anemia, duration 3.1 h, emergency (high band edge)
Given:
age=51anemia=trueduration_hours=3.1emergency=trueincision=peripheralrespiratory_infection=falsespo2_percent=97
- Age 51 → 3; anemia → 11; duration 3.1 >3 → 23; emergency → 8; all others 0
- Score = 45 (max 123); risk_band high
Also searched as
- ARISCAT
- Canet score
- postoperative pulmonary complications
- ARISCAT 2010
- Canet PPC
- Assess Respiratory Risk in Surgical Patients in Catalonia
- preoperative pulmonary risk
- Canet 2010 pulmonary
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/ariscat?age=50&spo2_percent=97&respiratory_infection=false&anemia=false&incision=peripheral&duration_hours=2.0&emergency=false
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/ariscat?age=50&spo2_percent=97&respiratory_infection=false&anemia=false&incision=peripheral&duration_hours=2.0&emergency=false"
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
age |
integer | required | Age in years (18-120). Canet 2010 Table 6: <=50 scores 0; 51-80 scores 3; >80 scores 16. Age 50 scores 0; 51 scores 3; 80 scores 3; 81 scores 16. |
spo2_percent |
number | required | Preoperative SpO2 percent (50-100) as assigned by the caller. Canet 2010 Table 6: >=96 scores 0; 91-95 scores 8; <=90 scores 24. magent does not measure SpO2. |
respiratory_infection |
boolean | required | Respiratory infection in the last month as assigned by the caller (Canet 2010 Table 6). true scores 17. true or false. |
anemia |
boolean | required | Preoperative anemia (Hb <=10 g/dL) as assigned by the caller (Canet 2010 Table 6). true scores 11. Flag only; do not send a hemoglobin number. |
incision |
string | required · peripheral, upper_abdominal, intrathoracic | Surgical incision as assigned by the caller (Canet 2010 Table 6): peripheral scores 0, upper_abdominal scores 15, intrathoracic scores 24. magent does not classify the procedure from an op note. |
duration_hours |
number | required | Duration of surgery in hours (0.1-24). Canet 2010 Table 6: <=2 scores 0; >2 to 3 scores 16; >3 scores 23. Duration 2.0 scores 0; 2.1 scores 16; 3.0 scores 16; 3.1 scores 23. |
emergency |
boolean | required | Emergency procedure as assigned by the caller (Canet 2010 Table 6; β 0.768 × 10 rounded). true scores 8. 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": [
{
"age": "50",
"anemia": "false",
"duration_hours": "2.0",
"emergency": "false",
"incision": "peripheral",
"respiratory_infection": "false",
"spo2_percent": "97"
},
{
"age": "50",
"anemia": "false",
"duration_hours": "2.0",
"emergency": "false",
"incision": "peripheral",
"respiratory_infection": "false",
"spo2_percent": "97"
}
]
}
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/ariscat",
"items": [
{
"emergency": false,
"components": [
{
"value": 50,
"factor": "age",
"points": 0,
"present": false
},
{
"value": 97.0,
"factor": "spo2_percent",
"points": 0,
"present": false
},
{
"factor": "respiratory_infection",
"points": 0,
"present": false
},
{
"factor": "anemia",
"points": 0,
"present": false
},
{
"value": "peripheral",
"factor": "incision",
"points": 0,
"present": false
},
{
"value": 2.0,
"factor": "duration_hours",
"points": 0,
"present": false
},
{
"factor": "emergency",
"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.",
"age_years": 50,
"citation": {
"authors": "Canet J, Gallart L, Gomar C, et al",
"doi": "10.1097/ALN.0b013e3181fc6e0a",
"id": "canet-2010",
"pmid": "21045639",
"source": "Anesthesiology. 2010;113(6):1338-1350",
"title": "Prediction of Postoperative Pulmonary Complications in a Population-based Surgical Cohort"
},
"formula": "ariscat",
"formula_expression": "ARISCAT = age (<=50: 0, 51-80: 3, >80: 16) + spo2 (>=96: 0, 91-95: 8, <=90: 24) + respiratory_infection(17) + anemia(11) + incision (peripheral 0, upper_abdominal 15, intrathoracic 24) + duration_hours (<=2: 0, >2 to 3: 16, >3: 23) + emergency(8); max 123; low <26, intermediate 26-44, high >=45",
"max_score": 123,
"score": 0,
"risk_band": "low",
"anemia": false,
"duration_hours": 2.0,
"incision": "peripheral",
"respiratory_infection": false,
"spo2_percent": 97.0
},
{
"emergency": false,
"components": [
{
"value": 50,
"factor": "age",
"points": 0,
"present": false
},
{
"value": 97.0,
"factor": "spo2_percent",
"points": 0,
"present": false
},
{
"factor": "respiratory_infection",
"points": 0,
"present": false
},
{
"factor": "anemia",
"points": 0,
"present": false
},
{
"value": "peripheral",
"factor": "incision",
"points": 0,
"present": false
},
{
"value": 2.0,
"factor": "duration_hours",
"points": 0,
"present": false
},
{
"factor": "emergency",
"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.",
"age_years": 50,
"citation": {
"authors": "Canet J, Gallart L, Gomar C, et al",
"doi": "10.1097/ALN.0b013e3181fc6e0a",
"id": "canet-2010",
"pmid": "21045639",
"source": "Anesthesiology. 2010;113(6):1338-1350",
"title": "Prediction of Postoperative Pulmonary Complications in a Population-based Surgical Cohort"
},
"formula": "ariscat",
"formula_expression": "ARISCAT = age (<=50: 0, 51-80: 3, >80: 16) + spo2 (>=96: 0, 91-95: 8, <=90: 24) + respiratory_infection(17) + anemia(11) + incision (peripheral 0, upper_abdominal 15, intrathoracic 24) + duration_hours (<=2: 0, >2 to 3: 16, >3: 23) + emergency(8); max 123; low <26, intermediate 26-44, high >=45",
"max_score": 123,
"score": 0,
"risk_band": "low",
"anemia": false,
"duration_hours": 2.0,
"incision": "peripheral",
"respiratory_infection": false,
"spo2_percent": 97.0
}
]
}
Response
| Field | Type | Description |
|---|---|---|
formula |
string | ariscat |
formula_expression |
string | Canet 2010 Table 6 simplified risk score |
score |
integer | ARISCAT points 0-123 |
max_score |
integer | 123 |
risk_band |
string | Canet 2010 interval: low (<26), intermediate (26-44), or high (>=45). A band, not a diagnosis or cancel-surgery order. |
age_years |
integer | Age used for the exclusive age band |
spo2_percent |
number | Caller-assigned preoperative SpO2 percent |
respiratory_infection |
boolean | Caller-assigned respiratory infection in the last month |
anemia |
boolean | Caller-assigned preoperative anemia (Hb <=10 g/dL) flag |
incision |
string | peripheral, upper_abdominal, or intrathoracic |
duration_hours |
number | Duration of surgery in hours used for the exclusive duration band |
emergency |
boolean | Caller-assigned emergency procedure |
components |
array | Per-factor points |
citation |
object | Canet et al. Anesthesiology 2010 citation |
disclaimer |
string | Not-a-device notice |
Example JSON
Machine form of the same example. Frozen fixture. Not a live lookup.
{
"emergency": false,
"components": [
{
"value": 50,
"factor": "age",
"points": 0,
"present": false
},
{
"value": 97.0,
"factor": "spo2_percent",
"points": 0,
"present": false
},
{
"factor": "respiratory_infection",
"points": 0,
"present": false
},
{
"factor": "anemia",
"points": 0,
"present": false
},
{
"value": "peripheral",
"factor": "incision",
"points": 0,
"present": false
},
{
"value": 2.0,
"factor": "duration_hours",
"points": 0,
"present": false
},
{
"factor": "emergency",
"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.",
"age_years": 50,
"citation": {
"authors": "Canet J, Gallart L, Gomar C, et al",
"doi": "10.1097/ALN.0b013e3181fc6e0a",
"id": "canet-2010",
"pmid": "21045639",
"source": "Anesthesiology. 2010;113(6):1338-1350",
"title": "Prediction of Postoperative Pulmonary Complications in a Population-based Surgical Cohort"
},
"formula": "ariscat",
"formula_expression": "ARISCAT = age (<=50: 0, 51-80: 3, >80: 16) + spo2 (>=96: 0, 91-95: 8, <=90: 24) + respiratory_infection(17) + anemia(11) + incision (peripheral 0, upper_abdominal 15, intrathoracic 24) + duration_hours (<=2: 0, >2 to 3: 16, >3: 23) + emergency(8); max 123; low <26, intermediate 26-44, high >=45",
"max_score": 123,
"score": 0,
"risk_band": "low",
"anemia": false,
"duration_hours": 2.0,
"incision": "peripheral",
"respiratory_infection": false,
"spo2_percent": 97.0
}
Client errors (HTTP 400)
Invalid params return 400 without charge. Shared HTTP 402 and 503 meanings: Payments.
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_age |
age must be an integer from 18 to 120 Returned before settlement; you are not charged. |
| 400 | invalid_spo2 |
spo2_percent must be a number from 50 to 100. 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_surgical_incision |
incision must be peripheral, upper_abdominal, or intrathoracic (Canet 2010). Returned before settlement; you are not charged. |
| 400 | invalid_ariscat |
duration_hours must be 0.1-24, and each other ARISCAT 2010 item must be a published category. 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
- Gupta MICA — Compute the Gupta 2011 Table 2 logistic probability of 30-day myocardial infarction or cardiac arrest after surgery from age, ASA class, functional status, creatinine category, and surgery type.
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.