Hyams 2016 Rome IV H2b
Hyams 2016 Rome IV H2b. rome_iv_child_ibs is true iff pain at least 4 days per month, stool_features_met >= 1, pain_does_not_resolve_with_constipation_treatment, not another condition, and 2-month duration. stool_features_met (0-3) counts related_to_defecation, change_in_stool_frequency, and change_in_stool_form. Caller assigns seven flags. magent does not examine the patient. Not a diagnosis. Not adult Rome IV IBS, not child functional constipation, not IBS-C/D/M/U subtype.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.magentlab.com/api/calc/rome_iv_child_ibs
| Category | Everything else |
|---|---|
| Provider host | api.magentlab.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-28 | valid payment request | 402 | $0.007 | 294 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"abdominal_pain_at_least_4_days_per_month": true,
"change_in_stool_form": false,
"change_in_stool_frequency": true,
"fulfilled_at_least_2_months": true,
"not_explained_by_another_condition": true,
"pain_does_not_resolve_with_constipation_treatment": true,
"related_to_defecation": true
},
{
"abdominal_pain_at_least_4_days_per_month": true,
"change_in_stool_form": false,
"change_in_stool_frequency": true,
"fulfilled_at_least_2_months": true,
"not_explained_by_another_condition": true,
"pain_does_not_resolve_with_constipation_treatment": true,
"related_to_defecation": true
}
]
},
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"items": {
"items": {
"properties": {
"abdominal_pain_at_least_4_days_per_month": {
"description": "Abdominal pain at least 4 days per month, as assigned (Hyams 2016 Rome IV H2b). true or false as assigned by the caller. magent does not examine the patient.",
"type": "boolean"
},
"change_in_stool_form": {
"description": "Pain associated with a change in form (appearance) of stool (one of three stool features; at least one required). true or false as assigned by the caller. magent does not examine the patient.",
"type": "boolean"
},
"change_in_stool_frequency": {
"description": "Pain associated with a change in frequency of stool (one of three stool features; at least one required). true or false as assigned by the caller. magent does not examine the patient.",
"type": "boolean"
},
"fulfilled_at_least_2_months": {
"description": "Criteria fulfilled for at least 2 months, as assigned (Hyams 2016 Rome IV H2b). true or false as assigned by the caller. magent does not take a history.",
"type": "boolean"
},
"not_explained_by_another_condition": {
"description": "After appropriate evaluation, the symptoms cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H2b). true or false as assigned by the caller. magent does not examine the patient.",
"type": "boolean"
},
"pain_does_not_resolve_with_constipation_treatment": {
"description": "Pain does not resolve with resolution of the constipation, as assigned (Hyams 2016 Rome IV H2b item 2). Assign true if there is no constipation, or if pain persists after treating constipation. true or false as assigned by the caller. magent does not treat constipation or examine the patient.",
"type": "boolean"
},
"related_to_defecation": {
"description": "Pain related to defecation (one of three stool features; at least one required). true or false as assigned by the caller. magent does not examine the patient.",
"type": "boolean"
}
},
"required": [
"abdominal_pain_at_least_4_days_per_month",
"related_to_defecation",
"change_in_stool_frequency",
"change_in_stool_form",
"pain_does_not_resolve_with_constipation_treatment",
"not_explained_by_another_condition",
"fulfilled_at_least_2_months"
],
"type": "object"
},
"maxItems": 25,
"minItems": 1,
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"const": "POST",
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}