leaving patient