Refactoring code to delete duplicated code, step 7.
New test with consult note and death as disposition. It should end visit and show new button for no-active-visit.