Most of med school doesn't really require all that much raw intelligence. Even those with an average IQ can get through it, though it might be rather painful. Memory is a part of IQ, so those with higher IQs will tend to have better memories. Yeah deductive reasoning capacity and pattern recognition help too; however, there are ton of exceptions and sometimes it's just best to have stuff memorized cold.
All in all, don't underestimate yourself. You can still probably be a doctor, if you want it badly enough. Our Dean of Education literally said he only met one person, that's right one person, in his 20+ years, that he truly believe had failed out, due to a lack of innate smarts. He still questions himself about that case. Believe in yourself and chase your dreams.