Example #1
0
            public override ErrorList Validate()
            {
                var result = new ErrorList();

                result.AddRange(base.Validate());

                if (TypeElement != null)
                {
                    TypeElement.ForEach(elem => result.AddRange(elem.Validate()));
                }
                if (Practitioner != null)
                {
                    result.AddRange(Practitioner.Validate());
                }

                return(result);
            }