public Boolean IsEqual(CareMeasure compareObject)
        {
            Boolean isEqual = base.IsEqual((CoreConfigurationObject)compareObject);


            isEqual &= (careMeasureDomainId == compareObject.CareMeasureDomainId);

            isEqual &= (careMeasureDomainName == compareObject.CareMeasureDomainName);

            isEqual &= (careMeasureClassId == compareObject.CareMeasureClassId);

            isEqual &= (careMeasureClassName == compareObject.CareMeasureClassName);


            isEqual &= (components.Count == compareObject.Components.Count);

            if (isEqual)
            {
                for (Int32 currentComponentIndex = 0; currentComponentIndex < components.Count; currentComponentIndex++)
                {
                    isEqual &= (components[currentComponentIndex].IsEqual(compareObject.Components[currentComponentIndex]));

                    if (!isEqual)
                    {
                        break;
                    }
                }
            }


            return(isEqual);
        }
        public CareMeasure Copy()
        {
            Server.Application.CareMeasure serverObject = (Server.Application.CareMeasure)ToServerObject();

            CareMeasure copiedCareMeasure = new CareMeasure(application, serverObject);

            return(copiedCareMeasure);
        }