create encounter table row