MAGENT

Infection / VTE · LIVE

Geneva VTE prophylaxis score

Geneva prophylaxis score

Compute the Chopard 2006 Geneva risk score for VTE thromboprophylaxis in acutely ill medical inpatients from age and caller-assigned findings.

LIVE $0.005 USDC GET /api/calc/geneva_prophylaxis

Markdown: /docs/geneva-prophylaxis.md · Canonical: https://magentlab.com/docs/geneva-prophylaxis

Not a medical device. Not a diagnosis, dose, or listing recommendation.

What it computes

Compute the Chopard 2006 Geneva risk score for VTE thromboprophylaxis in acutely ill medical inpatients from age and caller-assigned findings.

When to use

When an agent needs the published Chopard 2006 Geneva prophylaxis point total (not the Revised Geneva PE diagnostic score, not Padua) for an acutely ill medical inpatient.

When not to use

  • Not a medical device and not a diagnosis of VTE. magent does not examine the patient; every flag is caller-assigned.
  • Chopard 2006 Geneva prophylaxis score for acutely ill medical inpatients only. Not the Revised Geneva PE diagnostic score (Le Gal 2006). Not Padua.
  • Obesity is a caller-applied BMI >30 flag; magent does not take height or weight.
  • Immobilization is a caller-applied flag (walk <30 min/day for ≥3 days); magent does not observe walking time.
  • Does not return Padua points, PE probabilities, or a prophylaxis regimen. risk_group high means published score ≥3 (prophylaxis indicated in the letter), not an order.

Formula

geneva_prophylaxis = cardiac_failure (2) + respiratory_failure (2) + recent_stroke (2) + recent_myocardial_infarction (2) + acute_infectious_disease (2) + acute_rheumatic_disease (2) + malignancy (2) + myeloproliferative_syndrome (2) + nephrotic_syndrome (2) + history_of_vte (2) + known_hypercoagulable_state (2) + immobilization_ge_3d (1) + recent_travel_gt_6h (1) + age>60 (1) + obesity_bmi_gt_30 (1) + chronic_venous_insufficiency (1) + pregnancy (1) + hormonal_therapy (1) + dehydration (1); Chopard 2006 letter table; max 30; <3 low, >=3 high (prophylaxis indicated)

Citation

Title
Identifying acutely ill medical patients requiring thromboprophylaxis
Authors
Chopard P, Spirk D, Bounameaux H
Source
J Thromb Haemost. 2006;4(4):915-916
DOI
10.1111/j.1538-7836.2006.01818.x

Worked example

All items absent

Given: acute_infectious_disease=falseacute_rheumatic_disease=falseage=50cardiac_failure=falsechronic_venous_insufficiency=falsedehydration=falsehistory_of_vte=falsehormonal_therapy=falseimmobilization_ge_3d=falseknown_hypercoagulable_state=falsemalignancy=falsemyeloproliferative_syndrome=falsenephrotic_syndrome=falseobesity_bmi_gt_30=falsepregnancy=falserecent_myocardial_infarction=falserecent_stroke=falserecent_travel_gt_6h=falserespiratory_failure=false

  1. Age 50 is not >60 → 0; all eighteen flags false → 0
  2. Score = 0 (max 30); risk_group low

Cardiac failure plus immobilization is high

Given: acute_infectious_disease=falseacute_rheumatic_disease=falseage=50cardiac_failure=truechronic_venous_insufficiency=falsedehydration=falsehistory_of_vte=falsehormonal_therapy=falseimmobilization_ge_3d=trueknown_hypercoagulable_state=falsemalignancy=falsemyeloproliferative_syndrome=falsenephrotic_syndrome=falseobesity_bmi_gt_30=falsepregnancy=falserecent_myocardial_infarction=falserecent_stroke=falserecent_travel_gt_6h=falserespiratory_failure=false

  1. cardiac_failure → 2; immobilization_ge_3d → 1
  2. Score = 3 (max 30); risk_group high (prophylaxis indicated ≥3)

