Fix error while mapping new encounter transaction without enounter type