YES you need ur passport during medicals (with exception of certain countries like Saudi Arabia for example, where an Iqama will do the purspose of your passport if you are an expatriate).
What do you mean by "change" your passport? If you mean to renew your passport ......go ahead, no problem at all!