Also searched as

  • Geneva prophylaxis score
  • Chopard 2006 Geneva score
  • Geneva thromboprophylaxis score
  • Chopard VTE prophylaxis
  • acutely ill medical VTE score
  • Geneva medical inpatient VTE
  • Chopard Geneva risk score

Try

Opens the live endpoint. Unpaid browser requests show the paywall; agents should send Accept: application/json.

/api/calc/geneva_prophylaxis?age=50&cardiac_failure=false&respiratory_failure=false&recent_stroke=false&recent_myocardial_infarction=false&acute_infectious_disease=false&acute_rheumatic_disease=false&malignancy=false&myeloproliferative_syndrome=false&nephrotic_syndrome=false&history_of_vte=false&known_hypercoagulable_state=false&immobilization_ge_3d=false&recent_travel_gt_6h=false&obesity_bmi_gt_30=false&chronic_venous_insufficiency=false&pregnancy=false&hormonal_therapy=false&dehydration=false

Full URL: https://api.magentlab.com/api/calc/geneva_prophylaxis?age=50&cardiac_failure=false&respiratory_failure=false&recent_stroke=false&recent_myocardial_infarction=false&acute_infectious_disease=false&acute_rheumatic_disease=false&malignancy=false&myeloproliferative_syndrome=false&nephrotic_syndrome=false&history_of_vte=false&known_hypercoagulable_state=false&immobilization_ge_3d=false&recent_travel_gt_6h=false&obesity_bmi_gt_30=false&chronic_venous_insufficiency=false&pregnancy=false&hormonal_therapy=false&dehydration=false

Call

Expect HTTP 402 until you retry with PAYMENT-SIGNATURE. Incomplete query params return HTTP 400 before any quote or charge.

curl -i -H "Accept: application/json" "https://api.magentlab.com/api/calc/geneva_prophylaxis?age=50&cardiac_failure=false&respiratory_failure=false&recent_stroke=false&recent_myocardial_infarction=false&acute_infectious_disease=false&acute_rheumatic_disease=false&malignancy=false&myeloproliferative_syndrome=false&nephrotic_syndrome=false&history_of_vte=false&known_hypercoagulable_state=false&immobilization_ge_3d=false&recent_travel_gt_6h=false&obesity_bmi_gt_30=false&chronic_venous_insufficiency=false&pregnancy=false&hormonal_therapy=false&dehydration=false"

Parameters

Name Type Required Description
age integer required Age in years (18-120). Age >60 scores 1 (Chopard 2006). Age 60 is the ≤60 arm and scores 0.
cardiac_failure boolean required Cardiac failure as assigned by the caller (Chopard 2006 Geneva prophylaxis table). true scores 2. magent does not examine the patient.
respiratory_failure boolean required Respiratory failure as assigned by the caller (Chopard 2006). true scores 2. magent does not examine the patient.
recent_stroke boolean required Recent stroke as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose stroke.
recent_myocardial_infarction boolean required Recent myocardial infarction as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose myocardial infarction.
acute_infectious_disease boolean required Acute infectious disease including sepsis as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose infection.
acute_rheumatic_disease boolean required Acute rheumatic disease as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose rheumatic disease.
malignancy boolean required Malignancy as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose cancer.
myeloproliferative_syndrome boolean required Myeloproliferative syndrome as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose a myeloproliferative neoplasm.
nephrotic_syndrome boolean required Nephrotic syndrome as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose nephrotic syndrome.
history_of_vte boolean required History of VTE as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose VTE.
known_hypercoagulable_state boolean required Known hypercoagulable state as assigned by the caller (Chopard 2006). true scores 2. magent does not interpret a thrombophilia panel.
immobilization_ge_3d boolean required Immobilization as assigned by the caller (walk <30 min/day for ≥3 days, Chopard 2006). true scores 1. magent does not observe walking time.
recent_travel_gt_6h boolean required Recent travel >6 hours as assigned by the caller (Chopard 2006). true scores 1.
obesity_bmi_gt_30 boolean required Obesity as assigned by the caller (BMI >30, Chopard 2006). true scores 1. magent does not take height or weight.
chronic_venous_insufficiency boolean required Chronic venous insufficiency as assigned by the caller (Chopard 2006). true scores 1. magent does not examine the patient.
pregnancy boolean required Pregnancy as assigned by the caller (Chopard 2006). true scores 1. magent does not confirm pregnancy.
hormonal_therapy boolean required Hormonal therapy as assigned by the caller (Chopard 2006). true scores 1.
dehydration boolean required Dehydration as assigned by the caller (Chopard 2006). true scores 1. magent does not assay volume status.

