To see the effect in action, you could mash something like:

/castsequence Greater Heal
/cast Lesser Heal

Which should alternate between the two (if you're running the macro frequently enough). Then replace the lesser heal with "/cast Dispel Magic" and see if you get the "nothing to dispell" message. From there you can build up your sequence.

What's your healers cast sequence?