{"uid":"cap_ZxhfdQLZrVVte6YJ9Db_t","slug":"magent-shock-index-calculator-d18c79b4","name":"Magent Shock Index Calculator","description":"Shock index as heart rate in bpm divided by cuff systolic pressure in mm Hg (Allgöwer and Burri 1967). Returns the original ratio rounded to two decimals. Not a shock diagnosis, treatment target, or cutoff, and does not use MAP or diastolic pressure.","url":"https://api.magentlab.com/api/calc/shock_index","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":["heart_rate_bpm","systolic_mm_hg"],"properties":{"heart_rate_bpm":{"type":"integer","description":"Heart rate in beats per minute (integer 30-220)."},"systolic_mm_hg":{"type":"number","description":"Cuff systolic blood pressure in mm Hg (50-250)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/shock_index","count":2,"items":[{"formula":"shock_index","citation":{"id":"allgower-burri-1967","doi":"10.1055/s-0028-1106070","title":"Shock index","source":"Dtsch Med Wochenschr. 1967;92(43):1947-1950","authors":"Allgöwer M, Burri C"},"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.","shock_index":0.67,"heart_rate_bpm":80,"systolic_mm_hg":120,"formula_expression":"shock_index = heart_rate_bpm / systolic_mm_hg"},{"formula":"shock_index","citation":{"id":"allgower-burri-1967","doi":"10.1055/s-0028-1106070","title":"Shock index","source":"Dtsch Med Wochenschr. 1967;92(43):1947-1950","authors":"Allgöwer M, Burri C"},"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.","shock_index":0.67,"heart_rate_bpm":80,"systolic_mm_hg":120,"formula_expression":"shock_index = heart_rate_bpm / systolic_mm_hg"}]}},"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_FaoYS6sf0Yjv_69uFyoZn","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 Allgöwer-Burri shock index as heart rate divided by systolic blood pressure, returning the ratio rounded to two decimals.","exampleAgentPrompt":"Calculate the shock index for a patient with a heart rate of 118 bpm and a systolic blood pressure of 94 mmHg.","exampleUseCases":[{"title":"Emergency triage vital sign ratio","prompt":"My patient in the ED has a heart rate of 125 bpm and a systolic BP of 90 mmHg — what's their shock index?"},{"title":"Automated EHR vitals pipeline","prompt":"For the incoming trauma patient with HR 102 and cuff systolic of 110, compute the Allgöwer shock index so I can flag it in the chart."},{"title":"Postpartum hemorrhage monitoring","prompt":"Can you run the shock index for a postpartum patient with a pulse of 95 bpm and a systolic reading of 100 mmHg?"}],"resultDescription":"Returns the shock index as a numeric ratio (heart rate in bpm divided by systolic blood pressure in mmHg) rounded to two decimal places. This is the original Allgöwer-Burri (1967) formula value only — not a diagnosis, not a treatment target, and not a threshold-based interpretation.","failureModes":["Heart rate outside 30–220 bpm range returns a validation error","Systolic pressure outside 50–250 mmHg range returns a validation error","Missing required query parameters (heart_rate_bpm or systolic_mm_hg) returns an error","Non-integer heart_rate_bpm causes a schema validation failure","Division by zero not possible given minimum systolic constraint of 50 mmHg"],"whenToPreferThis":"Choose this endpoint when you need a fast, reproducible, formula-exact implementation of the classic Allgöwer-Burri (1967) shock index — HR/systolic BP — without any interpretation layer. Prefer it when building clinical decision support pipelines that require the raw ratio (not MAP-based or diastolic variants) for downstream logic, audit trails, or documentation. It is the right choice when you need the original published formula specifically, not a modified shock index variant.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:15:15.194Z","isFirstParty":false}