public PeerReviewResultPage(YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder) { this.m_PeerReviewTypeCollection = new YellowstonePathology.Business.Test.PeerReview.PeerReviewTypeCollection(); this.m_PanelSetOrder = panelSetOrder; this.m_AccessionOrder = accessionOrder; this.m_PageHeaderText = "Peer Review for: " + this.m_AccessionOrder.PatientDisplayName; this.m_PeerReviewTestOrderCollection = this.m_AccessionOrder.PanelSetOrderCollection.GetPeerReviewCollection(); this.m_PathologistUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Pathologist, true); InitializeComponent(); DataContext = this; }
public PeerReviewResultPage(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder) { this.m_PeerReviewTypeCollection = new YellowstonePathology.Business.Test.PeerReview.PeerReviewTypeCollection(); this.m_SurgicalTestOrder = surgicalTestOrder; this.m_AccessionOrder = accessionOrder; this.m_PageHeaderText = "Peer Review for: " + this.m_AccessionOrder.PatientDisplayName; this.m_PeerReviewTestOrderCollection = this.m_AccessionOrder.PanelSetOrderCollection.GetPeerReviewCollection(); this.m_PathologistUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Pathologist, true); InitializeComponent(); DataContext = this; Loaded += PeerReviewResultPage_Loaded; Unloaded += PeerReviewResultPage_Unloaded; }