They kinda do both. It takes time to get invitation to medical and takes time after it.
I assume they check just initially if you have ALL required documents and send you to medical.
After that they actually check everything carefully.
P.S. 80-90% of time your application just on the shelf and waiting between different stages