created appointment closed in patient and staff