{"uid":"cap_Lfx4voWaAiiFPa7iJArcs","slug":"shorr-2013-mrsa-pneumonia-risk-score-calculator-534194ed","name":"Shorr 2013 MRSA Pneumonia Risk Score Calculator","description":"Shorr 2013 MRSA pneumonia risk score (Table 2 only, not HCAP, not DRIP): recent hospitalization ≥2 days in 90 days 2; ICU admission 2; age <30 or >79 1; prior IV antibiotics 1; dementia 1; cerebrovascular disease 1; female with diabetes 1 (male with diabetes 0); nursing home/LTAC/SNF 1; max 10. Bands: 0-1 low, 2-5 medium, ≥6 high. Returns score, max_score, and risk_band. Not a medical device and not an antibiotic order.","url":"https://api.magentlab.com/api/calc/shorr","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":["age","sex","hospitalization_90d","icu_admission","prior_iv_antibiotics","dementia","cerebrovascular_disease","diabetes","nursing_home_ltac_snf"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). Shorr 2013 Table 2: <30 or >79 scores 1; 30 through 79 scores 0. 29 scores 1; 30 scores 0; 79 scores 0; 80 scores 1."},"sex":{"enum":["female","male"],"type":"string","description":"female or male. Female with diabetes scores 1 (Shorr 2013 Table 2). Male with diabetes scores 0. Sex alone does not score."},"dementia":{"type":"boolean","description":"Dementia (Shorr 2013 Table 2, 1 point). true or false as assigned by the caller."},"diabetes":{"type":"boolean","description":"Diabetes mellitus. Scores 1 only when sex is female (Shorr 2013 Table 2). Male with diabetes scores 0. true or false as assigned by the caller."},"icu_admission":{"type":"boolean","description":"ICU admission (Shorr 2013 Table 2, 2 points). true or false as assigned by the caller."},"hospitalization_90d":{"type":"boolean","description":"Recent inpatient hospitalization for ≥2 days within 90 days (Shorr 2013 Table 2, 2 points). true or false as assigned by the caller."},"prior_iv_antibiotics":{"type":"boolean","description":"Prior IV antibiotic exposure (Shorr 2013 Table 2, 1 point). true or false as assigned by the caller."},"nursing_home_ltac_snf":{"type":"boolean","description":"Recent nursing home, long-term acute care, or skilled nursing facility exposure (Shorr 2013 Table 2, 1 point). true or false as assigned by the caller. magent does not classify the facility."},"cerebrovascular_disease":{"type":"boolean","description":"Cerebrovascular disease (Shorr 2013 Table 2, 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_VeL1PpDqqkUiuDyQuAOC5","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 Shorr 2013 MRSA pneumonia risk score (Table 2) from patient clinical factors and returns a numeric score, maximum score, and low/medium/high risk band","exampleAgentPrompt":"Calculate the Shorr 2013 MRSA pneumonia risk score for a 75-year-old female patient with diabetes, dementia, and cerebrovascular disease who was hospitalized for 3 days two months ago but has no ICU admission, no prior IV antibiotics, and no nursing home exposure.","exampleUseCases":[{"title":"MRSA coverage decision for elderly patient","prompt":"Run the Shorr MRSA pneumonia score for an 82-year-old male with cerebrovascular disease and dementia who had a 4-day hospital stay 6 weeks ago and received IV antibiotics at that time — he has no ICU history and is not from a nursing home. Is he high risk?"},{"title":"Nursing home patient pneumonia workup","prompt":"What's the Shorr 2013 MRSA risk band for a 68-year-old female with diabetes who lives in a skilled nursing facility? She has no prior hospitalizations in the last 90 days, no ICU admission, no prior IV antibiotics, and no dementia or cerebrovascular disease."},{"title":"Young ICU patient MRSA risk assessment","prompt":"Score the Shorr MRSA pneumonia risk for a 28-year-old male admitted to the ICU with no prior hospitalization in the past 90 days, no IV antibiotics, no dementia, no cerebrovascular disease, no diabetes, and not from a nursing home."}],"resultDescription":"Returns a JSON object containing the calculated MRSA pneumonia risk score (integer 0–10), the maximum possible score (10), and a risk_band string ('low' for 0–1, 'medium' for 2–5, 'high' for ≥6) based on Shorr 2013 Table 2 criteria.","failureModes":["Missing required query parameters (age, sex, or any boolean factor) returns a validation error","Age outside the accepted integer range (18–120) may return an error or unexpected scoring","Invalid sex value (not 'female' or 'male') returns an enum validation error","Non-boolean values for boolean fields cause schema validation failure","Network or payment errors return HTTP 402 or 5xx without a score result"],"whenToPreferThis":"Use this endpoint when you need to apply the validated Shorr 2013 Table 2 MRSA pneumonia risk algorithm specifically — not HCAP criteria and not the DRIP score. It is appropriate for antimicrobial stewardship workflows, clinical decision support agents, or hospital coding tools that need a standardized, reproducible MRSA risk score rather than a free-text assessment. Prefer this over general LLM-based clinical reasoning when audit-trail accuracy and adherence to the published scoring table are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:55:10.234Z","isFirstParty":false}