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

            result.AddRange(base.Validate());

            if (Code != null)
            {
                result.AddRange(Code.Validate());
            }
            if (Subject != null)
            {
                result.AddRange(Subject.Validate());
            }
            if (Author != null)
            {
                result.AddRange(Author.Validate());
            }
            if (CreatedElement != null)
            {
                result.AddRange(CreatedElement.Validate());
            }

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

                result.AddRange(base.Validate());

                if (Code != null)
                {
                    result.AddRange(Code.Validate());
                }
                if (ScaleElement != null)
                {
                    result.AddRange(ScaleElement.Validate());
                }
                if (KeyElement != null)
                {
                    result.AddRange(KeyElement.Validate());
                }
                if (Info != null)
                {
                    result.AddRange(Info.Validate());
                }

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

            result.AddRange(base.Validate());

            if (Code != null)
            {
                result.AddRange(Code.Validate());
            }
            if (Identifier != null)
            {
                Identifier.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (IssuedElement != null)
            {
                result.AddRange(IssuedElement.Validate());
            }
            if (Subject != null)
            {
                result.AddRange(Subject.Validate());
            }
            if (Device != null)
            {
                result.AddRange(Device.Validate());
            }
            if (Measurement != null)
            {
                Measurement.ForEach(elem => result.AddRange(elem.Validate()));
            }

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

                result.AddRange(base.Validate());

                if (Code != null)
                {
                    result.AddRange(Code.Validate());
                }
                if (KeyElement != null)
                {
                    result.AddRange(KeyElement.Validate());
                }
                if (Info != null)
                {
                    result.AddRange(Info.Validate());
                }
                if (Facet != null)
                {
                    Facet.ForEach(elem => result.AddRange(elem.Validate()));
                }

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

                result.AddRange(base.Validate());

                if (Code != null)
                {
                    result.AddRange(Code.Validate());
                }
                if (Subject != null)
                {
                    result.AddRange(Subject.Validate());
                }
                if (Content != null)
                {
                    result.AddRange(Content.Validate());
                }
                if (Section != null)
                {
                    Section.ForEach(elem => result.AddRange(elem.Validate()));
                }

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

                result.AddRange(base.Validate());

                if (Code != null)
                {
                    result.AddRange(Code.Validate());
                }
                if (Specimen != null)
                {
                    Specimen.ForEach(elem => result.AddRange(elem.Validate()));
                }
                if (BodySite != null)
                {
                    result.AddRange(BodySite.Validate());
                }
                if (StatusElement != null)
                {
                    result.AddRange(StatusElement.Validate());
                }
                if (Event != null)
                {
                    Event.ForEach(elem => result.AddRange(elem.Validate()));
                }

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

                result.AddRange(base.Validate());

                if (Code != null)
                {
                    result.AddRange(Code.Validate());
                }
                if (DetailElement != null)
                {
                    result.AddRange(DetailElement.Validate());
                }

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

                result.AddRange(base.Validate());

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

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

                result.AddRange(base.Validate());

                if (Code != null)
                {
                    result.AddRange(Code.Validate());
                }
                if (Schedule != null)
                {
                    result.AddRange(Schedule.Validate());
                }

                return(result);
            }
Пример #10
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);
        }
Пример #11
0
            public override ErrorList Validate()
            {
                var result = new ErrorList();

                result.AddRange(base.Validate());

                if (Code != null)
                {
                    result.AddRange(Code.Validate());
                }
                if (Period != null)
                {
                    result.AddRange(Period.Validate());
                }
                if (Issuer != null)
                {
                    result.AddRange(Issuer.Validate());
                }

                return(result);
            }
Пример #12
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);
        }
Пример #13
0
        public override ErrorList Validate()
        {
            var result = new ErrorList();

            result.AddRange(base.Validate());

            if (Code != null)
            {
                result.AddRange(Code.Validate());
            }
            if (Source != null)
            {
                result.AddRange(Source.Validate());
            }
            if (DateElement != null)
            {
                result.AddRange(DateElement.Validate());
            }
            if (OrderedElement != null)
            {
                result.AddRange(OrderedElement.Validate());
            }
            if (ModeElement != null)
            {
                result.AddRange(ModeElement.Validate());
            }
            if (Entry != null)
            {
                Entry.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (EmptyReason != null)
            {
                result.AddRange(EmptyReason.Validate());
            }

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

            result.AddRange(base.Validate());

            if (Subject != null)
            {
                result.AddRange(Subject.Validate());
            }
            if (Encounter != null)
            {
                result.AddRange(Encounter.Validate());
            }
            if (Asserter != null)
            {
                result.AddRange(Asserter.Validate());
            }
            if (DateAssertedElement != null)
            {
                result.AddRange(DateAssertedElement.Validate());
            }
            if (Code != null)
            {
                result.AddRange(Code.Validate());
            }
            if (Category != null)
            {
                result.AddRange(Category.Validate());
            }
            if (StatusElement != null)
            {
                result.AddRange(StatusElement.Validate());
            }
            if (Certainty != null)
            {
                result.AddRange(Certainty.Validate());
            }
            if (Severity != null)
            {
                result.AddRange(Severity.Validate());
            }
            if (Onset != null)
            {
                result.AddRange(Onset.Validate());
            }
            if (Abatement != null)
            {
                result.AddRange(Abatement.Validate());
            }
            if (Stage != null)
            {
                result.AddRange(Stage.Validate());
            }
            if (Evidence != null)
            {
                Evidence.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Location != null)
            {
                Location.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (RelatedItem != null)
            {
                RelatedItem.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (NotesElement != null)
            {
                result.AddRange(NotesElement.Validate());
            }

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

                result.AddRange(base.Validate());

                if (CategoryElement != null)
                {
                    result.AddRange(CategoryElement.Validate());
                }
                if (Code != null)
                {
                    result.AddRange(Code.Validate());
                }
                if (StatusElement != null)
                {
                    result.AddRange(StatusElement.Validate());
                }
                if (ProhibitedElement != null)
                {
                    result.AddRange(ProhibitedElement.Validate());
                }
                if (Timing != null)
                {
                    result.AddRange(Timing.Validate());
                }
                if (Location != null)
                {
                    result.AddRange(Location.Validate());
                }
                if (Performer != null)
                {
                    Performer.ForEach(elem => result.AddRange(elem.Validate()));
                }
                if (Product != null)
                {
                    result.AddRange(Product.Validate());
                }
                if (DailyAmount != null)
                {
                    result.AddRange(DailyAmount.Validate());
                }
                if (Quantity != null)
                {
                    result.AddRange(Quantity.Validate());
                }
                if (DetailsElement != null)
                {
                    result.AddRange(DetailsElement.Validate());
                }
                if (ActionTaken != null)
                {
                    ActionTaken.ForEach(elem => result.AddRange(elem.Validate()));
                }
                if (NotesElement != null)
                {
                    result.AddRange(NotesElement.Validate());
                }

                return(result);
            }