story#350, handle errors when saving patient identifier