{"uid":"cap_ATWUfPO9lpAWdpTIqWAMW","slug":"magent-brue-serious-diagnosis-recurrence-risk-calculator-nama-2022-5e013326","name":"magent BRUE Serious Diagnosis & Recurrence Risk Calculator (Nama 2022)","description":"Nama 2022 Supplemental Table 7 logistic probabilities of a serious underlying diagnosis and of event recurrence after a brief resolved unexplained event from age in days, similar-event history, abnormal medical history, prematurity, event clusters, color change, abnormal breathing, and tone change. Returns logits and percents from the unrounded logits. Not a medical device. No admission cutoff. magent does not examine the infant.","url":"https://api.magentlab.com/api/calc/brue_2","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_days","history_of_similar_event","abnormal_medical_history","prematurity","history_of_event_clusters","color_change","abnormal_respiratory_pattern","tone_change"],"properties":{"age_days":{"type":"integer","description":"Age in days (0-364). Nama 2022 Supplemental Table 7 serious-diagnosis model: +0.0025 per day. Recurrence model does not use age. magent does not examine the infant."},"prematurity":{"type":"boolean","description":"Prematurity as published: born <32 weeks, or born between 32 and 38 weeks and corrected to <45 weeks (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Recurrence +0.46."},"tone_change":{"type":"boolean","description":"Marked change in tone (hypertonia or hypotonia) during the event (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Recurrence -0.31."},"color_change":{"type":"boolean","description":"Color change (cyanosis or pallor) during the event (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Recurrence +0.36. magent does not examine the infant."},"abnormal_medical_history":{"type":"boolean","description":"Abnormal medical history such as previous hospitalization or an underlying medical condition (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Serious-diagnosis +0.65. Recurrence model does not use this flag."},"history_of_similar_event":{"type":"boolean","description":"History of a similar event before the index presentation (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Serious-diagnosis +0.56; recurrence +0.58. magent does not examine the infant."},"history_of_event_clusters":{"type":"boolean","description":"History of multiple events or event clusters before presentation (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Recurrence +1.17."},"abnormal_respiratory_pattern":{"type":"boolean","description":"Abnormal respiratory pattern (absent, decreased, or irregular breathing) during the event (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Recurrence -0.32."}}}},"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_HffWdIDFvTbZdsQSowWHg","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 logistic probabilities of a serious underlying diagnosis and of event recurrence after a brief resolved unexplained event (BRUE) using Nama 2022 Supplemental Table 7 predictors including age, history, prematurity, and event characteristics.","exampleAgentPrompt":"Calculate the BRUE serious-diagnosis and recurrence probabilities using the Nama 2022 model for a 45-day-old infant who was born premature (under 32 weeks), has no history of a similar event, no abnormal medical history, no event clusters, had color change (pallor) during the event, had abnormal breathing, and had no tone change.","exampleUseCases":[{"title":"ED triage for first-time BRUE infant","prompt":"I have a 60-day-old full-term infant in the ED with a first BRUE — no prior similar events, no abnormal medical history, no event clusters, color change (cyanosis) noted, abnormal respiratory pattern during the event, and no tone change. Can you run the Nama 2022 BRUE model and give me the serious-diagnosis and recurrence probability?"},{"title":"Premature infant with recurrent apnea events","prompt":"A 90-day-old infant born at 30 weeks gestation has had event clusters before, history of a similar event, abnormal medical history, color change during this event, no abnormal breathing, and marked hypotonia. What does the Nama 2022 BRUE calculator give for serious-diagnosis risk and recurrence probability?"},{"title":"Low-risk BRUE to reassure parents","prompt":"For a healthy 120-day-old full-term infant with a single BRUE episode — no prior similar events, no abnormal medical history, no event clusters, no color change, no abnormal breathing, and no tone change — what are the Nama 2022 serious-diagnosis and recurrence logit probabilities?"}],"resultDescription":"Returns the serious-diagnosis logit and its corresponding percentage probability, plus the event-recurrence logit and its corresponding percentage probability, both derived from the unrounded Nama 2022 Supplemental Table 7 logistic regression coefficients. Not a medical device and provides no admission cutoff.","failureModes":["Missing required query parameters (age_days, history_of_similar_event, abnormal_medical_history, prematurity, history_of_event_clusters, color_change, abnormal_respiratory_pattern, tone_change) returns a 400 error","age_days outside 0-364 range may return a validation error or out-of-model-scope warning","Boolean parameters passed as strings rather than true/false may cause parsing errors","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need a standardized, evidence-based logistic probability estimate for BRUE serious underlying diagnosis or recurrence risk based on the Nama 2022 Supplemental Table 7 model. Prefer it over manual coefficient lookup when integrating BRUE risk scoring into an automated clinical workflow or agent pipeline. This is the correct endpoint when all eight Nama 2022 predictor flags are available and you need both serious-diagnosis and recurrence probabilities in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:20:46.215Z","isFirstParty":false}