Fix appointment table specification