コード例 #1
0
            public override ErrorList Validate()
            {
                var result = new ErrorList();

                result.AddRange(base.Validate());

                if (Identifier != null)
                {
                    Identifier.ForEach(elem => result.AddRange(elem.Validate()));
                }
                if (DescriptionElement != null)
                {
                    result.AddRange(DescriptionElement.Validate());
                }
                if (Type != null)
                {
                    result.AddRange(Type.Validate());
                }
                if (Capacity != null)
                {
                    result.AddRange(Capacity.Validate());
                }
                if (SpecimenQuantity != null)
                {
                    result.AddRange(SpecimenQuantity.Validate());
                }
                if (Additive != null)
                {
                    result.AddRange(Additive.Validate());
                }

                return(result);
            }
コード例 #2
0
            public override ErrorList Validate()
            {
                var result = new ErrorList();

                result.AddRange(base.Validate());

                if (DoseSequenceElement != null)
                {
                    result.AddRange(DoseSequenceElement.Validate());
                }
                if (DescriptionElement != null)
                {
                    result.AddRange(DescriptionElement.Validate());
                }
                if (Authority != null)
                {
                    result.AddRange(Authority.Validate());
                }
                if (SeriesElement != null)
                {
                    result.AddRange(SeriesElement.Validate());
                }

                return(result);
            }
コード例 #3
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);
        }
コード例 #4
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);
        }
コード例 #5
0
        public override ErrorList Validate()
        {
            var result = new ErrorList();

            result.AddRange(base.Validate());

            if (Request != null)
            {
                result.AddRange(Request.Validate());
            }
            if (DateElement != null)
            {
                result.AddRange(DateElement.Validate());
            }
            if (Who != null)
            {
                result.AddRange(Who.Validate());
            }
            if (Authority != null)
            {
                result.AddRange(Authority.Validate());
            }
            if (Cost != null)
            {
                result.AddRange(Cost.Validate());
            }
            if (CodeElement != null)
            {
                result.AddRange(CodeElement.Validate());
            }
            if (DescriptionElement != null)
            {
                result.AddRange(DescriptionElement.Validate());
            }
            if (Fulfillment != null)
            {
                Fulfillment.ForEach(elem => result.AddRange(elem.Validate()));
            }

            return(result);
        }
コード例 #6
0
            public override ErrorList Validate()
            {
                var result = new ErrorList();

                result.AddRange(base.Validate());

                if (DescriptionElement != null)
                {
                    result.AddRange(DescriptionElement.Validate());
                }
                if (StatusElement != null)
                {
                    result.AddRange(StatusElement.Validate());
                }
                if (NotesElement != null)
                {
                    result.AddRange(NotesElement.Validate());
                }

                return(result);
            }
コード例 #7
0
            public override ErrorList Validate()
            {
                var result = new ErrorList();

                result.AddRange(base.Validate());

                if (DescriptionElement != null)
                {
                    result.AddRange(DescriptionElement.Validate());
                }
                if (Procedure != null)
                {
                    result.AddRange(Procedure.Validate());
                }
                if (Additive != null)
                {
                    Additive.ForEach(elem => result.AddRange(elem.Validate()));
                }

                return(result);
            }
コード例 #8
0
        public override ErrorList Validate()
        {
            var result = new ErrorList();

            result.AddRange(base.Validate());

            if (MasterIdentifier != null)
            {
                result.AddRange(MasterIdentifier.Validate());
            }
            if (Identifier != null)
            {
                Identifier.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Subject != null)
            {
                result.AddRange(Subject.Validate());
            }
            if (Type != null)
            {
                result.AddRange(Type.Validate());
            }
            if (Subtype != null)
            {
                result.AddRange(Subtype.Validate());
            }
            if (Author != null)
            {
                Author.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Custodian != null)
            {
                result.AddRange(Custodian.Validate());
            }
            if (Authenticator != null)
            {
                result.AddRange(Authenticator.Validate());
            }
            if (CreatedElement != null)
            {
                result.AddRange(CreatedElement.Validate());
            }
            if (IndexedElement != null)
            {
                result.AddRange(IndexedElement.Validate());
            }
            if (StatusElement != null)
            {
                result.AddRange(StatusElement.Validate());
            }
            if (DocStatus != null)
            {
                result.AddRange(DocStatus.Validate());
            }
            if (Supercedes != null)
            {
                result.AddRange(Supercedes.Validate());
            }
            if (DescriptionElement != null)
            {
                result.AddRange(DescriptionElement.Validate());
            }
            if (Confidentiality != null)
            {
                result.AddRange(Confidentiality.Validate());
            }
            if (PrimaryLanguageElement != null)
            {
                result.AddRange(PrimaryLanguageElement.Validate());
            }
            if (MimeTypeElement != null)
            {
                result.AddRange(MimeTypeElement.Validate());
            }
            if (Format != null)
            {
                result.AddRange(Format.Validate());
            }
            if (SizeElement != null)
            {
                result.AddRange(SizeElement.Validate());
            }
            if (HashElement != null)
            {
                result.AddRange(HashElement.Validate());
            }
            if (LocationElement != null)
            {
                result.AddRange(LocationElement.Validate());
            }
            if (Service != null)
            {
                result.AddRange(Service.Validate());
            }
            if (Context != null)
            {
                result.AddRange(Context.Validate());
            }

            return(result);
        }
コード例 #9
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);
        }