{"slug":"api-magentlab-com-api-calc-rome-iv-nbs-af4002","title":"Keefer 2016 Rome IV NBS (D2)","host":"api.magentlab.com","method":"POST","resource":"https://api.magentlab.com/api/calc/rome_iv_nbs","category":"other","description":"Keefer 2016 Rome IV NBS (D2). rome_iv_nbs is true iff chronic or frequently recurring abdominal pain on narcotics, pain not explained by a GI diagnosis, at least two of three NBS features, last-3-months criteria, and 6-month onset. nbs_features_met is 0-3. Caller assigns seven flags. ~75 mg oral mor","price_listed":0.005,"price_asked":0.007,"state":"overcharges","state_label":"Asked 1.4x its listed price for its own example","checks_7d":1,"answered_7d":1,"latency_ms_median":307,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"items":[{"chronic_or_frequently_recurring_abdominal_pain_on_narcotics":true,"fulfilled_last_3_months":true,"marked_worsening_when_dose_wanes_improvement_when_reinstituted":true,"onset_at_least_6_months":true,"pain_not_explained_by_current_or_previous_gi_diagnosis":true,"pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics":true,"progression_of_frequency_duration_intensity_of_pain_episodes":false},{"chronic_or_frequently_recurring_abdominal_pain_on_narcotics":true,"fulfilled_last_3_months":true,"marked_worsening_when_dose_wanes_improvement_when_reinstituted":true,"onset_at_least_6_months":true,"pain_not_explained_by_current_or_previous_gi_diagnosis":true,"pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics":true,"progression_of_frequency_duration_intensity_of_pain_episodes":false}]},"method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chronic_or_frequently_recurring_abdominal_pain_on_narcotics":{"description":"Chronic or frequently recurring abdominal pain treated with acute high-dose or chronic narcotics; pain must occur most days, as assigned (Keefer 2016 Rome IV NBS / D2). Patients often take about 75 mg oral morphine equivalent; no particular time frame or dosage is required. true or false as assigned by the caller. magent does not examine the patient or judge opioid dose.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Keefer 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"marked_worsening_when_dose_wanes_improvement_when_reinstituted":{"description":"Marked worsening of pain when the narcotic dose wanes and improvement when narcotics are re-instituted (soar and crash; one of three NBS features; at least two required). true or false as assigned by the caller.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Keefer 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"pain_not_explained_by_current_or_previous_gi_diagnosis":{"description":"The nature and intensity of the pain is not explained by a current or previous GI diagnosis (a structural diagnosis may exist but is not sufficient to explain the pain), as assigned (Keefer 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics":{"description":"Pain worsens or incompletely resolves with continued or escalating dosages of narcotics (one of three NBS features; at least two required). true or false as assigned by the caller.","type":"boolean"},"progression_of_frequency_duration_intensity_of_pain_episodes":{"description":"Progression of the frequency, duration, and intensity of pain episodes (one of three NBS features; at least two required). true or false as assigned by the caller.","type":"boolean"}},"required":["chronic_or_frequently_recurring_abdominal_pain_on_narcotics","pain_not_explained_by_current_or_previous_gi_diagnosis","pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics","marked_worsening_when_dose_wanes_improvement_when_reinstituted","progression_of_frequency_duration_intensity_of_pain_episodes","fulfilled_last_3_months","onset_at_least_6_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"},"history":[{"day":"2026-09-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":false,"latency_ms":307,"error":null}],"description_full":"Keefer 2016 Rome IV NBS (D2). rome_iv_nbs is true iff chronic or frequently recurring abdominal pain on narcotics, pain not explained by a GI diagnosis, at least two of three NBS features, last-3-months criteria, and 6-month onset. nbs_features_met is 0-3. Caller assigns seven flags. ~75 mg oral morphine equivalent is copy-only. magent does not examine the patient or judge opioid dose. Not a diagnosis, not CAPS, not opioid-induced constipation.","last_updated":"2026-09-28T14:12:15.432Z","schemes":["exact"]}