adding spinner icon to encounter details