The study of medicine includes a state examination. Proof that you have passed the second part of the medical examination is a prerequisite for licensing as a doctor. You can find out more here.
Unfortunately this specification of service has not yet been completely translated.