ticket done add appointment to patient