You want to use GetSID on Subject - not both. I tried it on Boone and it prevents healing. It also removes a stimpak from your inventory anyway. You aren't going to be able to prevent that. But you can create a Regenerating info for Ed-E (in the VNPCFollowers quest, under Combat) to put a stimpak back into the player's inventory with its result script if the wheel button is hit. Net result - no heal, no stimpak use/loss
Remember there are three ED-E's - either use a GetSid for all three or a formlist for your conditions and Regenerating info.
Edit - the Regenerating info result script is where you check for the repair kit and 'use' it, then restoreav some health. Also, if you are out of stimpaks, you can't heal Ed-E either. I'm afraid you are stuck with workarounds.
I know you can't use both target/subject (that's simply impossible), but your suggestion is quite useful.
You don't need to use three versions of ED-E (I know they are three), you can simply add condition GetVoiceType = EDE = 1 to filter every version of the bot, i think.
I would be grateful if you could give me a samle script to put in, please, since scripting is my permament headache..., please.