Owning a house is a great idea but let me throw in a caveat or two. If you are going to a school where you will have to go elsewhere (possibly other states) than owning a house may not be in your best interest. Many hospitals have housing options (on-site, off-site, hotels, etc) for the students. If you are gone for an entire year on rotations, are you going to rent out your house? Leave it empty? Also, are you planning on doing residency and staying in the area where your house is located? If not, then think about the difficulty of selling a house in 4 years. The market is getting better but it seems to be more of a buyers market rather than a sellers market. I know students at my school that own houses and they aren't planning on staying here for residency. When I ask them what they are gonna do with their house, they say "I don't know". I think that would be a good thing to think about because you don't wanna buy a house just to turn around and try to sell it in a couple years. I'm not saying you shouldn't buy a house at all. I'm just saying that these are some questions I know some people in my class either didn't think about and/or don't have any answer to. Good luck. Btw, what school are you going to?
Also, does your school have mandatory attendance or do they record lectures and stream them online? My school has mandatory lectures and I would hate to have to drive a long way before/after class especially on a day like today (we had 8 hours of lecture). If I didn't have to go to class then commuting would not be a problem at all because the only mandatory things otherwise would be a couple labs during the week. But after sitting in a classroom for 4-8 hours and then studying would make me less enthusiastic to commute over 30 minutes home.