Magent CPIS Calculator (Pugin 1991) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).
Computes the Clinical Pulmonary Infection Score (CPIS, max 12) using Pugin 1991 criteria from six clinical parameters to aid VAP assessment.
Pugin 1991 clinical pulmonary infection score (CPIS, max 12) from temperature, leukocytes and band forms, tracheal secretions, PaO2/FiO2 with ARDS, chest radiograph, and tracheal-aspirate culture. Band CPIS>6 follows the 1991 derivation correlation. Not a VAP diagnosis or Singh modified CPIS.
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.
GEThttps://api.magentlab.com/api/calc/cpis?utm_source=zero.xyzUse 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.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"path": "/api/calc/cpis",
"count": 2,
"items": [
{
"ards": false,
"score": 0,
"culture": "none",
"formula": "cpis",
"citation": {
"id": "pugin-1991",
"doi": "10.1164/ajrccm/143.5_Pt_1.1121",
"pmid": "2024824",
"title": "Diagnosis of ventilator-associated pneumonia by bacteriologic analysis of bronchoscopic and nonbronchoscopic \"blind\" bronchoalveolar lavage fluid",
"source": "Am Rev Respir Dis. 1991;143(5 Pt 1):1121-1129",
"authors": "Pugin J, Auckenthaler R, Mili N, Janssens JP, Lew PD, Suter PM"
},
"pf_ratio": 300,
"wbc_k_ul": 8,
"cpis_band": "le_6",
"max_score": 12,
"components": [
{
"value": 37,
"factor": "temperature_c",
"points": 0,
"present": false
},
{
"value": {
"wbc_k_ul": 8,
"bands_ge_50": false
},
"factor": "leukocytes",
"points": 0,
"present": false
},
{
"value": "none",
"factor": "tracheal_secretions",
"points": 0,
"present": false
},
{
"value": {
"ards": false,
"pf_ratio": 300
},
"factor": "oxygenation",
"points": 0,
"present": false
},
{
"value": "none",
"factor": "chest_radiograph",
"points": 0,
"present": false
},
{
"value": "none",
"factor": "culture",
"points": 0,
"present": false
}
],
"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.",
"bands_ge_50": false,
"temperature_c": 37,
"chest_radiograph": "none",
"formula_expression": "CPIS = temperature(36.5-38.4→0, 38.5-38.9→1, ≥39 or ≤36→2) + leukocytes(4.0-11.0→0, <4.0 or >11.0→1, +1 if abnormal and bands_ge_50) + tracheal_secretions(none→0, nonpurulent→1, purulent→2) + oxygenation(pf_ratio>240 or ards→0, pf_ratio≤240 and not ards→2) + chest_radiograph(none→0, diffuse→1, localized→2) + culture(none→0, pathogen→1, pathogen_and_gram→2); Pugin 1991; max 12; CPIS>6 suggests pulmonary infection in that derivation",
"tracheal_secretions": "none"
},
{
"ards": false,
"score": 0,
"culture": "none",
"formula": "cpis",
"citation": {
"id": "pugin-1991",
"doi": "10.1164/ajrccm/143.5_Pt_1.1121",
"pmid": "2024824",
"title": "Diagnosis of ventilator-associated pneumonia by bacteriologic analysis of bronchoscopic and nonbronchoscopic \"blind\" bronchoalveolar lavage fluid",
"source": "Am Rev Respir Dis. 1991;143(5 Pt 1):1121-1129",
"authors": "Pugin J, Auckenthaler R, Mili N, Janssens JP, Lew PD, Suter PM"
},
"pf_ratio": 300,
"wbc_k_ul": 8,
"cpis_band": "le_6",
"max_score": 12,
"components": [
{
"value": 37,
"factor": "temperature_c",
"points": 0,
"present": false
},
{
"value": {
"wbc_k_ul": 8,
"bands_ge_50": false
},
"factor": "leukocytes",
"points": 0,
"present": false
},
{
"value": "none",
"factor": "tracheal_secretions",
"points": 0,
"present": false
},
{
"value": {
"ards": false,
"pf_ratio": 300
},
"factor": "oxygenation",
"points": 0,
"present": false
},
{
"value": "none",
"factor": "chest_radiograph",
"points": 0,
"present": false
},
{
"value": "none",
"factor": "culture",
"points": 0,
"present": false
}
],
"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.",
"bands_ge_50": false,
"temperature_c": 37,
"chest_radiograph": "none",
"formula_expression": "CPIS = temperature(36.5-38.4→0, 38.5-38.9→1, ≥39 or ≤36→2) + leukocytes(4.0-11.0→0, <4.0 or >11.0→1, +1 if abnormal and bands_ge_50) + tracheal_secretions(none→0, nonpurulent→1, purulent→2) + oxygenation(pf_ratio>240 or ards→0, pf_ratio≤240 and not ards→2) + chest_radiograph(none→0, diffuse→1, localized→2) + culture(none→0, pathogen→1, pathogen_and_gram→2); Pugin 1991; max 12; CPIS>6 suggests pulmonary infection in that derivation",
"tracheal_secretions": "none"
}
]
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"