public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (ExposureDateElement != null) { result.AddRange(ExposureDateElement.Validate()); } if (ExposureTypeElement != null) { result.AddRange(ExposureTypeElement.Validate()); } if (CausalityExpectationElement != null) { result.AddRange(CausalityExpectationElement.Validate()); } if (Substance != null) { result.AddRange(Substance.Validate()); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (Name != null) { result.AddRange(Name.Validate()); } if (Specimen != null) { result.AddRange(Specimen.Validate()); } if (Group != null) { Group.ForEach(elem => result.AddRange(elem.Validate())); } if (Result != null) { Result.ForEach(elem => result.AddRange(elem.Validate())); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (Role != null) { result.AddRange(Role.Validate()); } if (Type != null) { result.AddRange(Type.Validate()); } if (ReferenceElement != null) { result.AddRange(ReferenceElement.Validate()); } if (DisplayElement != null) { result.AddRange(DisplayElement.Validate()); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (InstantElement != null) { result.AddRange(InstantElement.Validate()); } if (Capabilities != null) { result.AddRange(Capabilities.Validate()); } if (Subject != null) { result.AddRange(Subject.Validate()); } if (Item != null) { Item.ForEach(elem => result.AddRange(elem.Validate())); } return(result); }
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); }
public ErrorList FillSheet() { if (DR_algas_lapa == null) { throw new Exception("Bad init."); } var error_list = new ErrorList(); var drs = DR_algas_lapa.GetSALARY_SHEETS_RRowsByFK_SALARY_SHEETS_R_IDS(); foreach (var dr in drs) { var salary_sheet_row = new SalarySheetRowSetInfo(); var err = salary_sheet_row.SetUpFromRowB(this, dr.IDP); error_list.AddRange(err); if (err.Count > 0) { continue; } err = salary_sheet_row.FillRow(); error_list.AddRange(err); } return(error_list); }
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 (Type != null) { result.AddRange(Type.Validate()); } if (Outcome != null) { result.AddRange(Outcome.Validate()); } if (Onset != null) { result.AddRange(Onset.Validate()); } if (NoteElement != null) { result.AddRange(NoteElement.Validate()); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (SystemElement != null) { result.AddRange(SystemElement.Validate()); } if (VersionElement != null) { result.AddRange(VersionElement.Validate()); } if (CodeElement != null) { CodeElement.ForEach(elem => result.AddRange(elem.Validate())); } if (Filter != null) { Filter.ForEach(elem => result.AddRange(elem.Validate())); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (Language != null) { result.AddRange(Language.Validate()); } if (Mode != null) { Mode.ForEach(elem => result.AddRange(elem.Validate())); } if (ProficiencyLevel != null) { result.AddRange(ProficiencyLevel.Validate()); } if (Preference != null) { result.AddRange(Preference.Validate()); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (Flag != null) { Flag.ForEach(elem => result.AddRange(elem.Validate())); } if (DeletedElement != null) { result.AddRange(DeletedElement.Validate()); } if (DateElement != null) { result.AddRange(DateElement.Validate()); } if (Item != null) { result.AddRange(Item.Validate()); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (SystemElement != null) { result.AddRange(SystemElement.Validate()); } if (CodeElement != null) { result.AddRange(CodeElement.Validate()); } if (DisplayElement != null) { result.AddRange(DisplayElement.Validate()); } if (Contains != null) { Contains.ForEach(elem => result.AddRange(elem.Validate())); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (SystemElement != null) { result.AddRange(SystemElement.Validate()); } if (ValueElement != null) { result.AddRange(ValueElement.Validate()); } if (UseElement != null) { result.AddRange(UseElement.Validate()); } if (Period != null) { result.AddRange(Period.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); }
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); }
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); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (SeverityElement != null) { result.AddRange(SeverityElement.Validate()); } if (Type != null) { result.AddRange(Type.Validate()); } if (DetailsElement != null) { result.AddRange(DetailsElement.Validate()); } if (LocationElement != null) { LocationElement.ForEach(elem => result.AddRange(elem.Validate())); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(Numerator != null ) result.AddRange(Numerator.Validate()); if(Denominator != null ) result.AddRange(Denominator.Validate()); return result; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(Low != null ) result.AddRange(Low.Validate()); if(High != null ) result.AddRange(High.Validate()); return result; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (Issue != null) { Issue.ForEach(elem => result.AddRange(elem.Validate())); } return(result); }
public ErrorList SetUpFromSHRow(KlonsADataSet.SALARY_SHEET_TEMPLRow dr_sh) { DR_algas_lapu_sh = dr_sh; var error_list = new ErrorList(); var this_error_source = string.Format("Lapa:{0}", dr_sh.SNR); var er = GetLikmes(); if (er != "OK") { error_list.AddError(this_error_source, er); return(error_list); } var drs_sh_r = dr_sh.GetSALARY_SHEET_TEMPL_RRows().OrderBy(d => d.SNR); foreach (var dr_sh_r in drs_sh_r) { var salary_sheet_row = new SalarySheetRowInfo(this); var err = salary_sheet_row.SetUpFromSHRow(dr_sh_r); if (err.Count > 0) { error_list.AddRange(err); continue; } Rows.Add(salary_sheet_row); } return(error_list); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (Numerator != null) { result.AddRange(Numerator.Validate()); } if (Denominator != null) { result.AddRange(Denominator.Validate()); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (Item != null) { result.AddRange(Item.Validate()); } if (Amount != null) { result.AddRange(Amount.Validate()); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (Summary != null) { result.AddRange(Summary.Validate()); } if (Assessment != null) { Assessment.ForEach(elem => result.AddRange(elem.Validate())); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (Type != null) { result.AddRange(Type.Validate()); } if (Reason != null) { result.AddRange(Reason.Validate()); } return(result); }
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); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (Form != null) { result.AddRange(Form.Validate()); } if (Ingredient != null) { Ingredient.ForEach(elem => result.AddRange(elem.Validate())); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (Role != null) { result.AddRange(Role.Validate()); } if (Member != null) { result.AddRange(Member.Validate()); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); return result; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (Reason != null) { Reason.ForEach(elem => result.AddRange(elem.Validate())); } if (RefusalReason != null) { RefusalReason.ForEach(elem => result.AddRange(elem.Validate())); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (ContentElement != null) { result.AddRange(ContentElement.Validate()); } if (ContentTypeElement != null) { result.AddRange(ContentTypeElement.Validate()); } return(result); }
public virtual ErrorList Validate() { var result = new ErrorList(); result.AddRange(ValidateRules()); if (Extension != null) { Extension.ForEach(elem => result.AddRange(elem.Validate())); } if (LocalIdElement != null) { result.AddRange(LocalIdElement.Validate()); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (Event != null) { Event.ForEach(elem => result.AddRange(elem.Validate())); } if (Repeat != null) { result.AddRange(Repeat.Validate()); } return(result); }
public virtual ErrorList Validate() { var result = new ErrorList(); result.AddRange(ValidateRules()); if(Extension != null ) Extension.ForEach(elem => result.AddRange(elem.Validate())); if(LocalIdElement != null ) result.AddRange(LocalIdElement.Validate()); return result; }
internal override ErrorList ValidateRules() { var result = new ErrorList(); result.AddRange(base.ValidateRules()); if (Content == null) result.Add("Entry must contain (possibly 0-length) data"); if (ContentType == null) result.Add("Entry must contain a contentType"); return result; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(SystemElement != null ) result.AddRange(SystemElement.Validate()); if(ValueElement != null ) result.AddRange(ValueElement.Validate()); if(UseElement != null ) result.AddRange(UseElement.Validate()); if(Period != null ) result.AddRange(Period.Validate()); return result; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(TypeElement != null ) result.AddRange(TypeElement.Validate()); if(Target != null ) result.AddRange(Target.Validate()); return result; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(DateElement != null ) result.AddRange(DateElement.Validate()); if(Detail != null ) result.AddRange(Detail.Validate()); if(ReportedElement != null ) result.AddRange(ReportedElement.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; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(Collector != null ) result.AddRange(Collector.Validate()); if(CommentElement != null ) CommentElement.ForEach(elem => result.AddRange(elem.Validate())); if(CollectedTimeElement != null ) result.AddRange(CollectedTimeElement.Validate()); if(Quantity != null ) result.AddRange(Quantity.Validate()); if(Method != null ) result.AddRange(Method.Validate()); if(SourceSite != null ) result.AddRange(SourceSite.Validate()); return result; }
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; }
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; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(SystemElement != null ) result.AddRange(SystemElement.Validate()); if(CodeElement != null ) result.AddRange(CodeElement.Validate()); if(DisplayElement != null ) result.AddRange(DisplayElement.Validate()); if(Contains != null ) Contains.ForEach(elem => result.AddRange(elem.Validate())); return result; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(TypeElement != null ) TypeElement.ForEach(elem => result.AddRange(elem.Validate())); if(Practitioner != null ) result.AddRange(Practitioner.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(PreAdmissionIdentifier != null ) result.AddRange(PreAdmissionIdentifier.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(ReAdmissionElement != null ) result.AddRange(ReAdmissionElement.Validate()); return result; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(Identifier != null ) Identifier.ForEach(elem => result.AddRange(elem.Validate())); if(StatusElement != null ) result.AddRange(StatusElement.Validate()); if(ClassElement != null ) result.AddRange(ClassElement.Validate()); if(Type != null ) Type.ForEach(elem => result.AddRange(elem.Validate())); if(Subject != null ) result.AddRange(Subject.Validate()); if(Participant != null ) Participant.ForEach(elem => result.AddRange(elem.Validate())); if(Fulfills != null ) result.AddRange(Fulfills.Validate()); if(StartElement != null ) result.AddRange(StartElement.Validate()); if(Length != null ) result.AddRange(Length.Validate()); if(Reason != null ) result.AddRange(Reason.Validate()); if(Indication != null ) result.AddRange(Indication.Validate()); if(Priority != null ) result.AddRange(Priority.Validate()); if(Hospitalization != null ) result.AddRange(Hospitalization.Validate()); if(Location != null ) Location.ForEach(elem => result.AddRange(elem.Validate())); if(ServiceProvider != null ) result.AddRange(ServiceProvider.Validate()); if(PartOf != null ) result.AddRange(PartOf.Validate()); return result; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(Subject != null ) result.AddRange(Subject.Validate()); if(Type != null ) result.AddRange(Type.Validate()); if(BodySite != null ) BodySite.ForEach(elem => result.AddRange(elem.Validate())); if(IndicationElement != null ) result.AddRange(IndicationElement.Validate()); if(Performer != null ) Performer.ForEach(elem => result.AddRange(elem.Validate())); if(Date != null ) result.AddRange(Date.Validate()); if(Encounter != null ) result.AddRange(Encounter.Validate()); if(OutcomeElement != null ) result.AddRange(OutcomeElement.Validate()); if(Report != null ) Report.ForEach(elem => result.AddRange(elem.Validate())); if(ComplicationElement != null ) result.AddRange(ComplicationElement.Validate()); if(FollowUpElement != null ) result.AddRange(FollowUpElement.Validate()); if(RelatedItem != null ) RelatedItem.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(RelationshipElement != null ) result.AddRange(RelationshipElement.Validate()); if(Target != null ) Target.ForEach(elem => result.AddRange(elem.Validate())); return result; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(SystemElement != null ) result.AddRange(SystemElement.Validate()); if(VersionElement != null ) result.AddRange(VersionElement.Validate()); if(CodeElement != null ) CodeElement.ForEach(elem => result.AddRange(elem.Validate())); if(Filter != null ) Filter.ForEach(elem => result.AddRange(elem.Validate())); return result; }
public static ErrorList Validate(this IEnumerable<Tag> tags) { ErrorList result = new ErrorList(); foreach (var tag in tags) result.AddRange(tag.Validate()); return result; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(PropertyElement != null ) result.AddRange(PropertyElement.Validate()); if(OpElement != null ) result.AddRange(OpElement.Validate()); if(ValueElement != null ) result.AddRange(ValueElement.Validate()); return result; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(ImportElement != null ) ImportElement.ForEach(elem => result.AddRange(elem.Validate())); if(Include != null ) Include.ForEach(elem => result.AddRange(elem.Validate())); if(Exclude != null ) Exclude.ForEach(elem => result.AddRange(elem.Validate())); return result; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(SystemElement != null ) result.AddRange(SystemElement.Validate()); if(CaseSensitiveElement != null ) result.AddRange(CaseSensitiveElement.Validate()); if(Concept != null ) Concept.ForEach(elem => result.AddRange(elem.Validate())); return result; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(Reason != null ) Reason.ForEach(elem => result.AddRange(elem.Validate())); if(RefusalReason != null ) RefusalReason.ForEach(elem => result.AddRange(elem.Validate())); return result; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(CodeElement != null ) result.AddRange(CodeElement.Validate()); if(AbstractElement != null ) result.AddRange(AbstractElement.Validate()); if(DisplayElement != null ) result.AddRange(DisplayElement.Validate()); if(DefinitionElement != null ) result.AddRange(DefinitionElement.Validate()); if(Concept != null ) Concept.ForEach(elem => result.AddRange(elem.Validate())); return result; }
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()); if(SeriesDosesElement != null ) result.AddRange(SeriesDosesElement.Validate()); if(DoseTarget != null ) result.AddRange(DoseTarget.Validate()); if(DoseStatus != null ) result.AddRange(DoseStatus.Validate()); if(DoseStatusReason != null ) result.AddRange(DoseStatusReason.Validate()); return result; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(TimestampElement != null ) result.AddRange(TimestampElement.Validate()); if(Contains != null ) Contains.ForEach(elem => result.AddRange(elem.Validate())); return result; }
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; }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if(Person != null ) result.AddRange(Person.Validate()); if(Role != null ) result.AddRange(Role.Validate()); return result; }