{"uid":"cap_LjexBl_0hKQaQyeQdpA92","slug":"ghanem-2012-preoperative-mortality-predictor-pmp-f8badc3b","name":"Ghanem 2012 Preoperative Mortality Predictor (PMP)","description":"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.","url":"https://api.magentlab.com/api/calc/pmp","method":"GET","headers":{},"bodySchema":{"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","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"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). Ghanem 2012 Table 5: ≥80 → 2; 70–79 → 1; 65–69 → 0.5; <65 → 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)."},"dnr":{"type":"boolean","description":"Do-not-resuscitate directive (Ghanem 2012 Table 5). true scores 1. magent does not read code-status orders."},"sepsis":{"type":"boolean","description":"Preoperative sepsis as assigned by the caller (Ghanem 2012 Table 5). true scores 4. magent does not diagnose sepsis."},"obesity":{"type":"boolean","description":"Obesity as assigned by the caller (Ghanem 2012 Table 5). true scores −1. magent does not compute BMI."},"inpatient":{"type":"boolean","description":"Inpatient status (Ghanem 2012 Table 5). true scores 6. Caller-assigned; magent does not classify admission status."},"steroid_chronic":{"type":"boolean","description":"Steroid for a chronic condition (Ghanem 2012 Table 5). true scores 1. magent does not read a medication list."},"bleeding_disorder":{"type":"boolean","description":"Bleeding disorder as assigned by the caller (Ghanem 2012 Table 5). true scores 1. magent does not diagnose coagulopathy."},"liver_comorbidity":{"type":"boolean","description":"Liver comorbidity as assigned by the caller (Ghanem 2012: ascites or esophageal varices). true scores 1. magent does not grade liver disease."},"renal_comorbidity":{"type":"boolean","description":"Renal comorbidity as assigned by the caller (Ghanem 2012: dialysis or renal failure). true scores 1. magent does not grade kidney disease."},"cardiac_comorbidity":{"type":"boolean","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."},"disseminated_cancer":{"type":"boolean","description":"Disseminated cancer as assigned by the caller (Ghanem 2012 Table 5). true scores 1. magent does not diagnose cancer."},"pulmonary_comorbidity":{"type":"boolean","description":"Pulmonary comorbidity as assigned by the caller (Ghanem 2012: ventilator, COPD, or current pneumonia). true scores 3. magent does not diagnose lung disease."},"poor_functional_status":{"type":"boolean","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."},"weight_loss_gt_10_percent":{"type":"boolean","description":"Loss of >10% body weight in the last 6 months (Ghanem 2012 Table 5). true scores 1. magent does not compute weight change."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_riVjGPqAynV9eNWrwTcz-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Ghanem 2012 Table 5 preoperative mortality risk score from up to 14 caller-assigned clinical flags, returning a numeric score (range −1 to 30) with an associated mortality probability band.","exampleAgentPrompt":"Calculate the Ghanem 2012 preoperative mortality score for a 78-year-old inpatient who has sepsis, poor functional status requiring total ADL assistance, a pulmonary comorbidity, a bleeding disorder, and is not obese, has no DNR, no disseminated cancer, no cardiac, renal, or liver issues, not on chronic steroids, and no significant weight loss.","exampleUseCases":[{"title":"Pre-op risk briefing for elderly inpatient","prompt":"My patient is an 82-year-old inpatient with sepsis, needs total assistance with all ADLs, has a cardiac comorbidity and a pulmonary comorbidity, no disseminated cancer, no liver or renal issues, not on steroids, no significant weight loss, no bleeding disorder, no DNR, and is not obese — can you compute the Ghanem PMP score so I can understand the mortality risk band before surgery?"},{"title":"Surgical risk triage for oncology patient","prompt":"I have a 71-year-old outpatient with disseminated cancer, a bleeding disorder, chronic steroid use, more than 10% weight loss, a renal comorbidity, no sepsis, normal functional status, no cardiac or pulmonary or liver issues, no DNR, and not obese — please run the Ghanem 2012 preoperative mortality predictor and tell me the total score and approximate mortality probability."},{"title":"DNR patient pre-surgery risk documentation","prompt":"Before this elective procedure, I need the Ghanem preoperative mortality score for a 65-year-old outpatient who has a DNR order, a liver comorbidity, obesity, no sepsis, independent functional status, no disseminated cancer, no cardiac, pulmonary, or renal comorbidities, not on chronic steroids, no significant weight loss, and no bleeding disorder."}],"resultDescription":"Returns the Ghanem 2012 Table 5 total PMP score (integer or half-point, range −1 to 30) along with the associated Figure 3 mortality probability band (e.g., <1% for scores 0–5, up to 73% for scores 20–30). Does not make a go/no-go surgical recommendation.","failureModes":["Missing required query parameters (age or any boolean flag) returns a 400 error","Age outside 18–120 range returns a validation error","Boolean fields passed as non-boolean strings may cause a parse error","Payment failure or missing x402 header returns a 402 Payment Required response","Network timeout if the endpoint is temporarily unavailable"],"whenToPreferThis":"Use this endpoint when you need to programmatically compute the validated Ghanem 2012 Table 5 preoperative mortality score for a surgical patient and want a reliable, auditable arithmetic result without building the scoring logic yourself. Prefer it over manual calculation when integrating risk scores into clinical decision-support pipelines, EHR summarization agents, or pre-operative checklists where accuracy and reproducibility matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:21:16.724Z","isFirstParty":false}