public StandingOrderPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder) { this.m_AccessionOrder = accessionOrder; this.m_WomensHealthProfileTest = new YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTest(); this.m_Physician = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianByPhysicianId(this.m_AccessionOrder.PhysicianId); this.m_StandingOrderCollection = this.m_Physician.GetStandingOrderCollection(); this.m_HPVStandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPVStandingOrders(); this.m_HPV1618StandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPV1618StandingOrders(); if (accessionOrder.PanelSetOrderCollection.Exists(this.m_WomensHealthProfileTest.PanelSetId) == true) { this.m_WomensHealthProfileTestOrder = (YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_WomensHealthProfileTest.PanelSetId); this.m_WomensHealthProfileVisibility = System.Windows.Visibility.Visible; this.UpdateWomensHealthProfile(); } else { this.m_WomensHealthProfileVisibility = System.Windows.Visibility.Collapsed; } this.m_AccessionOrderList = new List <Business.Test.AccessionOrder>(); this.m_AccessionOrderList.Add(this.m_AccessionOrder); InitializeComponent(); DataContext = this; }
public StandingOrderPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder) { this.m_AccessionOrder = accessionOrder; this.m_WomensHealthProfileTest = new YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTest(); this.m_Physician = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianByPhysicianId(this.m_AccessionOrder.PhysicianId); this.m_StandingOrderCollection = this.m_Physician.GetStandingOrderCollection(); this.m_HPVStandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPVStandingOrders(); this.m_HPV1618StandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPV1618StandingOrders(); if (accessionOrder.PanelSetOrderCollection.Exists(this.m_WomensHealthProfileTest.PanelSetId) == true) { this.m_WomensHealthProfileTestOrder = (YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTestOrder)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_WomensHealthProfileTest.PanelSetId); this.m_WomensHealthProfileVisibility = System.Windows.Visibility.Visible; this.UpdateWomensHealthProfile(); } else { this.m_WomensHealthProfileVisibility = System.Windows.Visibility.Collapsed; } this.m_AccessionOrderList = new List<Business.Test.AccessionOrder>(); this.m_AccessionOrderList.Add(this.m_AccessionOrder); InitializeComponent(); DataContext = this; }
public YellowstonePathology.Business.Client.Model.StandingOrderCollection GetStandingOrderCollection() { YellowstonePathology.Business.Client.Model.StandingOrderCollection result = new YellowstonePathology.Business.Client.Model.StandingOrderCollection(); YellowstonePathology.Business.Client.Model.StandingOrder hpvStandingOrder = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetByStandingOrderCode(this.m_HPVStandingOrderCode); result.Add(hpvStandingOrder); YellowstonePathology.Business.Client.Model.StandingOrder hpv1618StandingOrder = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetByStandingOrderCode(this.m_HPV1618StandingOrderCode); result.Add(hpv1618StandingOrder); return(result); }
public WomensHealthProfilePage(YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTestOrder womensHealthProfileTestOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder, System.Windows.Visibility backButtonVisibility) : base(womensHealthProfileTestOrder, accessionOrder) { this.m_AccessionOrder = accessionOrder; this.m_HPVReflexOrderCollection = YellowstonePathology.Business.Client.Model.ReflexOrderCollection.GetHPVRequisitionReflexOrders(); this.m_HPVStandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPVStandingOrders(); this.m_HPV1618ReflexOrderCollection = YellowstonePathology.Business.Client.Model.ReflexOrderCollection.GetHPV1618ReflexOrders(); this.m_HPV1618StandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPV1618StandingOrders(); this.m_ClientOrder = clientOrder; this.m_WomensHealthProfileTestOrder = womensHealthProfileTestOrder; this.m_SystemIdentity = Business.User.SystemIdentity.Instance; this.m_BackButtonVisibility = backButtonVisibility; this.m_Physician = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianByPhysicianId(this.m_AccessionOrder.PhysicianId); this.m_PanelSetOrderCytology = (YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(15); this.m_AuditCollection = new Business.Audit.Model.IsWHPAllDoneAuditCollection(this.m_AccessionOrder); this.m_AuditCollection.Run(); if (string.IsNullOrEmpty(accessionOrder.PatientId) == false) { YellowstonePathology.Business.Domain.PatientHistory patientHistory = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPatientHistory(accessionOrder.PatientId); this.m_DateOfLastHPV = patientHistory.GetDateOfPreviousHpv(this.m_AccessionOrder.AccessionDate.Value); } YellowstonePathology.Business.Client.Model.StandingOrder standingOrder = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetByStandingOrderCode(this.m_WomensHealthProfileTestOrder.HPVStandingOrderCode); this.m_HPVStandingOrderDescription = standingOrder.ToString(); InitializeComponent(); this.DataContext = this; this.m_ParentWindow = Window.GetWindow(this); this.m_ControlsNotDisabledOnFinal.Add(this.ButtonClose); this.m_ControlsNotDisabledOnFinal.Add(this.ButtonBack); this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument); this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalize); this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockNext); this.m_ControlsNotEnabledOnUnFinal.Add(this.CheckBoxAccepted); this.m_ControlsNotEnabledOnUnFinal.Add(this.CheckBoxFinal); this.m_ControlsNotEnabledOnUnFinal.Add(this.ComboBoxStandingOrderDescription); this.m_ControlsNotEnabledOnUnFinal.Add(this.TextBlockLastHPVDate); this.m_ControlsNotEnabledOnUnFinal.Add(this.TextBlockPatientAge); this.m_ControlsNotEnabledOnUnFinal.Add(this.TextBlockScreeningImpression); this.m_ControlsNotEnabledOnUnFinal.Add(this.TextBlockStandingOrderDescription); this.m_ControlsNotEnabledOnUnFinal.Add(this.TextBoxAcceptedBy); this.m_ControlsNotEnabledOnUnFinal.Add(this.TextBoxAcceptedTime); this.m_ControlsNotEnabledOnUnFinal.Add(this.TextBoxFinalTime); this.m_ControlsNotEnabledOnUnFinal.Add(this.TextBoxSignaure); }
public ProviderEntry(YellowstonePathology.Business.Domain.Physician physician) { this.m_Physician = physician; this.m_SystemIdentity = Business.User.SystemIdentity.Instance; this.m_PhysicianClientView = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianClientView(this.m_Physician.ObjectId); this.m_HpvStandingOrders = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPVStandingOrders(); this.m_HPV1618StandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPV1618StandingOrders(); this.m_ClientCollection = new YellowstonePathology.Business.Client.Model.ClientCollection(); InitializeComponent(); this.m_ParentWindow = Window.GetWindow(this); this.DataContext = this; Loaded += ProviderEntry_Loaded; Closing += ProviderEntry_Closing; }
public WomensHealthProfilePage(YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTestOrder womensHealthProfileTestOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder, System.Windows.Visibility backButtonVisibility) : base(womensHealthProfileTestOrder, accessionOrder) { this.m_AccessionOrder = accessionOrder; this.m_HPVReflexOrderCollection = YellowstonePathology.Business.Client.Model.ReflexOrderCollection.GetHPVRequisitionReflexOrders(); this.m_HPVStandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPVStandingOrders(); this.m_HPV1618ReflexOrderCollection = YellowstonePathology.Business.Client.Model.ReflexOrderCollection.GetHPV1618ReflexOrders(); this.m_HPV1618StandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPV1618StandingOrders(); this.m_ClientOrder = clientOrder; this.m_WomensHealthProfileTestOrder = womensHealthProfileTestOrder; this.m_SystemIdentity = Business.User.SystemIdentity.Instance; this.m_BackButtonVisibility = backButtonVisibility; this.m_Physician = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianByPhysicianId(this.m_AccessionOrder.PhysicianId); this.m_PanelSetOrderCytology = (YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(15); this.m_AuditCollection = new Business.Audit.Model.IsWHPAllDoneAuditCollection(this.m_AccessionOrder); this.m_AuditCollection.Run(); if (string.IsNullOrEmpty(accessionOrder.PatientId) == false) { YellowstonePathology.Business.Domain.PatientHistory patientHistory = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPatientHistory(accessionOrder.PatientId); this.m_DateOfLastHPV = patientHistory.GetDateOfPreviousHpv(this.m_AccessionOrder.AccessionDate.Value); } YellowstonePathology.Business.Client.Model.StandingOrder standingOrder = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetByStandingOrderCode(this.m_WomensHealthProfileTestOrder.HPVStandingOrderCode); this.m_HPVStandingOrderDescription = standingOrder.ToString(); InitializeComponent(); this.DataContext = this; this.m_ParentWindow = Window.GetWindow(this); this.m_ControlsNotDisabledOnFinal.Add(this.ButtonClose); this.m_ControlsNotDisabledOnFinal.Add(this.ButtonBack); this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument); this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalize); this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockNext); }
public ProviderEntry(YellowstonePathology.Business.Domain.Physician physician, bool isNewProvider) { YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullPhysician(physician, this); this.m_Physician = physician; this.m_IsNewProvider = isNewProvider; this.m_SystemIdentity = Business.User.SystemIdentity.Instance; this.m_PhysicianClientView = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianClientView(this.m_Physician.ObjectId); this.m_HpvStandingOrders = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPVStandingOrders(); this.m_HPV1618StandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPV1618StandingOrders(); this.m_ClientCollection = new YellowstonePathology.Business.Client.Model.ClientCollection(); InitializeComponent(); this.m_ParentWindow = Window.GetWindow(this); this.DataContext = this; Loaded += ProviderEntry_Loaded; Closing += ProviderEntry_Closing; }
public WomensHealthProfilePage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder, System.Windows.Visibility backButtonVisibility) { this.m_AccessionOrder = accessionOrder; this.m_HPVReflexOrderCollection = YellowstonePathology.Business.Client.Model.ReflexOrderCollection.GetHPVRequisitionReflexOrders(); this.m_HPVStandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPVStandingOrders(); this.m_HPV1618ReflexOrderCollection = YellowstonePathology.Business.Client.Model.ReflexOrderCollection.GetHPV1618ReflexOrders(); this.m_HPV1618StandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPV1618StandingOrders(); this.m_ClientOrder = clientOrder; this.m_WomensHealthProfileTestOrder = (YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTestOrder) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(116); this.m_SystemIdentity = Business.User.SystemIdentity.Instance; this.m_BackButtonVisibility = backButtonVisibility; this.m_Physician = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianByPhysicianId(this.m_AccessionOrder.PhysicianId); this.m_PanelSetOrderCytology = (YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology)accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(15); this.m_AuditCollection = new Business.Audit.Model.IsWHPAllDoneAuditCollection(this.m_AccessionOrder); this.m_AuditCollection.Run(); if (string.IsNullOrEmpty(accessionOrder.PatientId) == false) { YellowstonePathology.Business.Domain.PatientHistory patientHistory = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPatientHistory(accessionOrder.PatientId); this.m_DateOfLastHPV = patientHistory.GetDateOfPreviousHpv(this.m_AccessionOrder.AccessionDate.Value); } YellowstonePathology.Business.Client.Model.StandingOrder standingOrder = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetByStandingOrderCode(this.m_WomensHealthProfileTestOrder.HPVStandingOrderCode); this.m_HPVStandingOrderDescription = standingOrder.ToString(); InitializeComponent(); this.DataContext = this; this.m_ParentWindow = Window.GetWindow(this); }
public ProviderEntry(YellowstonePathology.Business.Domain.Physician physician) { this.m_Physician = physician; this.m_SystemIdentity = Business.User.SystemIdentity.Instance; this.m_PhysicianClientView = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianClientView(this.m_Physician.ObjectId); this.m_HpvStandingOrders = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPVStandingOrders(); this.m_HPV1618StandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPV1618StandingOrders(); this.m_ClientCollection = new YellowstonePathology.Business.Client.Model.ClientCollection(); this.m_HPVStandingOrderCollection = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetHPVStandingOrderCollectionByPhysicianId(this.m_Physician.PhysicianId); this.m_HPVRuleAgeCollection = Business.Client.Model.HPVRuleCollection.GetHPVRuleAgeCollection(); this.m_HPVRulePAPResultCollection = Business.Client.Model.HPVRuleCollection.GetHPVRulePAPResultCollection(); this.m_HPVRulePreviousTestingCollection = Business.Client.Model.HPVRuleCollection.GetHPVRulePreviousTestingCollection(); this.m_HPVRuleEndocervicalCollection = Business.Client.Model.HPVRuleCollection.GetHPVRuleEndocervicalCollection(); InitializeComponent(); this.m_ParentWindow = Window.GetWindow(this); this.DataContext = this; Loaded += ProviderEntry_Loaded; Closing += ProviderEntry_Closing; }
public YellowstonePathology.Business.Client.Model.StandingOrderCollection GetStandingOrderCollection() { YellowstonePathology.Business.Client.Model.StandingOrderCollection result = new YellowstonePathology.Business.Client.Model.StandingOrderCollection(); YellowstonePathology.Business.Client.Model.StandingOrder hpvStandingOrder = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetByStandingOrderCode(this.m_HPVStandingOrderCode); result.Add(hpvStandingOrder); YellowstonePathology.Business.Client.Model.StandingOrder hpv1618StandingOrder = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetByStandingOrderCode(this.m_HPV1618StandingOrderCode); result.Add(hpv1618StandingOrder); return result; }