{"uid":"cap_89DdJ5gNhT72za6eDxi-Q","slug":"la-classification-grading-los-angeles-classification-of-oesophagitis-7e7a6f29","name":"LA Classification Grading (Los Angeles Classification of Oesophagitis)","description":"Lundell 1999 Table 1 Los Angeles classification. Caller-assigned flags. none if no mucosal break (not minimal changes); D if break(s) involve ≥75% of circumference; C if continuous between fold tops but <75%; B if longest break >5 mm not between fold tops; A if ≤5 mm not between fold tops. magent does not interpret images. Not Savary-Miller, GERD diagnosis, Barrett/stricture, or 1994 LA (D was fully circumferential). Not a medical device.","url":"https://api.magentlab.com/api/calc/la_grading","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":["mucosal_break","longest_break_gt_5_mm","continuous_between_folds","circumference_ge_75_percent"],"properties":{"mucosal_break":{"type":"boolean","description":"One or more mucosal breaks present, as assigned by the caller. Lundell 1999 defines a mucosal break as an area of slough or erythema with a discrete line of demarcation from adjacent more normal-looking mucosa. true or false. If false, la_grade is none (no LA A-D; not minimal changes). magent does not interpret endoscopy images."},"longest_break_gt_5_mm":{"type":"boolean","description":"Longest mucosal break more than 5 mm long, as assigned by the caller (Lundell 1999 Table 1 grade B vs A). true or false. Required even when mucosal_break is false (does not change none). magent does not measure lesions."},"continuous_between_folds":{"type":"boolean","description":"A mucosal break is continuous between the tops of two or more mucosal folds, as assigned by the caller (Lundell 1999 Table 1 grade C). true or false. Required even when mucosal_break is false (does not change none). magent does not interpret endoscopy images."},"circumference_ge_75_percent":{"type":"boolean","description":"Mucosal break(s) involve at least 75% of the oesophageal circumference, as assigned by the caller (Lundell 1999 Table 1 grade D; the 1999 revision, not the 1994 fully circumferential proposal). true or false. Required even when mucosal_break is false (does not change none). magent does not interpret endoscopy images."}}}},"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_2Kq8OzjfOPeKFDwj3BRwt","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 Lundell 1999 Los Angeles (LA) grade (None, A, B, C, or D) for reflux oesophagitis from four caller-assigned boolean findings about mucosal breaks.","exampleAgentPrompt":"The endoscopist documented a mucosal break that is more than 5 mm long but not continuous between fold tops and covers less than 75% of the circumference — what is the Lundell 1999 LA classification grade?","exampleUseCases":[{"title":"Classifying Grade D circumferential oesophagitis","prompt":"My endoscopy report shows mucosal breaks present, the longest is over 5 mm, breaks are continuous between mucosal fold tops, and they involve at least 75% of the oesophageal circumference — run the Lundell 1999 LA grading and tell me the grade."},{"title":"Confirming no LA grade when no mucosal break","prompt":"The endoscopy showed no mucosal breaks at all — just minimal changes. What does the Lundell 1999 LA classification system return for that? I want to confirm the grade is none, not grade A."},{"title":"Grading borderline Grade A vs B finding","prompt":"The endoscopist found a mucosal break present, but it's 5 mm or shorter and not continuous between fold tops and not involving 75% of circumference — can you compute the LA oesophagitis grade for me?"}],"resultDescription":"Returns the Lundell 1999 Los Angeles classification grade as a string: 'none' (no mucosal break), 'A' (break ≤5 mm, not between fold tops), 'B' (break >5 mm, not between fold tops), 'C' (break continuous between fold tops but <75% circumference), or 'D' (break(s) ≥75% circumference).","failureModes":["Missing required boolean query parameters returns a validation error","Invalid non-boolean value for any parameter causes a 400-level error","All four booleans must be provided regardless of mucosal_break value","Network or payment authentication failure (402 x402 protocol) prevents response"],"whenToPreferThis":"Choose this endpoint when you need a precise, rule-based Lundell 1999 Table 1 LA grade computed from caller-assigned endoscopic findings. It is not a substitute for Savary-Miller grading, GERD diagnosis, Barrett's oesophagus assessment, or the 1994 LA proposal (where D required full circumference). It does not interpret images — the caller must supply the boolean flags themselves. It is ideal for automating clinical documentation workflows, audit pipelines, or educational tools that already have structured endoscopic observations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:10:06.247Z","isFirstParty":false}