{"uid":"cap_nq4lG6YISL-oLTWYrQ9dY","slug":"surgical-apgar-score-calculator-gawande-2007-189e001a","name":"Surgical Apgar Score Calculator (Gawande 2007)","description":"Intraoperative Surgical Apgar (Gawande 2007 Table 1) from estimated blood loss, lowest mean arterial pressure, and lowest heart rate, summed to a 0–10 total. Returns score_le_4 because scores ≤4 were associated with 58.6% 30-day death or major complication in the validation cohort (9–10 associated with 3.6%). Deterministic published arithmetic with citation; not Virginia Apgar; not operative clearance.","url":"https://api.magentlab.com/api/calc/surgical_apgar","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":["ebl_ml","lowest_map_mm_hg","lowest_heart_rate_bpm"],"properties":{"ebl_ml":{"type":"number","description":"Estimated intraoperative blood loss in mL (0.0-20000.0). Gawande 2007 Table 1: >1000 → 0, 601-1000 → 1, 101-600 → 2, ≤100 → 3."},"lowest_map_mm_hg":{"type":"number","description":"Lowest intraoperative mean arterial pressure in mm Hg (30.0-180.0). Gawande 2007 Table 1: <40 → 0, 40-54 → 1, 55-69 → 2, ≥70 → 3."},"lowest_heart_rate_bpm":{"type":"integer","description":"Lowest intraoperative heart rate in beats/min (integer 30-220). Gawande 2007 Table 1: >85 → 0, 76-85 → 1, 66-75 → 2, 56-65 → 3, ≤55 → 4."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/surgical_apgar","count":2,"items":[{"score":9,"ebl_ml":50,"formula":"surgical_apgar","citation":{"id":"gawande-2007","doi":"10.1016/j.jamcollsurg.2006.11.011","pmid":"17254927","title":"An Apgar score for surgery","source":"J Am Coll Surg. 2007;204(2):201-208","authors":"Gawande AA, Kwaan MR, Regenbogen SE, Lipsitz SA, Zinner MJ"},"max_score":10,"components":[{"value":50,"factor":"ebl_ml","points":3,"present":true},{"value":80,"factor":"lowest_map_mm_hg","points":3,"present":true},{"value":60,"factor":"lowest_heart_rate_bpm","points":3,"present":true}],"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.","score_le_4":false,"lowest_map_mm_hg":80,"formula_expression":"Surgical Apgar = ebl_points + lowest_map_points + lowest_hr_points; Gawande 2007 Table 1; max 10","lowest_heart_rate_bpm":60},{"score":9,"ebl_ml":50,"formula":"surgical_apgar","citation":{"id":"gawande-2007","doi":"10.1016/j.jamcollsurg.2006.11.011","pmid":"17254927","title":"An Apgar score for surgery","source":"J Am Coll Surg. 2007;204(2):201-208","authors":"Gawande AA, Kwaan MR, Regenbogen SE, Lipsitz SA, Zinner MJ"},"max_score":10,"components":[{"value":50,"factor":"ebl_ml","points":3,"present":true},{"value":80,"factor":"lowest_map_mm_hg","points":3,"present":true},{"value":60,"factor":"lowest_heart_rate_bpm","points":3,"present":true}],"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.","score_le_4":false,"lowest_map_mm_hg":80,"formula_expression":"Surgical Apgar = ebl_points + lowest_map_points + lowest_hr_points; Gawande 2007 Table 1; max 10","lowest_heart_rate_bpm":60}]}},"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_xd1ZW31s5b80eW92-nXN3","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 intraoperative Surgical Apgar Score (0–10) from estimated blood loss, lowest mean arterial pressure, and lowest heart rate, and flags scores ≤4 as high-risk","exampleAgentPrompt":"Calculate the Surgical Apgar Score for a patient who had an estimated blood loss of 750 mL, a lowest intraoperative MAP of 58 mmHg, and a lowest heart rate of 62 bpm — and let me know if the score is 4 or below.","exampleUseCases":[{"title":"Post-op risk stratification in ICU handoff","prompt":"My patient just came out of an abdominal surgery with an estimated blood loss of 1200 mL, lowest MAP of 45 mmHg, and lowest heart rate of 80 bpm — what's their Surgical Apgar Score and are they in the high-risk group?"},{"title":"Surgical quality audit flagging","prompt":"For quality review, calculate the Surgical Apgar Score for a case with EBL of 90 mL, lowest MAP of 72 mmHg, and lowest heart rate of 55 bpm, and flag it if the score is 4 or under."},{"title":"Resident education on Gawande scoring","prompt":"Walk me through the Surgical Apgar Score calculation for a patient with 300 mL blood loss, lowest intraoperative MAP of 68 mmHg, and lowest heart rate of 78 bpm using the Gawande 2007 Table 1 method."}],"resultDescription":"Returns the total Surgical Apgar Score (0–10) composed of three subscores per Gawande 2007 Table 1, plus a boolean score_le_4 flag indicating whether the patient falls in the high-risk group (scores ≤4 were associated with 58.6% 30-day death or major complication in the validation cohort).","failureModes":["Missing required query parameters (ebl_ml, lowest_map_mm_hg, lowest_heart_rate_bpm) returns an error","Values outside valid ranges (e.g. ebl_ml > 20000, MAP < 30, heart rate < 30 or > 220) may return validation errors","Non-integer heart rate value rejected","Payment not included or insufficient returns HTTP 402"],"whenToPreferThis":"Use this endpoint when you need a deterministic, citation-backed intraoperative risk score per the exact Gawande 2007 Table 1 arithmetic — not for Virginia Apgar newborn scoring, preoperative clearance assessment, or other perioperative risk tools like PESI or RCRI. Ideal when you have all three intraoperative values (EBL, lowest MAP, lowest HR) and need a reproducible, auditable computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:55:36.635Z","isFirstParty":false}