Changed Patient tab logic so that it prepopulates field values instead of requiring the user to hit the Refresh button. Also added User ID field to the view