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

            returnVal.CopyBase(tabBase);

            return(returnVal);
        }
Ejemplo n.º 2
0
 protected void CopyBase(CallTabBase tabBase)
 {
     this.CallTemplateName = tabBase.CallTemplateName;
     this.CallType         = tabBase.CallType;
     this.Patient          = tabBase.Patient;
     this.TabCount         = tabBase.TabCount;
     this.TabIndex         = tabBase.TabIndex;
     this.CurrentTab       = tabBase.CurrentTab;
     this.TabList          = tabBase.TabList;
 }
Ejemplo n.º 3
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);
        }