{"uid":"cap_6sL4yE-4p_zqX7iFY_Oo5","slug":"glasgow-imrie-pancreatitis-severity-score-blamey-1984-24af3e86","name":"Glasgow-Imrie Pancreatitis Severity Score (Blamey 1984)","description":"Blamey 1984 Glasgow-Imrie eight-factor pancreatitis score: age >55, WBC >15 ×10^9/L, glucose >10 mmol/L, urea >16 mmol/L, PaO2 <60 mm Hg, calcium <2.0 mmol/L, albumin <32 g/L, LDH >600 U/L; 1 point each, max 8. Severe predicted if score ≥3. Caller-assigned flags; magent does not convert units. Not a diagnosis. Not Ranson. Transaminases omitted as in the paper.","url":"https://api.magentlab.com/api/calc/glasgow_imrie","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_gt_55","wbc_gt_15","glucose_gt_10","urea_gt_16","pao2_lt_60","calcium_lt_2","albumin_lt_32","ldh_gt_600"],"properties":{"age_gt_55":{"type":"boolean","description":"Age >55 years (Blamey 1984). true or false."},"wbc_gt_15":{"type":"boolean","description":"WBC >15 ×10^9/L. true or false."},"ldh_gt_600":{"type":"boolean","description":"LDH >600 U/L. true or false."},"pao2_lt_60":{"type":"boolean","description":"Arterial PaO2 <60 mm Hg. true or false."},"urea_gt_16":{"type":"boolean","description":"Urea >16 mmol/L. true or false."},"calcium_lt_2":{"type":"boolean","description":"Calcium <2.0 mmol/L. true or false."},"albumin_lt_32":{"type":"boolean","description":"Albumin <32 g/L. true or false."},"glucose_gt_10":{"type":"boolean","description":"Glucose >10 mmol/L. true or false."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/glasgow_imrie","count":2,"items":[{"score":0,"formula":"glasgow_imrie","citation":{"id":"blamey-1984","doi":"10.1136/gut.25.12.1340","pmid":"6510766","title":"Prognostic factors in acute pancreatitis","source":"Gut. 1984;25(12):1340-1346","authors":"Blamey SL, Imrie CW, O'Neill J, Gilmour WH, Carter DC"},"max_score":8,"components":[{"factor":"age_gt_55","points":0,"present":false},{"factor":"wbc_gt_15","points":0,"present":false},{"factor":"glucose_gt_10","points":0,"present":false},{"factor":"urea_gt_16","points":0,"present":false},{"factor":"pao2_lt_60","points":0,"present":false},{"factor":"calcium_lt_2","points":0,"present":false},{"factor":"albumin_lt_32","points":0,"present":false},{"factor":"ldh_gt_600","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.","severe_predicted":false,"formula_expression":"Glasgow-Imrie = age_gt_55 + wbc_gt_15 + glucose_gt_10 + urea_gt_16 + pao2_lt_60 + calcium_lt_2 + albumin_lt_32 + ldh_gt_600; each 1 if present; max 8; severe_predicted if score >= 3"},{"score":0,"formula":"glasgow_imrie","citation":{"id":"blamey-1984","doi":"10.1136/gut.25.12.1340","pmid":"6510766","title":"Prognostic factors in acute pancreatitis","source":"Gut. 1984;25(12):1340-1346","authors":"Blamey SL, Imrie CW, O'Neill J, Gilmour WH, Carter DC"},"max_score":8,"components":[{"factor":"age_gt_55","points":0,"present":false},{"factor":"wbc_gt_15","points":0,"present":false},{"factor":"glucose_gt_10","points":0,"present":false},{"factor":"urea_gt_16","points":0,"present":false},{"factor":"pao2_lt_60","points":0,"present":false},{"factor":"calcium_lt_2","points":0,"present":false},{"factor":"albumin_lt_32","points":0,"present":false},{"factor":"ldh_gt_600","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.","severe_predicted":false,"formula_expression":"Glasgow-Imrie = age_gt_55 + wbc_gt_15 + glucose_gt_10 + urea_gt_16 + pao2_lt_60 + calcium_lt_2 + albumin_lt_32 + ldh_gt_600; each 1 if present; max 8; severe_predicted if score >= 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_YreZKlrv2wpt-CqeK0DA-","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 Glasgow-Imrie (Blamey 1984) eight-factor acute pancreatitis severity score and predicts severe pancreatitis if score ≥3","exampleAgentPrompt":"Score this pancreatitis case using the Glasgow-Imrie (Blamey 1984) eight-factor criteria: the patient is over 55, WBC is elevated above 15, glucose is above 10 mmol/L, urea is above 16, PaO2 is normal, calcium is low (below 2.0), albumin is below 32 g/L, and LDH is above 600 — tell me the total score and whether it predicts severe pancreatitis.","exampleUseCases":[{"title":"ED triage for acute pancreatitis severity","prompt":"My patient just came into the ED with acute pancreatitis. They are over 55, WBC is above 15, blood glucose is above 10 mmol/L, urea is above 16, PaO2 is fine, calcium is low, albumin is below 32, and LDH is above 600. Run the Glasgow-Imrie score and tell me if this is predicted severe."},{"title":"ICU handoff pancreatitis risk summary","prompt":"For handoff, compute the Blamey 1984 Glasgow-Imrie pancreatitis score for a patient where age is over 55, WBC not elevated, glucose not elevated, urea not elevated, PaO2 is below 60, calcium is below 2.0, albumin is normal, and LDH is normal. What's their score and severity prediction?"},{"title":"Clinical audit scoring automation","prompt":"I need to retrospectively Glasgow-Imrie score a pancreatitis admission: patient was under 55, WBC above 15, glucose above 10 mmol/L, urea normal, PaO2 normal, calcium normal, albumin below 32 g/L, LDH above 600 U/L. Calculate the score and flag if it meets the severe threshold."}],"resultDescription":"Returns the numeric Glasgow-Imrie score (0–8, one point per criterion met) and a severity classification indicating whether the score predicts severe acute pancreatitis (score ≥3). Does not perform unit conversions; caller must pre-convert all values to the specified units and supply boolean flags.","failureModes":["Missing any of the eight required boolean flags returns a validation error","Passing numeric lab values instead of boolean flags causes schema rejection","Unit mismatch (e.g. glucose in mg/dL instead of mmol/L) yields silent scoring error since the API accepts caller-assigned booleans without conversion","Non-GET HTTP methods are rejected"],"whenToPreferThis":"Use this endpoint when you need to compute the original Blamey 1984 Glasgow-Imrie pancreatitis severity score specifically — not Ranson criteria (which includes transaminases and has 48-hour labs) and not APACHE-II. This is ideal for rapid ED or ICU severity stratification where all eight lab thresholds have already been evaluated and converted to the paper's specified units (mmol/L, g/L, U/L).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:58:12.789Z","isFirstParty":false}