示例#1
0
        /// <summary>
        /// Изменение данных по операции
        /// </summary>
        /// <param name="operationInfo">Информация про операцию</param>
        public void UpdateOperation(OperationClass operationInfo)
        {
            int n = 0;

            while (Operations[n].Id != operationInfo.Id)
            {
                n++;
            }

            operationInfo.Copy(Operations[n]);
            Operations.Sort(OperationClass.Compare);
        }
示例#2
0
        /// <summary>
        /// Скопировать данные об операции в указанную операцию (без использования new)
        /// </summary>
        /// <param name="operationInfo">Информация об операции</param>
        public void Copy(OperationClass operationInfo)
        {
            if (operationInfo == this)
            {
                return;
            }

            operationInfo.Id = Id;
            operationInfo.DataOfOperation      = new DateTime(DataOfOperation.Year, DataOfOperation.Month, DataOfOperation.Day, DataOfOperation.Hour, DataOfOperation.Minute, DataOfOperation.Second);
            operationInfo.StartTimeOfOperation = new DateTime(StartTimeOfOperation.Year, StartTimeOfOperation.Month, StartTimeOfOperation.Day, StartTimeOfOperation.Hour, StartTimeOfOperation.Minute, StartTimeOfOperation.Second);
            operationInfo.EndTimeOfOperation   = new DateTime(EndTimeOfOperation.Year, EndTimeOfOperation.Month, EndTimeOfOperation.Day, EndTimeOfOperation.Hour, EndTimeOfOperation.Minute, EndTimeOfOperation.Second);
            operationInfo.Name            = Name;
            operationInfo.HeAnaesthetist  = HeAnaesthetist;
            operationInfo.SheAnaesthetist = SheAnaesthetist;
            operationInfo.OperationCourse = OperationCourse;
            operationInfo.BeforeOperationEpicrisisIsAntibioticProphylaxisExist = BeforeOperationEpicrisisIsAntibioticProphylaxisExist;
            operationInfo.BeforeOperationEpicrisisAntibioticProphylaxis        = BeforeOperationEpicrisisAntibioticProphylaxis;

            operationInfo.Surgeons = new List <string>();
            foreach (string surgeon in Surgeons)
            {
                operationInfo.Surgeons.Add(surgeon);
            }

            operationInfo.Assistents = new List <string>();
            foreach (string assistent in Assistents)
            {
                operationInfo.Assistents.Add(assistent);
            }

            operationInfo.ScrubNurse = ScrubNurse;
            operationInfo.Orderly    = Orderly;

            operationInfo.BeforeOperationEpicrisisADFirst        = BeforeOperationEpicrisisADFirst;
            operationInfo.BeforeOperationEpicrisisADSecond       = BeforeOperationEpicrisisADSecond;
            operationInfo.BeforeOperationEpicrisisBreath         = BeforeOperationEpicrisisBreath;
            operationInfo.BeforeOperationEpicrisisChDD           = BeforeOperationEpicrisisChDD;
            operationInfo.BeforeOperationEpicrisisComplaints     = BeforeOperationEpicrisisComplaints;
            operationInfo.BeforeOperationEpicrisisState          = BeforeOperationEpicrisisState;
            operationInfo.BeforeOperationEpicrisisHeartRhythm    = BeforeOperationEpicrisisHeartRhythm;
            operationInfo.BeforeOperationEpicrisisHeartSounds    = BeforeOperationEpicrisisHeartSounds;
            operationInfo.BeforeOperationEpicrisisIsDairyEnabled = BeforeOperationEpicrisisIsDairyEnabled;
            operationInfo.BeforeOperationEpicrisisPulse          = BeforeOperationEpicrisisPulse;
            operationInfo.BeforeOperationEpicrisisStLocalis      = BeforeOperationEpicrisisStLocalis;
            operationInfo.BeforeOperationEpicrisisStomach        = BeforeOperationEpicrisisStomach;
            operationInfo.BeforeOperationEpicrisisStool          = BeforeOperationEpicrisisStool;
            operationInfo.BeforeOperationEpicrisisTemperature    = BeforeOperationEpicrisisTemperature;
            operationInfo.BeforeOperationEpicrisisUrination      = BeforeOperationEpicrisisUrination;
            operationInfo.BeforeOperationEpicrisisWheeze         = BeforeOperationEpicrisisWheeze;
            operationInfo.OpenedOperationProtocolForm            = OpenedOperationProtocolForm;
            operationInfo.OpenedOperationViewForm = OpenedOperationViewForm;
        }
