public ComprehensiveColonCancerProfilePage(YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfile comprehensiveColonCancerProfile, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.User.SystemIdentity systemIdentity, System.Windows.Visibility backButtonVisibility) : base(comprehensiveColonCancerProfile, accessionOrder) { this.m_ComprehensiveColonCancerProfile = comprehensiveColonCancerProfile; this.m_AccessionOrder = accessionOrder; this.m_SystemIdentity = systemIdentity; this.m_BackButtonVisibility = backButtonVisibility; YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByOrderTarget(comprehensiveColonCancerProfile.OrderedOnId); YellowstonePathology.Business.Test.AliquotOrder aliquotOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetAliquotOrder(comprehensiveColonCancerProfile.OrderedOnId); this.m_OrderedOnDescription = specimenOrder.Description; if (aliquotOrder != null) { this.m_OrderedOnDescription += ": " + aliquotOrder.Label; } this.m_ComprehensiveColonCancerProfileResult = new Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileResult(this.m_AccessionOrder, this.m_ComprehensiveColonCancerProfile); this.m_PageHeaderText = "Comprehensive Colon Cancer Profile: " + this.m_AccessionOrder.PatientDisplayName + " (" + this.m_ComprehensiveColonCancerProfile.ReportNo + ")"; InitializeComponent(); DataContext = this; this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext); this.m_ControlsNotDisabledOnFinal.Add(this.ButtonBack); this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument); this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults); }
public ComprehensiveColonCancerProfilePage(YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfile comprehensiveColonCancerProfile, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.User.SystemIdentity systemIdentity, System.Windows.Visibility backButtonVisibility) : base(comprehensiveColonCancerProfile, accessionOrder) { this.m_ComprehensiveColonCancerProfile = comprehensiveColonCancerProfile; this.m_AccessionOrder = accessionOrder; this.m_SystemIdentity = systemIdentity; this.m_BackButtonVisibility = backButtonVisibility; YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByOrderTarget(comprehensiveColonCancerProfile.OrderedOnId); YellowstonePathology.Business.Test.AliquotOrder aliquotOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetAliquotOrder(comprehensiveColonCancerProfile.OrderedOnId); this.m_OrderedOnDescription = specimenOrder.Description; if (aliquotOrder != null) this.m_OrderedOnDescription += ": " + aliquotOrder.Label; this.m_ComprehensiveColonCancerProfileResult = new Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileResult(this.m_AccessionOrder, this.m_ComprehensiveColonCancerProfile); this.m_PageHeaderText = "Comprehensive Colon Cancer Profile: " + this.m_AccessionOrder.PatientDisplayName + " (" + this.m_ComprehensiveColonCancerProfile.ReportNo + ")"; InitializeComponent(); DataContext = this; this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext); this.m_ControlsNotDisabledOnFinal.Add(this.ButtonBack); this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument); this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults); }
public ComprehensiveColonCancerProfilePath(string reportNo, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.UI.Navigation.PageNavigator pageNavigator, System.Windows.Window window, System.Windows.Visibility backButtonVisibility) : base(pageNavigator, window) { this.m_AccessionOrder = accessionOrder; this.m_ComprehensiveColonCancerProfile = (YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfile) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo); this.m_BackButtonVisibility = backButtonVisibility; }
public ComprehensiveColonCancerProfilePath(string reportNo, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.UI.Navigation.PageNavigator pageNavigator, System.Windows.Window window, System.Windows.Visibility backButtonVisibility) : base(pageNavigator, window) { this.m_AccessionOrder = accessionOrder; this.m_ComprehensiveColonCancerProfile = (YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfile)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo); this.m_BackButtonVisibility = backButtonVisibility; }
private bool ShowComprehensiveColonCancerProfilePage() { bool result = false; YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileTest psComprehensiveColonCancerProfile = new YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfileTest(); if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(psComprehensiveColonCancerProfile.PanelSetId, this.m_PanelSetOrderLynchSyndromeEvaluation.OrderedOnId, true) == true) { YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfile comprehensiveColonCancerProfile = (YellowstonePathology.Business.Test.ComprehensiveColonCancerProfile.ComprehensiveColonCancerProfile) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(psComprehensiveColonCancerProfile.PanelSetId, this.m_PanelSetOrderLynchSyndromeEvaluation.OrderedOnId, true); ComprehensiveColonCancerProfilePage comprehensiveColonCancerProfilePage = new ComprehensiveColonCancerProfilePage(comprehensiveColonCancerProfile, this.m_AccessionOrder, this.m_SystemIdentity, System.Windows.Visibility.Visible); comprehensiveColonCancerProfilePage.Next += new ComprehensiveColonCancerProfilePage.NextEventHandler(ComprehensiveColonCancerProfilePage_Next); comprehensiveColonCancerProfilePage.Back += new ComprehensiveColonCancerProfilePage.BackEventHandler(ComprehensiveColonCancerProfilePage_Back); this.m_PageNavigator.Navigate(comprehensiveColonCancerProfilePage); result = true; } return(result); }