completed appointment crud