private void ButtonNext_Click(object sender, RoutedEventArgs e) { DataValidator dataValidator = this.CreateDataValidator(this.m_CytologyClientOrderClone); dataValidator.UpdateValidBindingSources(); YellowstonePathology.Shared.ValidationResult validationResult = dataValidator.ValidateDataTypes(); if (validationResult.IsValid == false) { MessageBox.Show(validationResult.Message); } else { validationResult = dataValidator.ValidateDomain(); if (validationResult.IsValid == false) { MessageBox.Show(validationResult.Message); } else { Shared.PageNavigationReturnEventArgs args = null; if (this.m_CytologyClientOrderClone.ScreeningType == "Diagnositic Pap" || this.m_CytologyClientOrderClone.ScreeningType == "Other") { args = new CytologyScreeningTypePageEventArgs(true, Shared.PageNavigationDirectionEnum.Next, null); } else { args = new CytologyScreeningTypePageEventArgs(false, Shared.PageNavigationDirectionEnum.Next, null); } Return(this, args); } } }
private void FNASpecimenListPage_Return(object sender, Shared.PageNavigationReturnEventArgs e) { switch (e.PageNavigationDirectionEnum) { case Shared.PageNavigationDirectionEnum.Next: YellowstonePathology.YpiConnect.Contract.Order.ClientOrderFNAProperty clientOrderFNAProperty = (YellowstonePathology.YpiConnect.Contract.Order.ClientOrderFNAProperty)e.Data; foreach (YellowstonePathology.YpiConnect.Contract.Order.ClientOrderFNAProperty item in this.m_ClientOrderFNAPropertyCollection) { if (item.ClientOrderFNAPropertyId == clientOrderFNAProperty.ClientOrderFNAPropertyId) { this.m_ClientOrderFNAProperty = item; break; } } this.ShowFNASpecimenPassPage(); break; case Shared.PageNavigationDirectionEnum.Back: ApplicationNavigator.ApplicationContentFrame.NavigationService.GoBack(); break; case Shared.PageNavigationDirectionEnum.Command: this.ShowFNASpecimenPage(); break; } }
private void ButtonNext_Click(object sender, RoutedEventArgs e) { DataValidator dataValidator = this.CreateDataValidator(this.m_ClientOrderDetailClone); dataValidator.UpdateValidBindingSources(); YellowstonePathology.Shared.ValidationResult validationResult = dataValidator.ValidateDataTypes(); if (validationResult.IsValid == false) { MessageBox.Show(validationResult.Message); } else { validationResult = dataValidator.ValidateDomain(); if (validationResult.IsValid == false) { MessageBox.Show(validationResult.Message); } else { Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Next, null); Return(this, args); } } }
private void HyperlinkNext_Click(object sender, RoutedEventArgs e) { if (this.ListBoxClientOrderFNAProperties.SelectedItem != null) { Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Next, (YellowstonePathology.YpiConnect.Contract.Order.ClientOrderFNAProperty) this.ListBoxClientOrderFNAProperties.SelectedItem); Return(this, args); } }
private void OwnershipPage_Return(object sender, Shared.PageNavigationReturnEventArgs e) { ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(this); YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new Business.Rules.ExecutionStatus(); YellowstonePathology.Business.Rules.MethodResult methodResult = new Business.Rules.MethodResult(); this.m_HandleClientDateentryPropertyAccess = new Rules.HandleClientDataEntryPropertyAccess(executionStatus); this.m_HandleClientDateentryPropertyAccess.Execute(this.m_ClientOrder, methodResult); this.AreDemographicsEnabled = methodResult.Success; this.AreSpecimenEnabled = methodResult.Success; this.AreButtonsEnabled = methodResult.Success; }
private void FNASpecimenPassPageCommand_Return(Shared.PageNavigationReturnEventArgs e) { PageNavigationCommandEnum pageNavigationCommandEnum = (PageNavigationCommandEnum)e.Data; switch (pageNavigationCommandEnum) { case PageNavigationCommandEnum.Finish: this.ShowOrderEntryPage(); break; } }
private void SpecimenListPage_Return(object sender, Shared.PageNavigationReturnEventArgs e) { switch (e.PageNavigationDirectionEnum) { case Shared.PageNavigationDirectionEnum.Back: ApplicationNavigator.ApplicationContentFrame.NavigationService.GoBack(); break; case Shared.PageNavigationDirectionEnum.Next: this.ShowOrderEntryPage(); break; } }
private void ScanContainerPage_Return(object sender, Shared.PageNavigationReturnEventArgs e) { switch (e.PageNavigationDirectionEnum) { case Shared.PageNavigationDirectionEnum.Back: ShowCytologyClinicalHistoryPage(); break; case Shared.PageNavigationDirectionEnum.Next: this.ShowCytologySpecimenSourcePage(); break; } }
private void CytologyIcd9EntryPage_Return(object sender, Shared.PageNavigationReturnEventArgs e) { switch (e.PageNavigationDirectionEnum) { case Shared.PageNavigationDirectionEnum.Next: this.ShowCytologyClinicalHistoryPage(); break; case Shared.PageNavigationDirectionEnum.Back: this.ShowCytologyIcd9CodingPage(); break; } }
private void ButtonAddPass_Click(object sender, RoutedEventArgs e) { this.AddClientOrderFNAPropertyToCollection(); Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Command, PageNavigationCommandEnum.AddPass); Return(this, args); /* * YellowstonePathology.YpiConnect.Contract.Order.ClientOrderDetailFNAProperty clientOrderDetailFNAProperty = new Contract.Order.ClientOrderDetailFNAProperty(); * clientOrderDetailFNAProperty.ClientOrderDetailFNAPropertyId = Guid.NewGuid().ToString(); * clientOrderDetailFNAProperty.ClientOrderFNAPropertyId = this.m_ClientOrderFNAProperty.ClientOrderFNAPropertyId; * this.m_ClientOrderFNAProperty.ClientOrderDetailFNAPropertyCollection.Add(clientOrderDetailFNAProperty); * */ }
private void Path_Return(object sender, Shared.PageNavigationReturnEventArgs e) { switch (e.PageNavigationDirectionEnum) { case Shared.PageNavigationDirectionEnum.Back: this.Save(); ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(this); break; case Shared.PageNavigationDirectionEnum.Next: this.Save(); ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(this); break; } }
private void BoneMarrowInformationPage_Return(object sender, Shared.PageNavigationReturnEventArgs e) { switch (e.PageNavigationDirectionEnum) { case Shared.PageNavigationDirectionEnum.Next: if (this.ShowScanContainerPage() == false) { this.ShowSpecimenListPage(); } break; case Shared.PageNavigationDirectionEnum.Back: ShowOrderEntryPage(); break; } }
private void ScanContainerPage_Return(object sender, Shared.PageNavigationReturnEventArgs e) { switch (e.PageNavigationDirectionEnum) { case Shared.PageNavigationDirectionEnum.Back: ApplicationNavigator.ApplicationContentFrame.NavigationService.GoBack(); break; case Shared.PageNavigationDirectionEnum.Command: this.AddContainer(e.Data.ToString()); this.SetClientOrderDetailFNAProperty(); this.Save(); ShowFNASpecimenPassPage(); break; } }
private void CytologyTestOrderPage_Return(object sender, Shared.PageNavigationReturnEventArgs e) { switch (e.PageNavigationDirectionEnum) { case Shared.PageNavigationDirectionEnum.Next: this.ShowCytologyIcd9CodingPage(); break; case Shared.PageNavigationDirectionEnum.Back: if (this.UpdateClientOrderGoingBack() == true) { this.ShowOrderEntryPage(e); } break; } }
private void CytologySpecimenSourcePage_Return(object sender, Shared.PageNavigationReturnEventArgs e) { switch (e.PageNavigationDirectionEnum) { case Shared.PageNavigationDirectionEnum.Back: this.ShowScanContainerPage(); break; case Shared.PageNavigationDirectionEnum.Next: if (this.UpdateClientOrderGoingForward() == true) { this.ShowOrderEntryPage(e); } break; } }
private void FNASpecimenPassPage_Return(object sender, Shared.PageNavigationReturnEventArgs e) { switch (e.PageNavigationDirectionEnum) { case Shared.PageNavigationDirectionEnum.Next: this.ShowScanContainerPage(); break; case Shared.PageNavigationDirectionEnum.Back: this.ShowFNASpecimenPage(); break; case Shared.PageNavigationDirectionEnum.Command: this.FNASpecimenPassPageCommand_Return(e); break; } }
private void BoneMarrowAspirateScanContainerPage_Return(object sender, Shared.PageNavigationReturnEventArgs e) { string containerId = e.Data.ToString(); switch (e.PageNavigationDirectionEnum) { case Shared.PageNavigationDirectionEnum.Back: ApplicationNavigator.ApplicationContentFrame.NavigationService.GoBack(); break; case Shared.PageNavigationDirectionEnum.Command: this.m_BoneMarrowParameters.BoneMarrowAspirateContainerId = containerId; this.AddContainer(containerId, this.m_BoneMarrowParameters.BoneMarrowAspirateDetailDescription); if (this.ShowScanContainerPage() == false) { this.ShowSpecimenListPage(); } break; } }
private void CytologyClinicalHistoryPage_Return(object sender, Shared.PageNavigationReturnEventArgs e) { switch (e.PageNavigationDirectionEnum) { case Shared.PageNavigationDirectionEnum.Next: this.ShowScanContainerPage(); break; case Shared.PageNavigationDirectionEnum.Back: if (this.m_ClientOrderClone.ScreeningType == "Diagnostic Pap") { this.ShowCytologyIcd9EntryPage(); } else { this.ShowCytologyIcd9CodingPage(); } break; } }
private void HyperlinkSubmit_Click(object sender, RoutedEventArgs e) { YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new Business.Rules.ExecutionStatus(); Rules.ClientOrderValidation clientOrderValidation = new Rules.ClientOrderValidation(executionStatus); clientOrderValidation.Execute(this.m_ClientOrder); if (executionStatus.Halted == false) { this.m_ClientOrder.Submitted = true; this.m_ClientOrder.ClientOrderDetailCollection.MarkAsSubmitted(); Save(); Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Back, null); Return(this, args); } else { YellowstonePathology.Business.Rules.ExecutionStatusDialog executionStatusDialog = new Business.Rules.ExecutionStatusDialog(executionStatus); executionStatusDialog.ShowDialog(); } }
private void CytologyScreeningTypePage_Return(object sender, Shared.PageNavigationReturnEventArgs e) { CytologyScreeningTypePageEventArgs cytologyScreeningTypePageEventArgs = (CytologyScreeningTypePageEventArgs)e; switch (e.PageNavigationDirectionEnum) { case Shared.PageNavigationDirectionEnum.Next: if (cytologyScreeningTypePageEventArgs.ManualEntryOfIcd9CodeRequired == true) { this.ShowCytologyIcd9EntryPage(); } else { this.ShowCytologyClinicalHistoryPage(); } break; case Shared.PageNavigationDirectionEnum.Back: this.ShowCytologyTestOrderPage(); break; } }
private void HyperlinkBack_Click(object sender, RoutedEventArgs e) { this.m_ClientOrder.NotifyPropertyChanged(""); Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Back, null); Return(this, args); }
/*private void HyperlinkNewSpecimen_Click(object sender, RoutedEventArgs e) { Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Command, PageNavigationCommandEnum.AddSpecimen); Return(this, args); }*/ private void HyperlinkFinish_Click(object sender, RoutedEventArgs e) { Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Command, PageNavigationCommandEnum.Finish); Return(this, args); }
/*private void HyperlinkAddPass_Click(object sender, RoutedEventArgs e) { this.AddClientOrderDetailFNAProperty(); int idx = this.m_ClientOrderFNAProperty.ClientOrderDetailFNAPropertyCollection.Count - 1; Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Next, this.m_ClientOrderFNAProperty.ClientOrderDetailFNAPropertyCollection[idx]); Return(this, args); }*/ private void HyperlinkBack_Click(object sender, RoutedEventArgs e) { Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Back, null); Return(this, args); }
private void ShowOrderEntryPage(Shared.PageNavigationReturnEventArgs args) { Return(this, args); }
private void HyperlinkNext_Click(object sender, RoutedEventArgs e) { this.AddClientOrderFNAPropertyToCollection(); Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Next, null); Return(this, args); }
private void ShowOrderEntryPage() { Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Next, null); Return(this, args); }
private void ButtonBack_Click(object sender, RoutedEventArgs e) { Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Back, null); Return(this, args); }
private void ButtonFinish_Click(object sender, RoutedEventArgs e) { Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Next, null); Return(this, args); }
private void ButtonAddPass_Click(object sender, RoutedEventArgs e) { this.AddClientOrderFNAPropertyToCollection(); Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Command, PageNavigationCommandEnum.AddPass); Return(this, args); /* YellowstonePathology.YpiConnect.Contract.Order.ClientOrderDetailFNAProperty clientOrderDetailFNAProperty = new Contract.Order.ClientOrderDetailFNAProperty(); clientOrderDetailFNAProperty.ClientOrderDetailFNAPropertyId = Guid.NewGuid().ToString(); clientOrderDetailFNAProperty.ClientOrderFNAPropertyId = this.m_ClientOrderFNAProperty.ClientOrderFNAPropertyId; this.m_ClientOrderFNAProperty.ClientOrderDetailFNAPropertyCollection.Add(clientOrderDetailFNAProperty); * */ }
private void HyperlinkNext_Click(object sender, RoutedEventArgs e) { Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Next, null); Return(this, args); }
/*private void HyperlinkNewSpecimen_Click(object sender, RoutedEventArgs e) * { * Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Command, PageNavigationCommandEnum.AddSpecimen); * Return(this, args); * }*/ private void HyperlinkFinish_Click(object sender, RoutedEventArgs e) { Shared.PageNavigationReturnEventArgs args = new Shared.PageNavigationReturnEventArgs(Shared.PageNavigationDirectionEnum.Command, PageNavigationCommandEnum.Finish); Return(this, args); }