{"uid":"cap_LeCbWYvpvlRacWlYAYtl_","slug":"lrinec-score-calculator-4869b1b3","name":"LRINEC Score Calculator","description":"Deterministic published-formula arithmetic plus ICD-10-CM, RxNorm, and LOINC. Pay in USDC on Base via x402.","url":"https://api.magentlab.com/api/calc/lrinec?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object"}},"additionalProperties":false}}},"responseSchema":{"type":"json"},"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_dtAL9XJaOn4YLqLU1HvyT","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 LRINEC score (Wong 2004) from laboratory values to assess risk of necrotizing fasciitis","exampleAgentPrompt":"Calculate the LRINEC score for a patient with CRP 200 mg/L, WBC 20k/µL, hemoglobin 10.5 g/dL, sodium 130 mmol/L, creatinine 160 µmol/L, and glucose 12 mmol/L — and tell me whether the score meets the ≥6 cutoff for elevated necrotizing fasciitis risk.","exampleUseCases":[{"title":"ED triage for necrotizing fasciitis","prompt":"I have a patient in the ED with a rapidly spreading soft tissue infection. Labs show CRP 175 mg/L, WBC 27k/µL, hemoglobin 11.8 g/dL, sodium 133 mmol/L, creatinine 1.6 mg/dL, and glucose 185 mg/dL. Can you compute the LRINEC score and tell me if it's above 6?"},{"title":"Surgical consult documentation","prompt":"The surgical consult wants the formal LRINEC score before they come evaluate — patient has CRP 90 mg/L, WBC 14k/µL, hemoglobin 13.0 g/dL, sodium 138 mmol/L, creatinine 95 µmol/L, glucose 9 mmol/L. What's the score and what does it mean?"},{"title":"Clinical decision support integration","prompt":"For this ICU patient with suspected necrotizing fasciitis, run the LRINEC score using CRP 210 mg/L, WBC 31k/µL, hemoglobin 9.5 g/dL, sodium 129 mmol/L, creatinine 2.0 mg/dL, and glucose 230 mg/dL, and flag if the score is ≥6 or ≥8."}],"resultDescription":"Returns the total LRINEC score (0–13), individual component scores for each lab input, and interpretation relative to the ≥6 cutoff for elevated necrotizing fasciitis risk. Includes a citation note that the score does not diagnose NF and a score below cutoff does not exclude disease.","failureModes":["Missing required parameters (crp_mg_l, hemoglobin_g_dl, sodium_mmol_l) returns 400 validation error","Providing both glucose_mg_dl and glucose_mmol_l or both creatinine units simultaneously may cause error or ambiguity","Values outside specified ranges (e.g. CRP >500, hemoglobin <3 g/dL) may be rejected","402 Payment Required if x402 payment header is absent or insufficient","Conflicting WBC units (both wbc_ul and wbc_k_ul provided) may cause unexpected behavior"],"whenToPreferThis":"Use this endpoint when you need a deterministic, citation-backed LRINEC score computed from raw lab values without manual lookup of component thresholds. Prefer it over general LLM reasoning for clinical score calculation where reproducibility and the published Wong 2004 algorithm matter. It supports flexible unit input (mg/dL or µmol/L for creatinine, mg/dL or mmol/L for glucose, cells/µL or k/µL for WBC), making it easy to pass labs as charted without unit conversion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T07:39:10.197Z","isFirstParty":false,"canonicalSlug":"lrinec-score-calculator-4869b1b3"}