The macro you listed should work just fine. You could do this instead:

/cast [target=party1] heal spell