You have a unique tax situation that would be interesting to see what is going on. SS is never 100% taxable; 85% at most. Other numbers you talk about just don't make sense either. Did you mean $200k vs. $20k mutual fund sale?
Fingers crossed you resolve your health issues.