If for some reason you cannot, for example, get a doctor’s appointment outside working hours, negotiate with your supervisor about your absence and make an agreement about a way to compensate for the time you will be at the doctor’s.