public Manager(string name, string surname, DateTime dateOfBirth, string identificationNumber, string email, string username, string phone, string password, EducationLevel educationLevel, Gender gender, string profession, City city, Address currResidence, InsurancePolicy insurancePolicy) : base(name, surname, dateOfBirth, identificationNumber, email, username, phone, password, educationLevel, gender, profession, city, currResidence, insurancePolicy) { }
public Patient(string name, string surname, DateTime dateOfBirth, string identificationNumber, string email, string username, string password, EducationLevel educationLevel, Gender gender, string phone, string profession, City city, Address currResidence, InsurancePolicy insurancePolicy, bool guestAccount) : base(name, surname, dateOfBirth, identificationNumber, email, username, phone, password, educationLevel, gender, profession, city, currResidence, insurancePolicy) { IsGuestAccount = guestAccount; chosenDoctor = null; }
public Employee(string name, string surname, DateTime dateOfBirth, string identificationNumber, string email, string username, string phone, string password, EducationLevel educationLevel, Gender gender, string profession, City city, Address currResidence, InsurancePolicy insurancePolicy, string biography) : base(name, surname, dateOfBirth, identificationNumber, email, username, phone, password, educationLevel, gender, profession, city, currResidence, insurancePolicy) { VacationLeave = false; CurrentlyWorking = true; Biography = biography; }
public Doctor(string name, string surname, DateTime dateOfBirth, string identificationNumber, string email, string username, string phone, string password, EducationLevel educationLevel, Gender gender, string profession, City city, Address currResidence, InsurancePolicy insurancePolicy, string biography, Department department, List <Specialization> specializations, string licenseNumber, Room patientRoom, Room operationRoom) : base(name, surname, dateOfBirth, identificationNumber, email, username, phone, password, educationLevel, gender, profession, city, currResidence, insurancePolicy, biography) { LicenseNumber = licenseNumber; Specializations = specializations; Department = department; PatientReview = 0.0; OnCall = false; ExaminationRoom = patientRoom; OperationRoom = operationRoom; }
public RegisteredUser(string name, string surname, DateTime dateOfBirth, string identificationNumber, string email, string username, string phone, string password, EducationLevel educationLevel, Gender gender, string profession, City city, Address currResidence, InsurancePolicy insurancePolicy) { Gender = gender; Name = name; Surname = surname; DateOfBirth = dateOfBirth; IdentificationNumber = identificationNumber; Email = email; Username = username; Password = password; EducationLevel = educationLevel; Profession = profession; PlaceOfBirth = city; CurrResidence = currResidence; InsurancePolicy = insurancePolicy; Phone = phone; }
public void SetInsurancePolicy(InsurancePolicy policy) { patient.InsurancePolicy = policy; }
public void SetInsurancePolicy(InsurancePolicy policy) { manager.InsurancePolicy = policy; }
public void SetInsurancePolicy(InsurancePolicy policy) { employee.InsurancePolicy = policy; }
public void SetInsurancePolicy(InsurancePolicy policy) { doctor.InsurancePolicy = policy; }