Islam has prohibited people from exposing their private parts because sexual
promiscuity adversely affects the inner purification of a person – the very
objective of Islam. Obviously, a medical check-up by a doctor that involves
the examination of the private parts is an exception. In this regard, the
only thing that a lady should try for is to go to a female doctor. Again,
female doctors and specialists may not be accessible at times for various
reasons. In such cases, of course, she may have no other option but to show
herself to a male doctor.