A neurostimulation system and method of treating a patient. Electrical stimulation energy is delivered to a target tissue site in accordance with a stimulation parameter to treat the patient and evoke at least one compound action potential (CAP) in a population of neurons. A magnitude of the evoked CAP is measured. A function of the measured evoked CAP magnitude(s) is compared to a threshold value. The stimulation parameter is adjusted based on the comparison.
USE OF COMPOUND ACTION POTENTIALS TO AUTOMATICALLY ADJUST NEUROSTIMULATION THERAPY IN RESPONSE TO POSTURAL CHANGES OF PATIENT