protected string ReplaceTipsSubmitted(string text, YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder) { string statement = null; if (specimenOrder.AliquotOrderCollection.Count == 1) { statement = "Entirely submitted in cassette \"" + specimenOrder.AliquotOrderCollection[0].Label + "\""; } else { statement = "Tips submitted in cassette \"" + specimenOrder.SpecimenNumber + "A\" and remainder " + specimenOrder.GetGrossRemainderSubmittedInString(); } return text.Replace("[tipssubmitted]", statement); }