Neurology · LIVE
Trunk Impairment Scale (Verheyden)
TIS
Sum caller-assigned Verheyden 2004 original Trunk Impairment Scale subscales (static sitting balance 0-7, dynamic sitting balance 0-10, coordination 0-6) to a 0-23 total. If static sitting balance is 0, the total is 0.
Markdown: /docs/trunk-impairment.md · Canonical: https://magentlab.com/docs/trunk-impairment
Not a medical device. Not a diagnosis, dose, or listing recommendation.
What it computes
Sum caller-assigned Verheyden 2004 original Trunk Impairment Scale subscales (static sitting balance 0-7, dynamic sitting balance 0-10, coordination 0-6) to a 0-23 total. If static sitting balance is 0, the total is 0.
When to use
When an agent already has caller-assigned Verheyden 2004 original TIS subscale integers and needs the published 0-23 total, including the first-item zero rule. magent does not examine sitting balance, apply TIS 2.0, apply Fujiwara 2004, or invent severity bands.
When not to use
- Not a medical device and not a diagnosis, rehabilitation plan, or discharge decision. magent does not examine sitting balance. Subscales are caller-assigned integers.
- Original Verheyden 2004 TIS (static 0-7, dynamic 0-10, coordination 0-6, max 23). Not TIS 2.0 and not Fujiwara 2004. The 17-item appendix wording is not reproduced (copyright of the item list).
- If static_sitting_balance is 0, the total TIS is 0 even if dynamic sitting balance or coordination is nonzero (Verheyden 2004 first-item rule). Caller-assigned subscales are still returned.
- This paper published no mild/moderate/severe TIS cutoffs. magent returns score and max_score 23 only.
Formula
TIS = static_sitting_balance + dynamic_sitting_balance + coordination when static_sitting_balance > 0, else 0; caller-assigned Verheyden 2004 original TIS subscales (static sitting balance 0-7, dynamic sitting balance 0-10, coordination 0-6); max 23; if static sitting balance is 0 the total is 0 even when the other subscales are nonzero; not TIS 2.0; not Fujiwara 2004; magent does not examine sitting balance; no published mild/moderate/severe cutoffs
Citation
- Authors
- Verheyden G, Nieuwboer A, Mertin J, Preger R, Kiekens C, De Weerdt W
- Source
- Clin Rehabil. 2004;18(3):326-334
Worked example
All subscales 0
Given:
coordination=0dynamic_sitting_balance=0static_sitting_balance=0
- static_sitting_balance 0, dynamic_sitting_balance 0, coordination 0 as assigned by the caller
- static sitting balance is 0, so score = 0 (max 23). This paper published no mild/moderate/severe cutoff.
Static 0 overrides other subscales
Given:
coordination=6dynamic_sitting_balance=10static_sitting_balance=0
- static_sitting_balance 0 with nonzero dynamic sitting balance and coordination
- Verheyden 2004: if static sitting balance is 0, score = 0 (max 23). Subscale values are still returned.
Mid-range sum
Given:
coordination=3dynamic_sitting_balance=5static_sitting_balance=4
- static_sitting_balance 4 is greater than 0, so score = 4 + 5 + 3
- Score = 12 (max 23). No severity band.
Published maximum
Given:
coordination=6dynamic_sitting_balance=10static_sitting_balance=7
- static_sitting_balance 7, dynamic_sitting_balance 10, coordination 6
- Score = 7 + 10 + 6 = 23 (max 23). No severity band.
Also searched as
- Trunk Impairment Scale
- TIS
- Verheyden TIS
- Verheyden 2004 TIS
- original Trunk Impairment Scale
- trunk impairment after stroke
- TIS 0-23
- static sitting balance TIS
Try
Opens the live endpoint. Unpaid browser requests show the paywall; agents should send Accept: application/json.
/api/calc/trunk_impairment?static_sitting_balance=0&dynamic_sitting_balance=0&coordination=0
Full URL: https://api.magentlab.com/api/calc/trunk_impairment?static_sitting_balance=0&dynamic_sitting_balance=0&coordination=0
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/trunk_impairment?static_sitting_balance=0&dynamic_sitting_balance=0&coordination=0"
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
static_sitting_balance |
integer | required · 0, 1, 2, 3, 4, 5, 6, 7 | Caller-assigned Verheyden 2004 original TIS static sitting balance subscale (integer 0-7). magent does not examine sitting balance. |
dynamic_sitting_balance |
integer | required · 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 | Caller-assigned Verheyden 2004 original TIS dynamic sitting balance subscale (integer 0-10). magent does not examine sitting balance. |
coordination |
integer | required · 0, 1, 2, 3, 4, 5, 6 | Caller-assigned Verheyden 2004 original TIS coordination subscale (integer 0-6). magent does not examine sitting balance. |
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": [
{
"coordination": "0",
"dynamic_sitting_balance": "0",
"static_sitting_balance": "0"
},
{
"coordination": "0",
"dynamic_sitting_balance": "0",
"static_sitting_balance": "0"
}
]
}
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/trunk_impairment",
"items": [
{
"components": [
{
"value": 0,
"factor": "static_sitting_balance",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "dynamic_sitting_balance",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "coordination",
"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.",
"citation": {
"authors": "Verheyden G, Nieuwboer A, Mertin J, Preger R, Kiekens C, De Weerdt W",
"doi": "10.1191/0269215504cr733oa",
"id": "verheyden-2004",
"pmid": "15137564",
"source": "Clin Rehabil. 2004;18(3):326-334",
"title": "The Trunk Impairment Scale: a new tool to measure motor impairment of the trunk after stroke"
},
"formula": "tis",
"formula_expression": "TIS = static_sitting_balance + dynamic_sitting_balance + coordination when static_sitting_balance > 0, else 0; caller-assigned Verheyden 2004 original TIS subscales (static sitting balance 0-7, dynamic sitting balance 0-10, coordination 0-6); max 23; if static sitting balance is 0 the total is 0 even when the other subscales are nonzero; not TIS 2.0; not Fujiwara 2004; magent does not examine sitting balance; no published mild/moderate/severe cutoffs",
"max_score": 23,
"score": 0,
"coordination": 0,
"dynamic_sitting_balance": 0,
"static_sitting_balance": 0
},
{
"components": [
{
"value": 0,
"factor": "static_sitting_balance",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "dynamic_sitting_balance",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "coordination",
"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.",
"citation": {
"authors": "Verheyden G, Nieuwboer A, Mertin J, Preger R, Kiekens C, De Weerdt W",
"doi": "10.1191/0269215504cr733oa",
"id": "verheyden-2004",
"pmid": "15137564",
"source": "Clin Rehabil. 2004;18(3):326-334",
"title": "The Trunk Impairment Scale: a new tool to measure motor impairment of the trunk after stroke"
},
"formula": "tis",
"formula_expression": "TIS = static_sitting_balance + dynamic_sitting_balance + coordination when static_sitting_balance > 0, else 0; caller-assigned Verheyden 2004 original TIS subscales (static sitting balance 0-7, dynamic sitting balance 0-10, coordination 0-6); max 23; if static sitting balance is 0 the total is 0 even when the other subscales are nonzero; not TIS 2.0; not Fujiwara 2004; magent does not examine sitting balance; no published mild/moderate/severe cutoffs",
"max_score": 23,
"score": 0,
"coordination": 0,
"dynamic_sitting_balance": 0,
"static_sitting_balance": 0
}
]
}
Response
| Field | Type | Description |
|---|---|---|
formula |
string | tis |
formula_expression |
string | Exact expression used |
score |
integer | Verheyden 2004 original TIS total 0-23; 0 when static_sitting_balance is 0 |
max_score |
integer | Always 23 |
static_sitting_balance |
integer | Caller-assigned static sitting balance 0-7 used |
dynamic_sitting_balance |
integer | Caller-assigned dynamic sitting balance 0-10 used |
coordination |
integer | Caller-assigned coordination 0-6 used |
components |
array | Per-subscale points; dynamic and coordination contribute 0 when static is 0 |
citation |
object | Verheyden et al. Clin Rehabil 2004 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": "static_sitting_balance",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "dynamic_sitting_balance",
"points": 0,
"present": false
},
{
"value": 0,
"factor": "coordination",
"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.",
"citation": {
"authors": "Verheyden G, Nieuwboer A, Mertin J, Preger R, Kiekens C, De Weerdt W",
"doi": "10.1191/0269215504cr733oa",
"id": "verheyden-2004",
"pmid": "15137564",
"source": "Clin Rehabil. 2004;18(3):326-334",
"title": "The Trunk Impairment Scale: a new tool to measure motor impairment of the trunk after stroke"
},
"formula": "tis",
"formula_expression": "TIS = static_sitting_balance + dynamic_sitting_balance + coordination when static_sitting_balance > 0, else 0; caller-assigned Verheyden 2004 original TIS subscales (static sitting balance 0-7, dynamic sitting balance 0-10, coordination 0-6); max 23; if static sitting balance is 0 the total is 0 even when the other subscales are nonzero; not TIS 2.0; not Fujiwara 2004; magent does not examine sitting balance; no published mild/moderate/severe cutoffs",
"max_score": 23,
"score": 0,
"coordination": 0,
"dynamic_sitting_balance": 0,
"static_sitting_balance": 0
}
Client errors (HTTP 400)
Invalid params return 400 without charge. Shared HTTP 402 and 503 meanings: Payments.
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_tis_subscale |
Trunk Impairment Scale needs static_sitting_balance 0-7, dynamic_sitting_balance 0-10, and coordination 0-6 (Verheyden 2004). 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
- NIHSS — Sum Brott 1989 NIH stroke scale points from 15 caller-assigned examination integers, including pupillary response and plantar reflex. Weaker-limb motor arm and leg. Does not apply later total-score severity bands.
- Barthel Index — Sum ten caller-assigned Mahoney 1965 Barthel Index item points and return the published 0-100 total.
- Modified Rankin — Return the van Swieten 1988 modified Rankin handicap grade 0-5 from a caller-assigned integer, with the published grade wording.
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.