Hemodynamics · LIVE
Gillmore 2018 NAC ATTR staging
Gillmore
Apply the Gillmore 2018 National Amyloidosis Centre (NAC) three-stage system for cardiac transthyretin amyloidosis from NT-proBNP and caller-assigned eGFR.
Markdown: /docs/gillmore.md · Canonical: https://magentlab.com/docs/gillmore
Not a medical device. Not a diagnosis, dose, or listing recommendation.
What it computes
Apply the Gillmore 2018 National Amyloidosis Centre (NAC) three-stage system for cardiac transthyretin amyloidosis from NT-proBNP and caller-assigned eGFR.
When to use
When an agent has caller-supplied NT-proBNP (ng/L) and eGFR and needs the published Gillmore 2018 NAC ATTR stage for ATTRwt or ATTRv. Not Mayo AL amyloid staging. Not NYHA. magent does not compute MDRD or CKD-EPI.
When not to use
- Not a medical device. magent does not examine the patient and does not assay NT-proBNP or eGFR.
- This is Gillmore 2018 NAC ATTR staging only. It is not Mayo AL amyloid staging. It is not NYHA class.
- magent does not compute MDRD or CKD-EPI. The caller assigns egfr_ml_min_1_73m2 (5-200). Race-based MDRD is skipped on purpose.
- Not a treatment order. This tool does not recommend tafamidis or any other therapy.
Formula
Stage I: nt_probnp_ng_l <= 3000 AND egfr_ml_min_1_73m2 >= 45; stage III: nt_probnp_ng_l > 3000 AND egfr_ml_min_1_73m2 < 45; stage II: exactly one of those two adverse cut points (Gillmore 2018 NAC ATTR)
Citation
- Authors
- Gillmore JD, Damy T, Fontana M, Hutchinson M, Lachmann HJ, Martinez-Naharro A, Quarta CC, Rezk T, Whelan CJ, Gonzalez-Lopez E, Lane T, Gilbertson JA, Rowczenio D, Petrie A, Hawkins PN
- Source
- Eur Heart J. 2018;39(30):2799-2806
Worked example
NT-proBNP 500 ng/L, eGFR 70
Given:
egfr_ml_min_1_73m2=70nt_probnp_ng_l=500
- NT-proBNP 500 ng/L is <= 3000 and eGFR 70 is >= 45
- Stage I
NT-proBNP 4000 ng/L, eGFR 30
Given:
egfr_ml_min_1_73m2=30nt_probnp_ng_l=4000
- NT-proBNP 4000 ng/L is > 3000 and eGFR 30 is < 45
- Stage III
Also searched as
- NAC ATTR staging
- Gillmore staging
- ATTR cardiac stage
- NT-proBNP eGFR ATTR
- transthyretin amyloidosis stage
- ATTRwt staging
- ATTRv staging
- Gillmore 2018
Try
Opens the live endpoint. Unpaid browser requests show the paywall; agents should send Accept: application/json.
/api/calc/gillmore?nt_probnp_ng_l=500&egfr_ml_min_1_73m2=70
Full URL: https://api.magentlab.com/api/calc/gillmore?nt_probnp_ng_l=500&egfr_ml_min_1_73m2=70
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/gillmore?nt_probnp_ng_l=500&egfr_ml_min_1_73m2=70"
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
nt_probnp_ng_l |
number | required | NT-proBNP in ng/L (10-100000), same numeric value as pg/mL. Gillmore 2018 Stage I requires <= 3000; Stage III when > 3000. magent does not assay NT-proBNP. |
egfr_ml_min_1_73m2 |
number | required | Caller-assigned eGFR in mL/min/1.73m² (5-200). Gillmore 2018 Stage I requires >= 45; Stage III when < 45. magent does not compute MDRD or CKD-EPI. |
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": [
{
"egfr_ml_min_1_73m2": "70",
"nt_probnp_ng_l": "500"
},
{
"egfr_ml_min_1_73m2": "70",
"nt_probnp_ng_l": "500"
}
]
}
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/gillmore",
"items": [
{
"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": "Gillmore JD, Damy T, Fontana M, Hutchinson M, Lachmann HJ, Martinez-Naharro A, Quarta CC, Rezk T, Whelan CJ, Gonzalez-Lopez E, Lane T, Gilbertson JA, Rowczenio D, Petrie A, Hawkins PN",
"doi": "10.1093/eurheartj/ehx589",
"id": "gillmore-2018",
"pmid": "29048471",
"source": "Eur Heart J. 2018;39(30):2799-2806",
"title": "A new staging system for cardiac transthyretin amyloidosis"
},
"formula": "gillmore",
"formula_expression": "Stage I: nt_probnp_ng_l <= 3000 AND egfr_ml_min_1_73m2 >= 45; stage III: nt_probnp_ng_l > 3000 AND egfr_ml_min_1_73m2 < 45; stage II: exactly one of those two adverse cut points (Gillmore 2018 NAC ATTR)",
"criteria": [
{
"value": 500.0,
"factor": "nt_probnp_gt_3000",
"met": false
},
{
"value": 70.0,
"factor": "egfr_lt_45",
"met": false
}
],
"egfr_ml_min_1_73m2": 70.0,
"gillmore_stage": 1,
"gillmore_stage_label": "I",
"nt_probnp_ng_l": 500.0
},
{
"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": "Gillmore JD, Damy T, Fontana M, Hutchinson M, Lachmann HJ, Martinez-Naharro A, Quarta CC, Rezk T, Whelan CJ, Gonzalez-Lopez E, Lane T, Gilbertson JA, Rowczenio D, Petrie A, Hawkins PN",
"doi": "10.1093/eurheartj/ehx589",
"id": "gillmore-2018",
"pmid": "29048471",
"source": "Eur Heart J. 2018;39(30):2799-2806",
"title": "A new staging system for cardiac transthyretin amyloidosis"
},
"formula": "gillmore",
"formula_expression": "Stage I: nt_probnp_ng_l <= 3000 AND egfr_ml_min_1_73m2 >= 45; stage III: nt_probnp_ng_l > 3000 AND egfr_ml_min_1_73m2 < 45; stage II: exactly one of those two adverse cut points (Gillmore 2018 NAC ATTR)",
"criteria": [
{
"value": 500.0,
"factor": "nt_probnp_gt_3000",
"met": false
},
{
"value": 70.0,
"factor": "egfr_lt_45",
"met": false
}
],
"egfr_ml_min_1_73m2": 70.0,
"gillmore_stage": 1,
"gillmore_stage_label": "I",
"nt_probnp_ng_l": 500.0
}
]
}
Response
| Field | Type | Description |
|---|---|---|
formula |
string | gillmore |
formula_expression |
string | Gillmore 2018 NAC ATTR stage I / II / III rules (NT-proBNP ng/L and eGFR) |
nt_probnp_ng_l |
number | NT-proBNP used in ng/L (same numeric value as pg/mL) |
egfr_ml_min_1_73m2 |
number | Caller-assigned eGFR in mL/min/1.73m² |
gillmore_stage |
integer | 1, 2, or 3 (Gillmore 2018 NAC ATTR). Not Roman in this field. |
gillmore_stage_label |
string | I, II, or III matching gillmore_stage |
criteria |
array | Per-factor rows with factor, met, and value for nt_probnp_gt_3000 and egfr_lt_45 |
citation |
object | Gillmore 2018 Eur Heart J citation |
disclaimer |
string | Not-a-device notice |
Example JSON
Machine form of the same example. Frozen fixture. Not a live lookup.
{
"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": "Gillmore JD, Damy T, Fontana M, Hutchinson M, Lachmann HJ, Martinez-Naharro A, Quarta CC, Rezk T, Whelan CJ, Gonzalez-Lopez E, Lane T, Gilbertson JA, Rowczenio D, Petrie A, Hawkins PN",
"doi": "10.1093/eurheartj/ehx589",
"id": "gillmore-2018",
"pmid": "29048471",
"source": "Eur Heart J. 2018;39(30):2799-2806",
"title": "A new staging system for cardiac transthyretin amyloidosis"
},
"formula": "gillmore",
"formula_expression": "Stage I: nt_probnp_ng_l <= 3000 AND egfr_ml_min_1_73m2 >= 45; stage III: nt_probnp_ng_l > 3000 AND egfr_ml_min_1_73m2 < 45; stage II: exactly one of those two adverse cut points (Gillmore 2018 NAC ATTR)",
"criteria": [
{
"value": 500.0,
"factor": "nt_probnp_gt_3000",
"met": false
},
{
"value": 70.0,
"factor": "egfr_lt_45",
"met": false
}
],
"egfr_ml_min_1_73m2": 70.0,
"gillmore_stage": 1,
"gillmore_stage_label": "I",
"nt_probnp_ng_l": 500.0
}
Client errors (HTTP 400)
Invalid params return 400 without charge. Shared HTTP 402 and 503 meanings: Payments.
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_nt_probnp |
nt_probnp_ng_l must be a number from 10 to 100000 (NT-proBNP ng/L = pg/mL; Gillmore 2018 NAC ATTR stage). Returned before settlement; you are not charged. |
| 400 | invalid_egfr |
egfr_ml_min_1_73m2 must be a number from 5 to 200 (caller-assigned eGFR; magent does not compute MDRD or CKD-EPI). 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
- ADHERE — Apply the Fonarow 2005 ADHERE classification and regression tree for in-hospital mortality risk in acutely decompensated heart failure from admission BUN, systolic blood pressure, and serum creatinine.
- NYHA — Return the 1994 NYHA functional capacity class 1-4 from a caller-assigned integer, with the published class description.
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.