public override ErrorList Validate()
            {
                var result = new ErrorList();

                result.AddRange(base.Validate());

                if (RoleElement != null)
                {
                    result.AddRange(RoleElement.Validate());
                }
                if (Type != null)
                {
                    result.AddRange(Type.Validate());
                }
                if (ReferenceElement != null)
                {
                    result.AddRange(ReferenceElement.Validate());
                }
                if (DisplayElement != null)
                {
                    result.AddRange(DisplayElement.Validate());
                }
                if (Agent != null)
                {
                    result.AddRange(Agent.Validate());
                }

                return(result);
            }
Example #2
0
            public override ErrorList Validate()
            {
                var result = new ErrorList();

                result.AddRange(base.Validate());

                if (CodeElement != null)
                {
                    result.AddRange(CodeElement.Validate());
                }
                if (AbstractElement != null)
                {
                    result.AddRange(AbstractElement.Validate());
                }
                if (DisplayElement != null)
                {
                    result.AddRange(DisplayElement.Validate());
                }
                if (DefinitionElement != null)
                {
                    result.AddRange(DefinitionElement.Validate());
                }
                if (Concept != null)
                {
                    Concept.ForEach(elem => result.AddRange(elem.Validate()));
                }

                return(result);
            }
Example #3
0
            public override ErrorList Validate()
            {
                var result = new ErrorList();

                result.AddRange(base.Validate());

                if (SystemElement != null)
                {
                    result.AddRange(SystemElement.Validate());
                }
                if (CodeElement != null)
                {
                    result.AddRange(CodeElement.Validate());
                }
                if (DisplayElement != null)
                {
                    result.AddRange(DisplayElement.Validate());
                }
                if (Contains != null)
                {
                    Contains.ForEach(elem => result.AddRange(elem.Validate()));
                }

                return(result);
            }
Example #4
0
            public override ErrorList Validate()
            {
                var result = new ErrorList();

                result.AddRange(base.Validate());

                if (CodeElement != null)
                {
                    result.AddRange(CodeElement.Validate());
                }
                if (DisplayElement != null)
                {
                    result.AddRange(DisplayElement.Validate());
                }

                return(result);
            }