Пример #1
0
            public override ErrorList Validate()
            {
                var result = new ErrorList();

                result.AddRange(base.Validate());

                if (NameElement != null)
                {
                    result.AddRange(NameElement.Validate());
                }
                if (Relationship != null)
                {
                    result.AddRange(Relationship.Validate());
                }
                if (Deceased != null)
                {
                    result.AddRange(Deceased.Validate());
                }
                if (NoteElement != null)
                {
                    result.AddRange(NoteElement.Validate());
                }
                if (Condition != null)
                {
                    Condition.ForEach(elem => result.AddRange(elem.Validate()));
                }

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

            result.AddRange(base.Validate());

            if (NameElement != null)
            {
                result.AddRange(NameElement.Validate());
            }
            if (Type != null)
            {
                result.AddRange(Type.Validate());
            }
            if (ManufacturerElement != null)
            {
                result.AddRange(ManufacturerElement.Validate());
            }
            if (Identity != null)
            {
                result.AddRange(Identity.Validate());
            }
            if (VirtualDevice != null)
            {
                VirtualDevice.ForEach(elem => result.AddRange(elem.Validate()));
            }

            return(result);
        }
Пример #3
0
            public override ErrorList Validate()
            {
                var result = new ErrorList();

                result.AddRange(base.Validate());

                if (NameElement != null)
                {
                    result.AddRange(NameElement.Validate());
                }
                if (SoftwareElement != null)
                {
                    result.AddRange(SoftwareElement.Validate());
                }
                if (VersionElement != null)
                {
                    result.AddRange(VersionElement.Validate());
                }
                if (Contact != null)
                {
                    result.AddRange(Contact.Validate());
                }
                if (EndpointElement != null)
                {
                    result.AddRange(EndpointElement.Validate());
                }

                return(result);
            }
Пример #4
0
            public override ErrorList Validate()
            {
                var result = new ErrorList();

                result.AddRange(base.Validate());

                if (NameElement != null)
                {
                    result.AddRange(NameElement.Validate());
                }
                if (ValueElement != null)
                {
                    result.AddRange(ValueElement.Validate());
                }

                return(result);
            }
Пример #5
0
        public override ErrorList Validate()
        {
            var result = new ErrorList();

            result.AddRange(base.Validate());

            if (Identifier != null)
            {
                result.AddRange(Identifier.Validate());
            }
            if (NameElement != null)
            {
                result.AddRange(NameElement.Validate());
            }
            if (Type != null)
            {
                result.AddRange(Type.Validate());
            }
            if (DescriptionElement != null)
            {
                result.AddRange(DescriptionElement.Validate());
            }
            if (Status != null)
            {
                result.AddRange(Status.Validate());
            }
            if (EffectiveTime != null)
            {
                result.AddRange(EffectiveTime.Validate());
            }
            if (Quantity != null)
            {
                result.AddRange(Quantity.Validate());
            }
            if (Ingredient != null)
            {
                Ingredient.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (QuantityMode != null)
            {
                result.AddRange(QuantityMode.Validate());
            }

            return(result);
        }
Пример #6
0
        public override ErrorList Validate()
        {
            var result = new ErrorList();

            result.AddRange(base.Validate());

            if (NameElement != null)
            {
                result.AddRange(NameElement.Validate());
            }
            if (DescriptionElement != null)
            {
                result.AddRange(DescriptionElement.Validate());
            }
            if (Type != null)
            {
                Type.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Telecom != null)
            {
                result.AddRange(Telecom.Validate());
            }
            if (Address != null)
            {
                result.AddRange(Address.Validate());
            }
            if (Position != null)
            {
                result.AddRange(Position.Validate());
            }
            if (Provider != null)
            {
                result.AddRange(Provider.Validate());
            }
            if (ActiveElement != null)
            {
                result.AddRange(ActiveElement.Validate());
            }
            if (PartOf != null)
            {
                result.AddRange(PartOf.Validate());
            }

            return(result);
        }
Пример #7
0
        public override ErrorList Validate()
        {
            var result = new ErrorList();

            result.AddRange(base.Validate());

            if (Identifier != null)
            {
                result.AddRange(Identifier.Validate());
            }
            if (TypeElement != null)
            {
                result.AddRange(TypeElement.Validate());
            }
            if (ActualElement != null)
            {
                result.AddRange(ActualElement.Validate());
            }
            if (Code != null)
            {
                result.AddRange(Code.Validate());
            }
            if (NameElement != null)
            {
                result.AddRange(NameElement.Validate());
            }
            if (QuantityElement != null)
            {
                result.AddRange(QuantityElement.Validate());
            }
            if (Characteristic != null)
            {
                Characteristic.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Member != null)
            {
                Member.ForEach(elem => result.AddRange(elem.Validate()));
            }

            return(result);
        }
Пример #8
0
        public override ErrorList Validate()
        {
            var result = new ErrorList();

            result.AddRange(base.Validate());

            if (Identifier != null)
            {
                Identifier.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (NameElement != null)
            {
                result.AddRange(NameElement.Validate());
            }
            if (Type != null)
            {
                result.AddRange(Type.Validate());
            }
            if (Telecom != null)
            {
                Telecom.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Address != null)
            {
                Address.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (PartOf != null)
            {
                result.AddRange(PartOf.Validate());
            }
            if (Contact != null)
            {
                Contact.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (ActiveElement != null)
            {
                result.AddRange(ActiveElement.Validate());
            }

            return(result);
        }
Пример #9
0
        public override ErrorList Validate()
        {
            var result = new ErrorList();

            result.AddRange(base.Validate());

            if (NameElement != null)
            {
                result.AddRange(NameElement.Validate());
            }
            if (Code != null)
            {
                result.AddRange(Code.Validate());
            }
            if (IsBrandElement != null)
            {
                result.AddRange(IsBrandElement.Validate());
            }
            if (Manufacturer != null)
            {
                result.AddRange(Manufacturer.Validate());
            }
            if (KindElement != null)
            {
                result.AddRange(KindElement.Validate());
            }
            if (Product != null)
            {
                result.AddRange(Product.Validate());
            }
            if (Package != null)
            {
                result.AddRange(Package.Validate());
            }

            return(result);
        }
Пример #10
0
        public override ErrorList Validate()
        {
            var result = new ErrorList();

            result.AddRange(base.Validate());

            if (IdentifierElement != null)
            {
                result.AddRange(IdentifierElement.Validate());
            }
            if (VersionElement != null)
            {
                result.AddRange(VersionElement.Validate());
            }
            if (NameElement != null)
            {
                result.AddRange(NameElement.Validate());
            }
            if (PublisherElement != null)
            {
                result.AddRange(PublisherElement.Validate());
            }
            if (Telecom != null)
            {
                Telecom.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (DescriptionElement != null)
            {
                result.AddRange(DescriptionElement.Validate());
            }
            if (CopyrightElement != null)
            {
                result.AddRange(CopyrightElement.Validate());
            }
            if (StatusElement != null)
            {
                result.AddRange(StatusElement.Validate());
            }
            if (ExperimentalElement != null)
            {
                result.AddRange(ExperimentalElement.Validate());
            }
            if (DateElement != null)
            {
                result.AddRange(DateElement.Validate());
            }
            if (Define != null)
            {
                result.AddRange(Define.Validate());
            }
            if (Compose != null)
            {
                result.AddRange(Compose.Validate());
            }
            if (Expansion != null)
            {
                result.AddRange(Expansion.Validate());
            }

            return(result);
        }