get_age_range: Takes age in years and returns the age range

Description Usage Arguments Value

View source: R/import_eso_functions.R

Description

Ages as follows: Newborn: < 24 hours Neonate: 1 day - 1 month Infant: 1 month - 1 year Toddler: 1-3 years Preschooler: 3-6 years School Ager: 6-12 years Adolescent: 12-18 years Adult: 18-64 years Geriatric: 64 years and older

Usage

1
get_age_range(patient_age)

Arguments

patient_age

Age in string

Value

age range definition as string


samuelkordik/esogettr documentation built on Dec. 22, 2021, 10:13 p.m.