public override string ToString() { StringBuilder result = new StringBuilder(); result.AppendLine("Compound Rule #1"); HPVReflexOrderRule1 hpvReflexOrderRule1 = new HPVReflexOrderRule1(); result.AppendLine("1.) " + hpvReflexOrderRule1.Description); HPVReflexOrderRule10 hpvReflexOrderRule10 = new HPVReflexOrderRule10(); result.AppendLine("10.) " + hpvReflexOrderRule10.Description); return(result.ToString().TrimEnd()); }
public override bool IsRequired(Business.Test.AccessionOrder accessionOrder) { bool result = false; HPVReflexOrderRule1 hpvReflexOrderRule1 = new HPVReflexOrderRule1(); if (hpvReflexOrderRule1.IsRequired(accessionOrder) == true) { result = true; } HPVReflexOrderRule10 hpvReflexOrderRule10 = new HPVReflexOrderRule10(); if (hpvReflexOrderRule10.IsRequired(accessionOrder) == true) { result = true; } return(result); }