A doctor advised attendant of a patient with terminal illness to take the patient home and look after the patient well for painless death. Otherwise, in hospital he will be witnessing painful death.

Is this straight communication which has demoralized the attendant right approach on part of the doctor or there is other better way to communicate ? Please share.