Ejemplo n.º 1
0
 public Person(ContactInformation contactInformation)
 {
     this.contactInformation = contactInformation;
     this.generator = new CalendarGenerator();
     this.calendar = new List<Appointment>();
     this.schedules = new List<Schedule>();
 }
Ejemplo n.º 2
0
 public Data(ContactInformation contactInformation, string patientDoctor, Appointment appointment, Insurance insure)
 {
     this.contactInformation = contactInformation;
     this.doctor = patientDoctor;
     this.appointment = appointment;
     this.insurance = insure;
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
 public Doctor(ContactInformation contactInformation)
     : base(contactInformation)
 {
     this.scheduleWriter = new CalendarFileWriter(contactInformation.FirstName + "_" + contactInformation.LastName);
     this.calendar = scheduleWriter.GetCurrentCalendar();
 }