public Patient(string username, string name, string surname,
                DateTime dateOfBirth, string phoneNumber, string email, string parentsName,
                string gender, string jmbg, bool isGuest, BloodType blood, string lbo)
 {
     Username           = username;
     Name               = name;
     Surname            = surname;
     DateOfBirth        = dateOfBirth;
     PhoneNumber        = phoneNumber;
     Email              = email;
     ParentsName        = parentsName;
     Gender             = gender;
     Jmbg               = jmbg;
     IsGuest            = isGuest;
     Blood              = blood;
     LBO                = lbo;
     this.Allergens     = new List <string>();
     this.MedicalRecord = new MedicalRecord();
     this.Activity      = new PatientActivity();
     DoctorReviews      = new List <DoctorReview>();
     HospitalReviews    = new List <HospitalReview>();
 }
 public void setMedicalRecord(MedicalRecord medicalRecord)
 {
     this.MedicalRecord = medicalRecord;
 }
Пример #3
0
 public Patient(AccountType typeAccc, string namee, string lastnamee, string idd, DateTime dateOfBirthh, string phoneNumberr, string emaill, string placeOfResidancee,
                TypeOfPerson typeOfPersonn, string usernameee, string passworddd, string jmbggg, SexType sexTypeee, MedicalRecord mr, List <Allergen> listAllergenss) : base(namee, lastnamee, idd, dateOfBirthh, phoneNumberr, emaill, placeOfResidancee,
                                                                                                                                                                             typeOfPersonn, usernameee, passworddd, jmbggg, sexTypeee)
 {
     typeAcc       = typeAccc;
     medicalRecord = mr;
     listAllergens = listAllergenss;
 }
Пример #4
0
 public void Save(Model.MedicalRecord newMedRecord)
 {
     // TODO: implement
 }
Пример #5
0
 public Patient(Boolean isGuest, string name, string surname, string jmbg, DateTime date, Sex sex, string phoneNumber, string adress, string email, string idNum, string emContact, MedicalRecord med, string username, string password)
 {
     this.IsDeleted        = false;
     this.IsGuest          = isGuest;
     this.Name             = name;
     this.Surname          = surname;
     this.Jmbg             = jmbg;
     this.DateOfBirth      = date;
     this.Sex              = sex;
     this.PhoneNumber      = phoneNumber;
     this.Adress           = adress;
     this.Email            = email;
     this.IdCard           = idNum;
     this.EmergencyContact = emContact;
     this.MedicalRecord    = med;
     this.Username         = username;
     this.Password         = password;
     this.appointment      = null;
     this.Type             = UserType.patient;
 }