well, keep in mind that if you did decide to go to the same school as her, you might get distracted from your studies from all the love-play and the such. in this case, your performance will suffer and that surely will not be good for you. on the other extreme of the spectrum, suppose you do very well - then perhaps the two of you may wind up competing with each other. this could be dangerous as well, and one of you will ultimately feel inadequate and that is surely unfavorable.
it is my opinion that the decision to enter different schools is the best decision. not because the other school happens to be ranked higher or is of a higher tier; that is merely coincidence. attending different schools is simply better because a relationship needs a minimal amount of distance in the personal and intellectual interests of each partner. of course it is important to have common interests and to enjoy the same activities; however, if both of you pursue the same interests with the same fervor and ambition, then this
will ultimately become problematic. just look at sylvia plath and whatever her husband's name was - he was the better poet, they both were passionate poets, she felt inadequate and whatnot, long story short: she ultimately commits suicide.
both of you will be pretty busy, probably. if you're willing to give it a try, I bet the relationship will survive despite the distance simply because you'll both be studying too hard to notice. then on the breaks and maybe a few weekends you'll get together and cuddle
it's good you're both going through the same things, so you can relate to each other and also you will both understand the sort of sacrifice you make when you enter medicine. that way she can't say "you never make time for me" and you won't feel that way either.
anyway, best of luck to the both of you!