That's right. The mortgage company (and more importantly, you!) need the results of a homebuyer's survey. Usually the solicitor will recommend a few to you.
My only advice: take the survey's contents very seriously. We had two different general contactors (one was a damp specialist) come in to give us estimates on the repairs indicated in the survey. This is also an important step in evaluating who is responsible for any repairs (landlord or leaseholder). For example, our apartment has a damp issue in the bedroom wall. Because the contractors were able to determine the source of the damp was due to a fissure in the exterior wall, the landlord will be paying for the cost of repairs (well, sort of - we pay into that fund as well!).
The entire process, between now and when you get the keys, may take a very long time. Hopefully your solicitor will be thorough and find out everything you need to know regarding the freehold or leasehold you're buying into. If there are any issues, expect them to add on a couple of weeks minimum. But, in the meantime, your estate agent and solicitor will let you know what needs to be done. Don't worry, and good luck!