{"uid":"cap_S2YGPPytN0d0tHDJoIjAR","slug":"miller-2013-atlas-score-calculator-for-clostridioides-difficile-4a15fe0a","name":"Miller 2013 ATLAS Score Calculator for Clostridioides difficile","description":"Miller 2013 ATLAS for Clostridioides difficile: age (<60 0, 60–79 1, ≥80 2), systemic antibiotics during CDI therapy (0 or 2), WBC (<16 0, 16–25 1, >25 ×10^9/L 2), albumin (>35 0, 26–35 1, ≤25 g/L 2), creatinine (≤120 0, 121–179 1, ≥180 µmol/L 2); max 10. Predicted cure percent = 100 − 5.08 × score (1 decimal). Not a CDI diagnosis, stool culture, or metronidazole/vancomycin/fidaxomicin order.","url":"https://api.magentlab.com/api/calc/atlas","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","systemic_antibiotics"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). Miller 2013 Table 1: <60 scores 0; 60–79 inclusive scores 1; ≥80 scores 2."},"wbc_ul":{"type":"number","description":"Total leukocyte count in cells/µL. Provide wbc_k_ul or wbc_ul, not both. Range 10-500000. Miller 2013: <16000 scores 0; 16000–25000 inclusive scores 1; >25000 scores 2."},"wbc_k_ul":{"type":"number","description":"Total leukocyte count in 10^3/µL (same as ×10^9/L). Provide wbc_k_ul or wbc_ul, not both. Range 0.01-500. Miller 2013: <16 scores 0; 16–25 inclusive scores 1; >25 scores 2."},"albumin_g_l":{"type":"number","description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Miller 2013: >35 scores 0; 26–35 inclusive scores 1; ≤25 scores 2. magent does not assay albumin."},"albumin_g_dl":{"type":"number","description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both."},"creatinine_mg_dl":{"type":"number","description":"Serum creatinine in mg/dL (0.1-20). Converted as µmol/L = mg/dL × 88.42. Provide this or creatinine_umol_l, not both."},"creatinine_umol_l":{"type":"number","description":"Serum creatinine in µmol/L (9-1768). Provide this or creatinine_mg_dl, not both. Miller 2013: ≤120 scores 0; 121–179 inclusive scores 1; ≥180 scores 2. magent does not assay creatinine."},"systemic_antibiotics":{"type":"boolean","description":"Systemic antibiotics on one or more days of CDI therapy (Miller 2013). true scores 2; false scores 0. There is no 1-point cell. magent does not review the medication list."}}}},"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_3P0hSQFcYwoogUpSpAU06","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 ATLAS score (0–10) and predicted CDI cure percentage using Miller 2013 criteria based on age, systemic antibiotics, WBC, albumin, and creatinine.","exampleAgentPrompt":"Calculate the Miller 2013 ATLAS score for a 72-year-old CDI patient who is on systemic antibiotics, has a WBC of 18,000/µL, albumin of 30 g/L, and creatinine of 140 µmol/L.","exampleUseCases":[{"title":"CDI severity triage in inpatient setting","prompt":"My patient is 65 years old with Clostridioides difficile, currently on systemic antibiotics, WBC of 22,000/µL, albumin 28 g/L, and creatinine 160 µmol/L — what is their ATLAS score and predicted cure rate?"},{"title":"Predicting cure for elderly CDI patient","prompt":"Can you calculate the ATLAS score for an 82-year-old C. diff patient not on systemic antibiotics, WBC 12,000/µL, albumin 38 g/dL — wait, 3.8 g/dL — and creatinine 0.9 mg/dL?"},{"title":"Comparing CDI treatment outcomes by severity","prompt":"I have two CDI patients: one is 55 with no systemic antibiotics, WBC 10,000/µL, albumin 40 g/L, creatinine 100 µmol/L; the other is 78 on systemic antibiotics, WBC 27,000/µL, albumin 22 g/L, creatinine 200 µmol/L. Calculate the ATLAS score and predicted cure percentage for each."}],"resultDescription":"Returns the integer ATLAS total score (0–10) and the predicted cure percentage (to 1 decimal place, computed as 100 − 5.08 × score), derived from the five Miller 2013 ATLAS criteria.","failureModes":["Missing required fields (age or systemic_antibiotics) returns a validation error","Providing both wbc_ul and wbc_k_ul simultaneously causes an error","Providing both albumin_g_l and albumin_g_dl simultaneously causes an error","Providing both creatinine_umol_l and creatinine_mg_dl simultaneously causes an error","Out-of-range values (e.g. age <18 or >120) return a validation error","Payment failure or missing x402 payment header causes a 402 response"],"whenToPreferThis":"Use this endpoint when you need a rapid, standardized ATLAS score for a patient with confirmed or suspected Clostridioides difficile infection to estimate likelihood of cure with CDI therapy; it is not a CDI diagnostic tool, stool culture, or antibiotic prescribing service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:09:36.174Z","isFirstParty":false}