cleaned code for outcome encounter