As with most opioid medications there just isn't that much information. One site said
There are limited data available concerning the use of dihydrocodeine in human pregnancy. These data do not indicate an increased risk of fetal toxicity. Use of any opioid during pregnancy, particularly around the time of delivery, confers a risk of neonatal respiratory depression. Prolonged use of opioids throughout pregnancy could result in neonatal withdrawal.
There's obviously some grey area. There are some risks and given that it makes sense to take as low a dose as possible. Hopefully your gynecologist has experience with opioid use during pregnancy and she/he can give you guidance in this area. Since few studies examine this area experienced physicians are probably your best bet.
We hope you find this general health information helpful. Please note however, that this Q&A is meant to support not replace the professional medical advice you receive from your doctor. No information in the Answers above is intended to diagnose or treat any condition. The views expressed in the Answers above belong to the individuals who posted them and do not necessarily reflect the views of Remedy Health Media. Remedy Health Media does not review or edit content posted by our community members, but reserves the right to remove any material it deems inappropriate.