{
  "x402Version": 2,
  "id": 38867,
  "slug": "38867",
  "resource": "https://api.magentlab.com/api/calc/revised_geneva",
  "description": "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.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "active_malignancy": false,
                "age": 50,
                "heart_rate_bpm": 70,
                "hemoptysis": false,
                "pain_on_deep_vein_palpation_and_unilateral_edema": false,
                "previous_dvt_or_pe": false,
                "surgery_or_fracture_within_1_month": false,
                "unilateral_lower_limb_pain": false
              },
              {
                "active_malignancy": false,
                "age": 50,
                "heart_rate_bpm": 70,
                "hemoptysis": false,
                "pain_on_deep_vein_palpation_and_unilateral_edema": false,
                "previous_dvt_or_pe": false,
                "surgery_or_fracture_within_1_month": false,
                "unilateral_lower_limb_pain": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 50,
                "citation": {
                  "authors": "Le Gal G, Righini M, Roy PM, et al.",
                  "doi": "10.7326/0003-4819-144-3-200602070-00004",
                  "id": "le-gal-2006",
                  "source": "Ann Intern Med. 2006;144(3):165-171",
                  "title": "Prediction of pulmonary embolism in the emergency department: the revised Geneva score"
                },
                "components": [
                  {
                    "factor": "age_gt_65",
                    "points": 0,
                    "present": false,
                    "value": 50
                  },
                  {
                    "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
                  },
                  {
                    "factor": "heart_rate_75_94",
                    "points": 0,
                    "present": false,
                    "value": 70
                  },
                  {
                    "factor": "heart_rate_ge_95",
                    "points": 0,
                    "present": false,
                    "value": 70
                  },
                  {
                    "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.",
                "formula": "revised_geneva",
                "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",
                "geneva_band": "0-3",
                "heart_rate_bpm": 70,
                "max_score": 22,
                "score": 0
              },
              {
                "age_years": 50,
                "citation": {
                  "authors": "Le Gal G, Righini M, Roy PM, et al.",
                  "doi": "10.7326/0003-4819-144-3-200602070-00004",
                  "id": "le-gal-2006",
                  "source": "Ann Intern Med. 2006;144(3):165-171",
                  "title": "Prediction of pulmonary embolism in the emergency department: the revised Geneva score"
                },
                "components": [
                  {
                    "factor": "age_gt_65",
                    "points": 0,
                    "present": false,
                    "value": 50
                  },
                  {
                    "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
                  },
                  {
                    "factor": "heart_rate_75_94",
                    "points": 0,
                    "present": false,
                    "value": 70
                  },
                  {
                    "factor": "heart_rate_ge_95",
                    "points": 0,
                    "present": false,
                    "value": 70
                  },
                  {
                    "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.",
                "formula": "revised_geneva",
                "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",
                "geneva_band": "0-3",
                "heart_rate_bpm": 70,
                "max_score": 22,
                "score": 0
              }
            ],
            "path": "/api/calc/revised_geneva"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "active_malignancy": {
                          "description": "Solid or hematologic malignancy currently active or considered cured <1 year (caller-applied). true or false. 2 points if true.",
                          "type": "boolean"
                        },
                        "age": {
                          "description": "Age in years (18-120). Scores 1 when age >65; 65 does not score.",
                          "type": "integer"
                        },
                        "heart_rate_bpm": {
                          "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.",
                          "type": "integer"
                        },
                        "hemoptysis": {
                          "description": "Hemoptysis. true or false. 2 points if true.",
                          "type": "boolean"
                        },
                        "pain_on_deep_vein_palpation_and_unilateral_edema": {
                          "description": "Pain on deep-vein palpation AND unilateral edema as one combined flag. true or false. 4 points if true.",
                          "type": "boolean"
                        },
                        "previous_dvt_or_pe": {
                          "description": "Previous DVT or PE as assigned by the caller. true or false. 3 points if true.",
                          "type": "boolean"
                        },
                        "surgery_or_fracture_within_1_month": {
                          "description": "Surgery under general anesthesia or lower-limb fracture within 1 month (one combined flag). true or false. 2 points if true.",
                          "type": "boolean"
                        },
                        "unilateral_lower_limb_pain": {
                          "description": "Unilateral lower-limb pain. true or false. 3 points if true.",
                          "type": "boolean"
                        }
                      },
                      "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"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "revised-geneva",
    "pe",
    "vte",
    "probability",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T12:26:33.906Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T12:26:33.748Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "active_malignancy": false,
                  "age": 50,
                  "heart_rate_bpm": 70,
                  "hemoptysis": false,
                  "pain_on_deep_vein_palpation_and_unilateral_edema": false,
                  "previous_dvt_or_pe": false,
                  "surgery_or_fracture_within_1_month": false,
                  "unilateral_lower_limb_pain": false
                },
                {
                  "active_malignancy": false,
                  "age": 50,
                  "heart_rate_bpm": 70,
                  "hemoptysis": false,
                  "pain_on_deep_vein_palpation_and_unilateral_edema": false,
                  "previous_dvt_or_pe": false,
                  "surgery_or_fracture_within_1_month": false,
                  "unilateral_lower_limb_pain": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 50,
                  "citation": {
                    "authors": "Le Gal G, Righini M, Roy PM, et al.",
                    "doi": "10.7326/0003-4819-144-3-200602070-00004",
                    "id": "le-gal-2006",
                    "source": "Ann Intern Med. 2006;144(3):165-171",
                    "title": "Prediction of pulmonary embolism in the emergency department: the revised Geneva score"
                  },
                  "components": [
                    {
                      "factor": "age_gt_65",
                      "points": 0,
                      "present": false,
                      "value": 50
                    },
                    {
                      "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
                    },
                    {
                      "factor": "heart_rate_75_94",
                      "points": 0,
                      "present": false,
                      "value": 70
                    },
                    {
                      "factor": "heart_rate_ge_95",
                      "points": 0,
                      "present": false,
                      "value": 70
                    },
                    {
                      "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.",
                  "formula": "revised_geneva",
                  "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",
                  "geneva_band": "0-3",
                  "heart_rate_bpm": 70,
                  "max_score": 22,
                  "score": 0
                },
                {
                  "age_years": 50,
                  "citation": {
                    "authors": "Le Gal G, Righini M, Roy PM, et al.",
                    "doi": "10.7326/0003-4819-144-3-200602070-00004",
                    "id": "le-gal-2006",
                    "source": "Ann Intern Med. 2006;144(3):165-171",
                    "title": "Prediction of pulmonary embolism in the emergency department: the revised Geneva score"
                  },
                  "components": [
                    {
                      "factor": "age_gt_65",
                      "points": 0,
                      "present": false,
                      "value": 50
                    },
                    {
                      "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
                    },
                    {
                      "factor": "heart_rate_75_94",
                      "points": 0,
                      "present": false,
                      "value": 70
                    },
                    {
                      "factor": "heart_rate_ge_95",
                      "points": 0,
                      "present": false,
                      "value": 70
                    },
                    {
                      "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.",
                  "formula": "revised_geneva",
                  "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",
                  "geneva_band": "0-3",
                  "heart_rate_bpm": 70,
                  "max_score": 22,
                  "score": 0
                }
              ],
              "path": "/api/calc/revised_geneva"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "active_malignancy": {
                            "description": "Solid or hematologic malignancy currently active or considered cured <1 year (caller-applied). true or false. 2 points if true.",
                            "type": "boolean"
                          },
                          "age": {
                            "description": "Age in years (18-120). Scores 1 when age >65; 65 does not score.",
                            "type": "integer"
                          },
                          "heart_rate_bpm": {
                            "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.",
                            "type": "integer"
                          },
                          "hemoptysis": {
                            "description": "Hemoptysis. true or false. 2 points if true.",
                            "type": "boolean"
                          },
                          "pain_on_deep_vein_palpation_and_unilateral_edema": {
                            "description": "Pain on deep-vein palpation AND unilateral edema as one combined flag. true or false. 4 points if true.",
                            "type": "boolean"
                          },
                          "previous_dvt_or_pe": {
                            "description": "Previous DVT or PE as assigned by the caller. true or false. 3 points if true.",
                            "type": "boolean"
                          },
                          "surgery_or_fracture_within_1_month": {
                            "description": "Surgery under general anesthesia or lower-limb fracture within 1 month (one combined flag). true or false. 2 points if true.",
                            "type": "boolean"
                          },
                          "unilateral_lower_limb_pain": {
                            "description": "Unilateral lower-limb pain. true or false. 3 points if true.",
                            "type": "boolean"
                          }
                        },
                        "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"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}