Emergency · LIVE
Cumulative Illness Rating Scale for Geriatrics (CIRS-G)
CIRS-G
Sum fourteen caller-assigned Miller 1992 CIRS-G organ-system integers (each 0-4) and return the published total (max 56), the count of categories endorsed (rating ≥1), and the count of categories rated ≥3.
Markdown: /docs/cirs-g.md · Canonical: https://magentlab.com/docs/cirs-g
Not a medical device. Not a diagnosis, dose, or listing recommendation.
What it computes
Sum fourteen caller-assigned Miller 1992 CIRS-G organ-system integers (each 0-4) and return the published total (max 56), the count of categories endorsed (rating ≥1), and the count of categories rated ≥3.
When to use
When an agent already has Miller 1992 0-4 integers for the fourteen CIRS-G organ systems and needs the published total and ≥3 category count. magent does not examine the patient, diagnose comorbidity, score Charlson, or apply G8.
When not to use
- Not a medical device and not a diagnosis or treatment order.
- Each of the fourteen organ-system ratings is a caller-assigned integer 0-4 (0 no problem, 1 current mild or past significant, 2 moderate disability or first-line therapy, 3 severe or uncontrollable chronic, 4 extremely severe, immediate treatment, or end-organ failure). magent does not examine the patient.
- This is Miller 1992 CIRS-G only (fourteen organ systems including psychiatric illness; max 56). It is not Charlson, not Linn 1968 CIRS, and not G8.
- Miller 1992 / the CIRS-G scoring sheet published total score, number of categories endorsed, and counts of categories at severity 3 and 4. This tool returns score, categories_endorsed, and categories_ge_3 (ratings 3 or 4). It does not invent a total-score class or a severity-index cutoff.
Formula
CIRS-G = heart + vascular + hematopoietic + respiratory + eent + upper_gi + lower_gi + liver + renal + genitourinary + musculoskeletal + neurologic + endocrine_metabolic + psychiatric; each caller-assigned 0-4; max 56; Miller 1992; categories_endorsed is count of ratings ≥1; categories_ge_3 is count of ratings ≥3; no total-score class
Citation
- Authors
- Miller MD, Paradis CF, Houck PR, et al.
- Source
- Psychiatry Res. 1992;41(3):237-248
Worked example
All organ systems 0
Given:
eent=0endocrine_metabolic=0genitourinary=0heart=0hematopoietic=0liver=0lower_gi=0musculoskeletal=0neurologic=0psychiatric=0renal=0respiratory=0upper_gi=0vascular=0
- heart, vascular, hematopoietic, respiratory, eent, upper_gi, lower_gi, liver, renal, genitourinary, musculoskeletal, neurologic, endocrine_metabolic, and psychiatric are 0 as assigned by the caller
- Score = 0 (max 56); categories_endorsed = 0; categories_ge_3 = 0. Miller 1992 published no total-score class.
Heart 3 and vascular 4
Given:
eent=0endocrine_metabolic=0genitourinary=0heart=3hematopoietic=0liver=0lower_gi=0musculoskeletal=0neurologic=0psychiatric=0renal=0respiratory=0upper_gi=0vascular=4
- heart 3 + vascular 4; remaining twelve systems 0
- Score = 7; categories_endorsed = 2; categories_ge_3 = 2 (both ratings ≥3). No total-score class.
Also searched as
- CIRS-G
- CIRS(G)
- Cumulative Illness Rating Scale for Geriatrics
- Miller CIRS-G
- geriatric cumulative illness rating
- CIRS geriatric
- Miller 1992 CIRS
- organ-system comorbidity rating
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/cirs_g?heart=0&vascular=0&hematopoietic=0&respiratory=0&eent=0&upper_gi=0&lower_gi=0&liver=0&renal=0&genitourinary=0&musculoskeletal=0&neurologic=0&endocrine_metabolic=0&psychiatric=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/cirs_g?heart=0&vascular=0&hematopoietic=0&respiratory=0&eent=0&upper_gi=0&lower_gi=0&liver=0&renal=0&genitourinary=0&musculoskeletal=0&neurologic=0&endocrine_metabolic=0&psychiatric=0"
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
heart |
integer | required | Caller-assigned Miller 1992 CIRS-G heart (integer 0-4: 0 no problem, 1 current mild or past significant, 2 moderate disability or first-line therapy, 3 severe or uncontrollable chronic, 4 extremely severe, immediate treatment, or end-organ failure). magent does not examine the patient. |
vascular |
integer | required | Caller-assigned Miller 1992 CIRS-G vascular (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient. |
hematopoietic |
integer | required | Caller-assigned Miller 1992 CIRS-G hematopoietic — blood, marrow, spleen, lymphatics (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient. |
respiratory |
integer | required | Caller-assigned Miller 1992 CIRS-G respiratory — lungs, bronchi, trachea below the larynx (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient. |
eent |
integer | required | Caller-assigned Miller 1992 CIRS-G EENT — eyes, ears, nose, throat, and larynx (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient. |
upper_gi |
integer | required | Caller-assigned Miller 1992 CIRS-G upper GI — esophagus, stomach, duodenum (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient. |
lower_gi |
integer | required | Caller-assigned Miller 1992 CIRS-G lower GI — intestines, hernias (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient. |
liver |
integer | required | Caller-assigned Miller 1992 CIRS-G liver — including biliary and pancreatic trees (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient. |
renal |
integer | required | Caller-assigned Miller 1992 CIRS-G renal — kidneys only (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient. |
genitourinary |
integer | required | Caller-assigned Miller 1992 CIRS-G genitourinary — ureters, bladder, urethra, prostate, genitals, uterus, ovaries (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient. |
musculoskeletal |
integer | required | Caller-assigned Miller 1992 CIRS-G musculoskeletal/integument — muscles, bone, and skin (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient. |
neurologic |
integer | required | Caller-assigned Miller 1992 CIRS-G neurologic — brain, spinal cord, and nerves (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient. |
endocrine_metabolic |
integer | required | Caller-assigned Miller 1992 CIRS-G endocrine/metabolic and breast (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient. |
psychiatric |
integer | required | Caller-assigned Miller 1992 CIRS-G psychiatric illness (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient. |
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": [
{
"eent": "0",
"endocrine_metabolic": "0",
"genitourinary": "0",
"heart": "0",
"hematopoietic": "0",
"liver": "0",
"lower_gi": "0",
"musculoskeletal": "0",
"neurologic": "0",
"psychiatric": "0",
"renal": "0",
"respiratory": "0",
"upper_gi": "0",
"vascular": "0"
},
{
"eent": "0",
"endocrine_metabolic": "0",
"genitourinary": "0",
"heart": "0",
"hematopoietic": "0",
"liver": "0",
"lower_gi": "0",
"musculoskeletal": "0",
"neurologic": "0",
"psychiatric": "0",
"renal": "0",
"respiratory": "0",
"upper_gi": "0",
"vascular": "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/cirs_g",
"items": [
{
"components": [
{
"value": 0,
"factor": "heart",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "vascular",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "hematopoietic",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "respiratory",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "eent",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "upper_gi",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "lower_gi",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "liver",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "renal",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "genitourinary",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "musculoskeletal",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "neurologic",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "endocrine_metabolic",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "psychiatric",
"points": 0,
"present": true
}
],
"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": "Miller MD, Paradis CF, Houck PR, et al.",
"doi": "10.1016/0165-1781(92)90005-N",
"id": "miller-1992",
"pmid": "1594710",
"source": "Psychiatry Res. 1992;41(3):237-248",
"title": "Rating chronic medical illness burden in geropsychiatric practice and research: application of the Cumulative Illness Rating Scale"
},
"formula": "cirs_g",
"formula_expression": "CIRS-G = heart + vascular + hematopoietic + respiratory + eent + upper_gi + lower_gi + liver + renal + genitourinary + musculoskeletal + neurologic + endocrine_metabolic + psychiatric; each caller-assigned 0-4; max 56; Miller 1992; categories_endorsed is count of ratings ≥1; categories_ge_3 is count of ratings ≥3; no total-score class",
"max_score": 56,
"score": 0,
"categories_endorsed": 0,
"categories_ge_3": 0
},
{
"components": [
{
"value": 0,
"factor": "heart",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "vascular",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "hematopoietic",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "respiratory",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "eent",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "upper_gi",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "lower_gi",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "liver",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "renal",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "genitourinary",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "musculoskeletal",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "neurologic",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "endocrine_metabolic",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "psychiatric",
"points": 0,
"present": true
}
],
"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": "Miller MD, Paradis CF, Houck PR, et al.",
"doi": "10.1016/0165-1781(92)90005-N",
"id": "miller-1992",
"pmid": "1594710",
"source": "Psychiatry Res. 1992;41(3):237-248",
"title": "Rating chronic medical illness burden in geropsychiatric practice and research: application of the Cumulative Illness Rating Scale"
},
"formula": "cirs_g",
"formula_expression": "CIRS-G = heart + vascular + hematopoietic + respiratory + eent + upper_gi + lower_gi + liver + renal + genitourinary + musculoskeletal + neurologic + endocrine_metabolic + psychiatric; each caller-assigned 0-4; max 56; Miller 1992; categories_endorsed is count of ratings ≥1; categories_ge_3 is count of ratings ≥3; no total-score class",
"max_score": 56,
"score": 0,
"categories_endorsed": 0,
"categories_ge_3": 0
}
]
}
Response
| Field | Type | Description |
|---|---|---|
formula |
string | cirs_g |
formula_expression |
string | Exact expression used |
score |
integer | Miller 1992 CIRS-G total: sum of fourteen caller-assigned 0-4 organ-system ratings (0-56) |
max_score |
integer | Always 56 |
categories_endorsed |
integer | Count of the fourteen organ systems with caller-assigned rating ≥1 (Miller 1992 / CIRS-G scoring sheet: total number of categories endorsed). 0-14. |
categories_ge_3 |
integer | Count of organ systems with caller-assigned rating ≥3 (Miller 1992 / CIRS-G scoring sheet counts at severity 3 and at severity 4; this field is those counts combined). 0-14. Not a class. |
components |
array | Per-system caller-assigned points |
citation |
object | Miller et al. Psychiatry Res 1992 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": "heart",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "vascular",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "hematopoietic",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "respiratory",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "eent",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "upper_gi",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "lower_gi",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "liver",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "renal",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "genitourinary",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "musculoskeletal",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "neurologic",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "endocrine_metabolic",
"points": 0,
"present": true
},
{
"value": 0,
"factor": "psychiatric",
"points": 0,
"present": true
}
],
"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": "Miller MD, Paradis CF, Houck PR, et al.",
"doi": "10.1016/0165-1781(92)90005-N",
"id": "miller-1992",
"pmid": "1594710",
"source": "Psychiatry Res. 1992;41(3):237-248",
"title": "Rating chronic medical illness burden in geropsychiatric practice and research: application of the Cumulative Illness Rating Scale"
},
"formula": "cirs_g",
"formula_expression": "CIRS-G = heart + vascular + hematopoietic + respiratory + eent + upper_gi + lower_gi + liver + renal + genitourinary + musculoskeletal + neurologic + endocrine_metabolic + psychiatric; each caller-assigned 0-4; max 56; Miller 1992; categories_endorsed is count of ratings ≥1; categories_ge_3 is count of ratings ≥3; no total-score class",
"max_score": 56,
"score": 0,
"categories_endorsed": 0,
"categories_ge_3": 0
}
Client errors (HTTP 400)
Invalid params return 400 without charge. Shared HTTP 402 and 503 meanings: Payments.
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_cirs_g_item |
each CIRS-G organ-system rating must be an integer from 0 to 4 (Miller 1992). 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
- Charlson CCI — Sum the nineteen Charlson 1987 original comorbidity weights and return the published 1-year mortality group.
- G8 — Sum the eight Bellera 2012 G8 items (seven MNA items A, B, C, E, F, H, P plus age) and return whether the published ≤14 impaired-screen cutoff is met.
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.