Not sure how checking a variable for the spell would really lead to automation.
So like if focus hp >50% cast lb on focustarget, if <50% then cast healing wave on focus.

Your still pushing the key, its just deciding what spell to cast based off your focus's hit points, and who to cast it on. To me its very similar to the dead/nodead, so it would either heal or rez. Im just looking to see if there was a way to have it based off targets hitpoint percentage.