示例#3
0
        public OperationClass(OperationClass operationInfo)
        {
            Id = operationInfo.Id;
            DataOfOperation      = new DateTime(operationInfo.DataOfOperation.Year, operationInfo.DataOfOperation.Month, operationInfo.DataOfOperation.Day, operationInfo.DataOfOperation.Hour, operationInfo.DataOfOperation.Minute, operationInfo.DataOfOperation.Second);
            StartTimeOfOperation = new DateTime(operationInfo.StartTimeOfOperation.Year, operationInfo.StartTimeOfOperation.Month, operationInfo.StartTimeOfOperation.Day, operationInfo.StartTimeOfOperation.Hour, operationInfo.StartTimeOfOperation.Minute, operationInfo.StartTimeOfOperation.Second);
            EndTimeOfOperation   = new DateTime(operationInfo.EndTimeOfOperation.Year, operationInfo.EndTimeOfOperation.Month, operationInfo.EndTimeOfOperation.Day, operationInfo.EndTimeOfOperation.Hour, operationInfo.EndTimeOfOperation.Minute, operationInfo.EndTimeOfOperation.Second);
            Name            = operationInfo.Name;
            HeAnaesthetist  = operationInfo.HeAnaesthetist;
            SheAnaesthetist = operationInfo.SheAnaesthetist;
            OperationCourse = operationInfo.OperationCourse;
            BeforeOperationEpicrisisIsAntibioticProphylaxisExist = operationInfo.BeforeOperationEpicrisisIsAntibioticProphylaxisExist;
            BeforeOperationEpicrisisAntibioticProphylaxis        = operationInfo.BeforeOperationEpicrisisAntibioticProphylaxis;

            Surgeons = new List <string>();
            foreach (string surgeon in operationInfo.Surgeons)
            {
                Surgeons.Add(surgeon);
            }

            Assistents = new List <string>();
            foreach (string assistent in operationInfo.Assistents)
            {
                Assistents.Add(assistent);
            }

            ScrubNurse = operationInfo.ScrubNurse;
            Orderly    = operationInfo.Orderly;

            BeforeOperationEpicrisisADFirst        = operationInfo.BeforeOperationEpicrisisADFirst;
            BeforeOperationEpicrisisADSecond       = operationInfo.BeforeOperationEpicrisisADSecond;
            BeforeOperationEpicrisisBreath         = operationInfo.BeforeOperationEpicrisisBreath;
            BeforeOperationEpicrisisChDD           = operationInfo.BeforeOperationEpicrisisChDD;
            BeforeOperationEpicrisisComplaints     = operationInfo.BeforeOperationEpicrisisComplaints;
            BeforeOperationEpicrisisState          = operationInfo.BeforeOperationEpicrisisState;
            BeforeOperationEpicrisisHeartRhythm    = operationInfo.BeforeOperationEpicrisisHeartRhythm;
            BeforeOperationEpicrisisHeartSounds    = operationInfo.BeforeOperationEpicrisisHeartSounds;
            BeforeOperationEpicrisisIsDairyEnabled = operationInfo.BeforeOperationEpicrisisIsDairyEnabled;
            BeforeOperationEpicrisisPulse          = operationInfo.BeforeOperationEpicrisisPulse;
            BeforeOperationEpicrisisStLocalis      = operationInfo.BeforeOperationEpicrisisStLocalis;
            BeforeOperationEpicrisisStomach        = operationInfo.BeforeOperationEpicrisisStomach;
            BeforeOperationEpicrisisStool          = operationInfo.BeforeOperationEpicrisisStool;
            BeforeOperationEpicrisisTemperature    = operationInfo.BeforeOperationEpicrisisTemperature;
            BeforeOperationEpicrisisUrination      = operationInfo.BeforeOperationEpicrisisUrination;
            BeforeOperationEpicrisisWheeze         = operationInfo.BeforeOperationEpicrisisWheeze;
        }
