The doctor examined the baby and her husband when she was in panties