{"uid":"cap_R9q5LBm2FsdFCy2yd241y","slug":"magent-cpis-calculator-pugin-1991-0717c30c","name":"Magent CPIS Calculator (Pugin 1991)","description":"Deterministic published-formula arithmetic plus ICD-10-CM, RxNorm, and LOINC. Pay in USDC on Base via x402.","url":"https://api.magentlab.com/api/calc/cpis?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object"}},"additionalProperties":false}}},"responseSchema":{"type":"json"},"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_Vd5bcOTlzUBToYcffBylk","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 Clinical Pulmonary Infection Score (CPIS, max 12) using Pugin 1991 criteria from six clinical parameters to aid VAP assessment.","exampleAgentPrompt":"Calculate the Pugin 1991 CPIS for my ICU patient: temperature 39.2°C, WBC 13.5 k/µL, band forms ≥50% present, purulent tracheal secretions, PaO2/FiO2 ratio of 210 mmHg, no ARDS, localized chest radiograph infiltrate, and tracheal culture shows pathogen with matching Gram stain.","exampleUseCases":[{"title":"VAP Screening in ICU Workflow","prompt":"My intubated patient has a temp of 38.7°C, WBC of 3.8 k/µL with bands ≥50%, nonpurulent tracheal secretions, PF ratio of 260, no ARDS, diffuse chest X-ray changes, and no pathogen on culture — what's their CPIS score?"},{"title":"Serial CPIS Monitoring on Day 3","prompt":"Recalculate the Pugin 1991 CPIS for my patient now that we have culture results: temperature 39.4°C, WBC 15.2 k/µL, bands ≥50% yes, purulent secretions, PF ratio 195 mmHg, ARDS false, localized chest infiltrate, culture shows pathogen and Gram stain matches."},{"title":"Borderline CPIS Threshold Check","prompt":"Is this patient above or below the CPIS threshold of 6? Temperature 38.1°C, WBC 9.0 k/µL, no bands, nonpurulent secretions, PF ratio 300, not ARDS, no radiograph infiltrate, culture shows no pathogen."}],"resultDescription":"Returns the total CPIS integer score (0–12) computed per Pugin 1991 criteria, along with per-domain sub-scores for temperature, leukocytes/bands, tracheal secretions, oxygenation, chest radiograph, and culture. A total score >6 correlates with increased probability of VAP per the 1991 derivation. Does not provide a VAP diagnosis and is not the Singh modified CPIS.","failureModes":["Missing required query parameters (temperature_c, wbc_k_ul, bands_ge_50, tracheal_secretions, pf_ratio, ards, chest_radiograph, culture) returns 400 validation error","temperature_c outside 30.0–45.0 range or pf_ratio outside 20–800 range returns validation error","Invalid enum value for tracheal_secretions, chest_radiograph, or culture returns 400","Payment not provided or insufficient (x402 protocol) returns 402 Payment Required","Network timeout if upstream service is unavailable"],"whenToPreferThis":"Use this endpoint when you need the original Pugin 1991 CPIS calculation for a mechanically ventilated adult patient using standardized 0–12 scoring. Prefer this over Singh modified CPIS when the unmodified Pugin derivation is required for clinical documentation or research alignment. All six domains (temperature, WBC/bands, secretions, oxygenation, radiology, culture) must be caller-supplied; this endpoint does not interpret images or Gram stains.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-06T00:39:04.379Z","isFirstParty":false,"canonicalSlug":"magent-cpis-calculator-pugin-1991-0717c30c"}