MAGENT

Neurology · LIVE

Katz Index of ADL

Sum six caller-assigned Katz 1963 independence flags and return the published 0–6 Index of ADL count.

LIVE $0.005 USDC GET /api/calc/katz

Markdown: /docs/katz.md · Canonical: https://magentlab.com/docs/katz

Not a medical device. Not a diagnosis, dose, or listing recommendation.

What it computes

Sum six caller-assigned Katz 1963 independence flags and return the published 0–6 Index of ADL count.

When to use

When an agent already has the six Katz 1963 functions assigned as independent or dependent and needs the 0–6 independence count. magent does not observe the patient or assign letter grades A–G, a Barthel total, or a rehab order.

When not to use

  • Not a medical device and not a rehab order, disability rating, or placement decision. magent does not observe the patient.
  • Each of the six functions is a caller-assigned independence flag (true = independent, 1 point; false = dependent, 0). magent does not examine the patient or assign independence.
  • This is the Katz 1963 six-item 0–6 independence count. It is not the Barthel Index and does not copy Barthel 0–100 item points.
  • This tool does not assign Katz letter grades A–G. Score is the count of independent functions only (0–6).

Formula

Katz Index of ADL = bathing_independent + dressing_independent + toileting_independent + transferring_independent + continence_independent + feeding_independent; each 1 if independent; max 6 (Katz 1963)

Citation

Title
Studies of illness in the aged. The index of ADL: a standardized measure of biological and psychosocial function
Authors
Katz S, Ford AB, Moskowitz RW, Jackson BA, Jaffe MW
Source
JAMA. 1963;185(12):914-919
DOI
10.1001/jama.1963.03060120024016

Worked example

All six dependent

Given: bathing_independent=falsecontinence_independent=falsedressing_independent=falsefeeding_independent=falsetoileting_independent=falsetransferring_independent=false

  1. bathing, dressing, toileting, transferring, continence, and feeding are false as assigned by the caller
  2. score = 0 (max 6)

All six independent

Given: bathing_independent=truecontinence_independent=truedressing_independent=truefeeding_independent=truetoileting_independent=truetransferring_independent=true

  1. all six independence flags true as assigned by the caller
  2. score = 6 (max 6)

Also searched as

  • Katz Index of ADL
  • Katz ADL
  • Index of Independence in ADL
  • Katz 1963
  • Katz activities of daily living
  • Katz Index
  • six-item Katz ADL
  • Katz independence count

Try

Opens the live endpoint. Unpaid browser requests show the paywall; agents should send Accept: application/json.

/api/calc/katz?bathing_independent=false&dressing_independent=false&toileting_independent=false&transferring_independent=false&continence_independent=false&feeding_independent=false

Full URL: https://api.magentlab.com/api/calc/katz?bathing_independent=false&dressing_independent=false&toileting_independent=false&transferring_independent=false&continence_independent=false&feeding_independent=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/katz?bathing_independent=false&dressing_independent=false&toileting_independent=false&transferring_independent=false&continence_independent=false&feeding_independent=false"

Parameters

Name Type Required Description
bathing_independent boolean required Caller-assigned Katz 1963 bathing independence (sponge, shower, or tub). true scores 1; false scores 0. magent does not observe the patient.
dressing_independent boolean required Caller-assigned Katz 1963 dressing independence (gets clothes and puts on garments; may have help tying shoes). true scores 1; false scores 0. magent does not observe the patient.
toileting_independent boolean required Caller-assigned Katz 1963 toileting independence (goes to toilet, gets on and off, arranges clothes, cleans self). true scores 1; false scores 0. magent does not observe the patient.
transferring_independent boolean required Caller-assigned Katz 1963 transferring independence (moves in and out of bed and chair; may use an object for support). true scores 1; false scores 0. magent does not observe the patient.
continence_independent boolean required Caller-assigned Katz 1963 continence independence (controls urination and bowel movement completely by self). true scores 1; false scores 0. magent does not observe the patient.
feeding_independent boolean required Caller-assigned Katz 1963 feeding independence (gets food from plate into mouth; precutting of meat may be done by another). true scores 1; false scores 0. magent does not observe 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.

