We don’t need science fiction to ask or answer this question. The Church has always maintained that a person of sound judgement may refuse “excessive” medical attention, even if such attention is required to save his life. The patient may not refuse (and we may not deny) the basic necessities such as air, food, and water, and whatever comfort we can offer, but anything beyond that is not morally obligatory upon either the patient or the medical provider.
Certainly the measures exercised by The Doctor against the patient’s expressed will are far beyond any measures that human doctors have even contemplated. But the moral nature of the situation remains unchanged - we cannot force extreme lifesaving measures upon a patient against his expressed will, decided under sound judgement. If the Doctor was a human medical doctor, he would never practice medicine again.
(the patient can always change his mind at any time, of course.)