ToolAssay

Ghanem 2012 Table 5 bedside preoperative mortality predictor

Ghanem 2012 Table 5 bedside preoperative mortality predictor. Inpatient 6, sepsis 4, poor functional status (total ADL assistance) 3, disseminated cancer 1, age (≥80 → 2; 70–79 → 1; 65–69 → 0.5; else 0), cardiac 5, pulmonary 3, renal 1, liver 1, chronic steroid 1, >10% weight loss 1, bleeding disorder 1, DNR 1, obesity −1. Range −1 to 30. Figure 3: <1% died in 0–5, 73% in 20–30. Not a go/no-go for surgery.

Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
301 msmedian answer time
$0.005listed price per call
$0.007price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://api.magentlab.com/api/calc/pmp

CategoryEverything else
Provider hostapi.magentlab.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days0 from 0 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-28 valid payment request 402$0.007 301 ms

Example input (from the provider)

{
  "body": {
    "items": [
      {
        "age": 50,
        "bleeding_disorder": false,
        "cardiac_comorbidity": false,
        "disseminated_cancer": false,
        "dnr": false,
        "inpatient": false,
        "liver_comorbidity": false,
        "obesity": true,
        "poor_functional_status": false,
        "pulmonary_comorbidity": false,
        "renal_comorbidity": false,
        "sepsis": false,
        "steroid_chronic": false,
        "weight_loss_gt_10_percent": false
      },
      {
        "age": 50,
        "bleeding_disorder": false,
        "cardiac_comorbidity": false,
        "disseminated_cancer": false,
        "dnr": false,
        "inpatient": false,
        "liver_comorbidity": false,
        "obesity": true,
        "poor_functional_status": false,
        "pulmonary_comorbidity": false,
        "renal_comorbidity": false,
        "sepsis": false,
        "steroid_chronic": false,
        "weight_loss_gt_10_percent": false
      }
    ]
  },
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "items": {
              "items": {
                "properties": {
                  "age": {
                    "description": "Age in years (18-120). Ghanem 2012 Table 5: \u226580 \u2192 2; 70\u201379 \u2192 1; 65\u201369 \u2192 0.5; <65 \u2192 0. Age 65 and 69 score 0.5; 70 and 79 score 1; 80 scores 2. Table 5 only (not the Discussion 1 / 1.5 / 2.5 wording).",
                    "type": "integer"
                  },
                  "bleeding_disorder": {
                    "description": "Bleeding disorder as assigned by the caller (Ghanem 2012 Table 5). true scores 1. magent does not diagnose coagulopathy.",
                    "type": "boolean"
                  },
                  "cardiac_comorbidity": {
                    "description": "Cardiac comorbidity as assigned by the caller (Ghanem 2012: dyspnea, heart failure, myocardial infarction, angina, peripheral artery disease, or hypertension requiring medication). true scores 5. magent does not diagnose cardiac disease.",
                    "type": "boolean"
                  },
                  "disseminated_cancer": {
                    "description": "Disseminated cancer as assigned by the caller (Ghanem 2012 Table 5). true scores 1. magent does not diagnose cancer.",
                    "type": "boolean"
                  },
                  "dnr": {
                    "description": "Do-not-resuscitate directive (Ghanem 2012 Table 5). true scores 1. magent does not read code-status orders.",
                    "type": "boolean"
                  },
                  "inpatient": {
                    "description": "Inpatient status (Ghanem 2012 Table 5). true scores 6. Caller-assigned; magent does not classify admission status.",
                    "type": "boolean"
                  },
                  "liver_comorbidity": {
                    "description": "Liver comorbidity as assigned by the caller (Ghanem 2012: ascites or esophageal varices). true scores 1. magent does not grade liver disease.",
                    "type": "boolean"
                  },
                  "obesity": {
                    "description": "Obesity as assigned by the caller (Ghanem 2012 Table 5). true scores \u22121. magent does not compute BMI.",
                    "type": "boolean"
                  },
                  "poor_functional_status": {
                    "description": "Poor functional status: total assistance required for all daily activities (Ghanem 2012 Table 5 / NSQIP totally dependent). true scores 3. magent does not assign functional status.",
                    "type": "boolean"
                  },
                  "pulmonary_comorbidity": {
                    "description": "Pulmonary comorbidity as assigned by the caller (Ghanem 2012: ventilator, COPD, or current pneumonia). true scores 3. magent does not diagnose lung disease.",
                    "type": "boolean"
                  },
                  "renal_comorbidity": {
                    "description": "Renal comorbidity as assigned by the caller (Ghanem 2012: dialysis or renal failure). true scores 1. magent does not grade kidney disease.",
                    "type": "boolean"
                  },
                  "sepsis": {
                    "description": "Preoperative sepsis as assigned by the caller (Ghanem 2012 Table 5). true scores 4. magent does not diagnose sepsis.",
                    "type": "boolean"
                  },
                  "steroid_chronic": {
                    "description": "Steroid for a chronic condition (Ghanem 2012 Table 5). true scores 1. magent does not read a medication list.",
                    "type": "boolean"
                  },
                  "weight_loss_gt_10_percent": {
                    "description": "Loss of >10% body weight in the last 6 months (Ghanem 2012 Table 5). true scores 1. magent does not compute weight change.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "age",
                  "inpatient",
                  "sepsis",
                  "poor_functional_status",
                  "disseminated_cancer",
                  "cardiac_comorbidity",
                  "pulmonary_comorbidity",
                  "renal_comorbidity",
                  "liver_comorbidity",
                  "steroid_chronic",
                  "weight_loss_gt_10_percent",
                  "bleeding_disorder",
                  "dnr",
                  "obesity"
                ],
                "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"
}

This page as JSON