public new DataExplorerNodeEvaluationMemberEnrollmentContinuousFromBirthDate Copy()
        {
            Server.Application.DataExplorerNodeEvaluationMemberEnrollmentContinuousFromBirthDate serverObject = (Server.Application.DataExplorerNodeEvaluationMemberEnrollmentContinuousFromBirthDate)ToServerObject();

            DataExplorerNodeEvaluationMemberEnrollmentContinuousFromBirthDate copiedObject = new DataExplorerNodeEvaluationMemberEnrollmentContinuousFromBirthDate(application, serverObject);

            return(copiedObject);
        }
示例#2
0
        public DataExplorerNodeEvaluation AddNodeEvaluation(Server.Application.DataExplorerEvaluationType forEvaluationType)
        {
            DataExplorerNodeEvaluation evaluationNode = null;

            switch (forEvaluationType)
            {
            case Server.Application.DataExplorerEvaluationType.MemberDemographic:

                evaluationNode = new Evaluations.DataExplorerNodeEvaluationMemberDemographic(application);

                break;

            case Server.Application.DataExplorerEvaluationType.MemberEnrollment:

                evaluationNode = new Evaluations.DataExplorerNodeEvaluationMemberEnrollment(application);

                break;

            case Server.Application.DataExplorerEvaluationType.MemberEnrollmentContinuousFromBirthDate:

                evaluationNode = new Evaluations.DataExplorerNodeEvaluationMemberEnrollmentContinuousFromBirthDate(application);

                break;

            case Server.Application.DataExplorerEvaluationType.MemberMetric:

                evaluationNode = new Evaluations.DataExplorerNodeEvaluationMemberMetric(application);

                break;

            case Server.Application.DataExplorerEvaluationType.MemberService:

                evaluationNode = new Evaluations.DataExplorerNodeEvaluationMemberService(application);

                break;

            case Server.Application.DataExplorerEvaluationType.PopulationMembership:

                evaluationNode = new Evaluations.DataExplorerNodeEvaluationPopulationMembership(application);

                break;
            }


            if (evaluationNode != null)
            {
                evaluationNode.Parent = this;

                Children.Add(evaluationNode);
            }

            return(evaluationNode);
        }
        public Boolean IsEqual(DataExplorerNodeEvaluationMemberEnrollmentContinuousFromBirthDate compareObject)
        {
            Boolean isEqual = base.IsEqual((DataExplorerNodeEvaluation)compareObject);


            isEqual &= (InsurerId == compareObject.InsurerId);

            isEqual &= (ProgramId == compareObject.ProgramId);

            isEqual &= (BenefitPlanId == compareObject.BenefitPlanId);


            isEqual &= (ContinuousUntilAge == compareObject.ContinuousUntilAge);

            isEqual &= (ContinuousAllowedGaps == compareObject.ContinuousAllowedGaps);

            isEqual &= (ContinuousAllowedGapDays == compareObject.ContinuousAllowedGapDays);


            return(isEqual);
        }
示例#4
0
        public void MapFromServerObject(Server.Application.DataExplorerNodeSet serverObject)
        {
            setType = serverObject.SetType;


            foreach (Server.Application.DataExplorerNode currentChildNode in serverObject.Children)
            {
                DataExplorerNode childNode = null;

                switch (currentChildNode.NodeType)
                {
                case Server.Application.DataExplorerNodeType.Set:

                    childNode = new DataExplorerNodeSet(application, (Server.Application.DataExplorerNodeSet)currentChildNode);

                    childNode.Parent = this;

                    break;

                case Server.Application.DataExplorerNodeType.Evaluation:

                    childNode = new DataExplorerNodeEvaluation(application, (Server.Application.DataExplorerNodeEvaluation)currentChildNode);

                    switch (((DataExplorerNodeEvaluation)childNode).EvaluationType)
                    {
                    case Server.Application.DataExplorerEvaluationType.MemberDemographic: childNode = new Evaluations.DataExplorerNodeEvaluationMemberDemographic(application, ((Server.Application.DataExplorerNodeEvaluationMemberDemographic)currentChildNode)); break;

                    case Server.Application.DataExplorerEvaluationType.MemberEnrollment: childNode = new Evaluations.DataExplorerNodeEvaluationMemberEnrollment(application, ((Server.Application.DataExplorerNodeEvaluationMemberEnrollment)currentChildNode)); break;

                    case Server.Application.DataExplorerEvaluationType.MemberEnrollmentContinuousFromBirthDate: childNode = new Evaluations.DataExplorerNodeEvaluationMemberEnrollmentContinuousFromBirthDate(application, ((Server.Application.DataExplorerNodeEvaluationMemberEnrollmentContinuousFromBirthDate)currentChildNode)); break;

                    case Server.Application.DataExplorerEvaluationType.MemberMetric: childNode = new Evaluations.DataExplorerNodeEvaluationMemberMetric(application, ((Server.Application.DataExplorerNodeEvaluationMemberMetric)currentChildNode)); break;

                    case Server.Application.DataExplorerEvaluationType.MemberService: childNode = new Evaluations.DataExplorerNodeEvaluationMemberService(application, ((Server.Application.DataExplorerNodeEvaluationMemberService)currentChildNode)); break;

                    case Server.Application.DataExplorerEvaluationType.PopulationMembership: childNode = new Evaluations.DataExplorerNodeEvaluationPopulationMembership(application, ((Server.Application.DataExplorerNodeEvaluationPopulationMembership)currentChildNode)); break;
                    }

                    childNode.Parent = this;

                    break;
                }

                if (childNode != null)
                {
                    Children.Add(childNode);
                }
            }

            return;
        }