I cannot give you an actual precedent; however, it is quite common that students change their majors. You didn't mention if the university you're attending also has medical studies. Otherwise, you will have to apply for a medical school; the credits you have earned may not be transferable, and it usually means you'll also have to start over again. You may talk with your school dean or career counsellor. I hope it can help.