Bulk (POST)

POST the same path with a JSON items array. The first item is the GET unit; each additional item is $0.002. Invalid items return HTTP 400 before settlement.

POST /api/calc/geneva_prophylaxis Max 25 unit_amount + extra_item_amount * (n - 1) extra $0.002 PREVIEW

  • 1 to 25 items. Each item uses the same keys as the GET query parameters.
  • POST of 1 item costs the same as GET. Lists longer than 25: chunk into multiple POSTs. Extra items still execute; do not pad dummy rows.
  • The first invalid item fails the whole request (index in the 400 JSON). You are not charged.
  • HTTP 200 is {count, path, items}. Each items[i] is the GET 200 body for that row.
  • Catalog misses (empty matches, found=false) stay paid 200s inside that slot.
  • x402 resource URL is this path plus n and body_sha256. Browsers that prefer text/html get the same paywall as GET; Pay retries POST with the same items.

Example request (fixture)

{
  "items": [
    {
      "acute_infectious_disease": "false",
      "acute_rheumatic_disease": "false",
      "age": "50",
      "cardiac_failure": "false",
      "chronic_venous_insufficiency": "false",
      "dehydration": "false",
      "history_of_vte": "false",
      "hormonal_therapy": "false",
      "immobilization_ge_3d": "false",
      "known_hypercoagulable_state": "false",
      "malignancy": "false",
      "myeloproliferative_syndrome": "false",
      "nephrotic_syndrome": "false",
      "obesity_bmi_gt_30": "false",
      "pregnancy": "false",
      "recent_myocardial_infarction": "false",
      "recent_stroke": "false",
      "recent_travel_gt_6h": "false",
      "respiratory_failure": "false"
    },
    {
      "acute_infectious_disease": "false",
      "acute_rheumatic_disease": "false",
      "age": "50",
      "cardiac_failure": "false",
      "chronic_venous_insufficiency": "false",
      "dehydration": "false",
      "history_of_vte": "false",
      "hormonal_therapy": "false",
      "immobilization_ge_3d": "false",
      "known_hypercoagulable_state": "false",
      "malignancy": "false",
      "myeloproliferative_syndrome": "false",
      "nephrotic_syndrome": "false",
      "obesity_bmi_gt_30": "false",
      "pregnancy": "false",
      "recent_myocardial_infarction": "false",
      "recent_stroke": "false",
      "recent_travel_gt_6h": "false",
      "respiratory_failure": "false"
    }
  ]
}

Open bulk paywall →

Opens a two-item fixture on the API host. Unpaid browsers get the same MetaMask paywall as GET; Pay retries POST with those items.

Example 200 (fixture)

