A therapeutic stimulator (200), 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 (210)), and also on impedance measurements from leads situated within or upon the patients body (e.g., from electrodes (208) on neurostimulation leads (202) 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), use of the impedance measurements can provide more refined (and more appropriate) control of delivered stimulation.