private void NewBtnClicked(object sender, RoutedEventArgs e)
        {
            var vm = this.DataContext as HISGUIClinicDoctorWorkVM;

            if (vm == null)
            {
                return;
            }

            var selectItem = this.m_候诊List.SelectedItem as CommContracts.ClinicRegistration;

            if (selectItem == null)
            {
                MessageBox.Show("请选择患者");
                return;
            }
            var window = new Window();
            DoctorAdviceEditView doctorAdviceEditView = new DoctorAdviceEditView();

            doctorAdviceEditView.DataContext = this.DataContext;

            // 这里最好能够让界面弹出在父窗口正中心位置
            window.Content = doctorAdviceEditView;
            window.Width   = 880;
            window.Height  = 700;

            if (window.ShowDialog().Value == true)
            {
                //var tem = doctorAdviceEditView.CurrentClinicDoctorAdvice;
                //ClinicDoctorAdviceList.Add(tem);
                LoadAllClinicDoctorAdvices();
            }
        }
        private void m_editBtn_Click(object sender, RoutedEventArgs e)
        {
            var vm = this.DataContext as HISGUIClinicDoctorWorkVM;

            if (vm == null)
            {
                return;
            }

            int SelectNum = 0;

            CommContracts.ClinicDoctorAdvice EditAdvice = new CommContracts.ClinicDoctorAdvice();

            foreach (DoctorAdviceView tem in m_DoctorAdvicePanel.Children)
            {
                if (tem.IsChecked)
                {
                    SelectNum++;
                    EditAdvice = tem.ClinicDoctorAdvice;
                }
            }

            if (SelectNum == 1)
            {
                vm.CurrentClinicDoctorAdvice = EditAdvice;
                var window = new Window();
                DoctorAdviceEditView doctorAdviceEditView = new DoctorAdviceEditView();
                doctorAdviceEditView.DataContext = this.DataContext;

                // 这里最好能够让界面弹出在父窗口正中心位置
                window.Content = doctorAdviceEditView;
                window.Width   = 880;
                window.Height  = 700;

                if (window.ShowDialog().Value == true)
                {
                    //var tem = doctorAdviceEditView.CurrentClinicDoctorAdvice;
                    //ClinicDoctorAdviceList.Add(tem);
                    LoadAllClinicDoctorAdvices();
                }
            }
            else
            {
                MessageBox.Show("请选择一个医嘱进行修改操作!");
                return;
            }
        }