A therapeutic stimulator, e.g., a spinal neurostimulator for pain relief, adapts stimulation delivered to the patient in dependence on measurements of patient orientation (e.g., from a three-axis accelerometer), and also on impedance measurements from leads situated within or upon the patients body (e.g., from electrodes on neurostimulation leads extending alongside the spine). Since the impedance measurements can provide additional data regarding body positioning, as well as providing data regarding electrode status (such as lead migration, electrode encapsulation, etc.), use of the impedance measurements can provide more refined (and more appropriate) control of delivered stimulation.