Note 1: please don't nag the healers. This makes them ignore you and annoys the crap out of them.
Note 2: you're calling that bit of code ONLY when the addon is loaded. In order to have it called each time you target something, you need to register for the event
PLAYER_TARGET_CHANGED and then have your check within the OnEvent script.