{"uid":"cap_-EJvOTDn-HewHjPF5s8t8","slug":"magent-qsofa-score-calculator-8d32fd62","name":"magent qSOFA Score Calculator","description":"qSOFA from Seymour 2016: respiratory rate ≥22, caller-assigned altered mentation, and systolic BP ≤100 mm Hg; 1 point each, max 3. Deterministic published score with citation; not a diagnosis of sepsis.","url":"https://api.magentlab.com/api/calc/qsofa","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":["respiratory_rate","systolic_mm_hg","altered_mentation"],"properties":{"systolic_mm_hg":{"type":"number","description":"Systolic blood pressure in mm Hg (50-250). ≤100 scores 1."},"respiratory_rate":{"type":"integer","description":"Respiratory rate in breaths/min (integer 4-80). ≥22 scores 1."},"altered_mentation":{"type":"boolean","description":"Altered mentation as assigned by the caller (GCS <15 in Seymour 2016). true or false. magent does not compute GCS here."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/qsofa","count":2,"items":[{"score":0,"formula":"qsofa","citation":{"id":"seymour-2016","doi":"10.1001/jama.2016.0288","title":"Assessment of Clinical Criteria for Sepsis: For the Third International Consensus Definitions for Sepsis and Septic Shock (Sepsis-3)","source":"JAMA. 2016;315(8):762-774","authors":"Seymour CW, Liu VX, Iwashyna TJ, Brunkhorst FM, Rea TD, Scherag A, Rubenfeld G, Kahn JM, Shankar-Hari M, Singer M, Deutschman CS, Escobar GJ, Angus DC"},"max_score":3,"components":[{"value":16,"factor":"respiratory_rate_ge_22","points":0,"present":false},{"factor":"altered_mentation","points":0,"present":false},{"value":120,"factor":"systolic_mm_hg_le_100","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.","formula_expression":"qSOFA = respiratory_rate_ge_22 + altered_mentation + systolic_mm_hg_le_100; each 1 if present; max 3"},{"score":0,"formula":"qsofa","citation":{"id":"seymour-2016","doi":"10.1001/jama.2016.0288","title":"Assessment of Clinical Criteria for Sepsis: For the Third International Consensus Definitions for Sepsis and Septic Shock (Sepsis-3)","source":"JAMA. 2016;315(8):762-774","authors":"Seymour CW, Liu VX, Iwashyna TJ, Brunkhorst FM, Rea TD, Scherag A, Rubenfeld G, Kahn JM, Shankar-Hari M, Singer M, Deutschman CS, Escobar GJ, Angus DC"},"max_score":3,"components":[{"value":16,"factor":"respiratory_rate_ge_22","points":0,"present":false},{"factor":"altered_mentation","points":0,"present":false},{"value":120,"factor":"systolic_mm_hg_le_100","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.","formula_expression":"qSOFA = respiratory_rate_ge_22 + altered_mentation + systolic_mm_hg_le_100; each 1 if present; max 3"}]}},"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_Pgvqol1kKxjQu1Xh75UnX","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 quick Sequential Organ Failure Assessment (qSOFA) score from respiratory rate, systolic blood pressure, and altered mentation status per Seymour 2016.","exampleAgentPrompt":"Calculate the qSOFA score for a patient with a respiratory rate of 24 breaths per minute, systolic blood pressure of 88 mm Hg, and altered mentation present — I need to know if they hit the threshold.","exampleUseCases":[{"title":"ED triage sepsis screening","prompt":"My patient in the ED has a respiratory rate of 26, systolic BP of 96 mm Hg, and is confused — can you calculate their qSOFA score so I know if they're at risk?"},{"title":"ICU handoff documentation","prompt":"For handoff notes, compute the qSOFA for a patient with respiratory rate 18, systolic 110 mm Hg, and no altered mentation."},{"title":"Clinical decision support automation","prompt":"I'm building an alert for our EMR — run the qSOFA on these vitals: respiratory rate 22, systolic BP 102, altered mentation false, and tell me the score."}],"resultDescription":"Returns a qSOFA score from 0 to 3, with 1 point each for respiratory rate ≥22 breaths/min, systolic BP ≤100 mm Hg, and caller-assigned altered mentation. Includes the total score and individual component contributions based on the Seymour 2016 criteria.","failureModes":["Missing required query parameters (respiratory_rate, systolic_mm_hg, altered_mentation) returns an error","Respiratory rate outside valid range 4-80 may be rejected","Systolic BP outside valid range 50-250 may be rejected","altered_mentation not a boolean causes a validation error","Payment failure or insufficient USDC balance blocks the request"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, published-citation qSOFA score from raw vitals without any LLM interpretation. It implements exactly the Seymour 2016 criteria and is appropriate for clinical decision support pipelines, EMR integrations, or audit-ready scoring where reproducibility and citation accuracy matter. Prefer over general-purpose LLM reasoning for any compliance-sensitive or automated clinical workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:10:44.540Z","isFirstParty":false}