I think it's called "transference". Doctor can answer that.
It is not uncommon to have these kind of thoughts to someone who is truly helping you. If this is a psychiatrist or psychologist, it will be important to reveal and discuss this with him. If it is a general doctor, be careful, because they are not trained to understand these kind of feelings.