(1) Defining, so embedded as Qualifier
Ivy’s uncle [[who is a doctor]] lives nearby (whereas her other uncle lives miles away).
(2) Non-Defining, so ranking and hypotactically elaborating:
Ivy’s uncle <<who is a doctor >> lives nearby (so let’s phone him).