What is the primary function of the Health Professions Counc…

What is the primary function of the Health Professions Council of South Africa (HPCSA) regarding medical law and ethics?