public void SetResults(KRASExon4MutationTestOrder testOrder) { testOrder.ReportReferences = m_References; StringBuilder disclaimer = new StringBuilder(); disclaimer.AppendLine(testOrder.GetLocationPerformedComment()); disclaimer.Append(m_TestDevelopment); testOrder.ReportDisclaimer = disclaimer.ToString(); }
public void SetResults(KRASExon4MutationTestOrder testOrder) { testOrder.References = m_References; StringBuilder disclaimer = new StringBuilder(); disclaimer.AppendLine(testOrder.GetLocationPerformedComment()); disclaimer.Append(m_TestDevelopment); testOrder.ReportDisclaimer = disclaimer.ToString(); }
public override void ToXml(XElement document) { KRASExon4MutationTestOrder panelSetOrder = (KRASExon4MutationTestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReportNo); this.AddHeader(document, panelSetOrder, "KRAS Exon 4 Mutation Analysis"); this.AddNextObxElement("", document, "F"); string result = "Result: " + panelSetOrder.Result; this.AddNextObxElement(result, document, "F"); result = " Mutations: " + panelSetOrder.Mutations; this.AddNextObxElement(result, document, "F"); this.AddNextObxElement("", document, "F"); this.AddNextObxElement("Pathologist: " + panelSetOrder.ReferenceLabSignature, document, "F"); if (panelSetOrder.FinalTime.HasValue == true) { this.AddNextObxElement("E-signed " + panelSetOrder.ReferenceLabFinalDate.Value.ToString("MM/dd/yyyy HH:mm"), document, "F"); } this.AddNextObxElement("", document, "F"); this.AddAmendments(document); this.AddNextObxElement("Specimen Information:", document, "F"); YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(panelSetOrder.OrderedOn, panelSetOrder.OrderedOnId); this.AddNextObxElement("Specimen Identification: " + specimenOrder.Description, document, "F"); string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime); this.AddNextObxElement("Collection Date/Time: " + collectionDateTimeString, document, "F"); this.AddNextObxElement("", document, "F"); this.AddNextObxElement("Interpretation:", document, "F"); this.HandleLongString(panelSetOrder.Interpretation, document, "F"); this.AddNextObxElement("", document, "F"); this.AddNextObxElement("Method:", document, "F"); this.HandleLongString(panelSetOrder.Method, document, "F"); this.AddNextObxElement("", document, "F"); this.AddNextObxElement("References:", document, "F"); this.HandleLongString(panelSetOrder.ReportReferences, document, "F"); this.AddNextObxElement("", document, "F"); this.HandleLongString(panelSetOrder.ReportDisclaimer, document, "F"); this.AddNextObxElement(string.Empty, document, "F"); }