{"uid":"cap_AD2NfnshSqpVnCq10cviw","slug":"harvey-bradshaw-index-hbi-calculator-ccff3adb","name":"Harvey-Bradshaw Index (HBI) Calculator","description":"Harvey and Bradshaw 1980 simple Crohn's-disease activity index (one-day; items 1-3 previous day). Well-being 0-4, abdominal pain 0-3, liquid stools (1 point each; magent clamp 0-30), abdominal mass 0-3, plus 1 per listed complication (arthralgia, uveitis, erythema nodosum, aphthous ulcers, pyoderma gangrenosum, anal fissure, new fistula, abscess). magent sums only (max 48) and does not return later remission cutoffs. Not a Crohn's diagnosis or Best 1976 CDAI. magent does not examine the patient.","url":"https://api.magentlab.com/api/calc/harvey_bradshaw","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":["well_being","abdominal_pain","liquid_stools","abdominal_mass","arthralgia","uveitis","erythema_nodosum","aphthous_ulcers","pyoderma_gangrenosum","anal_fissure","new_fistula","abscess"],"properties":{"abscess":{"type":"boolean","description":"Abscess present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient."},"uveitis":{"type":"boolean","description":"Uveitis present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient."},"arthralgia":{"type":"boolean","description":"Arthralgia present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient."},"well_being":{"type":"integer","description":"Caller-assigned Harvey 1980 general well-being for the previous day (integer 0-4): 0 very well; 1 slightly below par; 2 poor; 3 very poor; 4 terrible. magent does not examine the patient."},"new_fistula":{"type":"boolean","description":"New fistula present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient."},"anal_fissure":{"type":"boolean","description":"Anal fissure present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient."},"liquid_stools":{"type":"integer","description":"Count of liquid stools that day (Harvey 1980; 1 point per stool). Integer 0-30 is a magent clamp, not a published maximum. magent does not examine the patient."},"abdominal_mass":{"type":"integer","description":"Caller-assigned Harvey 1980 abdominal mass (integer 0-3): 0 none; 1 dubious; 2 definite; 3 definite and tender. magent does not examine the patient."},"abdominal_pain":{"type":"integer","description":"Caller-assigned Harvey 1980 abdominal pain for the previous day (integer 0-3): 0 none; 1 mild; 2 moderate; 3 severe. magent does not examine the patient."},"aphthous_ulcers":{"type":"boolean","description":"Aphthous ulcers present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient."},"erythema_nodosum":{"type":"boolean","description":"Erythema nodosum present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient."},"pyoderma_gangrenosum":{"type":"boolean","description":"Pyoderma gangrenosum present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient."}}}},"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_EB8HnSxNBiKpcCxJay_Yd","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 Harvey-Bradshaw simple Crohn's Disease Activity Index score from one day of symptom and complication data","exampleAgentPrompt":"Calculate the Harvey-Bradshaw Index for a Crohn's patient who rates their well-being as 2 (poor), abdominal pain as 1 (mild), had 4 liquid stools yesterday, abdominal mass score 0, with arthralgia present but no other complications.","exampleUseCases":[{"title":"Daily Crohn's symptom diary scoring","prompt":"My Crohn's patient kept a symptom diary yesterday: well-being 1 (slightly below par), abdominal pain 2, 6 liquid stools, no abdominal mass, and they have aphthous ulcers and arthralgia — can you calculate their Harvey-Bradshaw score?"},{"title":"Remote patient monitoring HBI tracking","prompt":"Score the Harvey-Bradshaw Index for today's patient-reported data: well-being 3, abdominal pain 3, 8 liquid stools, abdominal mass 1, with a new fistula and abscess present, no other complications."},{"title":"Clinical trial eligibility pre-screen","prompt":"I need the Harvey-Bradshaw Index calculated: well-being 0 (very well), abdominal pain 0, 1 liquid stool, abdominal mass 0, and none of the listed complications are present — what's the total HBI score?"}],"resultDescription":"A numeric Harvey-Bradshaw Index (HBI) total score between 0 and 48 (maximum), computed by summing: well-being (0–4), abdominal pain (0–3), one point per liquid stool (clamped at 30), abdominal mass (0–3), and one point per present complication (arthralgia, uveitis, erythema nodosum, aphthous ulcers, pyoderma gangrenosum, anal fissure, new fistula, abscess). The endpoint does not provide a remission classification or diagnosis.","failureModes":["Missing required query parameters returns an error","Out-of-range integer values (e.g. well_being > 4 or liquid_stools > 30) may be rejected or clamped","Non-boolean values passed for complication flags cause validation errors","Network or payment-related failures (x402 payment not accepted) block the response"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic computation of the Harvey-Bradshaw simple Crohn's Disease Activity Index from a single day of patient-reported or clinician-recorded data. Prefer this over manual calculation when building clinical decision support tools, patient monitoring apps, or research pipelines. Do not use for the full Best 1976 CDAI (which requires 7-day data), for diagnosis, or for determining remission thresholds beyond the raw score.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:51:11.687Z","isFirstParty":false}