How to end patient exam