public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (Type != null) { result.AddRange(Type.Validate()); } if (ManufacturerElement != null) { result.AddRange(ManufacturerElement.Validate()); } if (ModelElement != null) { result.AddRange(ModelElement.Validate()); } if (VersionElement != null) { result.AddRange(VersionElement.Validate()); } if (ExpiryElement != null) { result.AddRange(ExpiryElement.Validate()); } if (Identity != null) { result.AddRange(Identity.Validate()); } if (Owner != null) { result.AddRange(Owner.Validate()); } if (AssignedId != null) { AssignedId.ForEach(elem => result.AddRange(elem.Validate())); } if (Location != null) { result.AddRange(Location.Validate()); } if (Patient != null) { result.AddRange(Patient.Validate()); } if (Contact != null) { Contact.ForEach(elem => result.AddRange(elem.Validate())); } if (UrlElement != null) { result.AddRange(UrlElement.Validate()); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (Location != null) { result.AddRange(Location.Validate()); } if (Period != null) { result.AddRange(Period.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); }
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); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (DateElement != null) { result.AddRange(DateElement.Validate()); } if (VaccineType != null) { result.AddRange(VaccineType.Validate()); } if (Subject != null) { result.AddRange(Subject.Validate()); } if (RefusedIndicatorElement != null) { result.AddRange(RefusedIndicatorElement.Validate()); } if (ReportedElement != null) { result.AddRange(ReportedElement.Validate()); } if (Performer != null) { result.AddRange(Performer.Validate()); } if (Requester != null) { result.AddRange(Requester.Validate()); } if (Manufacturer != null) { result.AddRange(Manufacturer.Validate()); } if (Location != null) { result.AddRange(Location.Validate()); } if (LotNumberElement != null) { result.AddRange(LotNumberElement.Validate()); } if (ExpirationDateElement != null) { result.AddRange(ExpirationDateElement.Validate()); } if (Site != null) { result.AddRange(Site.Validate()); } if (Route != null) { result.AddRange(Route.Validate()); } if (DoseQuantity != null) { result.AddRange(DoseQuantity.Validate()); } if (Explanation != null) { result.AddRange(Explanation.Validate()); } if (Reaction != null) { Reaction.ForEach(elem => result.AddRange(elem.Validate())); } if (VaccinationProtocol != null) { result.AddRange(VaccinationProtocol.Validate()); } return(result); }