コード例 #1
0
        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;
        }
コード例 #2
0
 public CPassportInformation(CPassportInformation passportInfo)
 {
     Series          = passportInfo.Series;
     Number          = passportInfo.Number;
     DeliveryDate    = CConvertEngine.CopyDateTime(passportInfo.DeliveryDate);
     SubdivisionCode = passportInfo.SubdivisionCode;
     Organization    = passportInfo.Organization;
 }
コード例 #3
0
 public CPatient(int patientId)
 {
     Id        = patientId;
     Birthday  = DateTime.Now;
     WorkPlace = string.Empty;
     IsSpecifyLegalRepresent = false;
     LegalRepresent          = string.Empty;
     PassInformation         = new CPassportInformation();
     NosologyList            = new List <string>();
 }