Young man who refused treatment for suspected type 1 diabetes died before palliative care plan was put in place