updated application build and added confirmation page for previous patient encounters