# OESIL Score Calculator (Colivicchi 2003)

> OESIL Score Calculator (Colivicchi 2003) 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 OESIL syncope risk score (0–4) from age, cardiovascular disease history, syncope without prodromes, and ECG abnormality flags.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/oesil
- 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/oesil-score-calculator-colivicchi-2003-c4f3f00f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W9SNGdVcNEoM9YpFHXkdI

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 oesil-score-calculator-colivicchi-2003-c4f3f00f
```

Example prompt: Calculate the OESIL syncope risk score for a 72-year-old patient who has a history of cardiovascular disease, experienced syncope without any warning prodromes, and has an abnormal ECG.

## When to prefer this

Use this endpoint when you need a fast, deterministic OESIL syncope risk score for a single patient given pre-assessed clinical flags. Prefer it over manual calculation in automated clinical documentation, syncope registry pipelines, or agent-driven triage workflows where the caller has already interpreted the ECG and other clinical findings. Do not use as a standalone disposition protocol or medical device.

## Known failure modes

- Missing required query parameters (age, cardiovascular_disease, syncope_without_prodromes, abnormal_ecg) returns a validation error
- Age value outside 18–120 range may be clamped or rejected
- Non-integer age value causes schema validation failure
- Boolean flags passed as strings rather than booleans may cause parsing errors
- Network or payment (x402) failure prevents score retrieval

## How this service works

Colivicchi 2003 OESIL: 1 point each for age >65 years, history of cardiovascular disease, syncope without prodromes, and abnormal ECG. Arithmetic sum 0-4. Caller assigns three flags; magent does not read an ECG. Score only; derivation-cohort 12-month mortality percents are not an individual prediction. Not a medical device and not a disposition protocol.

## Output

Returns the integer OESIL score (0–4), computed as the arithmetic sum of four binary criteria: age >65 (1 point), history of cardiovascular disease (1 point), syncope without prodromes (1 point), and abnormal ECG (1 point). Does not return mortality percentages or a disposition recommendation.

## 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",
      "cardiovascular_disease",
      "syncope_without_prodromes",
      "abnormal_ecg"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). Age >65 scores 1; age 65 scores 0. 18 is an implementation clamp."
      },
      "abnormal_ecg": {
       "type": "boolean",
       "description": "Abnormal ECG (Colivicchi 2003, 1 point). true or false as assigned by the caller. magent does not read an ECG."
      },
      "cardiovascular_disease": {
       "type": "boolean",
       "description": "History of cardiovascular disease (Colivicchi 2003, 1 point). true or false as assigned by the caller."
      },
      "syncope_without_prodromes": {
       "type": "boolean",
       "description": "Syncope without prodromes (Colivicchi 2003, 1 point). true or false as assigned by the caller."
      }
     }
    }
   },
   "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/oesil-score-calculator-colivicchi-2003-c4f3f00f/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)
