latest Version with check patient before sending encounter