The visa issued will be valid for 1 year from the date of your medical OR valid until your passport is expired.
So if your passport will expire, say, in 8 months when the visa is issued, your visa will be expired until 8 months only. Not the 1 year stated in the visa.
Extracted from my PPR...