{"uid":"cap_tQl4vgEmnuR1F92BQJMgH","slug":"kruis-1984-ibs-score-calculator-9b8ce442","name":"Kruis 1984 IBS Score Calculator","description":"Kruis 1984 weighted IBS versus organic score. History: pain/flatulence/irregularity triad +34, duration >2 years +16, characteristic pain descriptors +23, alternating constipation/diarrhea +14. Organic flags: abnormal physical or pathognomonic history -47, ESR >10 mm/h -13, leukocytosis -50, anemia -98, blood in stool -98. IBS iff score >= 44. Caller assigns flags. magent does not examine the patient or run labs. Not a diagnosis, not Manning, not Rome.","url":"https://api.magentlab.com/api/calc/kruis","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":["symptom_triad","duration_gt_2_years","characteristic_pain_descriptors","alternating_constipation_diarrhea","abnormal_physical_or_pathognomonic_history","esr_gt_10_mm_h","leukocytosis","anemia","blood_in_stool"],"properties":{"anemia":{"type":"boolean","description":"Anemia: hemoglobin <12 g/dL in females or <14 g/dL in males as assigned by the caller (Kruis 1984). true scores -98. magent does not run labs."},"leukocytosis":{"type":"boolean","description":"Leukocytosis, white-cell count >10,000/µL, as assigned by the caller (Kruis 1984). true scores -50. magent does not run labs."},"symptom_triad":{"type":"boolean","description":"Abdominal pain, flatulence, and irregularities of bowel movement in the same patient (Kruis 1984 Table 4 A+B+C triad). true scores +34. true or false as assigned by the caller. magent does not examine the patient."},"blood_in_stool":{"type":"boolean","description":"History of blood in stool as assigned by the caller (Kruis 1984; retained at -98 though not independently significant in the logistic model). magent does not examine stool."},"esr_gt_10_mm_h":{"type":"boolean","description":"Erythrocyte sedimentation rate >10 mm/h (>20 mm/2 h on the 1984 Westergren form) as assigned by the caller (Kruis 1984). true scores -13. magent does not run labs."},"duration_gt_2_years":{"type":"boolean","description":"Those symptoms for more than 2 years as assigned by the caller (Kruis 1984). true scores +16. magent does not take a history."},"characteristic_pain_descriptors":{"type":"boolean","description":"Abdominal pain described as burning, cutting, very strong, terrible, feeling of pressure, dull, boring, or not so bad (Kruis 1984 Figure 1). true scores +23. magent does not examine the patient."},"alternating_constipation_diarrhea":{"type":"boolean","description":"Alternating bowel movements (constipation/diarrhea) as assigned by the caller (Kruis 1984). true scores +14."},"abnormal_physical_or_pathognomonic_history":{"type":"boolean","description":"Abnormal physical findings and/or history pathognomonic for any diagnosis other than IBS as assigned by the caller (Kruis 1984). true scores -47. 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_vfWcwcPS0vXAiMz0fgeSK","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 Kruis 1984 weighted IBS-vs-organic score from caller-assigned symptom and lab flags, returning a numeric score and IBS classification (score ≥ 44 = IBS).","exampleAgentPrompt":"Run the Kruis 1984 IBS score for a patient who has the pain/flatulence/irregularity triad, symptoms lasting more than 2 years, characteristic pain descriptors, no alternating constipation/diarrhea, no abnormal physical or pathognomonic history, ESR not elevated, no leukocytosis, no anemia, and no blood in stool — tell me the score and whether it meets the IBS threshold.","exampleUseCases":[{"title":"Outpatient GI clinic IBS triage","prompt":"I have a patient with the classic symptom triad, symptoms over 2 years, characteristic pain descriptors, alternating bowel habits, no red flags on exam, ESR normal, no leukocytosis, no anemia, no blood in stool — can you run the Kruis 1984 score and tell me if it clears the IBS threshold?"},{"title":"Ruling out IBS when red flags are present","prompt":"Patient has abdominal pain and bowel irregularity but also has anemia, leukocytosis, and blood in stool with no classic symptom triad — calculate the Kruis 1984 score to see if this looks more organic than IBS."},{"title":"Clinical documentation support","prompt":"For my note, run the Kruis IBS calculator: symptom triad present, duration over 2 years, characteristic pain descriptors present, no alternating constipation/diarrhea, no abnormal history or exam finding, ESR not elevated, no leukocytosis, no anemia, no blood — give me the numeric score and the IBS vs organic result."}],"resultDescription":"Returns the computed Kruis 1984 weighted score (sum of positive and negative weighted flags) and a binary IBS classification indicating whether the score meets or exceeds the 44-point IBS threshold. Does not provide a clinical diagnosis.","failureModes":["Missing required query parameters (any of the 9 boolean flags omitted) returns a 400 or validation error","Non-boolean values for flag parameters cause a parse or validation error","Network or payment (x402) failure results in no score being returned","Miscoded flags by the caller (e.g. marking anemia=true when labs are normal) produce a mathematically valid but clinically incorrect score — the API cannot validate clinical accuracy"],"whenToPreferThis":"Use this endpoint when you need to programmatically apply the Kruis 1984 weighted scoring model to distinguish IBS from organic bowel disease and the caller has already determined the boolean status of all 9 required clinical and lab flags. Prefer this over Manning or Rome criteria endpoints when the Kruis 1984 model specifically is required (e.g., for historical comparability, research, or institutional protocol). Do not use this as a substitute for clinical examination, laboratory testing, or formal diagnosis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:58:34.826Z","isFirstParty":false}