示例#4
0
 public static int Compare(OperationClass operationInfo1, OperationClass operationInfo2)
 {
     return(DateTime.Compare(operationInfo1.DataOfOperation, operationInfo2.DataOfOperation));
 }
示例#5
0
        /// <summary>
        /// Скопировать данные о пациенте в переданного пациента (без использования new)
        /// </summary>
        /// <param name="patientInfo">Информация о пациенте</param>
        public void Copy(PatientClass patientInfo)
        {
            patientInfo.Id                      = Id;
            patientInfo.LastName                = LastName;
            patientInfo.Name                    = Name;
            patientInfo.Patronymic              = Patronymic;
            patientInfo.Birthday                = ConvertEngine.CopyDateTime(Birthday);
            patientInfo.BuildingNumber          = BuildingNumber;
            patientInfo.CityName                = CityName;
            patientInfo.Diagnose                = Diagnose;
            patientInfo.ConcomitantDiagnose     = ConcomitantDiagnose;
            patientInfo.Complications           = Complications;
            patientInfo.DoctorInChargeOfTheCase = DoctorInChargeOfTheCase;
            patientInfo.FlatNumber              = FlatNumber;
            patientInfo.WorkPlace               = WorkPlace;
            patientInfo.PassportNumber          = PassportNumber;
            patientInfo.PolisNumber             = PolisNumber;
            patientInfo.SnilsNumber             = SnilsNumber;
            patientInfo.Phone                   = Phone;
            patientInfo.TypeOfKSG               = TypeOfKSG;
            patientInfo.MKB                     = MKB;
            patientInfo.ServiceName             = ServiceName;
            patientInfo.ServiceCode             = ServiceCode;
            patientInfo.KsgCode                 = KsgCode;
            patientInfo.KsgDecoding             = KsgDecoding;
            patientInfo.HomeNumber              = HomeNumber;
            patientInfo.Nosology                = Nosology;
            patientInfo.NumberOfCaseHistory     = NumberOfCaseHistory;
            patientInfo.StreetName              = StreetName;
            patientInfo.PrivateFolder           = PrivateFolder;

            patientInfo.DeliveryDate = ConvertEngine.CopyDateTime(DeliveryDate);
            patientInfo.ReleaseDate  = ConvertEngine.CopyDateTime(ReleaseDate);

            patientInfo.Operations = new List <OperationClass>();
            foreach (OperationClass operation in Operations)
            {
                var newOperationClass = new OperationClass(operation);
                patientInfo.Operations.Add(newOperationClass);
            }

            patientInfo.TransferEpicrisAfterOperationPeriod = TransferEpicrisAfterOperationPeriod;
            patientInfo.TransferEpicrisPlan                    = TransferEpicrisPlan;
            patientInfo.TransferEpicrisWritingDate             = ConvertEngine.CopyDateTime(TransferEpicrisWritingDate);
            patientInfo.TransferEpicrisAdditionalInfo          = TransferEpicrisAdditionalInfo;
            patientInfo.TransferEpicrisDisabilityList          = TransferEpicrisDisabilityList;
            patientInfo.TransferEpicrisIsIncludeDisabilityList = TransferEpicrisIsIncludeDisabilityList;

            patientInfo.LineOfCommEpicrisAdditionalInfo = LineOfCommEpicrisAdditionalInfo;
            patientInfo.LineOfCommEpicrisPlan           = LineOfCommEpicrisPlan;
            patientInfo.LineOfCommEpicrisWritingDate    = ConvertEngine.CopyDateTime(LineOfCommEpicrisWritingDate);

            patientInfo.DischargeEpicrisAnalysisDate      = DischargeEpicrisAnalysisDate;
            patientInfo.DischargeEpicrisAfterOperation    = DischargeEpicrisAfterOperation;
            patientInfo.DischargeEpicrisEkg               = DischargeEpicrisEkg;
            patientInfo.DischargeEpicrisOakEritrocits     = DischargeEpicrisOakEritrocits;
            patientInfo.DischargeEpicrisOakHb             = DischargeEpicrisOakHb;
            patientInfo.DischargeEpicrisOakLekocits       = DischargeEpicrisOakLekocits;
            patientInfo.DischargeEpicrisOakSoe            = DischargeEpicrisOakSoe;
            patientInfo.DischargeEpicrisOamColor          = DischargeEpicrisOamColor;
            patientInfo.DischargeEpicrisOamDensity        = DischargeEpicrisOamDensity;
            patientInfo.DischargeEpicrisOamEritrocits     = DischargeEpicrisOamEritrocits;
            patientInfo.DischargeEpicrisOamLekocits       = DischargeEpicrisOamLekocits;
            patientInfo.DischargeEpicrisBakBillirubin     = DischargeEpicrisBakBillirubin;
            patientInfo.DischargeEpicrisBakGeneralProtein = DischargeEpicrisBakGeneralProtein;
            patientInfo.DischargeEpicrisBakPTI            = DischargeEpicrisBakPTI;
            patientInfo.DischargeEpicrisBakSugar          = DischargeEpicrisBakSugar;
            patientInfo.DischargeEpicrisBloodGroup        = DischargeEpicrisBloodGroup;
            patientInfo.DischargeEpicrisRhesusFactor      = DischargeEpicrisRhesusFactor;

            patientInfo.DischargeEpicrisAdditionalAnalises = DischargeEpicrisAdditionalAnalises;

            patientInfo.DischargeEpicrisRecomendations = new List <string>(DischargeEpicrisRecomendations);

            patientInfo.DischargeEpicrisAdditionalRecomendations = new List <string>(DischargeEpicrisAdditionalRecomendations);

            patientInfo.PrescriptionTherapy = new List <string>(PrescriptionTherapy);
            patientInfo.PrescriptionSurveys = new List <string>(PrescriptionSurveys);

            patientInfo.TreatmentPlanInspection = TreatmentPlanInspection;
            patientInfo.TreatmentPlanDate       = ConvertEngine.CopyDateTime(TreatmentPlanDate);
            patientInfo.IsTreatmentPlanActiveInOperationProtocol = IsTreatmentPlanActiveInOperationProtocol;

            patientInfo.MedicalInspectionAnamneseTraumaDate             = ConvertEngine.CopyDateTime(MedicalInspectionAnamneseTraumaDate);
            patientInfo.MedicalInspectionAnamneseAnMorbi                = MedicalInspectionAnamneseAnMorbi;
            patientInfo.MedicalInspectionAnamneseAnVitae                = CopyBoolArray(MedicalInspectionAnamneseAnVitae);
            patientInfo.MedicalInspectionAnamneseCheckboxes             = CopyBoolArray(MedicalInspectionAnamneseCheckboxes);
            patientInfo.MedicalInspectionAnamneseTextBoxes              = CopyStringArray(MedicalInspectionAnamneseTextBoxes);
            patientInfo.MedicalInspectionComplaints                     = MedicalInspectionComplaints;
            patientInfo.MedicalInspectionExpertAnamnese                 = MedicalInspectionExpertAnamnese;
            patientInfo.MedicalInspectionStLocalisDescription           = MedicalInspectionStLocalisDescription;
            patientInfo.MedicalInspectionStLocalisRentgen               = MedicalInspectionStLocalisRentgen;
            patientInfo.MedicalInspectionInspectionPlan                 = MedicalInspectionInspectionPlan;
            patientInfo.MedicalInspectionIsAnamneseActive               = MedicalInspectionIsAnamneseActive;
            patientInfo.MedicalInspectionIsPlanEnabled                  = MedicalInspectionIsPlanEnabled;
            patientInfo.MedicalInspectionIsStLocalisPart1Enabled        = MedicalInspectionIsStLocalisPart1Enabled;
            patientInfo.MedicalInspectionIsStLocalisPart2Enabled        = MedicalInspectionIsStLocalisPart2Enabled;
            patientInfo.MedicalInspectionLnFirstDateStart               = ConvertEngine.CopyDateTime(MedicalInspectionLnFirstDateStart);
            patientInfo.MedicalInspectionLnWithNumberDateEnd            = ConvertEngine.CopyDateTime(MedicalInspectionLnWithNumberDateEnd);
            patientInfo.MedicalInspectionLnWithNumberDateStart          = ConvertEngine.CopyDateTime(MedicalInspectionLnWithNumberDateStart);
            patientInfo.MedicalInspectionStLocalisPart1Fields           = CopyStringArray(MedicalInspectionStLocalisPart1Fields);
            patientInfo.MedicalInspectionStLocalisPart1OppositionFinger = MedicalInspectionStLocalisPart1OppositionFinger;
            patientInfo.MedicalInspectionStLocalisPart2ComboBoxes       = CopyStringArray(MedicalInspectionStLocalisPart2ComboBoxes);
            patientInfo.MedicalInspectionStLocalisPart2LeftHand         = CopyStringArray(MedicalInspectionStLocalisPart2LeftHand);
            patientInfo.MedicalInspectionStLocalisPart2NumericUpDown    = MedicalInspectionStLocalisPart2NumericUpDown;
            patientInfo.MedicalInspectionStLocalisPart2RightHand        = CopyStringArray(MedicalInspectionStLocalisPart2RightHand);
            patientInfo.MedicalInspectionStLocalisPart2TextBoxes        = CopyStringArray(MedicalInspectionStLocalisPart2TextBoxes);
            patientInfo.MedicalInspectionStLocalisPart2WhichHand        = MedicalInspectionStLocalisPart2WhichHand;
            patientInfo.MedicalInspectionStPraesensComboBoxes           = CopyStringArray(MedicalInspectionStPraesensComboBoxes);
            patientInfo.MedicalInspectionStPraesensNumericUpDowns       = CopyIntArray(MedicalInspectionStPraesensNumericUpDowns);
            patientInfo.MedicalInspectionStPraesensOthers               = MedicalInspectionStPraesensOthers;
            patientInfo.MedicalInspectionStPraesensTextBoxes            = CopyStringArray(MedicalInspectionStPraesensTextBoxes);
            patientInfo.MedicalInspectionTeoRisk = MedicalInspectionTeoRisk;
        }
