when should the nurse plan the rehabilitation of a patient who is having an