# Revised Geneva Score for PE (Le Gal 2006)

> Revised Geneva Score for PE (Le Gal 2006) 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).

Calculates the Revised Geneva Score (Le Gal 2006) for pre-test probability of pulmonary embolism in emergency department patients

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/revised_geneva
- 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/revised-geneva-score-for-pe-le-gal-2006-192bcd3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n94apvYd97BqhegZwoFeQ

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 revised-geneva-score-for-pe-le-gal-2006-192bcd3f
```

Example prompt: Run the Revised Geneva Score for a 72-year-old patient with a heart rate of 98 bpm, unilateral left leg pain, and pain on deep-vein palpation with edema — no previous DVT or PE, no active malignancy, no recent surgery or fracture, and no hemoptysis.

## When to prefer this

Use this endpoint when you need the original Revised Geneva Score (Le Gal 2006) with its full 8-variable weighted model for PE pre-test probability in an ED setting. Choose this over Wells criteria when you prefer an objective score without clinical judgment items, and over the Simplified Geneva when the full weighted scoring is clinically indicated or protocol-required.

## Known failure modes

- Missing required query parameters returns an error
- Age outside 18-120 range rejected
- Heart rate outside 30-220 range rejected
- Invalid boolean values for clinical flags cause bad request
- Network timeout on rare high-load scenarios

## How this service works

Revised Geneva score (Le Gal 2006) for suspected PE in the emergency department: age >65 (1), previous DVT or PE (3), surgery or lower-limb fracture within 1 month (2), active malignancy (2), unilateral lower-limb pain (3), hemoptysis (2), heart rate 75-94 (3) or >=95 (5), pain on deep-vein palpation and unilateral edema (4). Max 22. Bands 0-3, 4-10, and 11-22. Not a diagnosis, not simplified Geneva, and not Wells.

## Output

Returns the total Revised Geneva Score (integer 0-22) and the corresponding pre-test probability risk band: low (0-3), intermediate (4-10), or high (11-22), based on the eight weighted clinical criteria from Le Gal et al. 2006.

## 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",
      "previous_dvt_or_pe",
      "surgery_or_fracture_within_1_month",
      "active_malignancy",
      "unilateral_lower_limb_pain",
      "hemoptysis",
      "heart_rate_bpm",
      "pain_on_deep_vein_palpation_and_unilateral_edema"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). Scores 1 when age >65; 65 does not score."
      },
      "hemoptysis": {
       "type": "boolean",
       "description": "Hemoptysis. true or false. 2 points if true."
      },
      "heart_rate_bpm": {
       "type": "integer",
       "description": "Heart rate in beats per minute (integer 30-220). Scores 3 when 75-94 inclusive, 5 when ≥95, and 0 when ≤74. Never both 3 and 5."
      },
      "active_malignancy": {
       "type": "boolean",
       "description": "Solid or hematologic malignancy currently active or considered cured <1 year (caller-applied). true or false. 2 points if true."
      },
      "previous_dvt_or_pe": {
       "type": "boolean",
       "description": "Previous DVT or PE as assigned by the caller. true or false. 3 points if true."
      },
      "unilateral_lower_limb_pain": {
       "type": "boolean",
       "description": "Unilateral lower-limb pain. true or false. 3 points if true."
      },
      "surgery_or_fracture_within_1_month": {
       "type": "boolean",
       "description": "Surgery under general anesthesia or lower-limb fracture within 1 month (one combined flag). true or false. 2 points if true."
      },
      "pain_on_deep_vein_palpation_and_unilateral_edema": {
       "type": "boolean",
       "description": "Pain on deep-vein palpation AND unilateral edema as one combined flag. true or false. 4 points if true."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "str
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "path": "/api/calc/revised_geneva",
  "count": 2,
  "items": [
   {
    "score": 0,
    "formula": "revised_geneva",
    "citation": {
     "id": "le-gal-2006",
     "doi": "10.7326/0003-4819-144-3-200602070-00004",
     "title": "Prediction of pulmonary embolism in the emergency department: the revised Geneva score",
     "source": "Ann Intern Med. 2006;144(3):165-171",
     "authors": "Le Gal G, Righini M, Roy PM, et al."
    },
    "age_years": 50,
    "max_score": 22,
    "components": [
     {
      "value": 50,
      "factor": "age_gt_65",
      "points": 0,
      "present": false
     },
     {
      "factor": "previous_dvt_or_pe",
      "points": 0,
      "present": false
     },
     {
      "factor": "surgery_or_fracture_within_1_month",
      "points": 0,
      "present": false
     },
     {
      "factor": "active_malignancy",
      "points": 0,
      "present": false
     },
     {
      "factor": "unilateral_lower_limb_pain",
      "points": 0,
      "present": false
     },
     {
      "factor": "hemoptysis",
      "points": 0,
      "present": false
     },
     {
      "value": 70,
      "factor": "heart_rate_75_94",
      "points": 0,
      "present": false
     },
     {
      "value": 70,
      "factor": "heart_rate_ge_95",
      "points": 0,
      "present": false
     },
     {
      "factor": "pain_on_deep_vein_palpation_and_unilateral_edema",
      "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.",
    "geneva_band": "0-3",
    "heart_rate_bpm": 70,
    "formula_expression": "revised Geneva = age>65 (1) + previous_dvt_or_pe (3) + surgery_or_fracture_within_1_month (2) + active_malignancy (2) + unilateral_lower_limb_pain (3) + hemoptysis (2) + heart_rate_75_94 (3) or heart_rate_ge_95 (5) + pain_on_deep_vein_palpation_and_unilateral_edema (4); max 22; bands 0-3, 4-10, 11-22"
   },
   {
    "score": 0,
    "formula": "revised_geneva",
    "citation": {
     "id": "le-gal-2006",
     "doi": "10.7326/0003-4819-144-3-200602070-00004",
     "title": "Prediction of pulmonary embolism in the emergency department: the revised Geneva score",
     "source": "Ann Intern Med. 2006;144(3):165-171",
     "authors": "Le Gal G, Righini M, Roy PM, et al."
    },
    "age_years": 50,
    "max_score": 22,
    "compo
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/revised-geneva-score-for-pe-le-gal-2006-192bcd3f/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)
