Theoretical training: 6 years.
Student internship: 1 year.
Practical work at a hospital: 1 year (also known as the house doctor year).
be in possession of a MBChB degree for 2 years;
be registered as a medical doctor with the Interim Medical and Dental Council (IMDC) of South Africa for 1 year.
https://www.educations.com/study-abroad/university-of-cape-town/bachelor-medicine-bachelor-surgery-108159 has some more details on the degree program.