Darth Vader, being the man that he is and thus not always willing to explain what others would define as a good deed, did not answer right away. One would even be able to say he was uncomfortable with the medic's question.
"It seemed necessary to keep your systems from failing, doctor. Difficult operations should never be done when not fully rested."