# CAM-ICU Delirium Screener (Ely 2001)

> CAM-ICU Delirium Screener (Ely 2001) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Applies the CAM-ICU algorithm to four caller-supplied feature flags and returns whether delirium is present or absent.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/cam_icu
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cam-icu-delirium-screener-ely-2001-055f7d77
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5x8IXYZcQFYAC5e7he_Qv

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cam-icu-delirium-screener-ely-2001-055f7d77
```

Example prompt: My ICU patient has an acute onset of mental status change (Feature 1 = true), shows inattention (Feature 2 = true), no disorganized thinking (Feature 3 = false), and a normal level of consciousness (Feature 4 = false) — run the CAM-ICU algorithm and tell me if delirium is present.

## When to prefer this

Use this endpoint when you have already assessed and assigned the four CAM-ICU features independently (e.g., via clinical observation, RASS administration, and attention exam) and need to apply the Ely 2001 logical algorithm to produce a positive/negative result. This endpoint does not perform the clinical assessment itself — it only applies the decision logic. Prefer it for automating documentation pipelines, audit trails, or clinical decision-support agents where the feature flags are already determined.

## Known failure modes

- Missing required feature flags returns a validation error
- Invalid boolean values for any feature parameter cause a bad request
- Network timeout if the endpoint is temporarily unavailable

## How this service works

CAM-ICU (Ely 2001). Delirium is present iff Feature 1 (acute onset or fluctuating course) and Feature 2 (inattention) both hold, and Feature 3 (disorganized thinking) or Feature 4 (altered level of consciousness) also holds. The caller assigns each feature as already determined. magent does not observe the patient, administer RASS, or run the attention screening exam. Not a diagnosis and not a medical device.

## Output

A Boolean or categorical determination of whether the CAM-ICU criteria are met (delirium present or absent), derived from the logical combination: (Feature 1 AND Feature 2) AND (Feature 3 OR Feature 4).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "acute_onset_or_fluctuation",
      "inattention",
      "disorganized_thinking",
      "altered_level_of_consciousness"
     ],
     "properties": {
      "inattention": {
       "type": "boolean",
       "description": "Feature 2: inattention. true or false as assigned by the caller. magent does not run the attention screening exam."
      },
      "disorganized_thinking": {
       "type": "boolean",
       "description": "Feature 3: disorganized thinking. true or false as assigned by the caller. magent does not administer the thinking questions."
      },
      "acute_onset_or_fluctuation": {
       "type": "boolean",
       "description": "Feature 1: acute onset of mental status change or fluctuating course. true or false as assigned by the caller. magent does not observe the patient or judge fluctuation."
      },
      "altered_level_of_consciousness": {
       "type": "boolean",
       "description": "Feature 4: altered level of consciousness. true or false as assigned by the caller. magent does not administer RASS."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "path": "/api/calc/cam_icu",
  "count": 2,
  "items": [
   {
    "formula": "cam_icu",
    "citation": {
     "id": "ely-2001",
     "doi": "10.1001/jama.286.21.2703",
     "pmid": "11730446",
     "title": "Delirium in mechanically ventilated patients: validity and reliability of the confusion assessment method for the intensive care unit (CAM-ICU)",
     "source": "JAMA. 2001;286(21):2703-2710",
     "authors": "Ely EW, Inouye SK, Bernard GR, et al."
    },
    "criteria": [
     {
      "met": false,
      "factor": "acute_onset_or_fluctuation"
     },
     {
      "met": false,
      "factor": "inattention"
     },
     {
      "met": false,
      "factor": "disorganized_thinking"
     },
     {
      "met": false,
      "factor": "altered_level_of_consciousness"
     }
    ],
    "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.",
    "delirium_present": false,
    "formula_expression": "delirium present iff Feature 1 AND Feature 2 AND (Feature 3 OR Feature 4)"
   },
   {
    "formula": "cam_icu",
    "citation": {
     "id": "ely-2001",
     "doi": "10.1001/jama.286.21.2703",
     "pmid": "11730446",
     "title": "Delirium in mechanically ventilated patients: validity and reliability of the confusion assessment method for the intensive care unit (CAM-ICU)",
     "source": "JAMA. 2001;286(21):2703-2710",
     "authors": "Ely EW, Inouye SK, Bernard GR, et al."
    },
    "criteria": [
     {
      "met": false,
      "factor": "acute_onset_or_fluctuation"
     },
     {
      "met": false,
      "factor": "inattention"
     },
     {
      "met": false,
      "factor": "disorganized_thinking"
     },
     {
      "met": false,
      "factor": "altered_level_of_consciousness"
     }
    ],
    "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.",
    "delirium_present": false,
    "formula_expression": "delirium present iff Feature 1 AND Feature 2 AND (Feature 3 OR Feature 4)"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cam-icu-delirium-screener-ely-2001-055f7d77/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
