A declaration executed in another state in compliance with the law of that state or of this state shall be valid for purposes of the Rights of the Terminally Ill Act.