A pediatrician has ZERO need to know that information as it has precisely zero to do with patient health.  Just as a pediatrician has no need to know if the home has ropes, power tools, adult toys, automobiles etc.   They have no need to know that information.