Doctor has boil to get rid of (7)
I believe the answer is:
abolish
'get rid of' is the definition.
(synonyms)
'doctor has boil' is the wordplay.
'doctor' is an anagram indicator.
'has'+'boil'='hasboil'
'hasboil' with letters rearranged gives 'ABOLISH'.
'to' acts as a link.
(Other definitions for abolish that I've seen before include "Cancel or abrogate" , "Do away with, rescind" , "ditch" , "Formally do away with" , "Drop" .)