Cough medicine

Mo

Is it safe to take maximum strength robitussin while pregnant? My midwife approved, but I’m not sure if the maximum strength is okay. I got the severe cough cold+flu