Beispiel #1
0
        /************************/
        private IDockContent GetContentFromPersistString(string persistString)
        {
            if (persistString == typeof(RiskClinicDashboard).ToString())
            {
                rcd = new RiskClinicDashboard();
                rcd.PushViewStack = PushViewOnMainWindow;
                viewStack.Push(rcd);
                return(rcd);
            }
            if (persistString == typeof(BreastImagingDashboard).ToString())
            {
                bid = new BreastImagingDashboard();
                bid.PushViewStack = PushViewOnMainWindow;
                viewStack.Push(bid);
                return(bid);
            }
            if (persistString == typeof(MyScheduleView).ToString())
            {
                mpv = new MyScheduleView();
                mpv.PushViewStack = PushViewOnMainWindow;
                viewStack.Push(mpv);
                return(mpv);
            }

            if (persistString == "RiskApps3.View.RiskClinic.MyPatientsView")
            {
                RiskApps3.Model.Clinic.Dashboard.myPatientsQueue p_MyPatientsQueue = new Model.Clinic.Dashboard.myPatientsQueue();
                HighRiskFollowupView hrfv = new HighRiskFollowupView(p_MyPatientsQueue);
                hrfv.PushViewStack = PushViewOnMainWindow;
                viewStack.Push(hrfv);
                return(hrfv);
            }

            return(null);
        }
Beispiel #2
0
        /**************************************************************************************************/


        public RiskClinicDashboard()
        {
            p_MyPatients      = new RiskApps3.Model.Clinic.Dashboard.MyPatients();
            p_MyPatients.date = DateTime.Now.ToShortDateString();
            p_AtRisk          = new RiskApps3.Model.Clinic.Dashboard.AtRisk();
            //p_UpdateQueueData = new RiskApps3.Model.Clinic.Dashboard.QueueData();

            p_HighRiskBrcaQueue           = new HighRiskBrcaQueue();
            p_HighRiskLifetimeBreastQueue = new HighRiskLifetimeBreastQueue();
            p_HighRiskColonQueue          = new HighRiskColonQueue();
            p_BrcaPositiveQueue           = new BrcaPositiveQueue();
            p_PendingTaskQueue            = new PendingTaskQueue();
            p_MyPatientsQueue             = new myPatientsQueue();

            p_PendingTasks        = new RiskApps3.Model.Clinic.Dashboard.PendingTasks();
            p_PendingGeneticTests = new RiskApps3.Model.Clinic.Dashboard.PendingGeneticTests();
            InitializeComponent();
        }
Beispiel #3
0
        /**************************************************************************************************/
        public RiskClinicDashboard()
        {
            p_MyPatients = new RiskApps3.Model.Clinic.Dashboard.MyPatients();
            p_MyPatients.date = DateTime.Now.ToShortDateString();
            p_AtRisk = new RiskApps3.Model.Clinic.Dashboard.AtRisk();
            //p_UpdateQueueData = new RiskApps3.Model.Clinic.Dashboard.QueueData();

            p_HighRiskBrcaQueue = new HighRiskBrcaQueue();
            p_HighRiskLifetimeBreastQueue = new HighRiskLifetimeBreastQueue();
            p_HighRiskColonQueue = new HighRiskColonQueue();
            p_BrcaPositiveQueue = new BrcaPositiveQueue();
            p_PendingTaskQueue = new PendingTaskQueue();
            p_MyPatientsQueue = new myPatientsQueue();

            p_PendingTasks = new RiskApps3.Model.Clinic.Dashboard.PendingTasks();
            p_PendingGeneticTests = new RiskApps3.Model.Clinic.Dashboard.PendingGeneticTests();
            InitializeComponent();
        }
Beispiel #4
0
        /************************/
        private IDockContent GetContentFromPersistString(string persistString)
        {
            if (persistString == typeof(RiskClinicDashboard).ToString())
            {
                rcd = new RiskClinicDashboard();
                rcd.PushViewStack = PushViewOnMainWindow;
                viewStack.Push(rcd);
                return rcd;
            }
            if (persistString == typeof(BreastImagingDashboard).ToString())
            {
                bid = new BreastImagingDashboard();
                bid.PushViewStack = PushViewOnMainWindow;
                viewStack.Push(bid);
                return bid;
            }
            if (persistString == typeof(MyScheduleView).ToString())
            {
                mpv = new MyScheduleView();
                mpv.PushViewStack = PushViewOnMainWindow;
                viewStack.Push(mpv);
                return mpv;
            }

            if (persistString == "RiskApps3.View.RiskClinic.MyPatientsView")
            {
                RiskApps3.Model.Clinic.Dashboard.myPatientsQueue p_MyPatientsQueue = new Model.Clinic.Dashboard.myPatientsQueue();
                HighRiskFollowupView hrfv = new HighRiskFollowupView(p_MyPatientsQueue);
                hrfv.PushViewStack = PushViewOnMainWindow;
                viewStack.Push(hrfv);
                return hrfv;
            }

            return null;
        }