{"uid":"cap_69aKt8c5xJ0ge5arefKcF","slug":"brindle-2021-edinburgh-gastric-ulcer-malignancy-score-9ad5a2d1","name":"Brindle 2021 Edinburgh Gastric Ulcer Malignancy Score","description":"Brindle 2021 Edinburgh gastric ulcer score (human gastric ulcer at index OGD): age <68 → 0, 68-79 → 1, ≥80 → 2; size <1.25 cm → 0, 1.25-2.99 cm → 2, ≥3.00 cm → 3 (no 1-point size band); antral 0, non-antral 1. Total 0-6. higher_malignancy_risk iff score ≥ 3. Use only with macroscopically benign appearance and ≥6 negative biopsies. magent does not read endoscopy images. Not equine EGUS. Not a medical device.","url":"https://api.magentlab.com/api/calc/egus","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","ulcer_size_cm","location"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). Brindle 2021: <68 → 0; 68-79 → 1; ≥80 → 2."},"location":{"enum":["antral","non-antral"],"type":"string","description":"Caller-assigned ulcer location (Brindle 2021). antral (antrum or pre-pylorus) scores 0; non-antral scores 1. Case-insensitive. magent does not read endoscopy images or assign location."},"ulcer_size_cm":{"type":"number","description":"Endoscopist-estimated ulcer size in cm as assigned by the caller (Brindle 2021). <1.25 cm → 0; 1.25-2.99 cm → 2; ≥3.00 cm → 3. There is no 1-point size band. Magent clamp 0.1-40, not a published range. magent does not measure the ulcer."}}}},"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_63uHSu3mJrx8gzjEcBhAF","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 the Brindle 2021 Edinburgh gastric ulcer score (0–6) and returns a higher_malignancy_risk flag for human gastric ulcers at index OGD, based on patient age, ulcer size, and ulcer location.","exampleAgentPrompt":"Score a gastric ulcer found at index OGD in a 74-year-old patient — the ulcer is 1.8 cm and located in the antrum. What's the Edinburgh malignancy score and is there a higher malignancy risk?","exampleUseCases":[{"title":"Post-OGD malignancy risk stratification","prompt":"I have a 72-year-old patient with a macroscopically benign-looking gastric ulcer, 1.5 cm, in the non-antral region and 6 negative biopsies. Can you calculate the Brindle Edinburgh score and tell me if they're at higher malignancy risk?"},{"title":"Elderly patient large antral ulcer","prompt":"My patient is 83 years old with a 3.2 cm antral gastric ulcer found at their index endoscopy — what does the Edinburgh gastric ulcer score come out to, and does it flag higher malignancy risk?"},{"title":"Low-risk young patient scoring","prompt":"A 55-year-old presented with a 0.9 cm antral gastric ulcer at first OGD. Can you run the Brindle 2021 Edinburgh score to see if they're in the lower-risk group?"}],"resultDescription":"Returns the Brindle 2021 Edinburgh gastric ulcer total score (integer 0–6), a boolean higher_malignancy_risk field (true if score ≥ 3), and the component subscores for age, ulcer size, and ulcer location.","failureModes":["Missing required query parameters (age, ulcer_size_cm, location) returns a 400 error","Age outside 18–120 range is clamped or rejected","ulcer_size_cm outside 0.1–40 cm is clamped to internal bounds","Invalid location enum value (not 'antral' or 'non-antral') returns validation error","Payment not provided or insufficient USDC results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a standardized, evidence-based gastric ulcer malignancy risk score for a human patient at index OGD with a macroscopically benign appearance and at least 6 negative biopsies. It implements the Brindle 2021 Edinburgh scoring rule exactly, making it preferable to manual calculation. Do not use for equine gastric ulcer syndrome (EGUS), for gastric ulcers with suspicious macroscopic appearance, or as a substitute for histopathology.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:58:44.703Z","isFirstParty":false}