{"uid":"cap_O-GIcuNH6SX4u08iv6WhF","slug":"west-haven-hepatic-encephalopathy-grade-lookup-59e83e4d","name":"West Haven Hepatic Encephalopathy Grade Lookup","description":"West Haven / Conn hepatic encephalopathy grade 0-4 (Conn 1977). Deterministic published grade with citation. Not a diagnosis; magent does not examine the patient or apply ISHEN covert/overt or psychometric minimal-HE tests.","url":"https://api.magentlab.com/api/calc/west_haven","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":["grade"],"properties":{"grade":{"type":"integer","description":"Conn 1977 / West Haven hepatic encephalopathy grade 0-4 as assigned by the caller. magent does not examine the patient."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/west_haven","count":2,"items":[{"grade":0,"score":0,"formula":"west_haven","citation":{"id":"conn-1977","doi":"10.1016/S0016-5085(77)80135-2","title":"Comparison of lactulose and neomycin in the treatment of chronic portal-systemic encephalopathy. A double blind controlled trial","source":"Gastroenterology. 1977;72(4 Pt 1):573-583","authors":"Conn HO, Leevy CM, Vlahcevic ZR, et al."},"max_score":4,"components":[{"factor":"grade","points":0,"present":true}],"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.","description":"No abnormality detected","formula_expression":"West Haven / Conn grade 0-4 as assigned by the caller (Conn 1977)"},{"grade":0,"score":0,"formula":"west_haven","citation":{"id":"conn-1977","doi":"10.1016/S0016-5085(77)80135-2","title":"Comparison of lactulose and neomycin in the treatment of chronic portal-systemic encephalopathy. A double blind controlled trial","source":"Gastroenterology. 1977;72(4 Pt 1):573-583","authors":"Conn HO, Leevy CM, Vlahcevic ZR, et al."},"max_score":4,"components":[{"factor":"grade","points":0,"present":true}],"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.","description":"No abnormality detected","formula_expression":"West Haven / Conn grade 0-4 as assigned by the caller (Conn 1977)"}]}},"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_fPeMlgLBuhy6Si3DmQ7Me","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":"Returns the published West Haven / Conn (1977) hepatic encephalopathy grade (0–4) description and citation for a caller-assigned integer grade.","exampleAgentPrompt":"What does West Haven grade 2 hepatic encephalopathy mean according to the Conn 1977 scale? Look it up for me.","exampleUseCases":[{"title":"Annotate HE grade in clinical note","prompt":"My patient has been assigned a West Haven hepatic encephalopathy grade 3 by the treating physician — can you pull up the published Conn 1977 description for that grade so I can include it in the clinical note?"},{"title":"Educate trainee on HE staging","prompt":"I'm teaching a medical student about hepatic encephalopathy — can you retrieve the West Haven grade 1 criteria and description from the Conn 1977 scale so we can go over what to look for?"},{"title":"Populate EHR structured field","prompt":"We're filling out a structured liver disease form and the clinician documented West Haven grade 0. Can you get the official published criteria for grade 0 so we can verify the label is correct?"}],"resultDescription":"Returns the published West Haven / Conn 1977 grade label, clinical features/description for the given grade integer (0–4), and the associated citation. Does not perform patient examination, apply ISHEN covert/overt criteria, or administer psychometric minimal-HE tests.","failureModes":["Grade value outside 0–4 integer range returns a validation error","Missing required 'grade' query parameter returns a 400 bad request","Non-integer value for grade (e.g. float or string) returns a schema validation error","Temporary service unavailability returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need a deterministic, citation-backed description of a West Haven hepatic encephalopathy grade that has already been assigned by a clinician, for purposes such as documentation, annotation, education, or workflow automation. Prefer this over general LLM knowledge when you need traceable sourcing to the Conn 1977 publication. Do not use this to diagnose or grade patients — the grade must be pre-assigned by a qualified clinician.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:18:00.625Z","isFirstParty":false}