Пример #1
0
        public static void UpdatePatient(this tblPatient source, AnonPatient copy)
        {
            source.FirstNames = copy.FirstName;
            source.LastName = copy.LastName;
            source.DVANumber = copy.DVANumber;
            source.Comments = copy.Comments;
            source.BirthDate = copy.BirthDate;
            source.PhysioID = copy.PhysioID;
            source.Sex = copy.Sex;
            source.Title = copy.Title;
            source.PatientInActive = copy.PatientInActive;
            source.Family = copy.Family;
            source.Friend = copy.Friend;
            source.FrontSign = copy.FrontSign;
            source.YellowPages = copy.YellowPages;
            source.Internet = copy.Internet;
            source.HealthFund = copy.HealthFund;
            source.HealthProfessional = copy.HealthProfessional;
            source.ReferredByDoc = copy.ReferredByDoc;
            source.RefDoctor = copy.RefDoctor;
            source.Other = copy.Other;

            source.HeartCondition = copy.HeartCondition;
            source.CardiacPacemaker = copy.CardiacPacemaker;
            source.LossOfWeight = copy.LossOfWeight;
            source.Dizziness = copy.Dizziness;
            source.ArtificialJoint = copy.ArtificialJoint;
            source.Epilepsy = copy.Epilepsy;
            source.SurgeryInThePast3Months = copy.SurgeryInThePast3Months;
            source.Smoker = copy.Smoker;
        }
Пример #2
0
 public static void UpdatePatientAddress(this tblPatientAddr source, AnonPatient copy)
 {
     source.Address1 = copy.Address;
     source.Address2 = copy.Suburb;
     source.Address3 = copy.State;
     source.BusPhone = copy.BusPhone;
     source.HomePhone = copy.HomePhone;
     source.FaxNo = copy.Fax;
     source.MobileNo = copy.Mobile;
     source.EmailAddr = copy.Email;
     source.Postcode = copy.PostCode;
 }