Doing medicine these days is not simply about marks, it is also about reasons for doing it and where you are going to practise.
In Aus there is extra emphasis on getting more doctors in the country areas -they are also paid more- and even now in the western suburbs of Sydney and Melbourne ( i.e. less affluent areas)...it is not as if there is a shortage of doctors (good or bad) in the metropolitans or affluent areas. I imagine SA would be the same.
So if the strategy was to get more doctors in black areas or coloured areas- of course these demarcations still exist- then by all means get people who will end up working there. Healthcare is not for hypochondriac people going to the doctor for a chat, it is about uplifting health in the poorer areas.
The strategy under apartheid was totally different to this , so the 'racism' is not the reverse of what happenned under apartheid. In that case, despite the abundance of white doctors in white areas- and the sparseness of doctors of any colour in non white areas- the authorities and universities continued to churn out hundreds of white doctors at the expense of non white.
As an example, I missed out in Medicine at UCT despite being amongst the top matrics of all colour at the time - UCT only admitted 10 non whites, same at Wits - I then enrolled for science (got permit for UCT by claiming I would study genetics as subject, not offerred at UWC), did same courses as medicine (some in same classes), outdid most of them (and had better matric than most too) and applied every year - I don't recall any non whites getting in this way of the one or two that did...a mate got in many years later (mid 80's0 when he already had a Masters in Microbio and things were relaxing. I did my science , then engineering and later MBA where I got the class medal (was one of four non whites at a former white institution).
The point I am making is that there were people with necessary quals to fill a huge gap in medical provision in poorer or non white areas, yet the universities kept churning out hundreds of whites each year. Many of them ended up in aus, canada, UK etc, so we were educating people for other countries, but not our own backyard. My brother who got in ten years before I left school (amongst 8 non whites), got distinction in his degree and is still practising in one of the poorer areas of cape flats (close to retirement)
So, if the necessity is now to fix that which was created under apartheid- i.e. an imbalance in medical doctors etc- then of course the weighting should be towards where they are potentially going to practise.