Learn R Programming

cliot (version 1.0.0)

rome_iv_child_nausea_vomiting: Rome IV Diagnostic Criteria for Functional Nausea and Vomiting (Child/Adolescent)

Description

Evaluates the Rome IV criteria for diagnosing functional nausea and vomiting in children and adolescents. Diagnosis requires bothersome nausea or vomiting at least twice a week for at least 2 months, exclusion of self-induced vomiting, eating disorders, and other medical explanations.

Usage

rome_iv_child_nausea_vomiting(bothersome_nausea_frequency,
                              bothersome_vomiting_frequency, self_induced_vomiting,
                              eating_disorder, medical_condition_explained)

Value

A list containing:

Diagnosis

"Criteria Met" or "Criteria Not Met".

Criteria_Check

Boolean breakdown of symptom threshold and exclusion criteria.

Arguments

bothersome_nausea_frequency

Numeric. Frequency of bothersome nausea. 0: Never/Rarely. 1: Once a week. 2: Twice a week or more.

bothersome_vomiting_frequency

Numeric. Frequency of bothersome vomiting. 0: Never/Rarely. 1: Once a week. 2: Twice a week or more.

self_induced_vomiting

Numeric (0 or 1). Is the vomiting self-induced? (1 = Yes).

eating_disorder

Numeric (0 or 1). Can symptoms be explained by an eating disorder? (1 = Yes).

medical_condition_explained

Numeric (0 or 1). Can symptoms be explained by another medical condition (e.g., anatomic, metabolic, neoplastic)? (1 = Yes).

References

Hyams JS, Di Lorenzo C, Saps M, et al. Functional Disorders: Children and Adolescents. Gastroenterology. 2016;150:1456-1468. doi:10.1053/j.gastro.2016.02.015

Examples

Run this code

# Example 1: Diagnosis Met
# Nausea 2x/week (2), No vomiting (0), No exclusions
rome_iv_child_nausea_vomiting(2, 0, 0, 0, 0)

# Example 2: Not Met (Eating Disorder)
# Vomiting 2x/week (2), Eating Disorder present (1)
rome_iv_child_nausea_vomiting(0, 2, 0, 1, 0)

Run the code above in your browser using DataLab