Generally, it goes like this in order of importance...
1. BCPM GPA
2. Overall GPA
3. All Other GPA
All of them matter, but you gotta remember that medical school is a science degree first and foremost. Those courses are the best predictors of whether or not you'll be successful studying it.