예제 #1
0
        public CallTab(MccPatientCallTab tabType)
        {
            this.TabType = tabType;

            this.ViewName  = MccPatientCallTabViewName[(int)tabType];
            this.ShortName = MccPatientCallTabShortName[(int)tabType];
            this.FullName  = MccPatientCallTabName[(int)tabType];
        }
예제 #2
0
        public static CallTabBase CreateNewCallTab(MccPatientCallTab tabType)
        {
            CallTabBase returnVal = null;

            switch (tabType)
            {
            case MccPatientCallTab.Introduction:
                returnVal = new IntroductionCallTab();
                break;

            case MccPatientCallTab.VACoverage:
                returnVal = new CoverageCallTab();
                break;

            case MccPatientCallTab.HealthProblems:
                returnVal = new HealthCallTab();
                break;

            case MccPatientCallTab.Smoking:
                returnVal = new SmokingCallTab();
                break;

            case MccPatientCallTab.Alcohol:
                returnVal = new AlcoholCallTab();
                break;

            case MccPatientCallTab.DepressionSuicide:
                returnVal = new DepressionCallTab();
                break;

            case MccPatientCallTab.InterpersonalViolence:
                returnVal = new IpvCallTab();
                break;

            case MccPatientCallTab.PregnancyRelatedClasses:
                returnVal = new ClassesCallTab();
                break;

            case MccPatientCallTab.BreastfeedingSupplies:
                returnVal = new BreastfeedingCallTab();
                break;

            case MccPatientCallTab.WomenInfantsChildren:
                returnVal = new WicCallTab();
                break;

            case MccPatientCallTab.FamilyPlanningContraception:
                returnVal = new ContraceptionCallTab();
                break;

            case MccPatientCallTab.PostpartumVisit:
                returnVal = new PostpartumVisitCallTab();
                break;

            case MccPatientCallTab.VAPrimaryCareFollowUp:
                returnVal = new VaPcpCallTab();
                break;

            case MccPatientCallTab.ContactInfoEndCall:
                returnVal = new EndCallTab();
                break;
            }

            return(returnVal);
        }