public Person(ContactInformation contactInformation) { this.contactInformation = contactInformation; this.generator = new CalendarGenerator(); this.calendar = new List<Appointment>(); this.schedules = new List<Schedule>(); }
public Data(ContactInformation contactInformation, string patientDoctor, Appointment appointment, Insurance insure) { this.contactInformation = contactInformation; this.doctor = patientDoctor; this.appointment = appointment; this.insurance = insure; }
public Patient(ContactInformation contactInformation, Symptom symptom, Insurance insurance, Doctor preferredDoctor, DateTime preferredDate, TimeSpan preferredTime) : base(contactInformation) { this.symptom = symptom; this.insurance = insurance; this.preferredDoctor = preferredDoctor; this.preferredDate = preferredDate; this.preferredTime = preferredTime; }
public Doctor(ContactInformation contactInformation) : base(contactInformation) { this.scheduleWriter = new CalendarFileWriter(contactInformation.FirstName + "_" + contactInformation.LastName); this.calendar = scheduleWriter.GetCurrentCalendar(); }