POST /api/calc/katz Max 25 unit_amount + extra_item_amount * (n - 1) extra $0.002 PREVIEW

  • 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": [
    {
      "bathing_independent": "false",
      "continence_independent": "false",
      "dressing_independent": "false",
      "feeding_independent": "false",
      "toileting_independent": "false",
      "transferring_independent": "false"
    },
    {
      "bathing_independent": "false",
      "continence_independent": "false",
      "dressing_independent": "false",
      "feeding_independent": "false",
      "toileting_independent": "false",
      "transferring_independent": "false"
    }
  ]
}

Open bulk paywall →

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/katz",
  "items": [
    {
      "components": [
        {
          "factor": "bathing_independent",
          "points": 0,
          "present": false
        },
        {
          "factor": "dressing_independent",
          "points": 0,
          "present": false
        },
        {
          "factor": "toileting_independent",
          "points": 0,
          "present": false
        },
        {
          "factor": "transferring_independent",
          "points": 0,
          "present": false
        },
        {
          "factor": "continence_independent",
          "points": 0,
          "present": false
        },
        {
          "factor": "feeding_independent",
          "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": "Katz S, Ford AB, Moskowitz RW, Jackson BA, Jaffe MW",
        "doi": "10.1001/jama.1963.03060120024016",
        "id": "katz-1963",
        "pmid": "14044222",
        "source": "JAMA. 1963;185(12):914-919",
        "title": "Studies of illness in the aged. The index of ADL: a standardized measure of biological and psychosocial function"
      },
      "formula": "katz",
      "formula_expression": "Katz Index of ADL = bathing_independent + dressing_independent + toileting_independent + transferring_independent + continence_independent + feeding_independent; each 1 if independent; max 6 (Katz 1963)",
      "max_score": 6,
      "score": 0
    },
    {
      "components": [
        {
          "factor": "bathing_independent",
          "points": 0,
          "present": false
        },
        {
          "factor": "dressing_independent",
          "points": 0,
          "present": false
        },
        {
          "factor": "toileting_independent",
          "points": 0,
          "present": false
        },
        {
          "factor": "transferring_independent",
          "points": 0,
          "present": false
        },
        {
          "factor": "continence_independent",
          "points": 0,
          "present": false
        },
        {
          "factor": "feeding_independent",
          "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": "Katz S, Ford AB, Moskowitz RW, Jackson BA, Jaffe MW",
        "doi": "10.1001/jama.1963.03060120024016",
        "id": "katz-1963",
        "pmid": "14044222",
        "source": "JAMA. 1963;185(12):914-919",
        "title": "Studies of illness in the aged. The index of ADL: a standardized measure of biological and psychosocial function"
      },
      "formula": "katz",
      "formula_expression": "Katz Index of ADL = bathing_independent + dressing_independent + toileting_independent + transferring_independent + continence_independent + feeding_independent; each 1 if independent; max 6 (Katz 1963)",
      "max_score": 6,
      "score": 0
    }
  ]
}

Response

Field Type Description
formula string katz
formula_expression string Exact expression used
score integer Katz 1963 independence count 0-6
max_score integer 6
components array Per-function independence points
citation object Katz et al. JAMA 1963 citation
disclaimer string Not-a-device notice

Example JSON

Machine form of the same example. Frozen fixture. Not a live lookup.

{
  "components": [
    {
      "factor": "bathing_independent",
      "points": 0,
      "present": false
    },
    {
      "factor": "dressing_independent",
      "points": 0,
      "present": false
    },
    {
      "factor": "toileting_independent",
      "points": 0,
      "present": false
    },
    {
      "factor": "transferring_independent",
      "points": 0,
      "present": false
    },
    {
      "factor": "continence_independent",
      "points": 0,
      "present": false
    },
    {
      "factor": "feeding_independent",
      "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": "Katz S, Ford AB, Moskowitz RW, Jackson BA, Jaffe MW",
    "doi": "10.1001/jama.1963.03060120024016",
    "id": "katz-1963",
    "pmid": "14044222",
    "source": "JAMA. 1963;185(12):914-919",
    "title": "Studies of illness in the aged. The index of ADL: a standardized measure of biological and psychosocial function"
  },
  "formula": "katz",
  "formula_expression": "Katz Index of ADL = bathing_independent + dressing_independent + toileting_independent + transferring_independent + continence_independent + feeding_independent; each 1 if independent; max 6 (Katz 1963)",
  "max_score": 6,
  "score": 0
}

Client errors (HTTP 400)

Invalid params return 400 without charge. Shared HTTP 402 and 503 meanings: Payments.

HTTP Code When
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

  • 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.