{"uid":"cap_6GjJSNKTxUAmySqsekT_H","slug":"rems-calculator-rapid-emergency-medicine-score-a91c59dc","name":"REMS Calculator (Rapid Emergency Medicine Score)","description":"REMS from Olsson 2004 Table 1: MAP, heart rate, respiratory rate, SpO2, GCS (RAPS 0–4, not 15−GCS), and age summed to a 0–26 total for nonsurgical adult ED in-hospital mortality. Deterministic published arithmetic with citation; not MEWS, NEWS, or APACHE II; not an ICU-admission order.","url":"https://api.magentlab.com/api/calc/rems","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":["map_mm_hg","heart_rate_bpm","respiratory_rate","spo2_percent","gcs","age"],"properties":{"age":{"type":"integer","description":"Age in years (integer 18-120). Adult ED. Olsson 2004 Table 1: <45 → 0, 45-54 → 2, 55-64 → 3, 65-74 → 5, >74 → 6."},"gcs":{"type":"integer","description":"Glasgow Coma Scale total 3-15, caller-assigned. Olsson 2004 REMS/RAPS 0-4: 14-15 → 0, 11-13 → 1, 8-10 → 2, 5-7 → 3, 3-4 → 4. Not APACHE II 15−GCS. magent does not score eye/verbal/motor."},"map_mm_hg":{"type":"integer","description":"Mean arterial pressure in mm Hg (integer 30-180). Olsson 2004 Table 1: ≤49 → 4, 50-69 → 2, 70-109 → 0, 110-129 → 2, 130-159 → 3, ≥160 → 4. magent does not compute MAP from SBP/DBP."},"spo2_percent":{"type":"integer","description":"Pulse oximetry SpO2 percent (integer 50-100). Olsson 2004 Table 1: >89 → 0, 86-89 → 1, 75-85 → 3, <75 → 4."},"heart_rate_bpm":{"type":"integer","description":"Heart rate in beats/min (integer 30-220). Olsson 2004 Table 1: ≤39 → 4, 40-54 → 2, 55-69 → 1, 70-109 → 0, 110-139 → 2, 140-179 → 3, ≥180 → 4."},"respiratory_rate":{"type":"integer","description":"Respiratory rate in breaths/min (integer 0-80). Olsson 2004 Table 1: ≤5 → 4, 6-9 → 2, 10-11 → 1, 12-24 → 0, 25-34 → 1, 35-49 → 3, ≥50 → 4."}}}},"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_QjAERjLnMjmcI08MSK51I","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 Rapid Emergency Medicine Score (REMS) per Olsson 2004 Table 1 from six vital-sign and demographic inputs to estimate in-hospital mortality risk for nonsurgical adult ED patients.","exampleAgentPrompt":"Calculate the REMS score for a 67-year-old nonsurgical ED patient with MAP 85 mmHg, heart rate 112 bpm, respiratory rate 22 breaths/min, SpO2 96%, and GCS 14.","exampleUseCases":[{"title":"Triage acuity scoring in the ED","prompt":"I have a 72-year-old patient in the ED — nonsurgical. Their MAP is 60 mmHg, heart rate 48 bpm, respiratory rate 8 breaths/min, SpO2 88%, and GCS is 12. Can you compute their REMS score?"},{"title":"Automated chart review mortality flagging","prompt":"For an automated clinical audit, calculate the Olsson 2004 REMS score for a 55-year-old with MAP 130 mmHg, heart rate 135 bpm, respiratory rate 28 breaths/min, SpO2 92%, GCS 15."},{"title":"Comparing severity before and after treatment","prompt":"My patient is 49 years old. Before treatment their MAP was 50 mmHg, HR 145 bpm, RR 36 breaths/min, SpO2 80%, GCS 10 — what was their REMS score at that point?"}],"resultDescription":"Returns the REMS total score (0–26) computed by deterministic arithmetic per Olsson 2004 Table 1, summing age, MAP, heart rate, respiratory rate, SpO2, and RAPS (GCS-derived) subscores. Higher scores indicate higher predicted in-hospital mortality risk in nonsurgical adult ED patients.","failureModes":["Missing any required query parameter (map_mm_hg, heart_rate_bpm, respiratory_rate, spo2_percent, gcs, age) returns an error","Out-of-range integer values (e.g. age <18 or >120, MAP <30 or >180) may return a validation error","GCS must be caller-assigned 3–15; the API does not decompose eye/verbal/motor components","MAP must be caller-computed; the API does not derive MAP from systolic and diastolic BP","Non-integer inputs will fail schema validation"],"whenToPreferThis":"Use this endpoint when you need a validated, published, deterministic Rapid Emergency Medicine Score (REMS) per Olsson 2004 for a nonsurgical adult ED patient. Prefer over MEWS or NEWS when the Olsson 2004 citation is required, or when scoring specifically targets nonsurgical adult ED in-hospital mortality rather than general ward deterioration or ICU admission. Not appropriate for pediatric patients, surgical patients, or ICU admission scoring.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:03:05.616Z","isFirstParty":false}