public void SetReviewContent()
        {
            object reviewContent  = null;
            object historyContent = null;

            YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet = YellowstonePathology.Business.PanelSet.Model.PanelSetCollection.GetAll().GetPanelSet(this.PanelSetOrder.PanelSetId);
            if (panelSet.ResultDocumentSource == Business.PanelSet.Model.ResultDocumentSourceEnum.PublishedDocument ||
                panelSet.ResultDocumentSource == Business.PanelSet.Model.ResultDocumentSourceEnum.RetiredTestDocument)
            {
                reviewContent  = new PublishedDocumentReview(this.m_PathologistUI, this.m_SystemIdentity);
                historyContent = new CommonHistory(this.AccessionOrder);
            }
            else
            {
                switch (this.PanelSetOrder.PanelSetId)
                {
                case 28:                         //Fetal Hemoglobin
                case 29:                         //DNA Content and S-Phase Analysis
                case 56:                         //T-Cell Immunodeficiency Profile
                    reviewContent  = new PublishedDocumentReview(this.m_PathologistUI, this.m_SystemIdentity);
                    historyContent = new CommonHistory(this.AccessionOrder);
                    break;

                case 13:
                case 128:
                    reviewContent  = new SurgicalReview(this.m_TypingShortcutUserControl, this.m_PathologistUI);
                    historyContent = new SurgicalHistory(this.m_PathologistUI);
                    break;

                default:
                    reviewContent  = new ResultPathReview(this.m_PathologistUI, this.m_SystemIdentity);
                    historyContent = new CommonHistory(this.AccessionOrder);
                    break;
                }
            }
            this.ContentControlReview.Content  = reviewContent;
            this.ContentControlHistory.Content = historyContent;
        }
 public void SetReviewContent()
 {
     object reviewContent = null;
     object historyContent = null;
     YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet = YellowstonePathology.Business.PanelSet.Model.PanelSetCollection.GetAll().GetPanelSet(this.PanelSetOrder.PanelSetId);
     if (panelSet.ResultDocumentSource == Business.PanelSet.Model.ResultDocumentSourceEnum.PublishedDocument ||
         panelSet.ResultDocumentSource == Business.PanelSet.Model.ResultDocumentSourceEnum.RetiredTestDocument)
     {
         reviewContent = new PublishedDocumentReview(this.m_PathologistUI, this.m_SystemIdentity);
         historyContent = new CommonHistory(this.AccessionOrder);
     }
     else
     {
         switch (this.PanelSetOrder.PanelSetId)
         {
             case 28: //Fetal Hemoglobin
             case 29: //DNA Content and S-Phase Analysis
             case 56: //T-Cell Immunodeficiency Profile
                 reviewContent = new PublishedDocumentReview(this.m_PathologistUI, this.m_SystemIdentity);
                 historyContent = new CommonHistory(this.AccessionOrder);
                 break;
             case 13:
             case 128:
                 reviewContent = new SurgicalReview(this.m_TypingShortcutUserControl, this.m_PathologistUI);
                 historyContent = new SurgicalHistory(this.m_PathologistUI);
                 break;
             default:
                 reviewContent = new ResultPathReview(this.m_PathologistUI, this.m_SystemIdentity);
                 historyContent = new CommonHistory(this.AccessionOrder);
                 break;
         }
     }
     this.ContentControlReview.Content = reviewContent;
     this.ContentControlHistory.Content = historyContent;
 }