The universities handle the accreditation of all other faculties so why not have them also handle medicine law and engineering. As far as I'm aware theres no guild of philosophers who can control the number of students entering philosophy school. Universities would respond to supply and demand just like they do in any other faculty. Secondly make medicine an undergraduate programs , like it is in the most of the world which reduces the financial burden that doctors have to take on to complete the degree. This would also make the supply of doctors more elastic.