public DoctorAppointment(int id, TimeSpan time, string date, PatientUser patient, DoctorUser doctor, List <Referral> referrals, string roomid) : base(id, time, date, patient, doctor, roomid) { referral = referrals; IsCanceled = false; CancelDateString = null; }