{"uid":"cap_FW6WNJMhi5MhSpcMkHRyN","slug":"drip-score-calculator-webb-2016-b33d9533","name":"DRIP Score Calculator (Webb 2016)","description":"Webb 2016 DRIP (drug resistance in pneumonia): ten caller-assigned flags, four major at 2 points and six minor at 1, max 14. high_risk if score >= 4. Deterministic published score with citation; not a medical device, not an antibiotic order, and not HCAP. magent does not classify the facility or compute Karnofsky.","url":"https://api.magentlab.com/api/calc/drip","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":["antibiotics_60d","long_term_care","tube_feeding","prior_drp_1yr","hospitalization_60d","chronic_pulmonary_disease","poor_functional_status","gastric_acid_suppression","wound_care","mrsa_colonization_1yr"],"properties":{"wound_care":{"type":"boolean","description":"Wound care (Webb 2016 minor, 1 point). true or false as assigned by the caller."},"tube_feeding":{"type":"boolean","description":"Tube feeding (Webb 2016 major, 2 points). true or false as assigned by the caller."},"prior_drp_1yr":{"type":"boolean","description":"Prior drug-resistant pneumonia within 1 year (Webb 2016 major, 2 points). true or false as assigned by the caller."},"long_term_care":{"type":"boolean","description":"Residence in long-term acute care, a skilled nursing facility, or inpatient rehabilitation (Webb 2016 major, 2 points). Not assisted living or a group home. The caller assigns the flag; magent does not classify the facility. true or false."},"antibiotics_60d":{"type":"boolean","description":"Antibiotic use within 60 days (Webb 2016 major, 2 points). true or false as assigned by the caller."},"hospitalization_60d":{"type":"boolean","description":"Hospitalization within 60 days (Webb 2016 minor, 1 point). true or false as assigned by the caller."},"mrsa_colonization_1yr":{"type":"boolean","description":"MRSA colonization within 1 year (Webb 2016 minor, 1 point). true or false as assigned by the caller."},"poor_functional_status":{"type":"boolean","description":"Poor functional status as in Webb 2016 (Karnofsky <70 or non-ambulatory). Caller-assigned boolean; magent does not compute Karnofsky. 1 point if true."},"gastric_acid_suppression":{"type":"boolean","description":"Gastric acid suppression (Webb 2016 minor, 1 point). true or false as assigned by the caller."},"chronic_pulmonary_disease":{"type":"boolean","description":"Chronic pulmonary disease (Webb 2016 minor, 1 point). true or false as assigned by the caller."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_SYbFKFUZMUFyqOxfMDlfw","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 Webb 2016 Drug Resistance in Pneumonia (DRIP) score from ten caller-assigned boolean flags, returning a numeric score and high-risk classification.","exampleAgentPrompt":"Score this pneumonia patient using the Webb 2016 DRIP criteria: they received antibiotics in the past 60 days (true), are living in a skilled nursing facility (true), are on tube feeding (true), have no prior drug-resistant pneumonia (false), were hospitalized 45 days ago (true), have no chronic pulmonary disease (false), have poor functional status (true), are on a proton pump inhibitor (true), have no wound care (false), and no MRSA colonization (false).","exampleUseCases":[{"title":"ED triage for empiric antibiotic selection","prompt":"I have a patient presenting with pneumonia in the ED. They were hospitalized 50 days ago, are on tube feeding, took antibiotics last month, live in a skilled nursing facility, have poor functional status, and are on a proton pump inhibitor for GERD. No prior drug-resistant pneumonia, no MRSA colonization, no wound care, no chronic pulmonary disease. Calculate their DRIP score so I can decide if extended-spectrum antibiotics are warranted."},{"title":"Antimicrobial stewardship audit workflow","prompt":"Run DRIP scores for a pneumonia case where: antibiotics_60d is true, long_term_care is false, tube_feeding is false, prior_drp_1yr is true, hospitalization_60d is true, chronic_pulmonary_disease is true, poor_functional_status is false, gastric_acid_suppression is true, wound_care is false, mrsa_colonization_1yr is false. Is this patient high risk?"},{"title":"Clinical research data pipeline","prompt":"I'm processing a cohort of pneumonia admissions and need to apply the Webb 2016 DRIP score to each patient. For patient #42: antibiotics in the past 60 days yes, not in long-term care, no tube feeding, no prior DRP within a year, no recent hospitalization, has chronic pulmonary disease, poor functional status yes, on acid suppression yes, wound care yes, MRSA colonization within the past year yes. What's the score and is it high risk?"}],"resultDescription":"Returns the computed DRIP score (0–14 integer), a boolean high_risk flag (true if score >= 4), and a breakdown of which flags contributed points, following the Webb 2016 published criteria with four major factors worth 2 points each and six minor factors worth 1 point each.","failureModes":["Missing required boolean query parameters returns a 400 validation error","Non-boolean values for flag fields cause schema validation failure","Score computed correctly but caller mis-assigns flags (e.g. assisted living coded as long_term_care) — garbage-in-garbage-out, no server-side facility classification","Payment failure or missing x402 header returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a deterministic, published Webb 2016 DRIP score for pneumonia drug-resistance risk stratification and all ten boolean flags have already been assigned by the caller. Prefer this over manual calculation to guarantee reproducibility and citation-aligned scoring. Do not use this to classify facility type, compute Karnofsky scores, issue antibiotic orders, or score HCAP — those are out of scope.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:46:35.197Z","isFirstParty":false}