The visa invitation letter or doctor appointment letter will include a tentative date for the doctor's appointment. You need to apply for the visa at least 10 to 15 days before this date. If you cannot apply within this period, you will need a new invitation letter or doctor appointment letter.