Added id to diaparams from diagnosis