public PublishedDocumentReview(PathologistUI pathologistUI, YellowstonePathology.Business.User.SystemIdentity systemIdentity) { this.m_PathologistUI = pathologistUI; this.m_SystemIdentity = systemIdentity; InitializeComponent(); this.DataContext = this.PanelSetOrder; }
public ResultPathReview(PathologistUI pathologistUI, YellowstonePathology.Business.User.SystemIdentity systemIdentity) { this.m_PathologistUI = pathologistUI; this.m_SystemIdentity = systemIdentity; InitializeComponent(); this.DataContext = this; }
public SurgicalHistory(PathologistUI pathologistUI) { this.m_PathologistUI = pathologistUI; this.m_CaseHistoryPage = new Common.CaseHistoryPage(this.AccessionOrder); InitializeComponent(); this.DataContext = this; this.HistoryControl.Content = this.m_CaseHistoryPage; }
public SurgicalReview(YellowstonePathology.UI.TypingShortcutUserControl typingShortcutUserControl, PathologistUI pathologistUI) { this.m_TypingShortcutUserControl = typingShortcutUserControl; this.m_PathologistUI = pathologistUI; this.m_BillingSpecimenViewCollection = new Business.View.BillingSpecimenViewCollection(); this.RefreshBillingSpecimenViewCollection(); InitializeComponent(); this.DataContext = this; }
public PathologistWorkspace(MainWindowCommandButtonHandler mainWindowCommandButtonHandler, TabItem writer) { this.m_Writer = writer; this.m_MainWindowCommandButtonHandler = mainWindowCommandButtonHandler; this.m_SystemIdentity = YellowstonePathology.Business.User.SystemIdentity.Instance; m_Loaded = false; this.m_PathologistUI = new PathologistUI(writer); InitializeComponent(); this.DataContext = this.m_PathologistUI; this.Loaded += new RoutedEventHandler(PathologistWorkspace_Loaded); this.Unloaded += new RoutedEventHandler(PathologistWorkspace_Unloaded); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_BarcodeScanPort.CytologySlideScanReceived += new YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.CytologySlideScanReceivedHandler(CytologySlideScanReceived); this.m_BarcodeScanPort.HistologySlideScanReceived += new Business.BarcodeScanning.BarcodeScanPort.HistologySlideScanReceivedHandler(HistologySlideScanReceived); this.m_BarcodeScanPort.HistologyBlockScanReceived += new Business.BarcodeScanning.BarcodeScanPort.HistologyBlockScanReceivedHandler(BarcodeScanPort_HistologyBlockScanReceived); this.m_BarcodeScanPort.ThinPrepSlideScanReceived += new Business.BarcodeScanning.BarcodeScanPort.ThinPrepSlideScanReceivedHandler(BarcodeScanPort_ThinPrepSlideScanReceived); }
public PathologistsReview(PathologistUI pathologistUI, YellowstonePathology.Business.User.SystemIdentity systemIdentity) { this.m_PathologistUI = pathologistUI; this.m_SystemIdentity = systemIdentity; InitializeComponent(); this.m_DocumentViewer = new DocumentWorkspace(); this.TabItemDocumentWorkspace.Content = this.m_DocumentViewer; this.m_TreeViewWorkspace = new YellowstonePathology.UI.Common.TreeViewWorkspace(this.m_PathologistUI.AccessionOrder, this.m_SystemIdentity); this.tabItemTreeView.Content = this.m_TreeViewWorkspace; this.m_CaseDocumentCollection = new Business.Document.CaseDocumentCollection(this.AccessionOrder, this.PanelSetOrder.ReportNo); this.DataContext = this; this.m_DocumentViewer.ClearContent(); this.m_TypingShortcutUserControl = new TypingShortcutUserControl(this.m_SystemIdentity); this.TabItemTypingShortCuts.Content = this.m_TypingShortcutUserControl; if (this.m_CaseDocumentCollection.Count != 0) { if (this.m_CaseDocumentCollection.GetFirstRequisition() != null) { this.m_DocumentViewer.ShowDocument(this.m_CaseDocumentCollection.GetFirstRequisition()); } } if (this.PanelSetOrder != null) { this.m_PathologistUI.RunWorkspaceEnableRules(); this.m_PathologistUI.RunPathologistEnableRules(); this.SetReviewContent(); if (this.PanelSetOrder.PanelSetId == 19) { if (this.PanelSetOrder.Accepted == true) { this.RightTabControl.SelectedItem = this.TabItemHistory; } else { this.RightTabControl.SelectedItem = this.TabItemReview; } } else if (this.PanelSetOrder.PanelSetId == 13 || this.PanelSetOrder.PanelSetId == 128) { if (this.PanelSetOrder.Accepted == true) { this.RightTabControl.SelectedItem = this.TabItemReview; } else { this.RightTabControl.SelectedItem = this.TabItemHistory; } } else { this.RightTabControl.SelectedIndex = this.m_PathologistUI.SelectedTabIndex; } } this.m_TreeViewWorkspace = new Common.TreeViewWorkspace(this.m_PathologistUI.AccessionOrder, this.m_SystemIdentity); this.m_TreeViewWorkspace.IsEnabled = this.m_PathologistUI.AccessionOrder.IsLockAquiredByMe; this.tabItemTreeView.Content = this.m_TreeViewWorkspace; this.Unloaded += PathologistsReview_Unloaded; }