In the second sentence which has a defining clause implies that only the doctor there were other doctors who welcomed us registered his appreciation In the first sentence the relative clause is non defining It implies that there was only one doctor and he is also the one who welcomed us them