There is no specific duration expected for inpatient pediatrics. The requirements state that residents need experience with neonates, infant care (both well baby and ill), ambulatory pediatrics, emergency care of children and adolescent medicine.
...
more