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).
What is the ruling on istinja' after urination, and is it done with water and soap or with water only?
Istinja' from urine and stool is obligatory. It is permissible to perform istinja' with water alone, or with toilet paper alone. The best way is with toilet paper then water. If one wishes to suffice with one of them, then water is better. And Allah the Almighty knows best.
Do certain vaginal discharges and incontinence of urine nullify ablution, and should underwear be changed?
A person afflicted with constant impurity due to urinary incontinence and vaginal discharges is obliged to make ablution for every obligatory prayer when its time is due, and after removing Najaasah (impurity), and wearing a clean diaper. He/she is obliged to pray immediately even if the impurity is being released, and he/she is obliged to remake ablution, and the aforementioned for every obligatory prayer.
What is the ruling if hemorrhoid blood exits after completing ablution?
If this blood is exiting from outside the anus (due to the hemorrhoid protruding), it does not invalidate ablution, because blood exiting from the body from other than the two orifices does not invalidate ablution. If it exits from the anus (meaning from inside it), it invalidates ablution, and one must perform istinja' from it, wash the area of impurity, and repeat the ablution.
However, if this blood exits continuously such that no time remains sufficient for purification and prayer without it flowing, then it takes the ruling of urinary incontinence (sals al-bawl). One then cleanses from it after the time for each prayer enters, performs ablution immediately thereafter, and performs the obligatory prayer immediately. There is no liability upon him after that if something of it flows, and he may pray as many voluntary prayers as he wishes. If he wants to pray another obligatory prayer, he must cleanse himself and perform ablution. And Allah the Almighty knows best.