示例#6
0
        public PatientClass(PatientClass patientClass)
        {
            Id                      = patientClass.Id;
            LastName                = patientClass.LastName;
            Name                    = patientClass.Name;
            Patronymic              = patientClass.Patronymic;
            Birthday                = ConvertEngine.CopyDateTime(patientClass.Birthday);
            BuildingNumber          = patientClass.BuildingNumber;
            CityName                = patientClass.CityName;
            Diagnose                = patientClass.Diagnose;
            ConcomitantDiagnose     = patientClass.ConcomitantDiagnose;
            Complications           = patientClass.Complications;
            DoctorInChargeOfTheCase = patientClass.DoctorInChargeOfTheCase;
            FlatNumber              = patientClass.FlatNumber;
            WorkPlace               = patientClass.WorkPlace;
            PassportNumber          = patientClass.PassportNumber;
            PolisNumber             = patientClass.PolisNumber;
            SnilsNumber             = patientClass.SnilsNumber;
            Phone                   = patientClass.Phone;
            TypeOfKSG               = patientClass.TypeOfKSG;
            MKB                     = patientClass.MKB;
            ServiceName             = patientClass.ServiceName;
            ServiceCode             = patientClass.ServiceCode;
            KsgCode                 = patientClass.KsgCode;
            KsgDecoding             = patientClass.KsgDecoding;
            HomeNumber              = patientClass.HomeNumber;
            Nosology                = patientClass.Nosology;
            NumberOfCaseHistory     = patientClass.NumberOfCaseHistory;
            StreetName              = patientClass.StreetName;
            PrivateFolder           = patientClass.PrivateFolder;

            DeliveryDate = ConvertEngine.CopyDateTime(patientClass.DeliveryDate);
            ReleaseDate  = ConvertEngine.CopyDateTime(patientClass.ReleaseDate);

            Operations = new List <OperationClass>();
            foreach (OperationClass operation in patientClass.Operations)
            {
                var newOperationClass = new OperationClass(operation);
                Operations.Add(newOperationClass);
            }

            TransferEpicrisAfterOperationPeriod = patientClass.TransferEpicrisAfterOperationPeriod;
            TransferEpicrisPlan                    = patientClass.TransferEpicrisPlan;
            TransferEpicrisWritingDate             = ConvertEngine.CopyDateTime(patientClass.TransferEpicrisWritingDate);
            TransferEpicrisAdditionalInfo          = patientClass.TransferEpicrisAdditionalInfo;
            TransferEpicrisDisabilityList          = patientClass.TransferEpicrisDisabilityList;
            TransferEpicrisIsIncludeDisabilityList = patientClass.TransferEpicrisIsIncludeDisabilityList;

            LineOfCommEpicrisAdditionalInfo = patientClass.LineOfCommEpicrisAdditionalInfo;
            LineOfCommEpicrisPlan           = patientClass.LineOfCommEpicrisPlan;
            LineOfCommEpicrisWritingDate    = ConvertEngine.CopyDateTime(patientClass.LineOfCommEpicrisWritingDate);

            DischargeEpicrisAnalysisDate      = patientClass.DischargeEpicrisAnalysisDate;
            DischargeEpicrisAfterOperation    = patientClass.DischargeEpicrisAfterOperation;
            DischargeEpicrisEkg               = patientClass.DischargeEpicrisEkg;
            DischargeEpicrisOakEritrocits     = patientClass.DischargeEpicrisOakEritrocits;
            DischargeEpicrisOakHb             = patientClass.DischargeEpicrisOakHb;
            DischargeEpicrisOakLekocits       = patientClass.DischargeEpicrisOakLekocits;
            DischargeEpicrisOakSoe            = patientClass.DischargeEpicrisOakSoe;
            DischargeEpicrisOamColor          = patientClass.DischargeEpicrisOamColor;
            DischargeEpicrisOamDensity        = patientClass.DischargeEpicrisOamDensity;
            DischargeEpicrisOamEritrocits     = patientClass.DischargeEpicrisOamEritrocits;
            DischargeEpicrisOamLekocits       = patientClass.DischargeEpicrisOamLekocits;
            DischargeEpicrisBakBillirubin     = patientClass.DischargeEpicrisBakBillirubin;
            DischargeEpicrisBakGeneralProtein = patientClass.DischargeEpicrisBakGeneralProtein;
            DischargeEpicrisBakPTI            = patientClass.DischargeEpicrisBakPTI;
            DischargeEpicrisBakSugar          = patientClass.DischargeEpicrisBakSugar;
            DischargeEpicrisBloodGroup        = patientClass.DischargeEpicrisBloodGroup;
            DischargeEpicrisRhesusFactor      = patientClass.DischargeEpicrisRhesusFactor;

            DischargeEpicrisAdditionalAnalises = patientClass.DischargeEpicrisAdditionalAnalises;

            DischargeEpicrisRecomendations = new List <string>(patientClass.DischargeEpicrisRecomendations);

            DischargeEpicrisAdditionalRecomendations = new List <string>(patientClass.DischargeEpicrisAdditionalRecomendations);

            PrescriptionTherapy = new List <string>(patientClass.PrescriptionTherapy);
            PrescriptionSurveys = new List <string>(patientClass.PrescriptionSurveys);

            TreatmentPlanInspection = patientClass.TreatmentPlanInspection;
            TreatmentPlanDate       = ConvertEngine.CopyDateTime(patientClass.TreatmentPlanDate);
            IsTreatmentPlanActiveInOperationProtocol = patientClass.IsTreatmentPlanActiveInOperationProtocol;

            MedicalInspectionAnamneseTraumaDate             = ConvertEngine.CopyDateTime(patientClass.MedicalInspectionAnamneseTraumaDate);
            MedicalInspectionAnamneseAnMorbi                = patientClass.MedicalInspectionAnamneseAnMorbi;
            MedicalInspectionAnamneseAnVitae                = CopyBoolArray(patientClass.MedicalInspectionAnamneseAnVitae);
            MedicalInspectionAnamneseCheckboxes             = CopyBoolArray(patientClass.MedicalInspectionAnamneseCheckboxes);
            MedicalInspectionAnamneseTextBoxes              = CopyStringArray(patientClass.MedicalInspectionAnamneseTextBoxes);
            MedicalInspectionComplaints                     = patientClass.MedicalInspectionComplaints;
            MedicalInspectionExpertAnamnese                 = patientClass.MedicalInspectionExpertAnamnese;
            MedicalInspectionStLocalisDescription           = patientClass.MedicalInspectionStLocalisDescription;
            MedicalInspectionStLocalisRentgen               = patientClass.MedicalInspectionStLocalisRentgen;
            MedicalInspectionInspectionPlan                 = patientClass.MedicalInspectionInspectionPlan;
            MedicalInspectionIsAnamneseActive               = patientClass.MedicalInspectionIsAnamneseActive;
            MedicalInspectionIsPlanEnabled                  = patientClass.MedicalInspectionIsPlanEnabled;
            MedicalInspectionIsStLocalisPart1Enabled        = patientClass.MedicalInspectionIsStLocalisPart1Enabled;
            MedicalInspectionIsStLocalisPart2Enabled        = patientClass.MedicalInspectionIsStLocalisPart2Enabled;
            MedicalInspectionLnFirstDateStart               = ConvertEngine.CopyDateTime(patientClass.MedicalInspectionLnFirstDateStart);
            MedicalInspectionLnWithNumberDateEnd            = ConvertEngine.CopyDateTime(patientClass.MedicalInspectionLnWithNumberDateEnd);
            MedicalInspectionLnWithNumberDateStart          = ConvertEngine.CopyDateTime(patientClass.MedicalInspectionLnWithNumberDateStart);
            MedicalInspectionStLocalisPart1Fields           = CopyStringArray(patientClass.MedicalInspectionStLocalisPart1Fields);
            MedicalInspectionStLocalisPart1OppositionFinger = patientClass.MedicalInspectionStLocalisPart1OppositionFinger;
            MedicalInspectionStLocalisPart2ComboBoxes       = CopyStringArray(patientClass.MedicalInspectionStLocalisPart2ComboBoxes);
            MedicalInspectionStLocalisPart2LeftHand         = CopyStringArray(patientClass.MedicalInspectionStLocalisPart2LeftHand);
            MedicalInspectionStLocalisPart2NumericUpDown    = patientClass.MedicalInspectionStLocalisPart2NumericUpDown;
            MedicalInspectionStLocalisPart2RightHand        = CopyStringArray(patientClass.MedicalInspectionStLocalisPart2RightHand);
            MedicalInspectionStLocalisPart2TextBoxes        = CopyStringArray(patientClass.MedicalInspectionStLocalisPart2TextBoxes);
            MedicalInspectionStLocalisPart2WhichHand        = patientClass.MedicalInspectionStLocalisPart2WhichHand;
            MedicalInspectionStPraesensComboBoxes           = CopyStringArray(patientClass.MedicalInspectionStPraesensComboBoxes);
            MedicalInspectionStPraesensNumericUpDowns       = CopyIntArray(patientClass.MedicalInspectionStPraesensNumericUpDowns);
            MedicalInspectionStPraesensOthers               = patientClass.MedicalInspectionStPraesensOthers;
            MedicalInspectionStPraesensTextBoxes            = CopyStringArray(patientClass.MedicalInspectionStPraesensTextBoxes);
            MedicalInspectionTeoRisk = patientClass.MedicalInspectionTeoRisk;
        }
示例#7
0
 /// <summary>
 /// Добавить новую операцию в список операций
 /// </summary>
 /// <param name="operationInfo">Информация про операцию</param>
 public void AddOperation(OperationClass operationInfo)
 {
     operationInfo.Id = GetNewOperationID();
     Operations.Add(operationInfo);
     Operations.Sort(OperationClass.Compare);
 }