public virtual void SetResult(YellowstonePathology.Business.Test.ALKForNSCLCByFISH.ALKForNSCLCByFISHTestOrder testOrder) { testOrder.ResultCode = this.m_ResultCode; testOrder.Result = this.m_Result; testOrder.Interpretation = this.m_Interpretation; testOrder.Method = this.m_Method; testOrder.ReferenceRange = this.m_ReferenceRange; testOrder.References = this.m_References; testOrder.ProbeSetDetail = this.m_ProbeSetDetail; testOrder.ReportDisclaimer = testOrder.GetLocationPerformedComment(); }
public override void ToXml(XElement document) { YellowstonePathology.Business.Test.ALKForNSCLCByFISH.ALKForNSCLCByFISHTestOrder panelSetOrder = (YellowstonePathology.Business.Test.ALKForNSCLCByFISH.ALKForNSCLCByFISHTestOrder) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReportNo); this.AddHeader(document, panelSetOrder, "ALK Rearrangement Analysis"); this.AddNextObxElement("", document, "F"); string result = "Result: " + panelSetOrder.Result; this.AddNextObxElement(result, document, "F"); this.AddNextObxElement("", document, "F"); this.AddNextObxElement("Pathologist: " + panelSetOrder.Signature, document, "F"); if (panelSetOrder.FinalTime.HasValue == true) { this.AddNextObxElement("E-signed " + panelSetOrder.FinalTime.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("Probe Set Details:", document, "F"); this.HandleLongString(panelSetOrder.ProbeSetDetail, document, "F"); this.AddNextObxElement("", document, "F"); this.AddNextObxElement("Nuclei Scored:", document, "F"); this.HandleLongString(panelSetOrder.NucleiScored, document, "F"); this.AddNextObxElement("", document, "F"); string locationPerformed = panelSetOrder.GetLocationPerformedComment(); this.AddNextObxElement(locationPerformed, document, "F"); this.AddNextObxElement(string.Empty, document, "F"); }