You get IMM 1017 at the end of your medical exam session, from your DMP. Your DMP retains another copy, which he/she then will send to the NDVO
When you send your application to CPC-Mississauga, you will need to include the IMM 1017 slip that you should have obtained from the DMP's office. Then when CPC-Mississauga has approved THE sponsor , they will transfer the whole paperwork to the New Delhi visa office, and the people at the ndvo will match the medical results that they should've got from the DMP, with the IMM 1017 that you sent them .