add the AppointmentDetailViewModel.js