Set up messages to pop-up after a specific number of appointments, let the system do the work for you.
Add as many new messages as required.