private bool SystemGeneratedTextMatchesCurrent(YellowstonePathology.Business.Test.AccessionOrder accessionOrder) { bool result = true; if (this.m_SystemGenerated == true) { YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder = accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReferenceReportNo); YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHTest her2AmplificationByISHTest = new Test.HER2AmplificationByISH.HER2AmplificationByISHTest(); if (panelSetOrder.PanelSetId == her2AmplificationByISHTest.PanelSetId) { string generatedText = YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHSystemGeneratedAmendmentText.AmendmentText((YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHTestOrder)panelSetOrder); result = this.m_Text.Contains(generatedText); } } return result; }
private bool HasAbilityToResetText(YellowstonePathology.Business.Test.AccessionOrder accessionOrder) { bool result = false; if (this.m_SystemGenerated == true) { YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder = accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReferenceReportNo); YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHTest her2AmplificationByISHTest = new Test.HER2AmplificationByISH.HER2AmplificationByISHTest(); if (panelSetOrder.PanelSetId == her2AmplificationByISHTest.PanelSetId) { result = true; } } return(result); }
private bool HasAbilityToResetText(YellowstonePathology.Business.Test.AccessionOrder accessionOrder) { bool result = false; if (this.m_SystemGenerated == true) { YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder = accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReferenceReportNo); YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHTest her2AmplificationByISHTest = new Test.HER2AmplificationByISH.HER2AmplificationByISHTest(); if (panelSetOrder.PanelSetId == her2AmplificationByISHTest.PanelSetId) { result = true; } } return result; }
private bool SystemGeneratedTextMatchesCurrent(YellowstonePathology.Business.Test.AccessionOrder accessionOrder) { bool result = true; if (this.m_SystemGenerated == true) { YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder = accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_ReferenceReportNo); YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHTest her2AmplificationByISHTest = new Test.HER2AmplificationByISH.HER2AmplificationByISHTest(); if (panelSetOrder.PanelSetId == her2AmplificationByISHTest.PanelSetId) { string generatedText = YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHSystemGeneratedAmendmentText.AmendmentText((YellowstonePathology.Business.Test.HER2AmplificationByISH.HER2AmplificationByISHTestOrder)panelSetOrder); result = this.m_Text.Contains(generatedText); } } return(result); }