Is a woman`s neck an Awrah (private part)?
All Perfect Praise is due to The Lord of The Worlds.
It is an Awrah, and it is forbidden for her to reveal it before non-Mahrams (Marriageable men). And Allah Knows Best.
What is the ruling on the yellow discharge that comes from a woman during pregnancy?
These discharges are not menstrual blood, but they are impure like urine and break the Wudu (ablution). If the discharge is frequent, its ruling is similar to that of urinary incontinence. The woman should perform wudu after the time of each prayer, pray the obligatory prayer, and any additional prayers she wishes, read the Quran, and take precautions against impurity to the best of her ability. Using a special pad can prevent the impurity from spreading. And Allah Knows Best.
Is it permissible to repeat the Istikhara (seeking guidance) prayer, and is it a condition that one should sleep after offering it?
All perfect praise be to Allah,The Lord of The Worlds Istikhara is offered once, but it is permissible to repeat it, and sleeping after offering it is not a condition for its validity. And Allah Knows Best.
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).