# Rome IV H1b Functional Nausea and Functional Vomiting Calculator (Pediatric)

> Rome IV H1b Functional Nausea and Functional Vomiting Calculator (Pediatric) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Evaluates whether a child meets Rome IV H1b criteria for functional nausea and/or functional vomiting based on caller-assigned clinical flags

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/rome_iv_child_nausea_vomiting
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rome-iv-h1b-functional-nausea-and-functional-vomiting-calculator-a7605172
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_arl5RgkiXRDPTu91jKdOv

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability rome-iv-h1b-functional-nausea-and-functional-vomiting-calculator-a7605172
```

Example prompt: Apply the Rome IV H1b criteria to a child who has had symptoms for over 2 months: nausea is bothersome twice a week and not meal-related (true), nausea is not consistently associated with vomiting (true), nausea is not explained by another condition (true), vomiting occurs at least weekly (true), no self-induced vomiting or eating disorder (true), and vomiting is not explained by another condition (true) — does the child meet criteria for functional nausea, functional vomiting, or both?

## When to prefer this

Use this endpoint when you have a pediatric patient (not neonate or toddler) with nausea or vomiting symptoms lasting at least 2 months and you want to formally evaluate whether they meet Rome IV H1b criteria for functional nausea and/or functional vomiting. Prefer this over general symptom checkers when you need structured Hyams 2016 Rome IV H1b criterion logic applied programmatically. Not appropriate for H1a (cyclic vomiting syndrome), CNVS, H1c, or adult patients.

## Known failure modes

- Missing required boolean query parameters returns an error
- All flags set to false results in neither condition being met
- Misassignment of clinical flags by caller leads to incorrect classification (magent does not examine the child)
- Endpoint does not apply to neonates, toddlers, H1a, CNVS, or H1c — results may be irrelevant if wrong patient population

## How this service works

Hyams 2016 Rome IV H1b. Functional nausea iff 2-month duration plus bothersome_nausea_twice_weekly_not_meal_related, nausea_not_consistently_associated_with_vomiting, and nausea_not_explained_by_another_condition. Functional vomiting iff 2-month duration plus vomiting_at_least_weekly, no_self_induced_eating_disorder_or_rumination, and vomiting_not_explained_by_another_condition. Both may be true. magent does not examine the child. Not a diagnosis, not H1a, CNVS, H1c, or neonate/toddler.

## Output

Returns a structured result indicating whether the child meets Rome IV H1b criteria for functional nausea, functional vomiting, both, or neither, based on the boolean flags provided by the caller. Does not provide a diagnosis — clinical judgment remains with the examining clinician.

## Request schema (JSON Schema)

```json
{
 "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": [
      "fulfilled_at_least_2_months",
      "bothersome_nausea_twice_weekly_not_meal_related",
      "nausea_not_consistently_associated_with_vomiting",
      "nausea_not_explained_by_another_condition",
      "vomiting_at_least_weekly",
      "no_self_induced_eating_disorder_or_rumination",
      "vomiting_not_explained_by_another_condition"
     ],
     "properties": {
      "vomiting_at_least_weekly": {
       "type": "boolean",
       "description": "On average one or more episodes of vomiting per week, as assigned (Hyams 2016 Rome IV H1b2). true or false as assigned by the caller. magent does not examine the child."
      },
      "fulfilled_at_least_2_months": {
       "type": "boolean",
       "description": "Criteria fulfilled for at least 2 months before diagnosis, as assigned (Hyams 2016 Rome IV H1b; shared duration for functional nausea and functional vomiting). true or false as assigned by the caller. magent does not take a history."
      },
      "nausea_not_explained_by_another_condition": {
       "type": "boolean",
       "description": "After appropriate evaluation, the nausea cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H1b1). true or false as assigned by the caller. magent does not examine the child."
      },
      "vomiting_not_explained_by_another_condition": {
       "type": "boolean",
       "description": "After appropriate evaluation, the vomiting cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H1b2). true or false as assigned by the caller. magent does not examine the child."
      },
      "no_self_induced_eating_disorder_or_rumination": {
       "type": "boolean",
       "description": "Absence of self-induced vomiting or criteria for an eating disorder or rumination, as assigned (Hyams 2016 Rome IV H1b2). true or false as assigned by the caller. magent does not examine the child."
 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rome-iv-h1b-functional-nausea-and-functional-vomiting-calculator-a7605172/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
