Exemplo n.º 1
0
        public static CoverageCallTab FromBase(CallTabBase tabBase)
        {
            CoverageCallTab returnVal = new CoverageCallTab();

            returnVal.CopyBase(tabBase);

            return(returnVal);
        }
Exemplo n.º 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);
        }