{"uid":"cap_vKqr1flQLuoVEeP-iX14g","slug":"rome-iv-child-fap-nos-calculator-hyams-2016-h2d-c34262ab","name":"Rome IV Child FAP-NOS Calculator (Hyams 2016 H2d)","description":"Hyams 2016 Rome IV H2d child FAP-NOS. rome_iv_child_fap_nos is true iff episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events, pain_at_least_4_times_per_month, insufficient_criteria_for_ibs_fd_or_abdominal_migraine, not_explained_by_another_condition, and fulfilled_at_least_2_months. Caller assigns five flags including the IBS/FD/abdominal-migraine residual. magent does not re-run those tools. Not a diagnosis, not adult CAPS, not FAPS (dropped in Rome IV).","url":"https://api.magentlab.com/api/calc/rome_iv_child_fap_nos","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":["episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events","pain_at_least_4_times_per_month","insufficient_criteria_for_ibs_fd_or_abdominal_migraine","not_explained_by_another_condition","fulfilled_at_least_2_months"],"properties":{"fulfilled_at_least_2_months":{"type":"boolean","description":"Criteria fulfilled for at least 2 months, as assigned (Hyams 2016 Rome IV H2d). true or false as assigned by the caller. magent does not take a history."},"pain_at_least_4_times_per_month":{"type":"boolean","description":"Abdominal pain at least 4 times per month, as assigned (Hyams 2016 Rome IV H2d). true or false as assigned by the caller. magent does not take a history."},"not_explained_by_another_condition":{"type":"boolean","description":"After appropriate evaluation, the abdominal pain cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H2d). true or false as assigned by the caller. magent does not examine the patient."},"insufficient_criteria_for_ibs_fd_or_abdominal_migraine":{"type":"boolean","description":"Insufficient criteria for IBS, functional dyspepsia, or abdominal migraine, as assigned (Hyams 2016 Rome IV H2d). Residual flag: magent does not re-run those tools. true or false as assigned by the caller."},"episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events":{"type":"boolean","description":"Episodic or continuous abdominal pain that does not occur solely during physiologic events (eating, menses), as assigned (Hyams 2016 Rome IV H2d). true or false as assigned by the caller. 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_NUf5o7t6zLZCNlJFJ9VxG","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":"Evaluates whether a child meets the Rome IV H2d criteria for Functional Abdominal Pain – Not Otherwise Specified (FAP-NOS) based on five caller-assigned boolean flags.","exampleAgentPrompt":"Check whether this child meets Rome IV H2d FAP-NOS criteria: abdominal pain is episodic and not tied to physiologic events (true), pain occurs at least 4 times per month (true), insufficient criteria for IBS, functional dyspepsia, or abdominal migraine (true), pain is not explained by another condition (true), and these criteria have been fulfilled for at least 2 months (true).","exampleUseCases":[{"title":"Pediatric GI clinic FAP-NOS screening","prompt":"I'm reviewing a 9-year-old with recurring abdominal pain — episodic and not tied to eating or menses (true), happening more than 4 times a month (true), symptoms going on for over 2 months (true), not explained by another condition (true), and she doesn't meet criteria for IBS, FD, or abdominal migraine (true). Does she meet Rome IV FAP-NOS?"},{"title":"Ruling out FAP-NOS after IBS workup","prompt":"A 12-year-old's abdominal pain is episodic and not physiologic-event-related (true), occurs at least 4 times a month (true), but she does meet sufficient criteria for IBS so the residual flag is false, pain is unexplained by other conditions (true), and duration is over 2 months (true). Does she still qualify for Rome IV H2d FAP-NOS?"},{"title":"Automated Rome IV classification in EHR pipeline","prompt":"For this pediatric patient record: episodic abdominal pain not during physiologic events is true, pain frequency at least 4 times per month is true, criteria for IBS/FD/abdominal migraine are insufficient so that flag is true, no other condition explains it (true), and the 2-month duration criterion is met (true) — run the Rome IV FAP-NOS H2d check."}],"resultDescription":"Returns a boolean rome_iv_child_fap_nos indicating whether all five Rome IV H2d criteria are simultaneously satisfied, yielding true only when every required flag is true. The endpoint performs no clinical assessment itself; it applies the Hyams 2016 logic mechanically to caller-supplied flags.","failureModes":["Missing any of the five required boolean query parameters returns an error","Passing non-boolean values for flags causes a validation error","Endpoint does not validate clinical plausibility — incorrect caller-assigned flags will yield incorrect results","Network or payment (x402) failures may prevent a response"],"whenToPreferThis":"Use this endpoint when you have already determined (via separate clinical evaluation or other tools) each of the five Rome IV H2d boolean criteria for a pediatric patient and need to apply the FAP-NOS classification logic mechanically. This is not for adult CAPS/FAPS, is not a diagnostic substitute, and does not re-evaluate IBS, FD, or abdominal migraine criteria — those must be pre-assessed by the caller.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:20:46.213Z","isFirstParty":false}