public bool Add(string DefinitionString)
        {
            bool bResult = true;
            string sCohort;

            if (iIndex >= Max)
            {
                bResult = false;
                FatalError = true;
                ErrorMessage = "Maximum number of cohorts exceeded";
            }
            else
            {
                HQLCohortItem cCohort = new HQLCohortItem();
                if (cCohort.ProcessCohortDefinition(DefinitionString, out sCohort))
                {
                    CohortList[iIndex++] = cCohort;
                    if (sCohort != "")
                        GlobalCohort = sCohort;
                }
                else
                {
                    FatalError = true;
                    ErrorMessage = cCohort.ErrorMessage;
                    bResult = false;
                }

                Length = iIndex;
            }

            return bResult;
        }
        public bool Add(string Name, string Description)
        {
            bool bResult = true;

            if (iIndex >= Max)
            {
                bResult = false;
                FatalError = true;
                ErrorMessage = "Maximum number of cohorts exceeded";
            }
            else
            {
                HQLCohortItem cCohort = new HQLCohortItem();
                cCohort.Name = Name;
                cCohort.Description = Description;

                CohortList[iIndex++] = cCohort;

                Length = iIndex;
            }

            return bResult;
        }