Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 4
0
        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);
        }