Skip to content
Fourohtwo

Hyams 2016 Rome IV H3a

api.magentlab.com/api/calc/rome-iv-child-constipation

Hyams 2016 Rome IV H3a. rome_iv_child_constipation is true iff developmental_age

BaseAnswering
POSThttps://api.magentlab.com/api/calc/rome-iv-child-constipation

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.magentlab.com/api/calc/rome-iv-child-constipation", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"items":[{"developmental_age_at_least_4_years":true,"duration_at_least_1_month":true,"fecal_incontinence_at_least_weekly":false,"large_diameter_stools_that_can_obstruct_toilet":false,"large_fecal_mass_in_rectum":false,"painful_or_hard_bowel_movements":true,"retentive_posturing_or_excessive_volitional_stool_retention":false,"two_or_fewer_defecations_in_toilet_per_week":true}]}),
});
console.log(await res.json());

Example input

{
  "items": [
    {
      "developmental_age_at_least_4_years": true,
      "duration_at_least_1_month": true,
      "fecal_incontinence_at_least_weekly": false,
      "large_diameter_stools_that_can_obstruct_toilet": false,
      "large_fecal_mass_in_rectum": false,
      "painful_or_hard_bowel_movements": true,
      "retentive_posturing_or_excessive_volitional_stool_retention": false,
      "two_or_fewer_defecations_in_toilet_per_week": true
    }
  ]
}

More from magentProvider status