REALLY sorry about your friend.
Haven't any experience with such things (almost, but not quite...), but you might check out these two websites:
electric shift
and this one:
modified shifter
Best of luck for a good recovery and many good riding miles!