It is actually simple.
Get the patient stabilized, then resume nutrients.
If the patient never stabilizes, that means they are dying and will die. Not of starvation.
Often they can stabilize and then can take nutrients again and live a lot longer.
So you are a doctor?