I had a doctor companion assigned as clan surgeon.
He was slain in battle, and since then, when attempting to assign a different companion to the surgeon role as a replacement, the option is no longer available.
(basically stuck assigned to the dead character, and inaccessible to set for any...