# AWOL Delirium Risk Score (Douglas 2013)

> AWOL Delirium Risk Score (Douglas 2013) 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-14).

Computes the AWOL delirium prediction score (0–4) from four caller-assigned yes/no flags and returns observed delirium probability rates from the Douglas 2013 published study.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/awol
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/awol-delirium-risk-score-douglas-2013-3f5e342e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DOGxSS74UI7MFr6CEZEGv

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 awol-delirium-risk-score-douglas-2013-3f5e342e
```

Example prompt: Calculate the AWOL delirium risk score for a hospitalized patient who is 83 years old (age ≥80: yes), failed to spell WORLD backward (yes), is not fully oriented to place (yes), and the nurse rated illness severity as moderately ill (yes).

## When to prefer this

Use this endpoint when you need a fast, deterministic, published clinical risk score for delirium risk stratification in hospitalized adults using the Douglas 2013 AWOL criteria. Prefer this over the 4AT or CAM-ICU endpoints when the four AWOL flags have already been clinically assessed. Do not use this as a diagnostic tool or substitute for clinical judgment.

## Known failure modes

- Missing any of the four required boolean query parameters returns a validation error
- Non-boolean values for flags (e.g. strings other than true/false) cause a bad request error
- Network or server errors may return 5xx responses
- Payment failure or missing x402 payment header returns 402 Payment Required

## How this service works

Douglas 2013 AWOL: four caller-assigned yes/no flags (age ≥80, unable to spell WORLD backward, not fully oriented to place, nurse-rated illness moderately ill/severely ill/moribund), 1 point each, max 4. Combined-population observed delirium 2/4/14/20/64% at scores 0–4. Deterministic published score with citation; not a delirium diagnosis, not CAM-ICU, not 4AT, and not a medical device. magent does not interview the patient or collect an integer age.

## Output

Returns the integer AWOL score (0–4) based on the four input flags, along with the published observed delirium prevalence rates from Douglas 2013 (approximately 2%, 4%, 14%, 20%, 64% for scores 0–4 respectively), enabling risk stratification without performing a clinical diagnosis.

## 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": [
      "age_ge_80",
      "failed_world_backward",
      "not_oriented_to_place",
      "illness_moderate_severe_or_moribund"
     ],
     "properties": {
      "age_ge_80": {
       "type": "boolean",
       "description": "Age ≥80 years (AWOL A; Douglas 2013). true or false as assigned by the caller. magent does not collect an integer age and does not interview the patient."
      },
      "failed_world_backward": {
       "type": "boolean",
       "description": "Unable to correctly spell WORLD backward (AWOL W; Douglas 2013). true or false as assigned by the caller. magent does not interview the patient."
      },
      "not_oriented_to_place": {
       "type": "boolean",
       "description": "Not fully oriented to place: not oriented to city, state, county, hospital name, and floor (AWOL O; Douglas 2013). true or false as assigned by the caller. magent does not interview the patient."
      },
      "illness_moderate_severe_or_moribund": {
       "type": "boolean",
       "description": "Nurse-rated illness severity moderately ill, severely ill, or moribund, as opposed to not ill or mildly ill (AWOL L; Douglas 2013). true or false as assigned by the caller. magent does not interview the patient."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/awol-delirium-risk-score-douglas-2013-3f5e342e/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)
