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

            result.AddRange(base.Validate());

            if (UseElement != null)
            {
                result.AddRange(UseElement.Validate());
            }
            if (LabelElement != null)
            {
                result.AddRange(LabelElement.Validate());
            }
            if (SystemElement != null)
            {
                result.AddRange(SystemElement.Validate());
            }
            if (KeyElement != null)
            {
                result.AddRange(KeyElement.Validate());
            }
            if (Period != null)
            {
                result.AddRange(Period.Validate());
            }
            if (Assigner != null)
            {
                result.AddRange(Assigner.Validate());
            }

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

                result.AddRange(base.Validate());

                if (PreAdmissionIdentifier != null)
                {
                    result.AddRange(PreAdmissionIdentifier.Validate());
                }
                if (PreAdmissionTest != null)
                {
                    result.AddRange(PreAdmissionTest.Validate());
                }
                if (Origin != null)
                {
                    result.AddRange(Origin.Validate());
                }
                if (AdmitSource != null)
                {
                    result.AddRange(AdmitSource.Validate());
                }
                if (Period != null)
                {
                    result.AddRange(Period.Validate());
                }
                if (Accomodation != null)
                {
                    Accomodation.ForEach(elem => result.AddRange(elem.Validate()));
                }
                if (Diet != null)
                {
                    result.AddRange(Diet.Validate());
                }
                if (SpecialCourtesy != null)
                {
                    SpecialCourtesy.ForEach(elem => result.AddRange(elem.Validate()));
                }
                if (SpecialArrangement != null)
                {
                    SpecialArrangement.ForEach(elem => result.AddRange(elem.Validate()));
                }
                if (Destination != null)
                {
                    result.AddRange(Destination.Validate());
                }
                if (DischargeDisposition != null)
                {
                    result.AddRange(DischargeDisposition.Validate());
                }
                if (ReAdmission != null)
                {
                    result.AddRange(ReAdmission.Validate());
                }

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

            result.AddRange(base.Validate());

            if (Identifier != null)
            {
                result.AddRange(Identifier.Validate());
            }
            if (Patient != null)
            {
                result.AddRange(Patient.Validate());
            }
            if (StatusElement != null)
            {
                result.AddRange(StatusElement.Validate());
            }
            if (Period != null)
            {
                result.AddRange(Period.Validate());
            }
            if (ModifiedElement != null)
            {
                result.AddRange(ModifiedElement.Validate());
            }
            if (Concern != null)
            {
                Concern.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Participant != null)
            {
                Participant.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Goal != null)
            {
                Goal.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Activity != null)
            {
                Activity.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (NotesElement != null)
            {
                result.AddRange(NotesElement.Validate());
            }

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

            result.AddRange(base.Validate());

            if (Issuer != null)
            {
                result.AddRange(Issuer.Validate());
            }
            if (Period != null)
            {
                result.AddRange(Period.Validate());
            }
            if (Type != null)
            {
                result.AddRange(Type.Validate());
            }
            if (Identifier != null)
            {
                result.AddRange(Identifier.Validate());
            }
            if (Group != null)
            {
                result.AddRange(Group.Validate());
            }
            if (Plan != null)
            {
                result.AddRange(Plan.Validate());
            }
            if (Subplan != null)
            {
                result.AddRange(Subplan.Validate());
            }
            if (DependentElement != null)
            {
                result.AddRange(DependentElement.Validate());
            }
            if (SequenceElement != null)
            {
                result.AddRange(SequenceElement.Validate());
            }
            if (Subscriber != null)
            {
                result.AddRange(Subscriber.Validate());
            }

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

            result.AddRange(base.Validate());

            if (Target != null)
            {
                Target.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Period != null)
            {
                result.AddRange(Period.Validate());
            }
            if (RecordedElement != null)
            {
                result.AddRange(RecordedElement.Validate());
            }
            if (Reason != null)
            {
                result.AddRange(Reason.Validate());
            }
            if (Location != null)
            {
                result.AddRange(Location.Validate());
            }
            if (PolicyElement != null)
            {
                PolicyElement.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Agent != null)
            {
                Agent.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Entity != null)
            {
                Entity.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (SignatureElement != null)
            {
                result.AddRange(SignatureElement.Validate());
            }

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

                result.AddRange(base.Validate());

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

                return(result);
            }
Exemple #7
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);
            }
Exemple #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 (Name != null)
            {
                result.AddRange(Name.Validate());
            }
            if (Telecom != null)
            {
                Telecom.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Address != null)
            {
                result.AddRange(Address.Validate());
            }
            if (Gender != null)
            {
                result.AddRange(Gender.Validate());
            }
            if (BirthDateElement != null)
            {
                result.AddRange(BirthDateElement.Validate());
            }
            if (Photo != null)
            {
                Photo.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Organization != null)
            {
                result.AddRange(Organization.Validate());
            }
            if (Role != null)
            {
                Role.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Specialty != null)
            {
                Specialty.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Period != null)
            {
                result.AddRange(Period.Validate());
            }
            if (Qualification != null)
            {
                Qualification.ForEach(elem => result.AddRange(elem.Validate()));
            }
            if (Communication != null)
            {
                Communication.ForEach(elem => result.AddRange(elem.Validate()));
            }

            return(result);
        }