To dream of surgery represents noticeable healing or dramatic changes. Significant problems are being eliminated or confronted. A problem might be getting "cut out" of your life. Feelings about serious intervention being required with a problem.
Example: A woman dreamed of having heart surgery. In waking life she was getting married. The heart surgery reflected the dramatic change in the way she loved others with the permanent commitment of marriage.