{"uid":"cap_XPJws--n-VXw6_eW2NPsM","slug":"korabathina-2012-papi-calculator-0a4ce4c2","name":"Korabathina 2012 PAPi Calculator","description":"Korabathina 2012 pulmonary artery pulsatility index from PA systolic (mm Hg), PA diastolic (mm Hg), and RAP (mm Hg): PAPi = (PAS − PAD) / RAP. Returns papi to two decimals and the paper ROC band (<=0.9 or >0.9) from the unrounded ratio. Equality at 0.9 is <=0.9. RAP 0 is invalid (no RAP=1 substitution). Not a medical device, RV-failure diagnosis, or device threshold.","url":"https://api.magentlab.com/api/calc/papi","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":["pa_systolic_mm_hg","pa_diastolic_mm_hg","ra_mm_hg"],"properties":{"ra_mm_hg":{"type":"number","description":"Right atrial pressure in mm Hg (1-40). RAP 0 is invalid; Korabathina 2012 did not substitute RAP=1."},"pa_systolic_mm_hg":{"type":"number","description":"Pulmonary artery systolic pressure in mm Hg (10-150). Invasive catheter number; this tool does not read waveforms."},"pa_diastolic_mm_hg":{"type":"number","description":"Pulmonary artery diastolic pressure in mm Hg (1-80). Must be less than PA systolic."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/papi","count":2,"items":[{"band":">0.9","papi":3,"formula":"papi","citation":{"id":"korabathina-2012","doi":"10.1002/ccd.23309","pmid":"21954053","title":"The pulmonary artery pulsatility index identifies severe right ventricular dysfunction in acute inferior myocardial infarction.","source":"Catheter Cardiovasc Interv. 2012;80(4):593-600","authors":"Korabathina R, Heffernan KS, Paruchuri V, et al."},"ra_mm_hg":6,"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.","pa_systolic_mm_hg":30,"formula_expression":"papi = (pa_systolic_mm_hg - pa_diastolic_mm_hg) / ra_mm_hg","pa_diastolic_mm_hg":12},{"band":">0.9","papi":3,"formula":"papi","citation":{"id":"korabathina-2012","doi":"10.1002/ccd.23309","pmid":"21954053","title":"The pulmonary artery pulsatility index identifies severe right ventricular dysfunction in acute inferior myocardial infarction.","source":"Catheter Cardiovasc Interv. 2012;80(4):593-600","authors":"Korabathina R, Heffernan KS, Paruchuri V, et al."},"ra_mm_hg":6,"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.","pa_systolic_mm_hg":30,"formula_expression":"papi = (pa_systolic_mm_hg - pa_diastolic_mm_hg) / ra_mm_hg","pa_diastolic_mm_hg":12}]}},"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_YBcz6siw4vMY6WrWohFtM","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":"Calculates the Pulmonary Artery Pulsatility Index (PAPi) from PA systolic, PA diastolic, and right atrial pressure, returning the ratio and its ROC band classification","exampleAgentPrompt":"Calculate the PAPi using Korabathina 2012 for a patient with PA systolic 45 mm Hg, PA diastolic 20 mm Hg, and right atrial pressure 8 mm Hg — I need the ratio and which ROC band it falls in.","exampleUseCases":[{"title":"Post-LVAD implant hemodynamic review","prompt":"I have right heart cath data: PA systolic is 52 mm Hg, PA diastolic is 22 mm Hg, and RAP is 12 mm Hg. Calculate the Korabathina PAPi and tell me if it's above or below the 0.9 ROC cutoff."},{"title":"Cardiogenic shock catheterization interpretation","prompt":"Can you run the PAPi calculation for PA systolic 38, PA diastolic 18, and right atrial pressure 15 mm Hg? I want the two-decimal result and the ROC band classification."},{"title":"Automated hemodynamic report generation","prompt":"For each of these cath lab readings, calculate the Korabathina 2012 PAPi: patient A has PA systolic 60, PA diastolic 25, RAP 10; what's the PAPi and band?"}],"resultDescription":"Returns the PAPi value rounded to two decimal places (calculated as (PA systolic − PA diastolic) / RAP) and the Korabathina 2012 ROC band classification: <=0.9 or >0.9, based on the unrounded ratio. RAP of 0 is rejected as invalid.","failureModes":["RAP value of 0 returns an error (division by zero; no RAP=1 substitution is made)","PA diastolic >= PA systolic returns an error or nonsensical result","Values outside valid ranges (PA systolic 10-150, PA diastolic 1-80, RAP 1-40) may be rejected","Missing required query parameters returns a validation error","Non-numeric inputs for any parameter cause a 400-level error"],"whenToPreferThis":"Use this endpoint when you need a deterministic, formula-faithful implementation of the Korabathina 2012 PAPi calculation with explicit ROC band classification, particularly in automated clinical data pipelines, EHR integrations, or research workflows where reproducibility of the published formula (no RAP=1 substitution, equality at 0.9 maps to <=0.9) is essential. Prefer it over manual calculation to avoid arithmetic errors in critical care or prior-authorization documentation contexts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:13.172Z","isFirstParty":false}