{
  "count": 2,
  "path": "/api/calc/geneva_prophylaxis",
  "items": [
    {
      "components": [
        {
          "factor": "cardiac_failure",
          "points": 0,
          "present": false
        },
        {
          "factor": "respiratory_failure",
          "points": 0,
          "present": false
        },
        {
          "factor": "recent_stroke",
          "points": 0,
          "present": false
        },
        {
          "factor": "recent_myocardial_infarction",
          "points": 0,
          "present": false
        },
        {
          "factor": "acute_infectious_disease",
          "points": 0,
          "present": false
        },
        {
          "factor": "acute_rheumatic_disease",
          "points": 0,
          "present": false
        },
        {
          "factor": "malignancy",
          "points": 0,
          "present": false
        },
        {
          "factor": "myeloproliferative_syndrome",
          "points": 0,
          "present": false
        },
        {
          "factor": "nephrotic_syndrome",
          "points": 0,
          "present": false
        },
        {
          "factor": "history_of_vte",
          "points": 0,
          "present": false
        },
        {
          "factor": "known_hypercoagulable_state",
          "points": 0,
          "present": false
        },
        {
          "factor": "immobilization_ge_3d",
          "points": 0,
          "present": false
        },
        {
          "factor": "recent_travel_gt_6h",
          "points": 0,
          "present": false
        },
        {
          "value": 50,
          "factor": "age_gt_60",
          "points": 0,
          "present": false
        },
        {
          "factor": "obesity_bmi_gt_30",
          "points": 0,
          "present": false
        },
        {
          "factor": "chronic_venous_insufficiency",
          "points": 0,
          "present": false
        },
        {
          "factor": "pregnancy",
          "points": 0,
          "present": false
        },
        {
          "factor": "hormonal_therapy",
          "points": 0,
          "present": false
        },
        {
          "factor": "dehydration",
          "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.",
      "citation": {
        "authors": "Chopard P, Spirk D, Bounameaux H",
        "doi": "10.1111/j.1538-7836.2006.01818.x",
        "id": "chopard-2006",
        "pmid": "16553641",
        "source": "J Thromb Haemost. 2006;4(4):915-916",
        "title": "Identifying acutely ill medical patients requiring thromboprophylaxis"
      },
      "formula": "geneva_prophylaxis",
      "formula_expression": "geneva_prophylaxis = cardiac_failure (2) + respiratory_failure (2) + recent_stroke (2) + recent_myocardial_infarction (2) + acute_infectious_disease (2) + acute_rheumatic_disease (2) + malignancy (2) + myeloproliferative_syndrome (2) + nephrotic_syndrome (2) + history_of_vte (2) + known_hypercoagulable_state (2) + immobilization_ge_3d (1) + recent_travel_gt_6h (1) + age>60 (1) + obesity_bmi_gt_30 (1) + chronic_venous_insufficiency (1) + pregnancy (1) + hormonal_therapy (1) + dehydration (1); Chopard 2006 letter table; max 30; <3 low, >=3 high (prophylaxis indicated)",
      "age_years": 50,
      "max_score": 30,
      "score": 0,
      "risk_group": "low"
    },
    {
      "components": [
        {
          "factor": "cardiac_failure",
          "points": 0,
          "present": false
        },
        {
          "factor": "respiratory_failure",
          "points": 0,
          "present": false
        },
        {
          "factor": "recent_stroke",
          "points": 0,
          "present": false
        },
        {
          "factor": "recent_myocardial_infarction",
          "points": 0,
          "present": false
        },
        {
          "factor": "acute_infectious_disease",
          "points": 0,
          "present": false
        },
        {
          "factor": "acute_rheumatic_disease",
          "points": 0,
          "present": false
        },
        {
          "factor": "malignancy",
          "points": 0,
          "present": false
        },
        {
          "factor": "myeloproliferative_syndrome",
          "points": 0,
          "present": false
        },
        {
          "factor": "nephrotic_syndrome",
          "points": 0,
          "present": false
        },
        {
          "factor": "history_of_vte",
          "points": 0,
          "present": false
        },
        {
          "factor": "known_hypercoagulable_state",
          "points": 0,
          "present": false
        },
        {
          "factor": "immobilization_ge_3d",
          "points": 0,
          "present": false
        },
        {
          "factor": "recent_travel_gt_6h",
          "points": 0,
          "present": false
        },
        {
          "value": 50,
          "factor": "age_gt_60",
          "points": 0,
          "present": false
        },
        {
          "factor": "obesity_bmi_gt_30",
          "points": 0,
          "present": false
        },
        {
          "factor": "chronic_venous_insufficiency",
          "points": 0,
          "present": false
        },
        {
          "factor": "pregnancy",
          "points": 0,
          "present": false
        },
        {
          "factor": "hormonal_therapy",
          "points": 0,
          "present": false
        },
        {
          "factor": "dehydration",
          "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.",
      "citation": {
        "authors": "Chopard P, Spirk D, Bounameaux H",
        "doi": "10.1111/j.1538-7836.2006.01818.x",
        "id": "chopard-2006",
        "pmid": "16553641",
        "source": "J Thromb Haemost. 2006;4(4):915-916",
        "title": "Identifying acutely ill medical patients requiring thromboprophylaxis"
      },
      "formula": "geneva_prophylaxis",
      "formula_expression": "geneva_prophylaxis = cardiac_failure (2) + respiratory_failure (2) + recent_stroke (2) + recent_myocardial_infarction (2) + acute_infectious_disease (2) + acute_rheumatic_disease (2) + malignancy (2) + myeloproliferative_syndrome (2) + nephrotic_syndrome (2) + history_of_vte (2) + known_hypercoagulable_state (2) + immobilization_ge_3d (1) + recent_travel_gt_6h (1) + age>60 (1) + obesity_bmi_gt_30 (1) + chronic_venous_insufficiency (1) + pregnancy (1) + hormonal_therapy (1) + dehydration (1); Chopard 2006 letter table; max 30; <3 low, >=3 high (prophylaxis indicated)",
      "age_years": 50,
      "max_score": 30,
      "score": 0,
      "risk_group": "low"
    }
  ]
}

Response

Field Type Description
formula string geneva_prophylaxis
formula_expression string Exact expression used
score integer Total points 0-30
max_score integer Always 30 (11×2 + 8×1)
risk_group string low when score is <3; high when score is ≥3 (Chopard 2006 prophylaxis indicated). Not a diagnosis or prophylaxis order. Not Padua.
age_years integer Age used for the >60 criterion
components array Per-factor points
citation object Chopard 2006 citation
disclaimer string Not-a-device notice

Example JSON

Machine form of the same example. Frozen fixture. Not a live lookup.

{
  "components": [
    {
      "factor": "cardiac_failure",
      "points": 0,
      "present": false
    },
    {
      "factor": "respiratory_failure",
      "points": 0,
      "present": false
    },
    {
      "factor": "recent_stroke",
      "points": 0,
      "present": false
    },
    {
      "factor": "recent_myocardial_infarction",
      "points": 0,
      "present": false
    },
    {
      "factor": "acute_infectious_disease",
      "points": 0,
      "present": false
    },
    {
      "factor": "acute_rheumatic_disease",
      "points": 0,
      "present": false
    },
    {
      "factor": "malignancy",
      "points": 0,
      "present": false
    },
    {
      "factor": "myeloproliferative_syndrome",
      "points": 0,
      "present": false
    },
    {
      "factor": "nephrotic_syndrome",
      "points": 0,
      "present": false
    },
    {
      "factor": "history_of_vte",
      "points": 0,
      "present": false
    },
    {
      "factor": "known_hypercoagulable_state",
      "points": 0,
      "present": false
    },
    {
      "factor": "immobilization_ge_3d",
      "points": 0,
      "present": false
    },
    {
      "factor": "recent_travel_gt_6h",
      "points": 0,
      "present": false
    },
    {
      "value": 50,
      "factor": "age_gt_60",
      "points": 0,
      "present": false
    },
    {
      "factor": "obesity_bmi_gt_30",
      "points": 0,
      "present": false
    },
    {
      "factor": "chronic_venous_insufficiency",
      "points": 0,
      "present": false
    },
    {
      "factor": "pregnancy",
      "points": 0,
      "present": false
    },
    {
      "factor": "hormonal_therapy",
      "points": 0,
      "present": false
    },
    {
      "factor": "dehydration",
      "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.",
  "citation": {
    "authors": "Chopard P, Spirk D, Bounameaux H",
    "doi": "10.1111/j.1538-7836.2006.01818.x",
    "id": "chopard-2006",
    "pmid": "16553641",
    "source": "J Thromb Haemost. 2006;4(4):915-916",
    "title": "Identifying acutely ill medical patients requiring thromboprophylaxis"
  },
  "formula": "geneva_prophylaxis",
  "formula_expression": "geneva_prophylaxis = cardiac_failure (2) + respiratory_failure (2) + recent_stroke (2) + recent_myocardial_infarction (2) + acute_infectious_disease (2) + acute_rheumatic_disease (2) + malignancy (2) + myeloproliferative_syndrome (2) + nephrotic_syndrome (2) + history_of_vte (2) + known_hypercoagulable_state (2) + immobilization_ge_3d (1) + recent_travel_gt_6h (1) + age>60 (1) + obesity_bmi_gt_30 (1) + chronic_venous_insufficiency (1) + pregnancy (1) + hormonal_therapy (1) + dehydration (1); Chopard 2006 letter table; max 30; <3 low, >=3 high (prophylaxis indicated)",
  "age_years": 50,
  "max_score": 30,
  "score": 0,
  "risk_group": "low"
}

Client errors (HTTP 400)

Invalid params return 400 without charge. Shared HTTP 402 and 503 meanings: Payments.

HTTP Code When
400 invalid_age age must be an integer from 18 to 120 Returned before settlement; you are not charged.
400 invalid_geneva_prophylaxis each Chopard 2006 Geneva prophylaxis flag must be true or false. Returned before settlement; you are not charged.
400 invalid_flag boolean clinical flags must be true or false Returned before settlement; you are not charged.
400 invalid_items POST body must be a JSON object with only an items array Returned before settlement; you are not charged.
400 invalid_item_count items must be an array of 1 to 25 objects Returned before settlement; you are not charged.
400 invalid_item each items entry must be a JSON object Returned before settlement; you are not charged.

Related tools

  • Padua score — Compute the Barbar 2010 Padua Prediction Score for VTE risk in hospitalized medical patients from age and ten caller-assigned findings.

Payment

Unpaid requests return HTTP 402 even if query parameters or POST items are missing or invalid, so CDP and agents can index the path. After a PAYMENT-SIGNATURE, invalid params return HTTP 400 JSON before settlement. magent does not charge. Fix the params, then request a new 402 quote for that complete URL. Catalog misses (empty matches, found=false) are valid paid 200s. Unpaid valid requests return HTTP 402 with a base64 PAYMENT-REQUIRED header. HTTP 503 is not a new quote: retry the same PAYMENT-SIGNATURE. Full handshake and shared payment errors: Payments. Stdio MCP: /docs/mcp.

Guarantees

  • HTTP 402 is unpaid, including a missing query. After PAYMENT-SIGNATURE, invalid parameters return HTTP 400 before settlement. You are not charged. HTTP 402 never includes the tool JSON.
  • exact: settlement finishes before the tool (paymentFlow upfront). batch-settlement: verify/deposit before the tool; chargedCumulativeAmount commits after HTTP 2xx. Uncertain or failed settlement fails closed (HTTP 503). Retry the same PAYMENT-SIGNATURE.
  • HTTP 402 is unpaid only. Do not sign a second authorization because of a 503.
  • Execution is timeout-bounded and concurrency-capped.
  • Calculator inputs are stored encrypted for allowlisted operators (Magent Console). They are not in public logs, SSH lookups, catalog, or rollups. Request logs store path without query.