You cannot heal by clicking the stim. You have to heal using the commands:
/healdamage;
/healactiondamage;
/healmind;
These skills heal the HAM pools individually and each consumes a charge from your stimpack, whereas
/bactajab;
Bacta Jab heals all the pools together and only consumes one stim charge.
Experiment with what works best for you.