Is it permissible for the doctor to uncover the hair of a female patient out of necessity?
It is only permissible for him to do so when there is no female doctor, and he should examine the patient in the presence of one of her Mahrams (unmarriageable kin).
Does Istigfar (Asking Allah for forgiveness) between the first and the second part of Friday prayer`s sermon render the prayer invalid?
Talking during Friday prayer`s sermon is disliked, but there is no harm in offering Istigfar between the two parts of the sermon, and it doesn`t invalidate the prayer as it is actually from Sunnah. And Allah Knows Best.
A woman used contraceptive pills, and her menses exceeded (15) days, is it permissible for her to fast?
The maximum of menstrual blood is (15) days, but if it exceeded that due to a medication, or the like, then it is Istihadah (bleeding outside the monthly period), and in this case she should perform Ghusl (ritual bath), pray, and fast. Moreover, she is obliged to make up for the missed fasting days which exceeded her regular menses. And Allah Knows Best.
Is it permissible for someone who has forgotten to mention the supplication pertaining to answering the call of nature to say it while in the toilet?
It is disliked for a Muslim to mention Allah while in the toilet, but he/she may recall the supplication in his/her head without uttering it; that is in case he/she had forgotten mentioning it before entering the toilet.