public Data(ContactInformation contactInformation, string patientDoctor, Appointment appointment, Insurance insure) { this.contactInformation = contactInformation; this.doctor = patientDoctor; this.appointment = appointment; this.insurance = insure; }
public bool CheckInsurance(Insurance insurance) { if (insurance.id != null) { return true; } return false; }
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; }