Why not "Ils comprendront les instructions de médecin."
Why is du docteur wrong?
I don’t think it’s wrong, but medical doctors are more usually called le médecin. If you stick to the more usual translation you are more likely to write something that Duolingo has included as a correct answer.
A nit has been picked in your honor.