/* Check For Navigation Source */
        private Models.Doctor GetDoctor()
        {
            Models.Doctor doctor = new Models.Doctor();

            if (CurrentIllness.getDoctorName() != null || DocByCategory.getDoctorName() != null)
            {
                switch (MainPage.getPageNavSource())
                {
                case 0:
                    doctor = MainPage.getDoctorName();
                    break;

                case 1:
                    doctor = CurrentIllness.getDoctorName();
                    break;

                case 2:
                    doctor = DocByCategory.getDoctorName();
                    break;
                }
            }
            else
            {
                doctor = MainPage.getDoctorName();
            }

            return(doctor);
        }
        public CurrentIllnesSympt()
        {
            this.InitializeComponent();

            this.navigationHelper            = new NavigationHelper(this);
            this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
            this.navigationHelper.SaveState += this.NavigationHelper_SaveState;

            SympIllnes.Text = "Симптоми на " + CurrentIllness.GetIllness().illness_name;

            SymptomList.DataContext = db.getAllSymptoms(CurrentIllness.GetIllness().illness_name);
        }