Who orders a 'do not resuscitate' order?

people who dont want to be brought back to life.
Generally a person who is terminally ill or dying. Only the person ill has the right to order this unless there is a power of attourney, which means the patient is incable of making their own decisions and has entrusted a relative to do this.