changing tests to evidence the bug found on entering consult note when patient doesnt have an active visit