public CPatient(CPatient patientInfo) { Id = patientInfo.Id; LastName = patientInfo.LastName; Name = patientInfo.Name; Patronymic = patientInfo.Patronymic; Birthday = CConvertEngine.CopyDateTime(patientInfo.Birthday); BuildingNumber = patientInfo.BuildingNumber; CityName = patientInfo.CityName; FlatNumber = patientInfo.FlatNumber; Phone = patientInfo.Phone; HomeNumber = patientInfo.HomeNumber; Nosology = patientInfo.Nosology; NosologyList = new List <string>(patientInfo.NosologyList); StreetName = patientInfo.StreetName; PrivateFolder = patientInfo.PrivateFolder; Relatives = patientInfo.Relatives; IsSpecifyLegalRepresent = patientInfo.IsSpecifyLegalRepresent; LegalRepresent = patientInfo.LegalRepresent; WorkPlace = patientInfo.WorkPlace; EMail = patientInfo.EMail; PassInformation = new CPassportInformation(patientInfo.PassInformation); InsuranceSeries = patientInfo.InsuranceSeries; InsuranceNumber = patientInfo.InsuranceNumber; InsuranceName = patientInfo.InsuranceName; InsuranceType = patientInfo.InsuranceType; }
public CPassportInformation(CPassportInformation passportInfo) { Series = passportInfo.Series; Number = passportInfo.Number; DeliveryDate = CConvertEngine.CopyDateTime(passportInfo.DeliveryDate); SubdivisionCode = passportInfo.SubdivisionCode; Organization = passportInfo.Organization; }
public CPatient(int patientId) { Id = patientId; Birthday = DateTime.Now; WorkPlace = string.Empty; IsSpecifyLegalRepresent = false; LegalRepresent = string.Empty; PassInformation = new CPassportInformation(); NosologyList = new List <string>(); }